/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioRecordingConfigurationTest.java | 47 private static final int TEST_TIMING_TOLERANCE_MS = 70; field in AudioRecordingConfigurationTest 119 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioManagerGetActiveRecordConfigurations() 179 callback.await(TEST_TIMING_TOLERANCE_MS); in doCallbackTest() 182 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest() 198 callback.await(TEST_TIMING_TOLERANCE_MS); in doCallbackTest() 208 callback.await(TEST_TIMING_TOLERANCE_MS); in doCallbackTest() 235 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testParcel()
|
D | DevicesForAttributesTest.java | 70 private static final int TEST_TIMING_TOLERANCE_MS = 300; field in DevicesForAttributesTest 124 listener.await(TEST_TIMING_TOLERANCE_MS); in testListenerRegistration() 156 listener.await(TEST_TIMING_TOLERANCE_MS); in testListenerWithAudioPolicy() 169 listener.await(TEST_TIMING_TOLERANCE_MS); in testListenerWithAudioPolicy() 189 listeners[i].await(TEST_TIMING_TOLERANCE_MS); in testListenerWithMultipleAttributes() 214 listeners[i].await(TEST_TIMING_TOLERANCE_MS); in testListenerWithMultipleAttributes() 231 listeners[i].await(TEST_TIMING_TOLERANCE_MS); in testListenerWithMultipleAttributes()
|
D | AudioPlaybackConfigurationTest.java | 81 private static final int TEST_TIMING_TOLERANCE_MS = 150; field in AudioPlaybackConfigurationTest 162 Thread.sleep(TEST_TIMING_TOLERANCE_MS);// waiting for playback to start in testParcelableWriteToParcel() 218 Thread.sleep(TEST_TIMING_TOLERANCE_MS);// waiting for playback to start in testGetterMediaPlayer() 300 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doTestCallbackMediaPlayer() 312 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doTestCallbackMediaPlayer() 367 callback.waitForCallbacks(1, TEST_TIMING_TOLERANCE_MS)); in testCallbackMediaPlayerRelease() 400 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testGetterSoundPool() 403 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testGetterSoundPool() 446 TEST_TIMING_TOLERANCE_MS + PLAY_ROUTING_TIMING_TOLERANCE_MS)); in testGetterAndCallbackConsistency() 485 Thread.sleep(TEST_TIMING_TOLERANCE_MS + PLAY_ROUTING_TIMING_TOLERANCE_MS); in testGetAudioDeviceInfoMediaPlayerStart() [all …]
|
D | SoundDoseHelperTest.java | 47 private static final int TEST_TIMING_TOLERANCE_MS = 100; field in SoundDoseHelperTest 132 Thread.sleep(TEST_TIMING_TOLERANCE_MS); // waiting for RS2 to propagate in testGetSetRs2Value() 138 Thread.sleep(TEST_TIMING_TOLERANCE_MS); // waiting for RS2 to propagate in testGetSetRs2Value() 153 Thread.sleep(TEST_TIMING_TOLERANCE_MS); // waiting for CSD to propagate in testGetSetCsd()
|
D | AudioFocusTest.java | 103 private static final int TEST_TIMING_TOLERANCE_MS = 200; field in AudioFocusTest 399 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ true); in testAudioMediaFocusDelayedByCall() 452 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ true); in testAudioFocusDelayedByCall() 461 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ true); in testAudioFocusDelayedByCall() 467 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ true); in testAudioFocusDelayedByCall() 524 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ true); in testAudioFocusTransientDelayedByCall() 534 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ true); in testAudioFocusTransientDelayedByCall() 538 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ false); in testAudioFocusTransientDelayedByCall() 544 TEST_TIMING_TOLERANCE_MS, /* shouldAcquire= */ true); in testAudioFocusTransientDelayedByCall() 600 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioFocusRequestMediaGainLossWithPlayer() [all …]
|
D | NonDefaultDeviceForStrategyTest.java | 60 private static final int TEST_TIMING_TOLERANCE_MS = 100; field in NonDefaultDeviceForStrategyTest 241 listener.await(TEST_TIMING_TOLERANCE_MS); in testNonDefaultDeviceListener() 255 listener.await(TEST_TIMING_TOLERANCE_MS); in testNonDefaultDeviceListener() 268 listener.await(TEST_TIMING_TOLERANCE_MS); in testNonDefaultDeviceListener()
|
D | AudioRecordTest.java | 107 private static final int TEST_TIMING_TOLERANCE_MS = 70; field in AudioRecordTest 956 callback.await(TEST_TIMING_TOLERANCE_MS); in testAudioRecordInfoCallback() 988 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testGetActiveRecordingConfiguration()
|
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/ |
D | Utils.java | 37 private static final int TEST_TIMING_TOLERANCE_MS = 500; field in Utils 59 if (!callback.mCountDownLatch.await(TEST_TIMING_TOLERANCE_MS, TimeUnit.MILLISECONDS) in assertMediaPlaybackStarted()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarAudioFocusTest.java | 62 private static final long TEST_TIMING_TOLERANCE_MS = 100; field in CarAudioFocusTest 183 .waitForFocusChangeAndAssertFocus(TEST_TIMING_TOLERANCE_MS, AUDIOFOCUS_GAIN, in abandonAudioFocusRequest_forCall_whileFocusDelayed_focusGained() 228 .waitForFocusChangeAndAssertFocus(TEST_TIMING_TOLERANCE_MS, AUDIOFOCUS_GAIN, in abandonAudioFocusRequest_forCall_afterDelayedAbandon_delayedRequestDoesNotGainsFocus() 253 .waitForFocusChangeAndAssertFocus(TEST_TIMING_TOLERANCE_MS, in requestAudioFocus_multipleTimesForSameDelayedRequest_delayedRequestDoesNotGainsFocus() 619 TEST_TIMING_TOLERANCE_MS, expectedLoss, message); in testInteraction() 653 TEST_TIMING_TOLERANCE_MS, in testInteraction() 700 TEST_TIMING_TOLERANCE_MS, AudioManager.AUDIOFOCUS_NONE, message)).isFalse(); in requestAndLoseFocusForAttribute()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | Utils.java | 46 private static final int TEST_TIMING_TOLERANCE_MS = 500; field in Utils 165 if (!callback.mCountDownLatch.await(TEST_TIMING_TOLERANCE_MS, TimeUnit.MILLISECONDS) in assertMediaPlaybackStarted()
|
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/ |
D | MediaRecorderTest.java | 110 private static final int TEST_TIMING_TOLERANCE_MS = 70; field in MediaRecorderTest 1857 callback.await(TEST_TIMING_TOLERANCE_MS); in testAudioRecordInfoCallback()
|