Searched refs:isMainThread (Results 1 – 13 of 13) sorted by relevance
34 Assert.isMainThread(); in KeepAwakeAnimationListener()66 Assert.isMainThread(); in onStart()71 Assert.isMainThread(); in onEnd()
32 assertThat(ThreadUtils.isMainThread()).isTrue(); in testMainThread()33 Thread background = new Thread(() -> assertThat(ThreadUtils.isMainThread()).isFalse()); in testMainThread()70 this.onUiThread = ThreadUtils.isMainThread(); in run()
34 public static boolean isMainThread() { in isMainThread() method in ThreadUtils56 if (!isMainThread()) { in ensureMainThread()
63 Assert.isMainThread(); in postAfterTraversal()74 Assert.isMainThread(); in removeCallbacks()
31 public static void isMainThread() { in isMainThread() method in Assert
167 Assert.isMainThread(); in requestState()194 Assert.isMainThread(); in getState()209 Assert.isMainThread(); in getPulseReason()
325 Assert.isMainThread(); in requestPulse()
136 Assert.isMainThread(); in updateNotificationViews()352 Assert.isMainThread(); in updateRowStates()
658 Assert.isMainThread(); in handleInflationError()675 Assert.isMainThread(); in finishIfDone()
443 if (isMainThread()) { in getThreadDefaultConnectionFlags()449 private static boolean isMainThread() { in isMainThread() method in SQLiteDatabase
559 const int64_t postTime, bool privileged, bool isMainThread = false)
3726 bool isMainThread) { in applyTransactionState() argument3732 while (!isMainThread && mAnimTransactionPending) { in applyTransactionState()3788 if (isMainThread && (transactionFlags & eTraversalNeeded)) { in applyTransactionState()3819 while (!isMainThread && (mTransactionPending || mPendingSyncInputWindows)) { in applyTransactionState()
2862 Assert.isMainThread();3306 Assert.isMainThread();5071 Assert.isMainThread();5078 Assert.isMainThread();