Home
last modified time | relevance | path

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

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DUserParameters.java29 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 …]
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/util/
DThreadAssertsTest.java40 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()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceCheckInClientDebug.java42 import com.android.devicelockcontroller.util.ThreadAsserts;
127 ThreadAsserts.assertWorkerThread("getDeviceCheckInStatus"); in getDeviceCheckInStatus()
206 ThreadAsserts.assertWorkerThread("isDeviceInApprovedCountry");
221 ThreadAsserts.assertWorkerThread("pauseDeviceProvisioning");
232 ThreadAsserts.assertWorkerThread("reportDeviceProvisionState");
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/util/
DThreadAsserts.java22 public final class ThreadAsserts { class
24 private ThreadAsserts() {} in ThreadAsserts() method in ThreadAsserts
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockPersistentStore.java24 import com.android.devicelockcontroller.util.ThreadAsserts;
87 ThreadAsserts.assertWorkerThread("writeState"); in writeState()
119 ThreadAsserts.assertWorkerThread("readState"); in readState()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/
DDeviceFinalizeClientImpl.java24 import com.android.devicelockcontroller.util.ThreadAsserts;
50 ThreadAsserts.assertWorkerThread("reportDeviceProgramComplete"); in reportDeviceProgramComplete()
DDeviceCheckInClientImpl.java63 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()
/packages/modules/DeviceLock/DeviceLockController/
DAndroid.bp59 "src/com/android/devicelockcontroller/util/ThreadAsserts.java",