/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ReceiveUriActivity.java | 38 private static final long TIMEOUT_MILLIS = 30 * SECOND_IN_MILLIS; field in ReceiveUriActivity 101 sLock.wait(TIMEOUT_MILLIS); in finishCurInstanceSync() 104 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in finishCurInstanceSync() 128 sLock.wait(TIMEOUT_MILLIS); in waitForStart() 131 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in waitForStart() 143 sLock.wait(TIMEOUT_MILLIS); in waitForNewIntent() 146 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in waitForNewIntent()
|
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
D | HarmfulAppWarningDeviceTest.java | 47 private static final long TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(1); field in HarmfulAppWarningDeviceTest 74 getUiDevice().wait(Until.findObject(By.res("android:id/message")), TIMEOUT_MILLIS); in verifyWarningShown() 82 mSampleActivityStartedReceiver.awaitForBroadcast(TIMEOUT_MILLIS)); in verifySampleActivityLaunched() 87 mSampleActivityStartedReceiver.awaitForBroadcast(TIMEOUT_MILLIS)); in verifySampleActivityNotLaunched()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | CtsSelfManagedConnectionService.java | 16 static final int TIMEOUT_MILLIS = 10000; field in CtsSelfManagedConnectionService 42 sBindingLatch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in waitForAndGetConnectionService() 66 mConnectionLatch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in waitForAndGetConnection()
|
D | CtsConnectionService.java | 36 static final int TIMEOUT_MILLIS = 10000; field in CtsConnectionService 62 sBindingLatch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in waitForAndGetConnectionService() 86 mConnectionLatch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in waitForAndGetConnection()
|
D | CtsConnection.java | 147 mWaitForCallAudioStateChanged.await(CtsConnectionService.TIMEOUT_MILLIS, in waitForAudioStateChanged()
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | AccessoryTestCompanion.java | 41 private static final int TIMEOUT_MILLIS = 500; field in AccessoryTestCompanion 181 int numTransferred = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in runTest() 218 numTransferred = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in runTest() 241 numTransferred = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in runTest()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 72 private static final int TIMEOUT_MILLIS = 15000; field in NetworkUsageStatsTest 181 urlc.setConnectTimeout(TIMEOUT_MILLIS); in exerciseRemoteHost() 316 wait((int)(TIMEOUT_MILLIS * 1.2)); in shouldTestThisNetworkType() 330 "to connect has timed out (timeout = " + TIMEOUT_MILLIS + "ms)." + in shouldTestThisNetworkType()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 74 private static final int TIMEOUT_MILLIS = 5000; field in UsbDeviceTestActivity 246 lastTestResultBytes.length, TIMEOUT_MILLIS); in nextTest() 267 int numReceived = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in receiveZeroSizedTransfer() 290 TIMEOUT_MILLIS); in echoBulkTransfer() 318 int numReceived = connection.bulkTransfer(in, receivedBuffer, offset, size, TIMEOUT_MILLIS); in echoBulkTransferOffset() 355 TIMEOUT_MILLIS); in echoLargeBulkTransfer()
|