Home
last modified time | relevance | path

Searched refs:WorkManagerExceptionHandler (Results 1 – 6 of 6) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DWorkManagerExceptionHandlerTest.java67 WorkManagerExceptionHandler workManagerExceptionHandler = in handleException_whenUnprovisioned_shouldTerminateNoWipe()
68 new WorkManagerExceptionHandler(mTestApp, mTerminationRunnableMock); in handleException_whenUnprovisioned_shouldTerminateNoWipe()
86 WorkManagerExceptionHandler workManagerExceptionHandler = in handleException_whenProvisionInProgress_shouldWipeNoTerminate()
87 new WorkManagerExceptionHandler(mTestApp, mTerminationRunnableMock); in handleException_whenProvisionInProgress_shouldWipeNoTerminate()
105 WorkManagerExceptionHandler workManagerExceptionHandler = in handleException_whenProvisionPaused_shouldWipeNoTerminate()
106 new WorkManagerExceptionHandler(mTestApp, mTerminationRunnableMock); in handleException_whenProvisionPaused_shouldWipeNoTerminate()
124 WorkManagerExceptionHandler workManagerExceptionHandler = in handleException_whenProvisionFailed_shouldWipeNoTerminate()
125 new WorkManagerExceptionHandler(mTestApp, mTerminationRunnableMock); in handleException_whenProvisionFailed_shouldWipeNoTerminate()
143 WorkManagerExceptionHandler workManagerExceptionHandler = in handleException_whenKioskProvisioned_shouldWipeNoTerminate()
144 new WorkManagerExceptionHandler(mTestApp, mTerminationRunnableMock); in handleException_whenKioskProvisioned_shouldWipeNoTerminate()
[all …]
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/
DWorkManagerExceptionHandler.java60 public final class WorkManagerExceptionHandler implements Thread.UncaughtExceptionHandler { class
70 private static volatile WorkManagerExceptionHandler sWorkManagerExceptionHandler;
181 thread.setUncaughtExceptionHandler(WorkManagerExceptionHandler.this); in createWorkManagerTaskExecutor()
242 WorkManagerExceptionHandler(Context context, Runnable terminateRunnable) { in WorkManagerExceptionHandler() method in WorkManagerExceptionHandler
250 public static WorkManagerExceptionHandler getInstance(Context context) { in getInstance()
252 synchronized (WorkManagerExceptionHandler.class) { in getInstance()
254 sWorkManagerExceptionHandler = new WorkManagerExceptionHandler(context, in getInstance()
DDeviceLockControllerApplication.java77 private WorkManagerExceptionHandler mWorkManagerExceptionHandler;
82 mWorkManagerExceptionHandler = WorkManagerExceptionHandler.getInstance(this); in DeviceLockControllerApplication()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/receivers/
DWorkFailureAlarmReceiverTest.java19 import static com.android.devicelockcontroller.WorkManagerExceptionHandler.ALARM_REASON;
40 import com.android.devicelockcontroller.WorkManagerExceptionHandler;
41 import com.android.devicelockcontroller.WorkManagerExceptionHandler.AlarmReason;
165 WorkManagerExceptionHandler.WorkFailureAlarmReceiver.class); in getIntentForAlarmReason()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/schedule/
DDeviceLockControllerSchedulerImpl.java24 import static com.android.devicelockcontroller.WorkManagerExceptionHandler.AlarmReason;
53 import com.android.devicelockcontroller.WorkManagerExceptionHandler;
279 WorkManagerExceptionHandler.scheduleAlarm(mContext, in scheduleInitialCheckInWork()
301 WorkManagerExceptionHandler.scheduleAlarm(mContext, in scheduleRetryCheckInWork()
345 WorkManagerExceptionHandler.scheduleAlarm(mContext,
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceLockCommandReceiver.java45 import com.android.devicelockcontroller.WorkManagerExceptionHandler.WorkFailureAlarmReceiver;