Home
last modified time | relevance | path

Searched defs:spyContext (Results 1 – 14 of 14) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollectionJobServiceTest.java158 Context spyContext = getSpyContext(); in testSchedule_scheduleSuccessful_resultCodeSuccess() local
173 Context spyContext = getSpyContext(); in testSchedule_scheduleFailure_resultCodeFailed() local
188 Context spyContext = getSpyContext(); in testSchedule_pendingJobForceSchedule_resultCodeSuccess() local
204 Context spyContext = getSpyContext(); in testSchedule_nullJobScheduler_resultCodeFailed() local
216 Context spyContext = getSpyContext(); in testSchedule_pendingJob_resultCodeSkipped() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java308 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() local
339 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage() local
361 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_shouldContainSettingsIntelligence() local
392 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_shouldContainPackageInstaller() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderTaskTest.kt283 val spyContext = context in <lambda>() constant
354 val spyContext = context in <lambda>() constant
390 val spyContext = context in <lambda>() constant
431 val spyContext = context in <lambda>() constant
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/reporting/
DDebugReportingJobServiceTest.java247 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
280 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_withDifferentJobInfo_doesSchedule() local
DDebugReportingFallbackJobServiceTest.java205 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
242 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_diffJobInfo_doesSchedule() local
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerImplTest.java475 Context spyContext = new ContextWrapper(ApplicationProvider.getApplicationContext()) { in testContactsIndexerImpl_batchUpdateContactsNullCursor_shouldContinueOnError() local
522 Context spyContext = new ContextWrapper(ApplicationProvider.getApplicationContext()) { in testContactsIndexerImpl_batchUpdateContactsNullCursor_shouldNotContinueOnError() local
564 Context spyContext = new ContextWrapper(ApplicationProvider.getApplicationContext()) { in testContactsIndexerImpl_batchUpdateContactsThrows_shouldContinueOnError() local
611 Context spyContext = new ContextWrapper(ApplicationProvider.getApplicationContext()) { in testContactsIndexerImpl_batchUpdateContactsThrows_shouldNotContinueOnError() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueJobServiceTest.java385 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
428 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_diffJobInfo_doesSchedule() local
/packages/modules/AdServices/sdksandbox/tests/testutils/device-side/com/android/server/sdksandbox/
DFakeInjector.java48 public FakeInjector(Context spyContext) { in FakeInjector()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java1054 Context spyContext = Mockito.spy(ApplicationProvider.getApplicationContext()); in testReceive_onT_onExtServices() local
1071 Context spyContext = Mockito.spy(ApplicationProvider.getApplicationContext()); in testReceive_onS_onExtServices() local
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListTest.kt46 private val spyContext: Context = spy(ApplicationProvider.getApplicationContext()) { in <lambda>() constant
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManagerTest.java510 Context spyContext = Mockito.spy(appContext.get()); in testMigrateConsentData_FromExtServices() local
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
DDriverDistractionExperimentalFeatureServiceTest.java218 Context spyContext = spy(InstrumentationRegistry.getInstrumentation().getTargetContext()); in testInit_bindsToServicesInXmlConfig() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSatelliteRepositoryTest.kt55 var spyContext: Context = ApplicationProvider.getApplicationContext() in <lambda>() variable in com.android.settings.network.SatelliteRepositoryTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DToggleScreenMagnificationPreferenceFragmentTest.java156 Context spyContext = spy(mContext); in setUpTestFragment() local