Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderTaskTest.kt205 val spyContext = spy(context) in When launcher_broadcast_installed_apps and is restore then send installed item broadcast() constant
273 val spyContext = spy(context) in When not a restore then installed item broadcast not sent() constant
306 val spyContext = spy(context) in When launcher_broadcast_installed_apps false then installed item broadcast not sent() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java311 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() local
342 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage() local
364 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_shouldContainSettingsIntelligence() local
406 Context spyContext = spy(RuntimeEnvironment.application); in getKeepEnabledPackages_shouldContainPackageInstaller() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DImmediateAggregateReportingJobServiceTest.java267 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
306 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() local
402 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
DAggregateReportingJobServiceTest.java273 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
311 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() local
406 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
DEventReportingJobServiceTest.java270 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
308 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() local
402 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
DAggregateFallbackReportingJobServiceTest.java277 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
317 final Context spyContext = spy(CONTEXT); in scheduleIfNeeded_killSwitchOffPreviouslyScheduledWithDiffParams_reschedules() local
412 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoCheckParameters() local
DDebugReportingJobServiceTest.java266 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
299 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_withDifferentJobInfo_doesSchedule() local
DDebugReportingFallbackJobServiceTest.java269 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
306 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_diffJobInfo_doesSchedule() local
DEventFallbackReportingJobServiceTest.java415 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoCheckParameters() 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/sdksandbox/tests/testutils/src/com/android/server/sdksandbox/
DFakeInjector.java45 public FakeInjector(Context spyContext) { in FakeInjector()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueJobServiceTest.java415 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local
457 final Context spyContext = spy(ApplicationProvider.getApplicationContext()); in scheduleIfNeeded_diffJobInfo_doesSchedule() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DDeleteExpiredJobServiceTest.java357 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
DDeleteUninstalledJobServiceTest.java339 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionFallbackJobServiceTest.java415 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java986 Context spyContext = Mockito.spy(ApplicationProvider.getApplicationContext()); in testReceive_onT_onExtServices() local
1003 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.java530 Context spyContext = Mockito.spy(appContext.get()); in testMigrateConsentData_FromExtServices() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSatelliteRepositoryTest.kt53 var spyContext: Context = ApplicationProvider.getApplicationContext() in <lambda>() variable in com.android.settings.network.SatelliteRepositoryTest
/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/accessibility/
DToggleScreenMagnificationPreferenceFragmentTest.java147 Context spyContext = spy(mContext); in setUpTestFragment() local