/frameworks/support/media/src/androidTest/java/androidx/media/ |
D | MediaController2Test.java | 295 assertTrue(mMockAgent.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetPlaylist() 346 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testGetPlaylist() 356 assertTrue(mMockAgent.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testUpdatePlaylistMetadata() 393 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testGetPlaylistMetadata() 404 assertTrue(mPlayer.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetPlaybackSpeed() 462 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onPlaylistMetadataChanged() 485 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onSeekCompleted() 512 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onBufferingStateChanged() 534 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onPlayerStateChanged() 543 assertTrue(mMockAgent.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testAddPlaylistItem() [all …]
|
D | MediaSession2_PermissionTest.java | 139 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testOnCommandRequest() 319 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testFastForward() 336 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testRewind() 354 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testPlayFromMediaId() 374 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testPlayFromUri() 394 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testPlayFromSearch() 414 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testPrepareFromMediaId() 434 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testPrepareFromUri() 454 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testPrepareFromSearch() 475 assertTrue(mCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetRating() [all …]
|
D | MediaSession2TestBase.java | 59 static final int TIMEOUT_MS = 500; field in MediaSession2TestBase 247 assertFalse(connectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in waitForConnect() 256 assertFalse(disconnectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in waitForDisconnect()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskPositioningControllerTests.java | 46 private static final int TIMEOUT_MS = 1000; field in TaskPositioningControllerTests 84 assertTrue(sWm.mH.runWithScissors(() -> {}, TIMEOUT_MS)); in testStartAndFinishPositioning() 104 assertTrue(sWm.mH.runWithScissors(() -> {}, TIMEOUT_MS)); in testHandleTapOutsideTask() 113 assertTrue(sWm.mH.runWithScissors(() -> {}, TIMEOUT_MS)); in testHandleTapOutsideTask()
|
D | DragDropControllerTests.java | 60 private static final int TIMEOUT_MS = 3000; field in DragDropControllerTests 140 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in tearDown()
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/ |
D | MediaController2Test_copied.java | 307 assertTrue(mMockAgent.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetPlaylist() 358 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testGetPlaylist() 368 assertTrue(mMockAgent.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testUpdatePlaylistMetadata() 405 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testGetPlaylistMetadata() 416 assertTrue(mPlayer.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetPlaybackSpeed() 474 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onPlaylistMetadataChanged() 498 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onSeekCompleted() 526 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onBufferingStateChanged() 549 assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testControllerCallback_onPlayerStateChanged() 558 assertTrue(mMockAgent.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testAddPlaylistItem() [all …]
|
D | MediaSession2TestBase.java | 65 static final int TIMEOUT_MS = 500; field in MediaSession2TestBase 253 assertFalse(connectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in waitForConnect() 262 assertFalse(disconnectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in waitForDisconnect()
|
/frameworks/native/services/sensorservice/ |
D | SensorDeviceUtils.cpp | 60 constexpr int TIMEOUT_MS = 1000; in wait() local 70 return mCondition.wait_for(lk, std::chrono::milliseconds(TIMEOUT_MS), in wait()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingRemoteAnimationRegistry.java | 32 private static final long TIMEOUT_MS = 3000; field in PendingRemoteAnimationRegistry 83 }, TIMEOUT_MS); in Entry()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpManagerTest.java | 39 private static final int TIMEOUT_MS = 1000; field in MtpManagerTest 78 SystemClock.sleep(TIMEOUT_MS); in testCancelEvent() 80 assertTrue(future.get(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testCancelEvent()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | OneTouchPlayAction.java | 81 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start() 122 addTimer(mState, HdmiConfig.TIMEOUT_MS); in handleTimerEvent()
|
D | HdmiConfig.java | 25 static final int TIMEOUT_MS = 2000; field in HdmiConfig
|
D | NewDeviceAction.java | 90 addTimer(mState, HdmiConfig.TIMEOUT_MS); in requestOsdName() 162 addTimer(mState, HdmiConfig.TIMEOUT_MS); in requestVendorId()
|
D | RequestArcTerminationAction.java | 41 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
|
D | RequestArcInitiationAction.java | 42 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
|
D | DeviceDiscoveryAction.java | 158 addTimer(mState, HdmiConfig.TIMEOUT_MS); in queryPhysicalAddress() 181 addTimer(mState, HdmiConfig.TIMEOUT_MS); in queryOsdName() 206 addTimer(mState, HdmiConfig.TIMEOUT_MS); in queryVendorId()
|
D | SystemAudioAutoInitiationAction.java | 42 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
|
D | SetArcTransmissionStateAction.java | 69 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
|
D | DevicePowerStatusAction.java | 65 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
|
D | SystemAudioStatusAction.java | 49 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
|
/frameworks/support/lifecycle/process/src/main/java/androidx/lifecycle/ |
D | ProcessLifecycleOwner.java | 52 static final long TIMEOUT_MS = 700; //mls field in ProcessLifecycleOwner 128 mHandler.postDelayed(mDelayedPauseRunnable, TIMEOUT_MS); in activityPaused()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutMultithreadPerfTest.java | 52 private static final long TIMEOUT_MS = 5000; field in StaticLayoutMultithreadPerfTest 83 mStartLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS); in startBackgroundThread()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 40 private static final int TIMEOUT_MS = 10000; field in OsuNetworkConnection 195 TIMEOUT_MS); in connect()
|
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/ |
D | TestUtils.java | 52 private static final long TIMEOUT_MS = 2000; field in TestUtils 75 result = (T) monitor.waitForActivityWithTimeout(TIMEOUT_MS); in recreateActivity()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmSmsDispatcherTest.java | 72 private static final long TIMEOUT_MS = 500; field in GsmSmsDispatcherTest 251 waitForHandlerAction(mGsmSmsDispatcher, TIMEOUT_MS); in testSendRawPduWithEventStopSending()
|