Home
last modified time | relevance | path

Searched refs:mApplicationContext (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DBiometricsSafetySourceTest.java78 private Context mApplicationContext; field in BiometricsSafetySourceTest
90 mApplicationContext = spy(ApplicationProvider.getApplicationContext()); in setUp()
91 when(mApplicationContext.getPackageManager()).thenReturn(mPackageManager); in setUp()
96 when(mApplicationContext.getSystemService(Context.FINGERPRINT_SERVICE)) in setUp()
98 when(mApplicationContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in setUp()
100 when(mApplicationContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mFaceManager); in setUp()
102 when(featureFactory.securityFeatureProvider.getLockPatternUtils(mApplicationContext)) in setUp()
115 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(false); in setSafetyData_whenSafetyCenterIsDisabled_doesNotSetData()
117 BiometricsSafetySource.setSafetySourceData(mApplicationContext, EVENT_SOURCE_STATE_CHANGED); in setSafetyData_whenSafetyCenterIsDisabled_doesNotSetData()
125 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(true); in setSafetySourceData_whenSafetyCenterIsEnabled_withoutBiometrics_setsNullData()
[all …]
DLockScreenSafetySourceTest.java65 private Context mApplicationContext; field in LockScreenSafetySourceTest
76 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
79 when(featureFactory.securityFeatureProvider.getLockPatternUtils(mApplicationContext)) in setUp()
91 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(false); in setSafetySourceData_whenScreenLockEnabled_safetyCenterDisabled_doesNotSetData()
95 mApplicationContext, mScreenLockPreferenceDetailsUtils, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_whenScreenLockEnabled_safetyCenterDisabled_doesNotSetData()
103 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(true); in setSafetySourceData_whenScreenLockIsDisabled_setsNullData()
107 mApplicationContext, mScreenLockPreferenceDetailsUtils, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_whenScreenLockIsDisabled_setsNullData()
117 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(true); in setSafetySourceData_setsDataForLockscreenSafetySource()
120 mApplicationContext, mScreenLockPreferenceDetailsUtils, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_setsDataForLockscreenSafetySource()
130 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(true); in setSafetySourceData_setsDataWithCorrectSafetyEvent()
[all …]
DSafetySourceBroadcastReceiverTest.java62 private Context mApplicationContext; field in SafetySourceBroadcastReceiverTest
72 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
74 when(featureFactory.securityFeatureProvider.getLockPatternUtils(mApplicationContext)) in setUp()
86 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(false); in onReceive_onRefresh_whenSafetyCenterIsDisabled_doesNotSetData()
95 new SafetySourceBroadcastReceiver().onReceive(mApplicationContext, intent); in onReceive_onRefresh_whenSafetyCenterIsDisabled_doesNotSetData()
103 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(true); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoIntentAction_doesNotSetData()
111 new SafetySourceBroadcastReceiver().onReceive(mApplicationContext, intent); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoIntentAction_doesNotSetData()
119 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(true); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNullSourceIds_doesNotSetData()
125 new SafetySourceBroadcastReceiver().onReceive(mApplicationContext, intent); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNullSourceIds_doesNotSetData()
133 when(mSafetyCenterManagerWrapper.isEnabled(mApplicationContext)).thenReturn(true); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoSourceIds_doesNotSetData()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/
DRegionalPreferencesDataUtilsTest.java39 private Context mApplicationContext; field in RegionalPreferencesDataUtilsTest
46 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
48 mApplicationContext.getContentResolver(), Settings.System.LOCALE_PREFERENCES); in setUp()
56 mApplicationContext, mCacheProviderContent); in tearDown()
64 mApplicationContext, "und-u-mu-celsius"); in getDefaultUnicodeExtensionData_hasProviderValue_resultIsCelsius()
67 mApplicationContext, ExtensionTypes.TEMPERATURE_UNIT); in getDefaultUnicodeExtensionData_hasProviderValue_resultIsCelsius()
75 mApplicationContext, "und"); in getDefaultUnicodeExtensionData_hasDefaultLocaleSubtag_resultIsCelsius()
79 mApplicationContext, ExtensionTypes.TEMPERATURE_UNIT); in getDefaultUnicodeExtensionData_hasDefaultLocaleSubtag_resultIsCelsius()
87 mApplicationContext, "und"); in getDefaultUnicodeExtensionData_noSubtag_resultIsDefault()
91 mApplicationContext, ExtensionTypes.TEMPERATURE_UNIT); in getDefaultUnicodeExtensionData_noSubtag_resultIsDefault()
[all …]
DFirstDayOfWeekControllerTest.java35 private Context mApplicationContext; field in FirstDayOfWeekControllerTest
42 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
43 mController = new FirstDayOfWeekController(mApplicationContext, "key"); in setUp()
45 mApplicationContext.getContentResolver(), Settings.System.LOCALE_PREFERENCES); in setUp()
52 mApplicationContext, mCacheProviderContent); in tearDown()
58 RegionalPreferenceTestUtils.setSettingsProviderContent(mApplicationContext, "und-u-fw-wed"); in getSummary_hasProviderValue_resultIsWed()
63 mApplicationContext, "wednesday_first_day_of_week"), summary); in getSummary_hasProviderValue_resultIsWed()
68 RegionalPreferenceTestUtils.setSettingsProviderContent(mApplicationContext, "und-u-fw-sat"); in getSummary_hasProviderValue_resultIsSat()
73 mApplicationContext, "saturday_first_day_of_week"), summary); in getSummary_hasProviderValue_resultIsSat()
78 RegionalPreferenceTestUtils.setSettingsProviderContent(mApplicationContext, ""); in getSummary_noProviderValueButHasDefaultLocaleWithSubtag_resultIsSat()
[all …]
DTemperatureUnitControllerTest.java35 private Context mApplicationContext; field in TemperatureUnitControllerTest
42 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
43 mController = new TemperatureUnitController(mApplicationContext, "key"); in setUp()
45 mApplicationContext.getContentResolver(), Settings.System.LOCALE_PREFERENCES); in setUp()
52 mApplicationContext, mCacheProviderContent); in tearDown()
59 mApplicationContext, "und-u-mu-celsius"); in getSummary_hasProviderValue_resultIsCelsius()
64 mApplicationContext, "celsius_temperature_unit"), summary); in getSummary_hasProviderValue_resultIsCelsius()
70 mApplicationContext, "und-u-mu-fahrenhe"); in getSummary_hasProviderValue_resultIsFahrenheit()
75 mApplicationContext, "fahrenheit_temperature_unit"), summary); in getSummary_hasProviderValue_resultIsFahrenheit()
80 RegionalPreferenceTestUtils.setSettingsProviderContent(mApplicationContext, ""); in getSummary_noProviderValueButHasDefaultLocaleWithSubtag_resultIsFahrenheit()
[all …]
DNumberingSystemItemControllerTest.java50 private Context mApplicationContext; field in NumberingSystemItemControllerTest
63 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
66 PreferenceManager preferenceManager = new PreferenceManager(mApplicationContext); in setUp()
67 mPreferenceScreen = preferenceManager.createPreferenceScreen(mApplicationContext); in setUp()
85 TickButtonPreference preference = new TickButtonPreference(mApplicationContext); in handlePreferenceTreeClick_languageSelect_launchFragment()
88 mController = new NumberingSystemItemController(mApplicationContext, bundle); in handlePreferenceTreeClick_languageSelect_launchFragment()
101 mApplicationContext, in handlePreferenceTreeClick_languageSelect_launchFragment()
113 TickButtonPreference preference = new TickButtonPreference(mApplicationContext); in handlePreferenceTreeClick_numbersSelect_preferenceHasTick()
116 mController = new NumberingSystemItemController(mApplicationContext, bundle); in handlePreferenceTreeClick_numbersSelect_preferenceHasTick()
124 mApplicationContext, SettingsEnums.ACTION_SET_NUMBERS_PREFERENCES); in handlePreferenceTreeClick_numbersSelect_preferenceHasTick()
[all …]
DNumberingSystemControllerTest.java33 private Context mApplicationContext; field in NumberingSystemControllerTest
38 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
44 mController = new NumberingSystemController(mApplicationContext, "key"); in getAvailabilityStatus_noLocale_unavailable()
55 mController = new NumberingSystemController(mApplicationContext, "key"); in getAvailabilityStatus_hasLocaleWithNumberingSystems_available()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusUtilsTest.java60 private Context mApplicationContext; field in ActiveUnlockStatusUtilsTest
65 mApplicationContext = spy(ApplicationProvider.getApplicationContext()); in setUp()
66 when(mApplicationContext.getPackageManager()).thenReturn(mPackageManager); in setUp()
69 when(mApplicationContext.getSystemService(Context.FINGERPRINT_SERVICE)) in setUp()
71 when(mApplicationContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mFaceManager); in setUp()
74 ActiveUnlockTestUtils.enable(mApplicationContext); in setUp()
75 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(mApplicationContext); in setUp()
80 ActiveUnlockTestUtils.disable(mApplicationContext); in tearDown()
85 ActiveUnlockTestUtils.disable(mApplicationContext); in isAvailable_featureFlagDisabled_returnsConditionallyUnavailable()
125 mApplicationContext, ActiveUnlockStatusUtils.UNLOCK_INTENT_LAYOUT); in configIsUnlockOnIntent_useUnlockIntentLayoutIsTrue()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/
DJavaScriptSandboxProviderTest.java60 private final Context mApplicationContext = ApplicationProvider.getApplicationContext(); field in JavaScriptSandboxProviderTest
93 () -> mJsSandboxProvider.getFutureInstance(mApplicationContext).get(); in testJsSandboxProviderCreateFailsIfSandboxNotSupported()
109 mApplicationContext); in testJsSandboxProviderCreatesOnlyOneInstance()
116 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesOnlyOneInstance()
117 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesOnlyOneInstance()
119 verify(() -> JavaScriptSandbox.createConnectedInstanceAsync(mApplicationContext)); in testJsSandboxProviderCreatesOnlyOneInstance()
131 mApplicationContext); in testJsSandboxProviderCreatesNewInstanceAfterFirstIsDestroyed()
137 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesNewInstanceAfterFirstIsDestroyed()
142 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesNewInstanceAfterFirstIsDestroyed()
145 () -> JavaScriptSandbox.createConnectedInstanceAsync(mApplicationContext), in testJsSandboxProviderCreatesNewInstanceAfterFirstIsDestroyed()
[all …]
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DCarDisplayAreaController.java73 private final Context mApplicationContext; field in CarDisplayAreaController
103 mApplicationContext.sendBroadcastAsUser(intent,
116 mApplicationContext.sendBroadcastAsUser(intent,
131 mApplicationContext.sendBroadcastAsUser(intent,
141 mApplicationContext.getDisplayId(), mUserSetupInProgress); in updateImmersiveModeInternal()
173 mApplicationContext = applicationContext; in CarDisplayAreaController()
199 mApplicationContext.registerReceiverForAllUsers(taskViewReadyReceiver, in CarDisplayAreaController()
204 mCarUiDisplaySystemBarsController.registerCallback(mApplicationContext.getDisplayId(), in CarDisplayAreaController()
214 mApplicationContext.sendBroadcastAsUser(intent, in animateCollapsePanels()
228 mApplicationContext.startActivityAsUser(intent, UserHandle.CURRENT); in animateExpandNotificationsPanel()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/combination/
DCombinedBiometricStatusUtilsTest.java74 private Context mApplicationContext; field in CombinedBiometricStatusUtilsTest
82 mApplicationContext = spy(ApplicationProvider.getApplicationContext()); in setUp()
83 when(mApplicationContext.getPackageManager()).thenReturn(mPackageManager); in setUp()
88 when(mApplicationContext.getSystemService(Context.FINGERPRINT_SERVICE)) in setUp()
90 when(mApplicationContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in setUp()
92 when(mApplicationContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mFaceManager); in setUp()
94 mApplicationContext, USER_ID); in setUp()
220 mApplicationContext, in getSummary_whenFaceEnrolled_whenMultipleFingerprints_returnsBothFpMultiple()
232 mApplicationContext, in getSummary_whenFaceEnrolled_whenSingleFingerprint_returnsBothFpSingle()
244 mApplicationContext, in getSummary_whenFaceEnrolled_whenNoFingerprints_returnsFace()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/
DFaceStatusUtilsTest.java65 private Context mApplicationContext; field in FaceStatusUtilsTest
71 mApplicationContext = spy(ApplicationProvider.getApplicationContext()); in setUp()
72 when(mApplicationContext.getPackageManager()).thenReturn(mPackageManager); in setUp()
77 when(mApplicationContext.getSystemService(Context.FINGERPRINT_SERVICE)) in setUp()
79 when(mApplicationContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in setUp()
81 when(mApplicationContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mFaceManager); in setUp()
82 mFaceStatusUtils = new FaceStatusUtils(mApplicationContext, mFaceManager, USER_ID); in setUp()
155 mApplicationContext, in getSummary_whenNotEnrolled_returnsSummaryNone()
165 mApplicationContext, in getSummary_whenEnrolled_returnsSummary()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/
DFingerprintStatusUtilsTest.java69 private Context mApplicationContext; field in FingerprintStatusUtilsTest
75 mApplicationContext = spy(ApplicationProvider.getApplicationContext()); in setUp()
76 when(mApplicationContext.getPackageManager()).thenReturn(mPackageManager); in setUp()
81 when(mApplicationContext.getSystemService(Context.FINGERPRINT_SERVICE)) in setUp()
83 when(mApplicationContext.getSystemService(Context.DEVICE_POLICY_SERVICE)) in setUp()
85 when(mApplicationContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mFaceManager); in setUp()
87 new FingerprintStatusUtils(mApplicationContext, mFingerprintManager, USER_ID); in setUp()
161 mApplicationContext, in getSummary_whenNotEnrolled_returnsSummaryNone()
171 final String summary = StringUtil.getIcuPluralsString(mApplicationContext, in getSummary_whenEnrolled_returnsSummary()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginArchiveManager.java62 private final Context mApplicationContext; field in PluginArchiveManager
65 this.mApplicationContext = applicationContext; in PluginArchiveManager()
87 return new File(mApplicationContext.getCacheDir(), filename); in createArchiveFileInCacheDir()
237 assetManager = mApplicationContext.getAssets(); in getArchiveChecksum()
253 Context pluginContext = mApplicationContext.createPackageContext(pluginPackage, 0); in packageAssetManager()
260 mApplicationContext in copyPluginFromInstalledPackageToCacheDir()
304 return copyPluginToCacheDir(pluginArchive, mApplicationContext.getAssets()); in copyPluginFromAssetsToCacheDir()
320 File pluginInCacheDir = new File(mApplicationContext.getCacheDir(), pluginArchive); in copyPluginToCacheDir()
321 File checksumInCacheDir = new File(mApplicationContext.getCacheDir(), checksumFile); in copyPluginToCacheDir()
345 File pluginInCacheDir = new File(mApplicationContext.getCacheDir(), pluginArchive); in canReusePluginInCacheDir()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/
DFederatedComputeServiceImplTest.java74 private final Context mApplicationContext = ApplicationProvider.getApplicationContext(); field in FederatedComputeServiceImplTest
98 mIsolatedService = new ComponentName(mApplicationContext.getPackageName(), SERVICE_CLASS); in setup()
115 mApplicationContext.getPackageName(), in setup()
117 mApplicationContext, mApplicationContext.getPackageName())), in setup()
118 mApplicationContext, in setup()
169 + mApplicationContext.getPackageName()); in testScheduleUrlOverride()
196 + mApplicationContext.getPackageName()); in testScheduleUrlDeviceConfigOverride()
243 EventsDao.getInstanceForTest(mApplicationContext) in testCancel()
266 EventsDao.getInstanceForTest(mApplicationContext) in testCancelErr()
287 OnDevicePersonalizationDbHelper.getInstanceForTest(mApplicationContext); in cleanup()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DBeeperTest.java75 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()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/impl/
DPluginManagerImpl.java31 private final Context mApplicationContext; field in PluginManagerImpl
34 this.mApplicationContext = applicationContext; in PluginManagerImpl()
40 mApplicationContext, in createPluginController()
41 new PluginExecutorServiceProviderImpl(mApplicationContext), in createPluginController()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DInterfaceEnabler.java25 private final Context mApplicationContext; field in InterfaceEnabler
31 mApplicationContext = applicationContext; in InterfaceEnabler()
38 mApplicationContext.getMainExecutor(), in enableInterface()
44 mApplicationContext.getMainExecutor(), in disableInterface()
DConfigurationUpdater.java39 private final Context mApplicationContext; field in ConfigurationUpdater
45 mApplicationContext = applicationContext; in ConfigurationUpdater()
64 mApplicationContext.getMainExecutor(), mCallback); in updateNetworkConfiguration()
96 UidToPackageNameConverter.convertToUids(mApplicationContext, packageNames)); in getCapabilities()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DFederatedComputeServiceImpl.java61 @NonNull private final Context mApplicationContext; field in FederatedComputeServiceImpl
72 this.mApplicationContext = Objects.requireNonNull(applicationContext); in FederatedComputeServiceImpl()
76 Objects.requireNonNull(injector.getFederatedComputeManager(mApplicationContext)); in FederatedComputeServiceImpl()
100 mApplicationContext, mCallingService.getPackageName()); in handleSchedule()
104 mApplicationContext, mCallingService.getPackageName())) { in handleSchedule()
165 .getEventsDao(mApplicationContext) in handleSchedule()
192 .getEventsDao(mApplicationContext) in cancel()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/
DDataAccessServiceImplTest.java94 private final Context mApplicationContext = ApplicationProvider.getApplicationContext(); field in DataAccessServiceImplTest
115 mService = ComponentName.createRelative(mApplicationContext.getPackageName(), in setup()
118 mVendorDao = mInjector.getVendorDataDao(mApplicationContext, in setup()
120 PackageUtils.getCertDigest(mApplicationContext, in setup()
121 mApplicationContext.getPackageName())); in setup()
123 mLocalDao = mInjector.getLocalDataDao(mApplicationContext, in setup()
125 PackageUtils.getCertDigest(mApplicationContext, in setup()
126 mApplicationContext.getPackageName())); in setup()
128 mEventsDao = mInjector.getEventsDao(mApplicationContext); in setup()
131 mService, mApplicationContext, null, in setup()
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/settings/
DSettingsActivityTest.java64 private Context mApplicationContext; field in SettingsActivityTest
68 mApplicationContext = ApplicationProvider.getApplicationContext(); in setUp()
94 PluginPrefs.setHasPlugins(mApplicationContext); in testSettings_developerOptionsTap_launchesActivityWithFragment()
110 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_aboutScreenIntent()
122 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_developerOptionsFragmentIntent()
136 Intent intent = new Intent(mApplicationContext, SettingsActivity.class) in testSettings_backButtonFinishesActivity()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/process/
DSharedIsolatedProcessRunner.java69 private final Context mApplicationContext; field in SharedIsolatedProcessRunner
84 mApplicationContext = Objects.requireNonNull(applicationContext); in SharedIsolatedProcessRunner()
192 mApplicationContext,
202 packageCertificate = PackageUtils.getCertDigest(mApplicationContext, packageName);
219 PackageManager pm = mApplicationContext.getPackageManager();
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DReorderAlgorithmUnitTest.java68 private Context mApplicationContext; field in ReorderAlgorithmUnitTest
81 mApplicationContext = new ActivityContextWrapper(getApplicationContext()); in testAllCases()
102 mApplicationContext = new ActivityContextWrapper(getApplicationContext()); in generateValidTests()
122 mApplicationContext = new ActivityContextWrapper(getApplicationContext()); in generateValidTests_Multi()
138 View cell = isWidget ? new View(mApplicationContext) : new DoubleShadowBubbleTextView( in addViewInCellLayout()
139 mApplicationContext); in addViewInCellLayout()

12