Searched refs:ThreadAsserts (Results 1 – 8 of 8) sorted by relevance
29 import com.android.devicelockcontroller.util.ThreadAsserts;72 ThreadAsserts.assertWorkerThread("getProvisionState"); in getProvisionState()87 ThreadAsserts.assertWorkerThread("needInitialCheckIn"); in needInitialCheckIn()100 ThreadAsserts.assertWorkerThread("getBootTimeMillis"); in getBootTimeMillis()113 ThreadAsserts.assertWorkerThread("getNextCheckInTimeMillis"); in getNextCheckInTimeMillis()128 ThreadAsserts.assertWorkerThread("getResumeProvisionTimeMillis"); in getResumeProvisionTimeMillis()143 ThreadAsserts.assertWorkerThread("getNextProvisionFailedStepTimeMills"); in getNextProvisionFailedStepTimeMills()159 ThreadAsserts.assertWorkerThread("getResetDeviceTimeMillis"); in getResetDeviceTimeMillis()173 ThreadAsserts.assertWorkerThread("getDaysLeftUntilReset"); in getDaysLeftUntilReset()198 ThreadAsserts.assertWorkerThread("getNotificationChannelIdSuffix"); in getNotificationChannelIdSuffix()[all …]
40 runOnWorkThread(() -> ThreadAsserts.assertWorkerThread( in assertWorkerThread_workThread()47 () -> ThreadAsserts.assertWorkerThread("assertWorkerThread_workThread")); in assertWorkerThread_mainThread_shouldThrowException()52 ThreadAsserts.assertMainThread("assertMainThread_mainThread"); in assertMainThread_mainThread()58 () -> ThreadAsserts.assertMainThread("assertWorkerThread_workThread"))); in assertMainThread_workThread_shouldThrowException()
42 import com.android.devicelockcontroller.util.ThreadAsserts;127 ThreadAsserts.assertWorkerThread("getDeviceCheckInStatus"); in getDeviceCheckInStatus()206 ThreadAsserts.assertWorkerThread("isDeviceInApprovedCountry");221 ThreadAsserts.assertWorkerThread("pauseDeviceProvisioning");232 ThreadAsserts.assertWorkerThread("reportDeviceProvisionState");
22 public final class ThreadAsserts { class24 private ThreadAsserts() {} in ThreadAsserts() method in ThreadAsserts
24 import com.android.devicelockcontroller.util.ThreadAsserts;87 ThreadAsserts.assertWorkerThread("writeState"); in writeState()119 ThreadAsserts.assertWorkerThread("readState"); in readState()
24 import com.android.devicelockcontroller.util.ThreadAsserts;50 ThreadAsserts.assertWorkerThread("reportDeviceProgramComplete"); in reportDeviceProgramComplete()
63 import com.android.devicelockcontroller.util.ThreadAsserts;181 ThreadAsserts.assertWorkerThread("getDeviceCheckInStatus"); in getDeviceCheckInStatus()217 ThreadAsserts.assertWorkerThread("isDeviceInApprovedCountry"); in isDeviceInApprovedCountry()249 ThreadAsserts.assertWorkerThread("pauseDeviceProvisioning"); in pauseDeviceProvisioning()282 ThreadAsserts.assertWorkerThread("reportDeviceProvisionState"); in reportDeviceProvisionState()
59 "src/com/android/devicelockcontroller/util/ThreadAsserts.java",