Home
last modified time | relevance | path

Searched refs:OdpJobScheduler (Results 1 – 4 of 4) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/sharedlibrary/spe/
DOdpJobScheduler.java25 public final class OdpJobScheduler extends PolicyJobScheduler<OdpJobService> { class
29 private static volatile OdpJobScheduler sSingleton;
33 private OdpJobScheduler(Context context) { in OdpJobScheduler() method in OdpJobScheduler
39 public static OdpJobScheduler getInstance(Context context) { in getInstance()
42 sSingleton = new OdpJobScheduler(context); in getInstance()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobServiceTest.java65 import com.android.ondevicepersonalization.services.sharedlibrary.spe.OdpJobScheduler;
219 @MockStatic(OdpJobScheduler.class)
224 OdpJobScheduler mockedScheduler = mock(OdpJobScheduler.class); in onStartJobSpeEnabled()
225 doReturn(mockedScheduler).when(() -> OdpJobScheduler.getInstance(any())); in onStartJobSpeEnabled()
DOnDevicePersonalizationMaintenanceJobTest.java68 import com.android.ondevicepersonalization.services.sharedlibrary.spe.OdpJobScheduler;
90 @MockStatic(OdpJobScheduler.class)
117 @Mock private OdpJobScheduler mMockOdpJobScheduler;
124 doReturn(mMockOdpJobScheduler).when(() -> OdpJobScheduler.getInstance(any())); in setup()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJob.java46 import com.android.ondevicepersonalization.services.sharedlibrary.spe.OdpJobScheduler;
108 OdpJobScheduler.getInstance(context).schedule(context, createDefaultJobSpec()); in schedule()