Home
last modified time | relevance | path

Searched refs:TIMEOUT_MILLIS (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DReceiveUriActivity.java38 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/
DHarmfulAppWarningDeviceTest.java47 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/
DCtsSelfManagedConnectionService.java16 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()
DCtsConnectionService.java36 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()
DCtsConnection.java147 mWaitForCallAudioStateChanged.await(CtsConnectionService.TIMEOUT_MILLIS, in waitForAudioStateChanged()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java41 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/
DNetworkUsageStatsTest.java72 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/
DUsbDeviceTestActivity.java74 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()