Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/devicepolicy/provisioning/
DSilentProvisioningTestManager.java40 private static final long TIMEOUT_SECONDS = 120L; field in SilentProvisioningTestManager
98 TimeUnit.SECONDS.toMillis(TIMEOUT_SECONDS)); in waitManagedProfileProvisioning()
105 TimeUnit.SECONDS.toMillis(TIMEOUT_SECONDS)) == null) { in waitManagedProfileProvisioning()
117 Boolean result = mProvisioningResults.poll(TIMEOUT_SECONDS, TimeUnit.SECONDS); in pollProvisioningResult()
120 + TIMEOUT_SECONDS + " seconds "); in pollProvisioningResult()
169 return mLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in await()
/cts/common/device-side/util/src/com/android/compatibility/common/util/devicepolicy/provisioning/
DSilentProvisioningTestManager.java39 private static final long TIMEOUT_SECONDS = 120L; field in SilentProvisioningTestManager
97 TimeUnit.SECONDS.toMillis(TIMEOUT_SECONDS)); in waitManagedProfileProvisioning()
104 TimeUnit.SECONDS.toMillis(TIMEOUT_SECONDS)) == null) { in waitManagedProfileProvisioning()
116 Boolean result = mProvisioningResults.poll(TIMEOUT_SECONDS, TimeUnit.SECONDS); in pollProvisioningResult()
119 + TIMEOUT_SECONDS + " seconds "); in pollProvisioningResult()
168 return mLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in await()
/cts/tests/backup/src/android/backup/cts/
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()
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()
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/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsSyncAdapter.java38 private static final int TIMEOUT_SECONDS = 60 * 2; field in BatteryStatsSyncAdapter
80 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); in waitUntilSyncCount()
118 final long timeout = SystemClock.elapsedRealtime() + (TIMEOUT_SECONDS * 1000); in cancelPendingSyncs()
/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/app/ManagedProfile/src/com/android/cts/managedprofile/
DNotificationListenerTest.java198 private static final int TIMEOUT_SECONDS = 10; field in NotificationListenerTest.LocalBroadcastReceiver
225 return mNotificationPostedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForNotificationPostedReceived()
229 return mNotificationRemovedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForNotificationRemovedReceived()
233 return mListenerConnectedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForListenerConnected()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNotificationListener.java33 private static final int TIMEOUT_SECONDS = 120; field in NotificationListener
40 connectedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getInstance()
/cts/hostsidetests/backup/src/android/cts/backup/
DMultiUserBackupStateTest.java37 private static final int TIMEOUT_SECONDS = 30; field in MultiUserBackupStateTest
84 TIMEOUT_SECONDS, () -> !mBackupUtils.isBackupActivatedForUser(profileUserId)); in testBackupDeactivatedWhenUserIsRemoved()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DAppRestrictionsDelegateTest.java53 private static final long TIMEOUT_SECONDS = 10; field in AppRestrictionsDelegateTest
158 mOnRestrictionsSemaphore.tryAcquire(TIMEOUT_SECONDS, TimeUnit.SECONDS)); in waitForChangedRestriction()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDeviceAdminServiceTest.java44 private static final int TIMEOUT_SECONDS = 3 * 60; field in BaseDeviceAdminServiceTest
79 final long until = System.nanoTime() + TimeUnit.SECONDS.toNanos(TIMEOUT_SECONDS); in withRetry()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdSyncAdapter.java40 private static final int TIMEOUT_SECONDS = 60 * 2; field in StatsdSyncAdapter