HomeSort by relevance Sort by last modified time
    Searched defs:TIMEOUT_MS (Results 51 - 69 of 69) sorted by null

1 23

  /cts/tests/tests/media/src/android/media/cts/
MediaSessionManagerTest.java 45 private static final int TIMEOUT_MS = 3000;
126 assertTrue(listener.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
175 assertTrue(listener.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
189 assertTrue(listener.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
195 assertTrue(callback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
248 assertTrue(callback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
MediaSession2TestBase.java 56 static final int TIMEOUT_MS = 500;
189 assertFalse(connectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
198 assertFalse(disconnectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GsmSmsDispatcherTest.java 72 private static final long TIMEOUT_MS = 500;
251 waitForHandlerAction(mGsmSmsDispatcher, TIMEOUT_MS);
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
HearingAidServiceTest.java 67 private static final int TIMEOUT_MS = 1000;
98 HearingAidStateMachine.sConnectTimeoutMs = TIMEOUT_MS; // 1s
340 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_CONNECTING,
371 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_CONNECTING,
375 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_CONNECTING,
399 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_CONNECTING,
401 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_CONNECTING,
418 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_CONNECTED,
420 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_CONNECTED,
427 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING
    [all...]
  /tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
GLBenchmarkTest.java 54 private static final long TIMEOUT_MS = 30 * 60 * 1000;
169 isTimedOut = (System.currentTimeMillis() - benchmarkStartTime >= TIMEOUT_MS);
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
SystemUpdatePolicyTest.java 45 private static final int TIMEOUT_MS = 20_000;
330 mPolicyChangedSemaphore.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS));
339 mTimeChangedSemaphore.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS));
  /frameworks/base/services/core/java/com/android/server/wm/
RemoteAnimationController.java 56 private static final long TIMEOUT_MS = 2000;
109 (long) (TIMEOUT_MS * mService.getCurrentAnimatorScale()));
  /frameworks/support/media/src/androidTest/java/androidx/media/
MediaSession2TestBase.java 59 static final int TIMEOUT_MS = 500;
247 assertFalse(connectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
256 assertFalse(disconnectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
  /frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
MediaSession2TestBase.java 65 static final int TIMEOUT_MS = 500;
253 assertFalse(connectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
262 assertFalse(disconnectLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
A2dpServiceTest.java 67 private static final int TIMEOUT_MS = 1000; // 1s
101 A2dpStateMachine.sConnectTimeoutMs = TIMEOUT_MS; // 1s
381 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTING,
410 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTING,
422 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTED,
434 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING,
446 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTED,
475 verifyConnectionStateIntent(TIMEOUT_MS, testDevice, BluetoothProfile.STATE_CONNECTING,
487 verifyConnectionStateIntent(TIMEOUT_MS, testDevice, BluetoothProfile.STATE_CONNECTED,
618 verifyAudioStateIntent(TIMEOUT_MS, mTestDevice, BluetoothA2dp.STATE_NOT_PLAYING
    [all...]
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
HidDeviceTest.java 60 private static final int TIMEOUT_MS = 1000; // 1s
291 verifyCallback(TIMEOUT_MS, CALLBACK_APP_REGISTERED, mCallbackQueue);
300 verifyCallback(TIMEOUT_MS, CALLBACK_APP_UNREGISTERED, mCallbackQueue);
325 verifyCallback(TIMEOUT_MS, CALLBACK_APP_REGISTERED, mCallbackQueue);
362 verifyCallback(TIMEOUT_MS, CALLBACK_APP_REGISTERED, mCallbackQueue);
397 verifyCallback(TIMEOUT_MS, CALLBACK_APP_REGISTERED, mCallbackQueue);
432 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTING,
440 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTED,
455 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING,
463 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTED
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothPeripheralHandover.java 63 static final int TIMEOUT_MS = 20000;
176 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS);
463 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS);
  /packages/services/Telephony/tests/src/com/android/services/telephony/
TelephonyConnectionServiceTest.java 68 private static final long TIMEOUT_MS = 100;
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
VpnTest.java 96 public static int TIMEOUT_MS = 3 * 1000;
163 if (okButton.waitForExists(TIMEOUT_MS) == false) {
175 int result = mActivity.getResult(TIMEOUT_MS);
184 fail("VPN confirmation dialog did not return after " + TIMEOUT_MS + "ms");
219 // Start the service and wait up for TIMEOUT_MS ms for the VPN to come up.
230 mLock.wait(TIMEOUT_MS);
236 fail("VPN did not become available after " + TIMEOUT_MS + "ms");
272 mLockShutdown.wait(TIMEOUT_MS);
494 FileDescriptor fd = mRemoteSocketFactoryClient.openSocketFd(host, port, TIMEOUT_MS);
541 FileDescriptor fd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS);
    [all...]
  /tools/tradefederation/contrib/src/com/android/media/tests/
AudioLoopbackTest.java 118 private static final long TIMEOUT_MS = 5 * 60 * 1000; // 5 min
525 loopbackCmd, receiver, TIMEOUT_MS, TimeUnit.MILLISECONDS, MAX_ATTEMPTS);
597 return Long.parseLong(mBufferTestDuration) * 1000 + TIMEOUT_MS;
    [all...]
  /frameworks/base/tests/net/java/android/net/apf/
ApfTest.java 79 private static final int TIMEOUT_MS = 500;
    [all...]
  /frameworks/base/media/java/android/media/
MediaPlayer2Impl.java     [all...]
MediaPlayer.java     [all...]
  /frameworks/base/tests/net/java/com/android/server/
ConnectivityServiceTest.java 190 private static final int TIMEOUT_MS = 500;
310 waitForIdle(TIMEOUT_MS);
603 assertTrue(mNetworkStatusReceived.block(TIMEOUT_MS));
728 mExpectations.await(TIMEOUT_MS, TimeUnit.MILLISECONDS);
732 " after " + TIMEOUT_MS + " ms";
770 waitForIdle(agent, TIMEOUT_MS);
    [all...]

Completed in 596 milliseconds

1 23