Home
last modified time | relevance | path

Searched refs:TIMEOUT_SECONDS (Results 1 – 18 of 18) sorted by relevance

/cts/tests/backup/src/android/backup/cts/
DKeyValueLifecycleTest.java33 private static final int TIMEOUT_SECONDS = 30; field in KeyValueLifecycleTest
47 waitForLogcat(TIMEOUT_SECONDS,backupSeparator, in testExpectedMethodsCalledInOrder()
57 waitForLogcat(TIMEOUT_SECONDS, restoreSeparator, in testExpectedMethodsCalledInOrder()
DKeyValueQuotaTest.java36 private static final int TIMEOUT_SECONDS = 30; field in KeyValueQuotaTest
48 waitForLogcat(TIMEOUT_SECONDS, separator, in testQuotaExceeded()
61 waitForLogcat(TIMEOUT_SECONDS, separator, in testQuotaReported()
DFullBackupLifecycleTest.java33 private static final int TIMEOUT_SECONDS = 30; field in FullBackupLifecycleTest
47 waitForLogcat(TIMEOUT_SECONDS, in testExpectedMethodsCalledInOrder()
58 waitForLogcat(TIMEOUT_SECONDS, in testExpectedMethodsCalledInOrder()
DFullBackupQuotaTest.java36 private static final int TIMEOUT_SECONDS = 30; field in FullBackupQuotaTest
48 waitForLogcat(TIMEOUT_SECONDS,separator, in testQuotaExceeded()
68 waitForLogcat(TIMEOUT_SECONDS,separator, in testQuotaReported()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DNotificationListener.java37 private static final int TIMEOUT_SECONDS = 120; field in NotificationListener
44 Log.d(TAG, "getInstance(): waiting " + TIMEOUT_SECONDS + "s for connection"); in getInstance()
45 if (!connectedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)) { in getInstance()
47 + TIMEOUT_SECONDS + "s"); in getInstance()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/devicepolicy/provisioning/
DSilentProvisioningTestManager.java41 private static final long TIMEOUT_SECONDS = 120L; field in SilentProvisioningTestManager
99 TimeUnit.SECONDS.toMillis(TIMEOUT_SECONDS)); in waitManagedProfileProvisioning()
106 TimeUnit.SECONDS.toMillis(TIMEOUT_SECONDS)) == null) { in waitManagedProfileProvisioning()
118 Boolean result = mProvisioningResults.poll(TIMEOUT_SECONDS, TimeUnit.SECONDS); in pollProvisioningResult()
121 + TIMEOUT_SECONDS + " seconds "); in pollProvisioningResult()
171 return mLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in await()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNotificationListener.java33 private static final int TIMEOUT_SECONDS = 150; field in NotificationListener
40 connectedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getInstance()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNotificationListener.java33 private static final int TIMEOUT_SECONDS = 120; field in NotificationListener
40 connectedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getInstance()
DNotificationListenerTest.java216 private static final int TIMEOUT_SECONDS = 10; field in NotificationListenerTest.LocalBroadcastReceiver
243 return mNotificationPostedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForNotificationPostedReceived()
247 return mNotificationRemovedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForNotificationRemovedReceived()
251 return mListenerConnectedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForListenerConnected()
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamOverlayTest.java55 private static final int TIMEOUT_SECONDS = 5; field in DreamOverlayTest
109 assertThat(shownCountDownLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testDreamOverlayAppearance()
120 assertThat(removedCountDownLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testDreamOverlayAppearance()
DControlledDreamSession.java53 private static final int TIMEOUT_SECONDS = 2; field in ControlledDreamSession
216 assertThat(countDownLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in start()
234 assertThat(dreamConnectLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in start()
294 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in awaitLifecycle()
DSystemDreamTest.java73 private static final int TIMEOUT_SECONDS = 5; field in SystemDreamTest.DreamShownReceiver
88 return mLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitUntilShown()
DDreamServiceTest.java64 private static final int TIMEOUT_SECONDS = 2; field in DreamServiceTest
190 assertThat(countDownLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testDreamServiceOnDestroyCallback()
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGlEsVersionCtsActivity.java43 private static final int TIMEOUT_SECONDS = 10; field in OpenGlEsVersionCtsActivity
88 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getVersionString()
95 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getExtensionsString()
102 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getAepEs31Support()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDeviceAdminServiceTest.java48 private static final int TIMEOUT_SECONDS = 3 * 60; field in BaseDeviceAdminServiceTest
71 final long until = System.nanoTime() + TimeUnit.SECONDS.toNanos(TIMEOUT_SECONDS); in withRetry()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdSyncAdapter.java40 private static final int TIMEOUT_SECONDS = 60 * 2; field in StatsdSyncAdapter
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveMultiUserTest.java83 private static final int TIMEOUT_SECONDS = 5; field in PackageInstallerArchiveMultiUserTest
188 assertThat(mArchiveIntentSender.mPackage.get(TIMEOUT_SECONDS, in archiveApp_broadcast_multiuser()
248 assertThat(mArchiveIntentSender.mPackage.get(TIMEOUT_SECONDS, in archiveApp_onlyForOneUser_multiuser()
/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp36 static const int TIMEOUT_SECONDS = 5; variable
405 if (elapsedSeconds.count() > TIMEOUT_SECONDS) { in ProcessInput()