Searched refs:EncryptionKeyJobService (Results 1 – 10 of 10) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyJobServiceTest.java | 66 @SpyStatic(EncryptionKeyJobService.class) 81 private EncryptionKeyJobService mSpyService; 86 mSpyService = spy(new EncryptionKeyJobService()); in setUp() 113 doReturn(true).when(() -> EncryptionKeyJobService.scheduleIfNeeded(any(), anyBoolean())); in testOnStartJob_killSwitchOff() 157 EncryptionKeyJobService.scheduleIfNeeded( in testScheduleIfNeeded_killSwitchOn_dontSchedule() 162 verify(() -> EncryptionKeyJobService.schedule(any(), any()), never()); in testScheduleIfNeeded_killSwitchOn_dontSchedule() 180 new ComponentName(mSpyContext, EncryptionKeyJobService.class)) in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule() 188 EncryptionKeyJobService.scheduleIfNeeded( in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule() 193 verify(() -> EncryptionKeyJobService.schedule(any(), any()), never()); in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule() 206 new ComponentName(mSpyContext, EncryptionKeyJobService.class)) in testScheduleIfNeeded_killSwitchOff_diffJobInfoDontForceSchedule_schedule() [all …]
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/topics/ |
D | TopicsServiceTest.java | 52 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 70 @SpyStatic(EncryptionKeyJobService.class) 107 EncryptionKeyJobService.scheduleIfNeeded( in testBindableTopicsService_killswitchOff() 169 EncryptionKeyJobService.scheduleIfNeeded( in testBindableTopicsService_killswitchOffGaUxFeatureFlagOn() 194 verify(() -> EncryptionKeyJobService.scheduleIfNeeded(any(Context.class), eq(false))); in verifyMethodExecutionOnUserConsentGiven()
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/ |
D | MeasurementServiceTest.java | 49 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 90 @SpyStatic(EncryptionKeyJobService.class) 238 .when(() -> EncryptionKeyJobService.scheduleIfNeeded(any(), anyBoolean())); in runWithMocks() 280 () -> EncryptionKeyJobService.scheduleIfNeeded(any(), anyBoolean()), in assertJobScheduled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyJobService.java | 44 public class EncryptionKeyJobService extends JobService { class 160 new ComponentName(context, EncryptionKeyJobService.class)) in buildJobInfo()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/measurement/ |
D | MeasurementService.java | 35 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 119 EncryptionKeyJobService.scheduleIfNeeded(this, false); in schedulePeriodicJobsIfNeeded()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/topics/ |
D | TopicsService.java | 42 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 103 EncryptionKeyJobService.scheduleIfNeeded(this, /* forceSchedule */ false); in schedulePeriodicJobs()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | BackgroundJobsManagerTest.java | 63 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 100 @SpyStatic(EncryptionKeyJobService.class) 133 doReturn(true).when(() -> EncryptionKeyJobService.scheduleIfNeeded(any(), anyBoolean())); in setDefaultExpectations() 612 () -> EncryptionKeyJobService.scheduleIfNeeded(any(), eq(false)), in assertEncryptionKeyJobsScheduled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | BackgroundJobsManager.java | 58 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 198 EncryptionKeyJobService.scheduleIfNeeded(context, /* forceSchedule */ false); in scheduleEncryptionKeyBackgroundJobs()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerV2Test.java | 128 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 204 @SpyStatic(EncryptionKeyJobService.class) 304 EncryptionKeyJobService.scheduleIfNeeded( in setup() 617 () -> EncryptionKeyJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreScheduledAfterEnablingKillSwitchOff() 674 () -> EncryptionKeyJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
|
D | ConsentManagerTest.java | 132 import com.android.adservices.service.encryptionkey.EncryptionKeyJobService; 209 @SpyStatic(EncryptionKeyJobService.class) 282 EncryptionKeyJobService.scheduleIfNeeded( in setup() 624 () -> EncryptionKeyJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreScheduledAfterEnablingKillSwitchOff() 681 () -> EncryptionKeyJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
|