| /packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
| D | LoaderTaskTest.kt | 205 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/ |
| D | ApplicationFeatureProviderImplTest.java | 311 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/ |
| D | ImmediateAggregateReportingJobServiceTest.java | 267 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
|
| D | AggregateReportingJobServiceTest.java | 273 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
|
| D | EventReportingJobServiceTest.java | 270 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
|
| D | AggregateFallbackReportingJobServiceTest.java | 277 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
|
| D | DebugReportingJobServiceTest.java | 266 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
|
| D | DebugReportingFallbackJobServiceTest.java | 269 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
|
| D | EventFallbackReportingJobServiceTest.java | 415 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoCheckParameters() local
|
| /packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
| D | ContactsIndexerImplTest.java | 475 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/ |
| D | FakeInjector.java | 45 public FakeInjector(Context spyContext) { in FakeInjector()
|
| /packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
| D | AsyncRegistrationQueueJobServiceTest.java | 415 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/ |
| D | DeleteExpiredJobServiceTest.java | 357 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
|
| D | DeleteUninstalledJobServiceTest.java | 339 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
|
| /packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
| D | AttributionFallbackJobServiceTest.java | 415 Context spyContext = spy(CONTEXT); in testSchedule_jobInfoIsPersisted() local
|
| /packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
| D | PackageChangedReceiverTest.java | 986 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/ |
| D | DataUsageListTest.kt | 46 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/ |
| D | AppSearchConsentStorageManagerTest.java | 530 Context spyContext = Mockito.spy(appContext.get()); in testMigrateConsentData_FromExtServices() local
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
| D | SatelliteRepositoryTest.kt | 53 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/ |
| D | DriverDistractionExperimentalFeatureServiceTest.java | 218 Context spyContext = spy(InstrumentationRegistry.getInstrumentation().getTargetContext()); in testInit_bindsToServicesInXmlConfig() local
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
| D | ToggleScreenMagnificationPreferenceFragmentTest.java | 147 Context spyContext = spy(mContext); in setUpTestFragment() local
|