/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
QsTuner.java | 85 MetricsLogger.visibility(getContext(), MetricsLogger.TUNER_QS, true); 90 MetricsLogger.visibility(getContext(), MetricsLogger.TUNER_QS, false); 111 mQsPanel = new DraggableQsPanel(getContext()); 112 mTileHost = new CustomHost(getContext()); 133 QSTileView tileView = new QSTileView(getContext()); 150 QSTileView tileView = new QSTileView(getContext()); 222 MetricsLogger.action(getContext(), MetricsLogger.TUNER_QS_REORDER, oldTile + "," 236 MetricsLogger.action(getContext(), MetricsLogger.TUNER_QS_REMOVE, tile); 243 MetricsLogger.action(getContext(), MetricsLogger.TUNER_QS_ADD, tile); 250 Secure.putStringForUser(getContext().getContentResolver() [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvContractTest.java | 99 if (!Utils.hasTvInputFramework(getContext())) { 103 new ComponentName(getContext(), StubTunerTvInputService.class)); 104 mContentResolver = getContext().getContentResolver(); 110 if (!Utils.hasTvInputFramework(getContext())) { 219 if (!Utils.hasTvInputFramework(getContext())) { 289 if (!Utils.hasTvInputFramework(getContext())) { 296 Bitmap logo = BitmapFactory.decodeResource(getContext().getResources(), R.drawable.robot); 316 if (!Utils.hasTvInputFramework(getContext())) { 344 if (!Utils.hasTvInputFramework(getContext())) { 369 if (!Utils.hasTvInputFramework(getContext())) { [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ExpandableListActivityTest.java | 27 mIntent.putExtra("component", new ComponentName(getContext(),
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyChainTest.java | 47 KeyChain.getPrivateKey(getContext(), null); 66 new Handler(getContext().getMainLooper()).post(new Runnable() { 70 KeyChain.getPrivateKey(getContext(), ""); 106 PackageManager pm = getContext().getPackageManager();
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiInfoTest.java | 67 if (!WifiFeature.isWifiSupported(getContext())) { 76 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE); 89 if (!WifiFeature.isWifiSupported(getContext())) { 114 if (!WifiFeature.isWifiSupported(getContext())) {
|
WifiManager_WifiLockTest.java | 29 if (!WifiFeature.isWifiSupported(getContext())) { 33 WifiManager wm = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
CharacterPickerDialogTest.java | 52 new CharacterPickerDialog(view.getContext(), view, content, "\u00A1", false); 73 new CharacterPickerDialog(view.getContext(), view, text, "abc", false); 97 new CharacterPickerDialog(view.getContext(), view, text, "abc", true); 114 new CharacterPickerDialog(view.getContext(), view, content, "\u00A1", false);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
AnalysisManager.h | 114 return AnaCtxMgr.getContext(D)->getCFG(); 119 return AnaCtxMgr.getContext(D)->getAnalysis<T>(); 123 return AnaCtxMgr.getContext(D)->getParentMap(); 127 return AnaCtxMgr.getContext(D);
|
/external/llvm/bindings/go/llvm/ |
IRBindings.cpp | 29 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex, 30 AttributeSet::get(Func->getContext(), 46 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex, 47 AttributeSet::get(Func->getContext(),
|
/external/skia/src/gpu/ |
GrSurface.cpp | 20 GrContext* context = this->getContext(); 32 GrContext* context = this->getContext(); 83 this->getContext()->flushSurfaceWrites(this); 89 this->getContext()->prepareSurfaceForExternalRead(this);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 81 mOpenHelper = new DatabaseHelper(getContext()); 89 getContext().getContentResolver().notifyChange(uri, null); 104 getContext().getContentResolver().notifyChange(addedUri, null); 117 getContext().getContentResolver().notifyChange(uri, null);
|
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/ |
DataBoundAdapter.java | 22 T binder = DataBindingUtil.inflate(LayoutInflater.from(viewGroup.getContext()), mLayoutId,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
OMAConstructed.java | 93 if (getContext() != null) { 94 sb.append(" (").append(getContext()).append(')'); 107 if (getContext() != null) { 108 out.write(String.format("(%s)", getContext()).getBytes(StandardCharsets.UTF_8));
|
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/ |
PnwOverlayPlane.h | 36 virtual void* getContext() const;
|
PnwSpritePlane.h | 34 virtual void* getContext() const;
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarRecentSuggestionsProvider.java | 29 setupSuggestions(Utils.getSearchAuthority(getContext()), MODE);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
GlowPadWrapper.java | 116 mAnswerListener.onAnswer(VideoProfile.STATE_AUDIO_ONLY, getContext()); 120 mAnswerListener.onDecline(getContext()); 129 mAnswerListener.onAnswer(mVideoState, getContext()); 133 mAnswerListener.onDeclineUpgradeRequest(getContext());
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
ImageRequestTest.java | 54 getContext().getPackageName() + "/" + R.drawable.ic_audio_light; 56 final UriImageRequest imageRequest = new UriImageRequest(getContext(), 82 getContext().getPackageName() + "/" + R.drawable.ic_audio_light; 84 final UriImageRequest imageRequest = new UriImageRequest(getContext(),
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
TvProviderForTesting.java | 25 return getContext().getPackageName();
|
/frameworks/support/tests/java/android/support/v4/app/ |
NotificationCompatActionWearableExtenderTest.java | 47 mPendingIntent = PendingIntent.getActivity(getContext(), 0, new Intent(), 0); 75 Notification baseNotif = new Notification.Builder(getContext()) 77 Notification compatNotif = new NotificationCompat.Builder(getContext()) 99 Notification baseNotif = new Notification.Builder(getContext()) 101 Notification compatNotif = new NotificationCompat.Builder(getContext()) 130 Notification baseNotif = new Notification.Builder(getContext()) 132 Notification compatNotif = new NotificationCompat.Builder(getContext()) 169 Notification baseNotif = new Notification.Builder(getContext()) 171 Notification compatNotif = new NotificationCompat.Builder(getContext()) 234 Notification baseNotif = new Notification.Builder(getContext()) [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
SendersFormattingTests.java | 51 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); 63 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); 76 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); 91 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); 139 SendersView.format(getContext(), conv, "", 100, styledSenders, displayableSenderNames, 159 SendersView.format(getContext(), conv, "", 100, styledSenders, displayableSenderNames, 179 SendersView.format(getContext(), conv, "", 100, styledSenders, displayableSenderNames, 199 SendersView.format(getContext(), conv, "", 100, styledSenders, displayableSenderNames, 220 SendersView.format(getContext(), conv, "", 100, styledSenders, displayableSenderNames, 239 SendersView.format(getContext(), conv, "", 100, styledSenders, displayableSenderNames [all...] |
/cts/libs/wrappedgtest/src/ |
WrappedGTestInstrumentation.java | 41 if (getContext().checkCallingOrSelfPermission(android.Manifest.permission.DISABLE_KEYGUARD) 45 (KeyguardManager) getContext().getSystemService(Context.KEYGUARD_SERVICE);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ApplicationInfo_DisplayNameComparatorTest.java | 39 PackageManager pm = getContext().getPackageManager(); 46 PackageManager pm = getContext().getPackageManager();
|
ConfigurationInfoTest.java | 29 PackageManager pm = getContext().getPackageManager(); 33 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(),
|
/cts/tests/tests/media/src/android/media/cts/ |
PostProcTestBase.java | 38 return getContext().getPackageManager().hasSystemFeature( 59 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE);
|