/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
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()
|
D | CarNotificationTypeItemTest.java | 50 private final Context mApplicationContext = ApplicationProvider.getApplicationContext(); field in CarNotificationTypeItemTest 240 View viewTemplate = LayoutInflater.from(mApplicationContext).inflate( in assertProperties()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | TelecomActivityViewModel.java | 45 private final Context mApplicationContext; field in TelecomActivityViewModel 68 mApplicationContext = application.getApplicationContext(); in TelecomActivityViewModel() 71 mToolbarTitleLiveData = new ToolbarTitleLiveData(mApplicationContext, mToolbarTitleMode); in TelecomActivityViewModel() 72 mErrorStringLiveData = BluetoothErrorStringLiveData.get(mApplicationContext); in TelecomActivityViewModel()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | CommonFlags.java | 43 private final Context mApplicationContext; field in CommonFlags 47 mApplicationContext = context.getApplicationContext(); in CommonFlags() 69 Resources res = mApplicationContext.getResources(); in shouldFlagImproperImageRefs()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | CurrentWallpaperAssetV16.java | 35 private Context mApplicationContext; field in CurrentWallpaperAssetV16 38 mApplicationContext = context.getApplicationContext(); in CurrentWallpaperAssetV16() 66 WallpaperManager wallpaperManager = WallpaperManager.getInstance(mApplicationContext); in getCurrentWallpaperDrawable()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TaskOverlayFactory.java | 122 private final Context mApplicationContext; field in TaskOverlayFactory.TaskOverlay 130 mApplicationContext = taskThumbnailView.getContext().getApplicationContext(); in TaskOverlay() 133 mApplicationContext, mThumbnailView::getThumbnail); in TaskOverlay()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | FactoryImpl.java | 56 private Context mApplicationContext; field in FactoryImpl 90 factory.mApplicationContext = applicationContext; in register() 135 return mApplicationContext; in getApplicationContext()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | RunningState.java | 78 final Context mApplicationContext; field in RunningState 242 cmd.arg1 = update(mApplicationContext, mAm) ? 1 : 0; in handleMessage() 778 mApplicationContext = context.getApplicationContext(); in RunningState() 779 mAm = (ActivityManager)mApplicationContext.getSystemService(Context.ACTIVITY_SERVICE); in RunningState() 780 mPm = mApplicationContext.getPackageManager(); in RunningState() 781 mUm = (UserManager)mApplicationContext.getSystemService(Context.USER_SERVICE); in RunningState() 789 mUmBroadcastReceiver.register(mApplicationContext); in RunningState() 798 mInterestingConfigChanges.applyNewConfig(mApplicationContext.getResources()); in resume()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 78 final Context mApplicationContext; field in RunningState 242 cmd.arg1 = update(mApplicationContext, mAm) ? 1 : 0; in handleMessage() 778 mApplicationContext = context.getApplicationContext(); in RunningState() 779 mAm = (ActivityManager)mApplicationContext.getSystemService(Context.ACTIVITY_SERVICE); in RunningState() 780 mPm = mApplicationContext.getPackageManager(); in RunningState() 781 mUm = (UserManager)mApplicationContext.getSystemService(Context.USER_SERVICE); in RunningState() 789 mUmBroadcastReceiver.register(mApplicationContext); in RunningState() 798 mInterestingConfigChanges.applyNewConfig(mApplicationContext.getResources()); in resume()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseHelper.java | 565 private final Context mApplicationContext; field in DatabaseHelper 595 mApplicationContext = context; in DatabaseHelper() 624 mDatabaseWrapper = new DatabaseWrapper(mApplicationContext, getWritableDatabase()); in getDatabase()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ComponentContextFixture.java | 454 private final Context mApplicationContext = new FakeApplicationContext(); 461 private final Context mApplicationContextSpy = spy(mApplicationContext);
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 151 @Mock private Context mApplicationContext; field in CarUserServiceTest 211 doReturn(mApplicationContext).when(mMockContext).getApplicationContext(); in setUpMocks()
|