Home
last modified time | relevance | path

Searched refs:isMainThread (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DKeepAwakeAnimationListener.java34 Assert.isMainThread(); in KeepAwakeAnimationListener()
66 Assert.isMainThread(); in onStart()
71 Assert.isMainThread(); in onEnd()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DThreadUtilsTest.java32 assertThat(ThreadUtils.isMainThread()).isTrue(); in testMainThread()
33 Thread background = new Thread(() -> assertThat(ThreadUtils.isMainThread()).isFalse()); in testMainThread()
70 this.onUiThread = ThreadUtils.isMainThread(); in run()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java34 public static boolean isMainThread() { in isMainThread() method in ThreadUtils
56 if (!isMainThread()) { in ensureMainThread()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java63 Assert.isMainThread(); in postAfterTraversal()
74 Assert.isMainThread(); in removeCallbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAssert.java31 public static void isMainThread() { in isMainThread() method in Assert
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java167 Assert.isMainThread(); in requestState()
194 Assert.isMainThread(); in getState()
209 Assert.isMainThread(); in getPulseReason()
DDozeTriggers.java325 Assert.isMainThread(); in requestPulse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java136 Assert.isMainThread(); in updateNotificationViews()
352 Assert.isMainThread(); in updateRowStates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java658 Assert.isMainThread(); in handleInflationError()
675 Assert.isMainThread(); in finishIfDone()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java443 if (isMainThread()) { in getThreadDefaultConnectionFlags()
449 private static boolean isMainThread() { in isMainThread() method in SQLiteDatabase
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h559 const int64_t postTime, bool privileged, bool isMainThread = false)
DSurfaceFlinger.cpp3726 bool isMainThread) { in applyTransactionState() argument
3732 while (!isMainThread && mAnimTransactionPending) { in applyTransactionState()
3788 if (isMainThread && (transactionFlags & eTraversalNeeded)) { in applyTransactionState()
3819 while (!isMainThread && (mTransactionPending || mPendingSyncInputWindows)) { in applyTransactionState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java2862 Assert.isMainThread();
3306 Assert.isMainThread();
5071 Assert.isMainThread();
5078 Assert.isMainThread();