/external/robolectric/robolectric/src/main/java/org/robolectric/android/internal/ |
D | RobolectricThreadChecker.java | 21 Thread.currentThread().equals(Looper.getMainLooper().getThread()), in checkMainThread() 32 !Thread.currentThread().equals(Looper.getMainLooper().getThread()), in checkNotMainThread()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/ |
D | RobolectricTestRunnerSelfTest.java | 68 assertThat(Looper.getMainLooper().getThread()).isSameInstanceAs(Thread.currentThread()); in testMethod_shouldBeInvoked_onMainThread() 73 assertThat(Looper.getMainLooper().getThread()).isSameInstanceAs(Thread.currentThread()); in whenTestHarnessUsesDifferentThread_shouldStillReportAsMainThread() 106 Boolean.valueOf(Looper.getMainLooper().getThread() == Thread.currentThread()); in onTerminate()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/android/util/concurrent/ |
D | BackgroundExecutorTest.java | 23 .isNotSameInstanceAs(Looper.getMainLooper().getThread()); in forRunnable_doesNotRunOnMainLooper() 48 .isNotSameInstanceAs(Looper.getMainLooper().getThread()); in forCallable_doesNotRunOnMainLooper()
|
/external/nist-sip/java/gov/nist/core/ |
D | ThreadAuditor.java | 59 public Thread getThread() { in getThread() method in ThreadAuditor.ThreadHandle 142 Thread thread = threadHandle.getThread(); in auditThreads()
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/ |
D | BackgroundInitializerTest.java | 217 final Thread getThread = new Thread() { in testGetInterruptedException() local 232 getThread.start(); in testGetInterruptedException() 233 getThread.interrupt(); in testGetInterruptedException()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | SurfaceTextureHelper.java | 179 if (handler.getLooper().getThread() != Thread.currentThread()) { 339 if (handler.getLooper().getThread() != Thread.currentThread()) { 375 if (handler.getLooper().getThread() != Thread.currentThread()) {
|
D | CameraVideoCapturer.java | 158 if (Thread.currentThread() != surfaceTextureHelper.getHandler().getLooper().getThread()) { in checkThread()
|
/external/cronet/stable/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | NQETest.java | 228 assertThat(rttListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabled() 229 assertThat(throughputListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabled() 407 assertThat(rttListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabledWithParams() 408 assertThat(throughputListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabledWithParams()
|
D | TestNetworkQualityThroughputListener.java | 58 public Thread getThread() { in getThread() method in TestNetworkQualityThroughputListener
|
D | TestNetworkQualityRttListener.java | 76 public Thread getThread() { in getThread() method in TestNetworkQualityRttListener
|
/external/cronet/tot/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | NQETest.java | 228 assertThat(rttListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabled() 229 assertThat(throughputListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabled() 407 assertThat(rttListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabledWithParams() 408 assertThat(throughputListener.getThread()).isEqualTo(mNetworkQualityThread); in testQuicDisabledWithParams()
|
D | TestNetworkQualityThroughputListener.java | 58 public Thread getThread() { in getThread() method in TestNetworkQualityThroughputListener
|
D | TestNetworkQualityRttListener.java | 76 public Thread getThread() { in getThread() method in TestNetworkQualityRttListener
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPausedLooper.java | 125 if (Thread.currentThread() == realLooper.getThread() || isPaused) { in isIdle() 242 if (Thread.currentThread() == realLooper.getThread()) { in runPaused() 247 "this method can only be called on " + realLooper.getThread().getName()); in runPaused() 388 if (realLooper.getThread().isAlive() in resetLooperToInitialState() 679 if (Thread.currentThread() == realLooper.getThread()) { in executeOnLooper()
|
D | ShadowPausedChoreographer.java | 82 if (looper.getThread() == Thread.currentThread()) { in resetChoreographers() 84 } else if (looper.getThread().isAlive()) { in resetChoreographers()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/ |
D | PlayerMessage.java | 314 Assertions.checkState(looper.getThread() != Thread.currentThread()); in blockUntilDelivered() 341 Assertions.checkState(looper.getThread() != Thread.currentThread()); in blockUntilDelivered()
|
/external/webrtc/rtc_base/java/src/org/webrtc/ |
D | ThreadUtils.java | 46 if (Thread.currentThread() != Looper.getMainLooper().getThread()) { in checkIsOnMainThread() 152 if (handler.getLooper().getThread() == Thread.currentThread()) { in invokeAtFrontUninterruptibly()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/ |
D | PlayerMessage.java | 316 Assertions.checkState(looper.getThread() != Thread.currentThread()); in blockUntilDelivered() 343 Assertions.checkState(looper.getThread() != Thread.currentThread()); in blockUntilDelivered()
|
/external/dagger2/java/dagger/hilt/android/internal/ |
D | ThreadUtil.java | 31 mainThread = Looper.getMainLooper().getThread(); in isMainThread()
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
D | WaitingThread.java | 117 public final Thread getThread() { in getThread() method in WaitingThread
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPausedLooperTest.java | 91 assertThat(getMainLooper().getThread()).isSameInstanceAs(Thread.currentThread()); in mainLooperThread_shouldBeTestThread() 96 assertThat(getMainLooper().getThread()).isSameInstanceAs(Thread.currentThread()); in junitTimeoutTestRunsOnMainThread() 143 assertThat(handlerThread.getLooper().getThread()).isEqualTo(threadRef.get()); in idle_backgroundLooperExecuteInBackgroundThread() 144 assertThat(getMainLooper().getThread()).isNotEqualTo(threadRef.get()); in idle_backgroundLooperExecuteInBackgroundThread() 153 assertThat(handlerThread.getLooper().getThread()).isEqualTo(threadRef.get()); in runOneTask_backgroundLooperExecuteInBackgroundThread() 154 assertThat(getMainLooper().getThread()).isNotEqualTo(threadRef.get()); in runOneTask_backgroundLooperExecuteInBackgroundThread()
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | CameraCapturer.java | 369 cameraThread = cameraThreadHandler.getLooper().getThread(); in printStackTrace() 442 if (Thread.currentThread() != cameraThreadHandler.getLooper().getThread()) { in checkIsOnCameraThread()
|
/external/cronet/stable/base/android/java/src/org/chromium/base/ |
D | ThreadUtils.java | 86 Thread uiThread = getUiThreadLooper().getThread(); in assertOnValidThreadHelper()
|
/external/cronet/tot/base/android/java/src/org/chromium/base/ |
D | ThreadUtils.java | 86 Thread uiThread = getUiThreadLooper().getThread(); in assertOnValidThreadHelper()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | HostActivity.java | 117 Assertions.checkState(Thread.currentThread() != getMainLooper().getThread()); in runTest()
|