Home
last modified time | relevance | path

Searched refs:TIMEOUT_MS (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/support/media/src/androidTest/java/androidx/media/
DMediaController2Test.java295 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 …]
DMediaSession2_PermissionTest.java139 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 …]
DMediaSession2TestBase.java59 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/
DTaskPositioningControllerTests.java46 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()
DDragDropControllerTests.java60 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/
DMediaController2Test_copied.java307 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 …]
DMediaSession2TestBase.java65 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/
DSensorDeviceUtils.cpp60 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/
DPendingRemoteAnimationRegistry.java32 private static final long TIMEOUT_MS = 3000; field in PendingRemoteAnimationRegistry
83 }, TIMEOUT_MS); in Entry()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java39 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/
DOneTouchPlayAction.java81 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
122 addTimer(mState, HdmiConfig.TIMEOUT_MS); in handleTimerEvent()
DHdmiConfig.java25 static final int TIMEOUT_MS = 2000; field in HdmiConfig
DNewDeviceAction.java90 addTimer(mState, HdmiConfig.TIMEOUT_MS); in requestOsdName()
162 addTimer(mState, HdmiConfig.TIMEOUT_MS); in requestVendorId()
DRequestArcTerminationAction.java41 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
DRequestArcInitiationAction.java42 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
DDeviceDiscoveryAction.java158 addTimer(mState, HdmiConfig.TIMEOUT_MS); in queryPhysicalAddress()
181 addTimer(mState, HdmiConfig.TIMEOUT_MS); in queryOsdName()
206 addTimer(mState, HdmiConfig.TIMEOUT_MS); in queryVendorId()
DSystemAudioAutoInitiationAction.java42 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
DSetArcTransmissionStateAction.java69 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
DDevicePowerStatusAction.java65 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
DSystemAudioStatusAction.java49 addTimer(mState, HdmiConfig.TIMEOUT_MS); in start()
/frameworks/support/lifecycle/process/src/main/java/androidx/lifecycle/
DProcessLifecycleOwner.java52 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/
DStaticLayoutMultithreadPerfTest.java52 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/
DOsuNetworkConnection.java40 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/
DTestUtils.java52 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/
DGsmSmsDispatcherTest.java72 private static final long TIMEOUT_MS = 500; field in GsmSmsDispatcherTest
251 waitForHandlerAction(mGsmSmsDispatcher, TIMEOUT_MS); in testSendRawPduWithEventStopSending()

12