/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/view/ |
H A D | DisplayTest.java | 87 private Context mApplicationContext; field in DisplayTest 137 mApplicationContext.getResources()); in testConstructor_defaultResources_matchesDisplayInfo() 178 mApplicationContext.getResources()); in testGetRotation_resourcesWithoutOverride_rotationNotAdjusted() 191 mApplicationContext.getResources()); in testGetRotation_resourcesWithOverrideDisplayAdjustments_rotationAdjusted() 201 mApplicationContext.getResources()); in testGetRealSize_defaultResourcesPortrait_matchesLogicalSize() 211 mApplicationContext.getResources()); in testGetRealSize_defaultResourcesLandscape_matchesRotatedLogicalSize() 244 mApplicationContext.getResources()); in testGetRealSize_resourcesPortraitWithFixedRotation_notRotatedLogicalSize() 257 mApplicationContext.getResources()); in testGetRealSize_resourcesWithLandscapeFixedRotation_notRotatedLogicalSize() 270 mApplicationContext.getResources()); in testGetRealSize_resourcesWithPortraitOverrideRotation_rotatedLogicalSize() 283 mApplicationContext.getResources()); in testGetRealSize_resourcesWithLandscapeOverrideRotation_rotatedLogicalSize() [all …]
|
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/ |
H A D | AppFactoryImpl.java | 37 @NonNull private Context mApplicationContext; field in AppFactoryImpl 71 factory.mApplicationContext = application.getApplicationContext(); in register() 74 PreferenceManager.getDefaultSharedPreferences(factory.mApplicationContext); in register() 77 Intent intent = new Intent(factory.mApplicationContext, MessengerService.class); in register() 78 factory.mApplicationContext.bindService( in register() 90 return mApplicationContext; in getContext()
|
/aosp12/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
H A D | BeeperTest.java | 75 private final Context mApplicationContext = ApplicationProvider.getApplicationContext(); field in BeeperTest 80 …mTestUri = Uri.parse("android.resource://" + mApplicationContext.getPackageName() + "/" + R.raw.on… in setup() 82 "android.resource://" + mApplicationContext.getPackageName() + "/" + R.raw.one2six); in setup() 84 mTestDataSource = DataSource.toDataSource(mApplicationContext, mTestUri); in setup() 85 DataSource test2DataSource = DataSource.toDataSource(mApplicationContext, mTestUri2); in setup() 87 … DataSource.toDataSource(mApplicationContext, Settings.System.DEFAULT_NOTIFICATION_URI); in setup() 91 … AudioManager manager = (AudioManager) mApplicationContext.getSystemService(Context.AUDIO_SERVICE); in setup() 101 mBeeper = new Beeper(mApplicationContext); in setup()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/settings/ |
H A D | SettingsActivityTest.java | 65 private Context mApplicationContext; field in SettingsActivityTest 69 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp() 95 PluginPrefs.setHasPlugins(mApplicationContext); in testSettings_developerOptionsTap_launchesActivityWithFragment() 111 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_aboutScreenIntent() 123 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_developerOptionsFragmentIntent() 136 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_intentWithUnknownFragment() 152 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_backButtonFinishesActivity()
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | CommonFlags.java | 41 private final Context mApplicationContext; field in CommonFlags 45 mApplicationContext = context.getApplicationContext(); in CommonFlags() 67 Resources res = mApplicationContext.getResources(); in shouldFlagImproperImageRefs()
|
/aosp12/packages/apps/Car/Media/src/com/android/car/media/widgets/ |
H A D | AppBarController.java | 43 private final Context mApplicationContext; field in AppBarController 92 mApplicationContext = context.getApplicationContext(); in AppBarController() 153 tabBinder.setImage(mApplicationContext, null); in setItems() 158 Size maxArtSize = MediaAppConfig.getMediaItemsBitmapMaxSize(mApplicationContext); in setItems() 161 mApplicationContext, in setItems() 168 newTab.setImage(mApplicationContext, item.getArtworkKey()); in setItems()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
H A D | CurrentWallpaperAssetV16.java | 35 private Context mApplicationContext; field in CurrentWallpaperAssetV16 39 mApplicationContext = context.getApplicationContext(); in CurrentWallpaperAssetV16() 70 WallpaperManager wallpaperManager = WallpaperManager.getInstance(mApplicationContext); in getCurrentWallpaperDrawable()
|
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | MffContext.java | 90 private Context mApplicationContext = null; field in MffContext 244 return mApplicationContext; in getApplicationContext() 307 mRenderScript = RenderScript.create(mApplicationContext); in getRenderScript() 343 mApplicationContext = context.getApplicationContext(); in init()
|
/aosp12/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
H A D | TaskOverlayFactoryGo.java | 125 mSharedPreferences = Utilities.getPrefs(mApplicationContext); in TaskOverlayGo() 148 UserManager.get(mApplicationContext).isManagedProfile(task.key.userId); in initOverlay() 152 mSharedPreferences = Utilities.getPrefs(mApplicationContext); in initOverlay() 220 mApplicationContext.startActivity(intent); in sendNIUIntent() 248 ContentResolver contentResolver = mApplicationContext.getContentResolver(); in checkSettings() 374 mApplicationContext.startActivity(intent); in onDialogClickSettings()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ |
H A D | FactoryImpl.java | 56 private Context mApplicationContext; field in FactoryImpl 90 factory.mApplicationContext = applicationContext; in register() 135 return mApplicationContext; in getApplicationContext()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
H A D | TaskOverlayFactory.java | 183 protected final Context mApplicationContext; 190 mApplicationContext = taskThumbnailView.getContext().getApplicationContext(); 193 mApplicationContext, mThumbnailView::getThumbnail);
|
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/ |
H A D | CarDisplayAreaController.java | 135 private Context mApplicationContext; field in CarDisplayAreaController 175 mApplicationContext = applicationContext; in init() 233 for (String component : mApplicationContext.getResources().getStringArray( in init() 238 String[] ignoreOpeningForegroundDACmp = mApplicationContext.getResources().getStringArray( in init() 393 mApplicationContext.sendBroadcastAsUser(intent, UserHandle.ALL); in register() 577 mApplicationContext.sendBroadcastAsUser(intent, UserHandle.ALL); in startAnimation()
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | RunningState.java | 78 final Context mApplicationContext; field in RunningState 248 cmd.arg1 = update(mApplicationContext, mAm) ? 1 : 0; in handleMessage() 784 mApplicationContext = context.getApplicationContext(); in RunningState() 785 mAm = mApplicationContext.getSystemService(ActivityManager.class); in RunningState() 786 mPm = mApplicationContext.getPackageManager(); in RunningState() 787 mUm = mApplicationContext.getSystemService(UserManager.class); in RunningState() 795 mUmBroadcastReceiver.register(mApplicationContext); in RunningState() 804 mInterestingConfigChanges.applyNewConfig(mApplicationContext.getResources()); in resume()
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | CarNotificationTypeItemTest.java | 50 private final Context mApplicationContext = ApplicationProvider.getApplicationContext(); field in CarNotificationTypeItemTest 240 View viewTemplate = LayoutInflater.from(mApplicationContext).inflate( in assertProperties()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | DatabaseHelper.java | 568 private final Context mApplicationContext; field in DatabaseHelper 598 mApplicationContext = context; in DatabaseHelper() 626 mDatabaseWrapper = new DatabaseWrapper(mApplicationContext, getWritableDatabase()); in getDatabase()
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 97 private Context mApplicationContext; field in AudioManager 788 if (mApplicationContext == null) { in getContext() 791 if (mApplicationContext != null) { in getContext() 792 return mApplicationContext; in getContext() 798 mApplicationContext = context.getApplicationContext(); in setContext() 799 if (mApplicationContext != null) { in setContext() 2833 service.setMode(mode, mICallBack, mApplicationContext.getOpPackageName()); in setMode() 5708 mApplicationContext.getOpPackageName()); in setDeviceVolumeBehavior() 5773 mApplicationContext.getOpPackageName()); in setWiredDeviceConnectionState() 6086 getService().disableSafeMediaVolume(mApplicationContext.getOpPackageName()); in disableSafeMediaVolume()
|
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/ |
H A D | RenderScript.java | 68 private Context mApplicationContext; field in RenderScript 1360 mApplicationContext = ctx.getApplicationContext(); in RenderScript() 1362 mNativeLibDir = mApplicationContext.getApplicationInfo().nativeLibraryDir; in RenderScript() 1375 return mApplicationContext; in getApplicationContext()
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ComponentContextFixture.java | 504 private final Context mApplicationContext = new FakeApplicationContext(); 511 private final Context mApplicationContextSpy = spy(mApplicationContext);
|
/aosp12/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 67 private Context mApplicationContext; field in RenderScript 1368 mApplicationContext = ctx.getApplicationContext(); in RenderScript() 1379 return mApplicationContext; in getApplicationContext()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
H A D | CarUserServiceTest.java | 169 @Mock private Context mApplicationContext; field in CarUserServiceTest 243 doReturn(mApplicationContext).when(mMockContext).getApplicationContext(); in setUpMocks()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 27170 Landroid/media/AudioManager;->mApplicationContext:Landroid/content/Context; 49583 Landroid/renderscript/RenderScript;->mApplicationContext:Landroid/content/Context;
|