Home
last modified time | relevance | path

Searched refs:BackgroundKeyFetchJobService (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DBackgroundKeyFetchJobServiceTest.java79 @SpyStatic(BackgroundKeyFetchJobService.class)
92 private final BackgroundKeyFetchJobService mBgFJobServiceSpy =
93 new BackgroundKeyFetchJobService();
135 new ComponentName(sContext, BackgroundKeyFetchJobService.class)) in testOnStartJobConsentRevokedGaUxDisabled()
159 new ComponentName(sContext, BackgroundKeyFetchJobService.class)) in testOnStartJobAdSelectionDataKillSwitchOn()
319 .when(() -> BackgroundKeyFetchJobService.scheduleIfNeeded(any(), any(), eq(false))); in testScheduleIfNeededFlagDisabled()
321 BackgroundKeyFetchJobService.scheduleIfNeeded(sContext, mFlagsWithDisabledBgF, false); in testScheduleIfNeededFlagDisabled()
323 ExtendedMockito.verify(() -> BackgroundKeyFetchJobService.schedule(any(), any()), never()); in testScheduleIfNeededFlagDisabled()
330 .when(() -> BackgroundKeyFetchJobService.scheduleIfNeeded(any(), any(), eq(false))); in testScheduleIfNeededSuccess()
331 doNothing().when(() -> BackgroundKeyFetchJobService.schedule(any(), any())); in testScheduleIfNeededSuccess()
[all …]
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/
DBackgroundKeyFetchJobServiceTest.java76 private BackgroundKeyFetchJobService mSpyService;
102 mSpyService = spy(new BackgroundKeyFetchJobService(new TestInjector())); in setUp()
136 BackgroundKeyFetchJobService instance = new BackgroundKeyFetchJobService(); in testDefaultNoArgConstructor()
179 BackgroundKeyFetchJobService.scheduleJobIfNeeded( in testScheduleJob()
194 BackgroundKeyFetchJobService.scheduleJobIfNeeded( in testScheduleJob_notNeeded()
199 BackgroundKeyFetchJobService.scheduleJobIfNeeded( in testScheduleJob_notNeeded()
208 assertThat(BackgroundKeyFetchJobService.scheduleJobIfNeeded( in testScheduleJob_notEnabled()
245 BackgroundKeyFetchJobService.Injector injector = in testDefaultInjector()
246 new BackgroundKeyFetchJobService.Injector(); in testDefaultInjector()
255 class TestInjector extends BackgroundKeyFetchJobService.Injector {
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DBackgroundKeyFetchJobService.java46 public class BackgroundKeyFetchJobService extends JobService { class
47 private static final String TAG = BackgroundKeyFetchJobService.class.getSimpleName();
68 public BackgroundKeyFetchJobService() { in BackgroundKeyFetchJobService() method in BackgroundKeyFetchJobService
73 BackgroundKeyFetchJobService(Injector injector) { in BackgroundKeyFetchJobService() method in BackgroundKeyFetchJobService
111 BackgroundKeyFetchJobService.this) in onStartJob()
150 BackgroundKeyFetchJobService.this) in onStartJob()
192 new ComponentName(context, BackgroundKeyFetchJobService.class)) in scheduleJobIfNeeded()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/
DFederatedComputeManagingServiceImplTest.java32 import com.android.federatedcompute.services.encryption.BackgroundKeyFetchJobService;
55 .spyStatic(BackgroundKeyFetchJobService.class) in testBindableFederatedComputeService()
60 .when(() -> BackgroundKeyFetchJobService.scheduleJobIfNeeded(any(), any())); in testBindableFederatedComputeService()
75 () -> BackgroundKeyFetchJobService.scheduleJobIfNeeded(any(), any()), times(1)); in testBindableFederatedComputeService()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/
DFederatedComputeManagingServiceImpl.java26 import com.android.federatedcompute.services.encryption.BackgroundKeyFetchJobService;
62 BackgroundKeyFetchJobService.scheduleJobIfNeeded(this, mFlags); in onCreate()
DFederatedComputeBroadcastReceiver.java27 import com.android.federatedcompute.services.encryption.BackgroundKeyFetchJobService;
76 BackgroundKeyFetchJobService.scheduleJobIfNeeded(context, mFlags); in onReceive()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/adselection/
DAdSelectionService.java32 import com.android.adservices.service.adselection.encryption.BackgroundKeyFetchJobService;
75 BackgroundKeyFetchJobService.scheduleIfNeeded(this, mFlags, /* forceSchedule */ false); in onCreate()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DBackgroundKeyFetchJobService.java58 public class BackgroundKeyFetchJobService extends JobService { class
242 new ComponentName(context, BackgroundKeyFetchJobService.class)) in schedule()