/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | RunLocalBenchmarksActivity.java | 306 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/ |
D | TextClassificationManager.java | 137 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/ |
D | OrbitActivity.java | 74 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()
|
D | SettingsActivity.java | 46 PreferenceManager.getDefaultSharedPreferences(getApplicationContext()) in onCreate() 54 PreferenceManager.getDefaultSharedPreferences(getApplicationContext()) in onDestroy()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 57 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/ |
D | KeymasterUtils.java | 126 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/ |
D | CarHelperRegistry.java | 59 final Context applicationContext = context.getApplicationContext(); in getRegistry() 86 .getOrCreateHelper(context.getApplicationContext(), cls, creator); in getOrCreateWithAppContext()
|
D | CarDrivingStateMonitor.java | 64 mContext = context.getApplicationContext(); in CarDrivingStateMonitor() 72 context.getApplicationContext(), in get()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptC.java | 118 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/ |
D | LocalBluetoothManager.java | 68 onInitCallback.onBluetoothManagerInitialized(context.getApplicationContext(), in getInstance() 111 mContext = context.getApplicationContext(); in LocalBluetoothManager()
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 76 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/ |
D | AppUtils.java | 131 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/ |
D | TestApplication.java | 27 TestApplication.context = getApplicationContext(); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SysUiServiceProvider.java | 27 return ((SysUiServiceProvider) context.getApplicationContext()).getComponent(interfaceType); in getComponent()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/component/ |
D | RecentsVisibilityChangedEvent.java | 33 this.applicationContext = context.getApplicationContext(); in RecentsVisibilityChangedEvent()
|
D | ScreenPinningRequestEvent.java | 32 this.applicationContext = context.getApplicationContext(); in ScreenPinningRequestEvent()
|
/frameworks/base/tests/AmSlam/src/test/amslam/ |
D | MainActivity.java | 61 sAppContext = getApplicationContext(); in onCreate() 108 Intent intent = new Intent(getApplicationContext(), target); in continueSend()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcManager.java | 52 context = context.getApplicationContext(); in NfcManager()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MainActivity.java | 46 … 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/ |
D | WearPackageIconProvider.java | 89 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/ |
D | TestContext.java | 40 public Context getApplicationContext() { in getApplicationContext() method in TestContext
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | AvgBrightnessFilterTest.java | 36 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 372 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/ |
D | InstallCarrierAppUtils.java | 138 context = context.getApplicationContext(); in registerPackageInstallReceiver() 149 context = context.getApplicationContext(); in unregisterPackageInstallReceiver()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MffContext.java | 243 public Context getApplicationContext() { in getApplicationContext() method in MffContext 343 mApplicationContext = context.getApplicationContext(); in init()
|