Home
last modified time | relevance | path

Searched refs:getApplicationContext (Results 1 – 25 of 169) sorted by relevance

1234567

/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DRunLocalBenchmarksActivity.java306 intent = new Intent(getApplicationContext(), ListViewScrollActivity.class); in runBenchmarkForId()
309 intent = new Intent(getApplicationContext(), ImageListViewScrollActivity.class); in runBenchmarkForId()
312 intent = new Intent(getApplicationContext(), ShadowGridActivity.class); in runBenchmarkForId()
315 intent = new Intent(getApplicationContext(), TextScrollActivity.class); in runBenchmarkForId()
320 intent = new Intent(getApplicationContext(), TextScrollActivity.class); in runBenchmarkForId()
325 intent = new Intent(getApplicationContext(), EditTextInputActivity.class); in runBenchmarkForId()
328 intent = new Intent(getApplicationContext(), FullScreenOverdrawActivity.class); in runBenchmarkForId()
331 intent = new Intent(getApplicationContext(), BitmapUploadActivity.class); in runBenchmarkForId()
335 intent = new Intent(getApplicationContext(), MemoryActivity.class); in runBenchmarkForId()
340 intent = new Intent(getApplicationContext(), MemoryActivity.class); in runBenchmarkForId()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationManager.java137 getApplicationContext().getContentResolver(), in getSettings()
204 getApplicationContext().getContentResolver() in finalize()
270 Context getApplicationContext() { in getApplicationContext() method in TextClassificationManager
271 return mContext.getApplicationContext() != null in getApplicationContext()
272 ? mContext.getApplicationContext() in getApplicationContext()
304 tcm.getApplicationContext().getContentResolver().registerContentObserver( in SettingsObserver()
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/
DOrbitActivity.java74 cell.setTextAppearance(getApplicationContext(), R.style.InfoTextSmall); in configureGridCell()
84 AppCompatTextView cell = new AppCompatTextView(getApplicationContext()); in buildChoreographerInfoGrid()
103 AppCompatTextView cell = new AppCompatTextView(getApplicationContext()); in buildChoreographerInfoGrid()
106 cell.setTextAppearance(getApplicationContext(), R.style.InfoTextSmall); in buildChoreographerInfoGrid()
143 AppCompatTextView cell = new AppCompatTextView(getApplicationContext()); in buildSwappyStatsGrid()
162 AppCompatTextView cell = new AppCompatTextView(getApplicationContext()); in buildSwappyStatsGrid()
165 cell.setTextAppearance(getApplicationContext(), R.style.InfoTextSmall); in buildSwappyStatsGrid()
268 intent.setClass(getApplicationContext(), SettingsActivity.class); in onCreateOptionsMenu()
281 …erences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); in onStart()
DSettingsActivity.java46 PreferenceManager.getDefaultSharedPreferences(getApplicationContext()) in onCreate()
54 PreferenceManager.getDefaultSharedPreferences(getApplicationContext()) in onDestroy()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java57 DecorContext context = new DecorContext(mContext.getApplicationContext(), mContext); in testDecorContextWithDefaultDisplay()
66 DecorContext context = new DecorContext(mContext.getApplicationContext(), in testDecorContextWithExternalDisplay()
/frameworks/base/keystore/java/android/security/keystore/
DKeymasterUtils.java126 PackageManager pm = KeyStore.getApplicationContext().getPackageManager(); in addUserAuthArgs()
133 fingerprintManager = KeyStore.getApplicationContext() in addUserAuthArgs()
137 faceManager = KeyStore.getApplicationContext().getSystemService(FaceManager.class); in addUserAuthArgs()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarHelperRegistry.java59 final Context applicationContext = context.getApplicationContext(); in getRegistry()
86 .getOrCreateHelper(context.getApplicationContext(), cls, creator); in getOrCreateWithAppContext()
DCarDrivingStateMonitor.java64 mContext = context.getApplicationContext(); in CarDrivingStateMonitor()
72 context.getApplicationContext(), in get()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptC.java118 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
127 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalStringCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothManager.java68 onInitCallback.onBluetoothManagerInitialized(context.getApplicationContext(), in getInstance()
111 mContext = context.getApplicationContext(); in LocalBluetoothManager()
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java76 mWifiManager = (WifiManager) getApplicationContext().getSystemService(Context.WIFI_SERVICE); in onCreate()
110 mCm = (ConnectivityManager) getApplicationContext().getSystemService( in onCreate()
238 Toast.makeText(getApplicationContext(), R.string.sign_up_failed, in showSignUpFailedToast()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java131 return ApplicationsState.getInstance((Application) context.getApplicationContext()) in isHiddenSystemModule()
139 return ApplicationsState.getInstance((Application) context.getApplicationContext()) in isSystemModule()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestApplication.java27 TestApplication.context = getApplicationContext(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysUiServiceProvider.java27 return ((SysUiServiceProvider) context.getApplicationContext()).getComponent(interfaceType); in getComponent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/component/
DRecentsVisibilityChangedEvent.java33 this.applicationContext = context.getApplicationContext(); in RecentsVisibilityChangedEvent()
DScreenPinningRequestEvent.java32 this.applicationContext = context.getApplicationContext(); in ScreenPinningRequestEvent()
/frameworks/base/tests/AmSlam/src/test/amslam/
DMainActivity.java61 sAppContext = getApplicationContext(); in onCreate()
108 Intent intent = new Intent(getApplicationContext(), target); in continueSend()
/frameworks/base/core/java/android/nfc/
DNfcManager.java52 context = context.getApplicationContext(); in NfcManager()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMainActivity.java46 … RenderScript renderScript = RenderScript.create(getApplicationContext(), RS_API); in onCreate()
70 RenderScript renderScript = RenderScript.create(getApplicationContext(), RS_API); in onCreate()
266 Context context = getApplicationContext(); in getResourceRef()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java89 this.getContext().getApplicationContext(), getPackageNameFromUri(uri)); in delete()
114 this.getContext().getApplicationContext(), getPackageNameFromUri(uri)); in openFile()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DTestContext.java40 public Context getApplicationContext() { in getApplicationContext() method in TestContext
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DAvgBrightnessFilterTest.java36 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
/frameworks/base/telephony/java/android/telephony/
DSmsManager.java372 final Context context = ActivityThread.currentApplication().getApplicationContext(); in sendTextMessageInternal()
584 final Context context = ActivityThread.currentApplication().getApplicationContext(); in sendTextMessageInternal()
835 final Context context = ActivityThread.currentApplication().getApplicationContext(); in sendMultipartTextMessageInternal()
1025 final Context context = ActivityThread.currentApplication().getApplicationContext(); in sendMultipartTextMessageInternal()
1162 final Context context = ActivityThread.currentApplication().getApplicationContext(); in sendDataMessage()
1333 final Context context = ActivityThread.currentApplication().getApplicationContext(); in resolveSubscriptionForOperation()
1401 final Context context = ActivityThread.currentApplication().getApplicationContext(); in getTargetSdkVersion()
2499 final Context context = ActivityThread.currentApplication().getApplicationContext(); in sendStoredTextMessage()
2567 final Context context = ActivityThread.currentApplication().getApplicationContext(); in sendStoredMultipartTextMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java138 context = context.getApplicationContext(); in registerPackageInstallReceiver()
149 context = context.getApplicationContext(); in unregisterPackageInstallReceiver()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMffContext.java243 public Context getApplicationContext() { in getApplicationContext() method in MffContext
343 mApplicationContext = context.getApplicationContext(); in init()

1234567