/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 | 48 private static final long TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(1); field in HarmfulAppWarningDeviceTest 75 getUiDevice().wait(Until.findObject(By.res("android:id/message")), TIMEOUT_MILLIS); in verifyWarningShown() 83 mSampleActivityStartedReceiver.awaitForBroadcast(TIMEOUT_MILLIS)); in verifySampleActivityLaunched() 88 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 | 153 mWaitForCallAudioStateChanged.await(CtsConnectionService.TIMEOUT_MILLIS, in waitForAudioStateChanged()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 80 private static final long TIMEOUT_MILLIS = 15 * 1000; field in RoleManagerTest 302 TIMEOUT_MILLIS); in respondToRoleRequest() 318 ? TIMEOUT_MILLIS : UNEXPECTED_TIMEOUT_MILLIS); in findDontAskAgainCheck() 330 UiObject2 button = sUiDevice.wait(Until.findObject(By.res(buttonId)), TIMEOUT_MILLIS); in clickButtonAndWaitForResult() 353 return mActivityRule.getActivity().waitForActivityResult(TIMEOUT_MILLIS); in waitForResult() 400 Pair<Integer, Intent> result = activity.waitForActivityResult(TIMEOUT_MILLIS); in assertRoleIsHeld() 469 result = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in assertOnRoleHoldersChangedListenerIsNotified() 599 future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in addRoleHolder() 607 future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in removeRoleHolder() 614 future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in clearRoleHolders()
|
/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/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 57 private static final long TIMEOUT_MILLIS = 10000; field in PermissionUtils 339 if (System.currentTimeMillis() - start < TIMEOUT_MILLIS) { in eventually()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 322 static final int TIMEOUT_MILLIS = 5000; 336 wait(TIMEOUT_MILLIS); 339 if (!mHasResult && (SystemClock.uptimeMillis() - startTime > TIMEOUT_MILLIS)) { 340 throw new TimeoutException("No response over " + TIMEOUT_MILLIS + "ms"); 739 }, ActivitySession.Response.TIMEOUT_MILLIS / 2);
|
/cts/tests/backup/src/android/backup/cts/ |
D | PermissionTest.java | 72 private static final long TIMEOUT_MILLIS = 10000; field in PermissionTest 345 if (System.currentTimeMillis() - start < TIMEOUT_MILLIS) { in eventually()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 74 private static final int TIMEOUT_MILLIS = 15000; field in NetworkUsageStatsTest 183 urlc.setConnectTimeout(TIMEOUT_MILLIS); in exerciseRemoteHost() 318 wait((int)(TIMEOUT_MILLIS * 1.2)); in shouldTestThisNetworkType() 332 "to connect has timed out (timeout = " + TIMEOUT_MILLIS + "ms)." + in shouldTestThisNetworkType()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 75 private static final int TIMEOUT_MILLIS = 5000; field in UsbDeviceTestActivity 258 lastTestResultBytes.length, TIMEOUT_MILLIS); in nextTest() 279 int numReceived = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in receiveZeroSizedTransfer() 302 TIMEOUT_MILLIS); in echoBulkTransfer() 330 int numReceived = connection.bulkTransfer(in, receivedBuffer, offset, size, TIMEOUT_MILLIS); in echoBulkTransferOffset() 367 TIMEOUT_MILLIS); in echoLargeBulkTransfer()
|