Home
last modified time | relevance | path

Searched refs:assertWorkerThread (Results 1 – 14 of 14) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DUserParameters.java72 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()
207 ThreadAsserts.assertWorkerThread("setNotificationChannelIdSuffix"); in setNotificationChannelIdSuffix()
[all …]
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceCheckInClientDebug.java127 ThreadAsserts.assertWorkerThread("getDeviceCheckInStatus"); in getDeviceCheckInStatus()
206 ThreadAsserts.assertWorkerThread("isDeviceInApprovedCountry");
221 ThreadAsserts.assertWorkerThread("pauseDeviceProvisioning");
232 ThreadAsserts.assertWorkerThread("reportDeviceProvisionState");
/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()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetRecommendationCategoryProvider.java46 Preconditions.assertWorkerThread(); in newInstance()
64 Preconditions.assertWorkerThread(); in getWidgetRecommendationCategory()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderNameProvider.java76 Preconditions.assertWorkerThread(); in newInstance()
84 Preconditions.assertWorkerThread(); in newInstance()
109 Preconditions.assertWorkerThread(); in getSuggestedFolderName()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/
DDeviceCheckInClientImpl.java181 ThreadAsserts.assertWorkerThread("getDeviceCheckInStatus"); in getDeviceCheckInStatus()
217 ThreadAsserts.assertWorkerThread("isDeviceInApprovedCountry"); in isDeviceInApprovedCountry()
249 ThreadAsserts.assertWorkerThread("pauseDeviceProvisioning"); in pauseDeviceProvisioning()
282 ThreadAsserts.assertWorkerThread("reportDeviceProvisionState"); in reportDeviceProvisionState()
DDeviceFinalizeClientImpl.java50 ThreadAsserts.assertWorkerThread("reportDeviceProgramComplete"); in reportDeviceProgramComplete()
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockPersistentStore.java87 ThreadAsserts.assertWorkerThread("writeState"); in writeState()
119 ThreadAsserts.assertWorkerThread("readState"); in readState()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java309 assertWorkerThread(); in cacheLocked()
364 assertWorkerThread(); in clear()
407 assertWorkerThread(); in getEntryForPackageLocked()
565 private void assertWorkerThread() { in assertWorkerThread() method in BaseIconCache
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/util/
DThreadAsserts.java33 public static void assertWorkerThread(String methodName) { in assertWorkerThread() method in ThreadAsserts
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPreconditions.java36 public static void assertWorkerThread() { in assertWorkerThread() method in Preconditions
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DInstallSessionHelper.java98 Preconditions.assertWorkerThread(); in getPromiseIconIds()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DItemInstallQueue.java107 Preconditions.assertWorkerThread(); in ensureQueueLoaded()
DWidgetsModel.java159 Preconditions.assertWorkerThread(); in update()