/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | BlockedTopicsManagerTest.java | 96 doReturn(mAdServicesManager).when(mSpyContext).getSystemService(AdServicesManager.class); in setup() 409 mSpyContext.getSharedPreferences(SHARED_PREFS_BLOCKED_TOPICS, Context.MODE_PRIVATE); in testResetSharedPreference() 425 resetSharedPreference(mSpyContext, SHARED_PREFS_KEY_PPAPI_HAS_CLEARED); in testResetSharedPreference() 426 resetSharedPreference(mSpyContext, SHARED_PREFS_KEY_HAS_MIGRATED); in testResetSharedPreference() 446 mayMigratePpApiBlockedTopicsToSystemService(mSpyContext, mTopicsDao, mAdServicesManager); in testMayMigratePpApiBlockedTopicsToSystemService() 451 mayMigratePpApiBlockedTopicsToSystemService(mSpyContext, mTopicsDao, mAdServicesManager); in testMayMigratePpApiBlockedTopicsToSystemService() 456 resetSharedPreference(mSpyContext, SHARED_PREFS_KEY_HAS_MIGRATED); in testMayMigratePpApiBlockedTopicsToSystemService() 463 mayClearPpApiBlockedTopics(mSpyContext, mTopicsDao); in testMayClearPpApiBlockedTopics() 468 mayClearPpApiBlockedTopics(mSpyContext, mTopicsDao); in testMayClearPpApiBlockedTopics() 472 resetSharedPreference(mSpyContext, SHARED_PREFS_KEY_PPAPI_HAS_CLEARED); in testMayClearPpApiBlockedTopics() [all …]
|
D | TopicsServiceImplTest.java | 245 PackageManager pmWithPerm = spy(mSpyContext.getPackageManager()); in setup() 255 doReturn(pmWithPerm).when(mSpyContext).getPackageManager(); in setup() 318 invokeGetTopicsAndVerifyError(mSpyContext, STATUS_INVALID_ARGUMENT, request, true); in checkEmptySdkNameRequests() 334 invokeGetTopicsAndVerifyError(mSpyContext, STATUS_INVALID_ARGUMENT, request, true); in checkNoSdkNameRequests() 342 mSpyContext, STATUS_USER_CONSENT_REVOKED, /* checkLoggingStatus */ true); in checkNoUserConsent_gaUxFeatureEnabled() 353 .when(() -> AllowLists.getAppSignatureHash(mSpyContext, TEST_APP_PACKAGE_NAME)); in checkSignatureAllowList_successAllowList() 364 mSpyContext, in checkSignatureAllowList_emptyAllowList() 377 mSpyContext, STATUS_RATE_LIMIT_REACHED, /* checkLoggingStatus */ false); in checkThrottler_rateLimitReached_forSdkName() 396 mSpyContext, STATUS_RATE_LIMIT_REACHED, request, /* checkLoggingStatus */ false); in checkThrottler_rateLimitReached_forAppPackageName() 415 mSpyContext, STATUS_BACKGROUND_CALLER, /* checkLoggingStatus */ true); in testEnforceForeground_backgroundCaller() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | AdServicesManagerServiceTest.java | 159 doReturn(mMockPackageManager).when(mSpyContext).getPackageManager(); in setup() 160 doReturn(mMockRollbackManager).when(mSpyContext).getSystemService(RollbackManager.class); in setup() 178 mService = new AdServicesManagerService(mSpyContext, mUserInstanceManager); in testAdServicesSystemService_enabled_then_disabled() 193 Mockito.verify(mSpyContext, Mockito.times(numReceivers)) in testAdServicesSystemService_enabled_then_disabled() 233 Mockito.verify(mSpyContext, Mockito.times(numReceivers)) in testAdServicesSystemService_enabled_then_disabled() 246 mService = new AdServicesManagerService(mSpyContext, mUserInstanceManager); in testAdServicesSystemService_disabled() 249 Mockito.verify(mSpyContext, Mockito.times(0)) in testAdServicesSystemService_disabled() 265 mService = new AdServicesManagerService(mSpyContext, mUserInstanceManager); in testAdServicesSystemService_enabled_setAdServicesApexVersion() 270 Mockito.verify(mSpyContext, Mockito.times(1)).getPackageManager(); in testAdServicesSystemService_enabled_setAdServicesApexVersion() 287 mService = new AdServicesManagerService(mSpyContext, mUserInstanceManager); in testAdServicesSystemService_disabled_setAdServicesApexVersion() [all …]
|
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTriggerTest.java | 130 mNotificationManager = mSpyContext.getSystemService(NotificationManager.class); in setUp() 135 doReturn(mAdServicesManager).when(mSpyContext).getSystemService(AdServicesManager.class); in setUp() 153 AdservicesTestHelper.killAdservicesProcess(mSpyContext); in tearDown() 164 mSpyContext.getString(R.string.notificationUI_notification_ga_title_eu_v2); in testEuNotification_gaUxFlagEnabled() 166 mSpyContext.getString(R.string.notificationUI_notification_ga_content_eu_v2); in testEuNotification_gaUxFlagEnabled() 168 ConsentNotificationTrigger.showConsentNotification(mSpyContext, true); in testEuNotification_gaUxFlagEnabled() 178 verify(mConsentManager).disable(mSpyContext, AdServicesApiType.FLEDGE); in testEuNotification_gaUxFlagEnabled() 179 verify(mConsentManager).disable(mSpyContext, AdServicesApiType.TOPICS); in testEuNotification_gaUxFlagEnabled() 180 verify(mConsentManager).disable(mSpyContext, AdServicesApiType.MEASUREMENTS); in testEuNotification_gaUxFlagEnabled() 216 mSpyContext.getString( in testEuNotification_gaUxFlagEnabled() [all …]
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommandUnitTest.java | 57 private Context mSpyContext; field in SdkSandboxShellCommandUnitTest 84 mSpyContext = Mockito.spy(InstrumentationRegistry.getInstrumentation().getContext()); in setup() 92 mService = Mockito.spy(new FakeSdkSandboxManagerService(mSpyContext, mAdServicesBinder)); in setup() 96 Mockito.when(mSpyContext.getPackageManager()).thenReturn(mPackageManager); in setup() 144 new SdkSandboxShellCommand(mService, mSpyContext, injector); in testCommandFailsIfCallerNotShellOrRoot() 153 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsForInvalidPackage() 170 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsWhenSdkSandboxDisabled() 187 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsForNonDebuggablePackage() 217 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsWhenSandboxAlreadyRunning() 243 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning() [all …]
|
D | SdkSandboxVerifierReceiverUnitTest.java | 60 private Context mSpyContext; field in SdkSandboxVerifierReceiverUnitTest 83 mSpyContext = Mockito.spy(context); in setup() 84 PackageManager pm = mSpyContext.getPackageManager(); in setup() 88 Mockito.when(mSpyContext.getPackageManager()).thenReturn(mSpyPm); in setup() 107 mVerifierReceiver.verifySdkHandler(mSpyContext, VERIFY_INTENT, mSpyHandler); in verifierBroadcastReceived_startsDexParsing() 129 mVerifierReceiver.verifySdkHandler(mSpyContext, VERIFY_INTENT, mSpyHandler); in verifierBroadcastReceived_doesNotStartDexParsing()
|
D | SdkSandboxServiceProviderImplUnitTest.java | 52 private Context mSpyContext; field in SdkSandboxServiceProviderImplUnitTest 66 mSpyContext = Mockito.spy(context); in setup() 79 mServiceProvider = new SdkSandboxServiceProviderImpl(mSpyContext); in setup() 135 Mockito.lenient().doNothing().when(mSpyContext).unbindService(Mockito.any()); in testBindSandboxFailure() 288 Mockito.lenient().doNothing().when(mSpyContext).unbindService(Mockito.any()); in unbindService() 318 Mockito.verify(mSpyContext, Mockito.times(wantedNumberOfInvocations)) in verifyUnbindServiceInvocation()
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/com/android/federatedcompute/internal/util/ |
D | AndroidServiceBinderTest.java | 54 private final Context mSpyContext = spy(ApplicationProvider.getApplicationContext()); field in AndroidServiceBinderTest 60 mSpyContext, in testOdpServiceBinding() 76 mSpyContext, in testServiceBindingWithFlags() 86 verify(mSpyContext) in testServiceBindingWithFlags() 99 mSpyContext, in testFcpServiceBinding() 114 mSpyContext, in testOdpServiceBindingWrongPackage() 126 mSpyContext, in testFcpServiceBindingWrongPackage()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | CustomAudienceServiceFilterTest.java | 83 mSpyContext.getPackageManager(), 85 mSpyContext, DbTestUtil.getSharedDbHelperForTest(), TEST_FLAGS), 105 mSpyContext, in setUp() 192 mSpyContext, in testFilterRequest_adTechNotAuthorized_throws() 203 mSpyContext, in testFilterRequest_adTechNotAuthorized_throws() 227 mSpyContext, in testFilterRequest_withLocalhostDomain_doesNotPass() 269 mSpyContext, in testFilterRequest_withLocalhostDomainInDeveloperMode_skipCheck() 445 mSpyContext, in testFilterRequestAndExtractIdentifier_enforceForegroundFalse_foregroundCheckFails() 472 mSpyContext, in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws() 481 mSpyContext, in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws() [all …]
|
D | ProtectedSignalsServiceFilterTest.java | 76 mSpyContext.getPackageManager(), 78 mSpyContext, DbTestUtil.getSharedDbHelperForTest(), TEST_FLAGS), 96 mSpyContext, in setUp() 170 mSpyContext, in testFilterRequestAndExtractIdentifier_enforceForegroundFalse_foregroundCheckFails() 197 mSpyContext, in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws() 206 mSpyContext, in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws() 248 mSpyContext, in testFilterRequestAndExtractIdentifier_disableEnrollmentCheck_eTLDPlus1NotExtracted() 260 mSpyContext, in testFilterRequestAndExtractIdentifier_appNotInAllowlist_throws() 290 mSpyContext, in testFilterRequestAndExtractIdentifier_enforceConsentTrue_hasUserConsentForApp() 313 mSpyContext, in testFilterRequestAndExtractIdentifier_enforceConsentTrue_lacksUserConsentForApp() [all …]
|
D | AdSelectionServiceFilterTest.java | 84 mSpyContext.getPackageManager(), 86 mSpyContext, DbTestUtil.getSharedDbHelperForTest(), TEST_FLAGS), 106 mSpyContext, in setUp() 217 mSpyContext, in testFilterRequestThrowsAdTechNotAllowedExceptionWhenAdTechNotAuthorized() 228 mSpyContext, in testFilterRequestThrowsAdTechNotAllowedExceptionWhenAdTechNotAuthorized() 336 mSpyContext, in testFilterRequest_withLocalhostDomain_doesNotPass() 383 mSpyContext, in testFilterRequest_withLocalhostDomainInDeveloperMode_skipCheck()
|
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/ |
D | TouchDriverAwarenessSupplierTest.java | 59 private Context mSpyContext; field in TouchDriverAwarenessSupplierTest 63 mSpyContext = spy(InstrumentationRegistry.getInstrumentation().getTargetContext()); in setUp() 64 mMaxPermitsConfig = mSpyContext.getResources().getInteger( in setUp() 66 mPermitThrottleMs = mSpyContext.getResources().getInteger( in setUp() 70 new TouchDriverAwarenessSupplier(mSpyContext, mSupplierCallback, in setUp() 112 Resources spyResources = spy(mSpyContext.getResources()); in testconsumePermitLocked_decrementsToMinOf0() 113 doReturn(spyResources).when(mSpyContext).getResources(); in testconsumePermitLocked_decrementsToMinOf0()
|
D | GazeDriverAwarenessSupplierTest.java | 48 private Context mSpyContext; field in GazeDriverAwarenessSupplierTest 60 mSpyContext = spy(InstrumentationRegistry.getInstrumentation().getTargetContext()); in setUp() 63 mSpyContext in setUp() 67 mSpyContext.getResources().getFloat(R.fraction.driverAwarenessGazeModelGrowthRate); in setUp() 69 mSpyContext.getResources().getFloat(R.fraction.driverAwarenessGazeModelDecayRate); in setUp() 72 mGazeSupplier = spy(new GazeDriverAwarenessSupplier(mSpyContext, mTimeSource)); in setUp()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerTest.java | 252 mSpyContext, AppConsentDao.DATASTORE_NAME, AppConsentDao.DATASTORE_VERSION); in setup() 255 mConsentDatastore = ConsentManager.createAndInitializeDataStore(mSpyContext); in setup() 256 mAppConsentDaoSpy = spy(new AppConsentDao(mDatastore, mSpyContext.getPackageManager())); in setup() 260 mSpyContext, DbTestUtil.getSharedDbHelperForTest(), mMockFlags)); in setup() 262 doReturn(mAdServicesManager).when(mSpyContext).getSystemService(AdServicesManager.class); in setup() 338 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_PpApiOnly() 359 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_SystemServerOnly() 380 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer() 401 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_AppSearchOnly() 427 spyConsentManager.enable(mSpyContext); in testConsentManager_LazyEnable() [all …]
|
D | ConsentManagerV2Test.java | 259 mSpyContext, in setup() 264 mConsentDatastore = spy(ConsentManagerV2.createAndInitializeDataStore(mSpyContext)); in setup() 265 mAppConsentDaoSpy = spy(new AppConsentDao(mDatastore, mSpyContext.getPackageManager())); in setup() 269 mSpyContext, DbTestUtil.getSharedDbHelperForTest(), mMockFlags)); in setup() 283 doReturn(mAdServicesManager).when(mSpyContext).getSystemService(AdServicesManager.class); in setup() 360 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_PpApiOnly() 380 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_SystemServerOnly() 400 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer() 420 spyConsentManager.enable(mSpyContext); in testConsentIsGivenAfterEnabling_AppSearchOnly() 444 spyConsentManager.enable(mSpyContext); in testConsentManager_LazyEnable() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionTest.java | 94 mSpyContext, in testConstructIkeSession() 124 mSpyContext, in testConstructFromDifferentThreads() 157 mSpyContext, in testOpensIkeSession() 177 doReturn(mockPackageMgr).when(mSpyContext).getPackageManager(); in testThrowWhenSetupTunnelWithMissingFeature() 183 mSpyContext, in testThrowWhenSetupTunnelWithMissingFeature() 202 mSpyContext, in testThrowWhenSetupMobikeWithTransport() 216 mSpyContext, in testThrowWhenSetNetworkWithInValidIpProtocol_v4ESP() 235 mSpyContext, in testThrowWhenSetNetworkWithInValidIpProtocol_v6UDP()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarUxRestrictionsManagerServiceTest.java | 110 private Context mSpyContext; field in CarUxRestrictionsManagerServiceTest 117 mSpyContext = spy(getInstrumentation().getTargetContext()); in setUp() 130 mService = new CarUxRestrictionsManagerService(mSpyContext, in setUp() 173 Resources spyResources = spy(mSpyContext.getResources()); in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml() 174 doReturn(spyResources).when(mSpyContext).getResources(); in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml() 200 mSpyContext, R.xml.car_ux_restrictions_map); in testLoadConfig_UseXml() 371 CarDrivingStateService drivingStateService = new CarDrivingStateService(mSpyContext, in testInitService_NoDeadlockWithCarDrivingStateService() 374 mSpyContext, drivingStateService, mMockCarPropertyService, in testInitService_NoDeadlockWithCarDrivingStateService() 474 CarDrivingStateService drivingStateService = new CarDrivingStateService(mSpyContext, in testSetUxRChangeBroadcastEnabled_NoDeadlockWithCarDrivingStateService() 477 mSpyContext, drivingStateService, mMockCarPropertyService, in testSetUxRChangeBroadcastEnabled_NoDeadlockWithCarDrivingStateService() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationFallbackJobServiceTest.java | 255 appContext.set(mSpyContext); in scheduleIfNeeded_killSwitchOn_dontSchedule() 257 .when(mSpyContext) in scheduleIfNeeded_killSwitchOn_dontSchedule() 284 appContext.set(mSpyContext); in scheduleIfNeeded_sameJobInfoDontForceSchedule_dontSchedule() 286 .when(mSpyContext) in scheduleIfNeeded_sameJobInfoDontForceSchedule_dontSchedule() 292 mSpyContext, in scheduleIfNeeded_sameJobInfoDontForceSchedule_dontSchedule() 323 appContext.set(mSpyContext); in scheduleIfNeeded_diffJobInfoDontForceSchedule_doesSchedule() 325 .when(mSpyContext) in scheduleIfNeeded_diffJobInfoDontForceSchedule_doesSchedule() 331 mSpyContext, in scheduleIfNeeded_diffJobInfoDontForceSchedule_doesSchedule() 363 appContext.set(mSpyContext); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() 365 .when(mSpyContext) in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionTestBase.java | 92 protected Context mSpyContext; field in IkeSessionTestBase 108 mSpyContext = spy(mMockIpSecTestUtils.getContext()); in setUp() 110 .when(mSpyContext) in setUp() 117 doNothing().when(mSpyContext).unregisterReceiver(any(IkeAlarmReceiver.class)); in setUp() 122 doReturn(mPowerManager).when(mSpyContext).getSystemService(eq(PowerManager.class)); in setUp() 144 .when(mSpyContext) in setUp() 153 doReturn(IkeSession.CONTEXT_ATTRIBUTION_TAG_VCN).when(mSpyContext).getAttributionTag(); in setUp()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | FrequencyCapFilteringE2ETest.java | 228 Room.inMemoryDatabaseBuilder(mSpyContext, AdSelectionDatabase.class) in setup() 232 Room.inMemoryDatabaseBuilder(mSpyContext, CustomAudienceDatabase.class) in setup() 237 Room.inMemoryDatabaseBuilder(mSpyContext, ProtectedSignalsDatabase.class) in setup() 241 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setup() 246 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setup() 262 mSpyContext.getPackageManager(), in setup() 264 mSpyContext, in setup() 302 mSpyContext, in setup() 340 doReturn(mAdSelectionDbFileMock).when(mSpyContext).getDatabasePath(any()); in setup() 417 mSpyContext, in testUpdateHistogramForAdSelectionFromOtherAppDoesNotAddHistogramEvents() [all …]
|
D | AdSelectionFailureE2ETest.java | 258 Room.inMemoryDatabaseBuilder(mSpyContext, AdSelectionDatabase.class) in setUp() 262 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setUp() 266 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setUp() 270 Room.inMemoryDatabaseBuilder(mSpyContext, CustomAudienceDatabase.class) in setUp() 275 Room.inMemoryDatabaseBuilder(mSpyContext, ProtectedSignalsDatabase.class) in setUp() 279 Room.inMemoryDatabaseBuilder(mSpyContext, AdSelectionDebugReportingDatabase.class) in setUp() 287 mEnrollmentDao = new EnrollmentDao(mSpyContext, dbHelper, mFlags); in setUp() 290 mSpyContext.getPackageManager(), mEnrollmentDao, mAdServicesLogger); in setUp() 306 MockAdIdWorker mockAdIdWorker = new MockAdIdWorker(new AdIdCacheManager(mSpyContext)); in setUp() 313 Room.inMemoryDatabaseBuilder(mSpyContext, AdSelectionDatabase.class) in setUp() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | BluetoothSnoopLogPreferenceControllerTest.java | 44 @Spy private Context mSpyContext = RuntimeEnvironment.application; field in BluetoothSnoopLogPreferenceControllerTest 56 doReturn(mSpyResources).when(mSpyContext).getResources(); in setup() 59 mPreference = new ListPreference(mSpyContext); in setup() 63 mController = new BluetoothSnoopLogPreferenceController(mSpyContext, null); in setup()
|
D | BluetoothSnoopLogFilterProfileMapPreferenceControllerTest.java | 44 @Spy private Context mSpyContext = RuntimeEnvironment.application; field in BluetoothSnoopLogFilterProfileMapPreferenceControllerTest 56 doReturn(mSpyResources).when(mSpyContext).getResources(); in setup() 59 mPreference = new ListPreference(mSpyContext); in setup() 65 mController = new BluetoothSnoopLogFilterProfileMapPreferenceController(mSpyContext); in setup()
|
/packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/ |
D | AdServicesUiTestCase.java | 50 protected Context mSpyContext; field in AdServicesUiTestCase 54 mSpyContext = spy(appContext.get()); in setUpDevice() 57 KeyguardManager keyguardManager = mSpyContext.getSystemService(KeyguardManager.class); in setUpDevice()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyJobServiceTest.java | 171 doReturn(mMockJobScheduler).when(mSpyContext).getSystemService(JobScheduler.class); in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule() 180 new ComponentName(mSpyContext, EncryptionKeyJobService.class)) in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule() 189 mSpyContext, /* forceSchedule= */ false)) in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule() 202 doReturn(mMockJobScheduler).when(mSpyContext).getSystemService(JobScheduler.class); in testScheduleIfNeeded_killSwitchOff_diffJobInfoDontForceSchedule_schedule() 206 new ComponentName(mSpyContext, EncryptionKeyJobService.class)) in testScheduleIfNeeded_killSwitchOff_diffJobInfoDontForceSchedule_schedule() 215 mSpyContext, /* forceSchedule= */ false)) in testScheduleIfNeeded_killSwitchOff_diffJobInfoDontForceSchedule_schedule()
|