Searched refs:OdpJobScheduler (Results 1 – 4 of 4) sorted by relevance
25 public final class OdpJobScheduler extends PolicyJobScheduler<OdpJobService> { class29 private static volatile OdpJobScheduler sSingleton;33 private OdpJobScheduler(Context context) { in OdpJobScheduler() method in OdpJobScheduler39 public static OdpJobScheduler getInstance(Context context) { in getInstance()42 sSingleton = new OdpJobScheduler(context); in getInstance()
65 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()
68 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()
46 import com.android.ondevicepersonalization.services.sharedlibrary.spe.OdpJobScheduler;108 OdpJobScheduler.getInstance(context).schedule(context, createDefaultJobSpec()); in schedule()