/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchHistoryManagerTest.java | 88 mLatch.await(1, TimeUnit.SECONDS); in testAddHistory() 114 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory() 125 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory() 146 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList() 150 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList() 154 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarHvacManagerTest.java | 171 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 172 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 173 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 174 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 185 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 198 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 211 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
|
D | CarProjectionManagerTest.java | 88 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testShortPressListener() 100 assertTrue(mLongAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testLongPressListener() 113 assertTrue(mLongAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testMixedPressListener() 119 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testMixedPressListener()
|
D | VmsPublisherClientPermissionTest.java | 107 sPublisherExpectedPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testExpectedPermission() 114 sPublisherWrongPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testWrongPermission() 121 sPublisherMissingPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testMissingPermission()
|
D | CarCabinManagerTest.java | 147 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 148 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 159 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent() 172 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
|
D | MockedVmsTestBase.java | 132 sPublisherIsReady.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in getMockPublisherClient() 227 return queue.poll(2L, TimeUnit.SECONDS); in receiveWithTimeout()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | InputTaskSchedulerTest.java | 64 private static final long LISTENER_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(1); 149 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoStop() 156 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoStop() 171 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoFail() 180 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoFail() 201 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveUseLessSession() 208 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveUseLessSession()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/theme/ |
D | ThemeOverlayManagerTest.java | 106 mLatch.await(5, TimeUnit.SECONDS); in testApplyOverlays_shouldSetEnabled() 118 mLatch.await(5, TimeUnit.SECONDS); in testApplyOverlays_shouldGetOverlayInfo() 148 mLatch.await(5, TimeUnit.SECONDS); in testDefaultDisabled_applyOverlays_shouldEnabled() 165 mLatch.await(5, TimeUnit.SECONDS); in testDefaultEnabled_applyOverlays_shouldDisabled()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 155 private static final int SECONDS = 1000; field in DhcpClient 156 private static final int FIRST_TIMEOUT_MS = 1 * SECONDS; 157 private static final int MAX_TIMEOUT_MS = 512 * SECONDS; 158 private static final int IPMEMORYSTORE_TIMEOUT_MS = 1 * SECONDS; 159 private static final int DHCP_INITREBOOT_TIMEOUT_MS = 5 * SECONDS; 166 private static final int DEFAULT_DHCP_RESTART_CONFIG_DELAY_MS = 1 * SECONDS; 167 private static final int MAX_DHCP_CLIENT_RESTART_CONFIG_DELAY_MS = 10 * SECONDS; 173 private static final int MAX_ARP_FIRST_PROBE_DELAY_MS = 1 * SECONDS; 180 private static final int MAX_ARP_PROBE_MIN_MS = 1 * SECONDS; 186 private static final int MAX_ARP_PROBE_MAX_MS = 2 * SECONDS; [all …]
|
/packages/apps/KeyChain/robotests/src/com/android/keychain/ |
D | AliasLoaderTest.java | 164 KeyChainActivity.CertificateAdapter result = loader.get(5, TimeUnit.SECONDS); in testAliasLoader_loadsAllAliases() 188 KeyChainActivity.CertificateAdapter result = loader.get(5, TimeUnit.SECONDS); in testAliasLoader_copesWithNoAliases() 211 KeyChainActivity.CertificateAdapter result = loader.get(5, TimeUnit.SECONDS); in testAliasLoader_filtersNonUserSelectableAliases() 248 KeyChainActivity.CertificateAdapter result = loader.get(5, TimeUnit.SECONDS); in testAliasLoader_filtersAliasesWithNonConformingParameters()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 82 latch.await(5, TimeUnit.SECONDS); in testCursorIsNotNull() 109 latch.await(5, TimeUnit.SECONDS); in testCursorContainsCorrectCookies() 136 latch.await(5, TimeUnit.SECONDS); in testCursorContainsCorrectColumns()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchivesProviderTest.java | 75 assertTrue(mExecutor.awaitTermination(3 /* timeout */, TimeUnit.SECONDS)); in tearDown() 127 latch.await(3, TimeUnit.SECONDS); in testOpen_Success() 180 latch.await(3, TimeUnit.SECONDS); in testOpen_Failure() 270 assertFalse(latch.await(1, TimeUnit.SECONDS)); in testNoNotificationAfterAllReleased()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/ |
D | Executors.java | 74 return new UniqueExecutor(0, Integer.MAX_VALUE, 60, TimeUnit.SECONDS, in newCachedUniqueThreadPool() 80 return new UniqueExecutor(0, Integer.MAX_VALUE, 60, TimeUnit.SECONDS, in newCachedUniqueThreadPool()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsTaskSchedulerTest.java | 55 assertTrue(scheduler.latch.await(10, TimeUnit.SECONDS)); in testSimple() 96 assertTrue(scheduler.latch.await(10, TimeUnit.SECONDS)); in testAutoShutdown()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarImporter.java | 23 import static java.util.concurrent.TimeUnit.SECONDS; 167 SECONDS.toMillis(event.getStartDate().getSeconds())); in insertEvent() 169 SECONDS.toMillis(event.getEndDate().getSeconds())); in insertEvent()
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | ChannelRecordTest.java | 125 mLatestWatchEndTimeMs += TimeUnit.SECONDS.toMillis(mRandom.nextInt(60) + 1); in addWatchLog() 127 long durationMs = TimeUnit.SECONDS.toMillis(mRandom.nextInt(60) + 1); in addWatchLog()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | ChildSessionParams.java | 172 return TimeUnit.SECONDS.toMillis((long) mHardLifetimeSec); in getHardLifetimeMsInternal() 177 return TimeUnit.SECONDS.toMillis((long) mSoftLifetimeSec); in getSoftLifetimeMsInternal()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3Subscriber.java | 266 return future.get(REQUEST_TIMEOUT_SECONDS, TimeUnit.SECONDS); in getSelfProvisionResponse() 282 future.get(REQUEST_TIMEOUT_SECONDS, TimeUnit.SECONDS); in clickSubscribeLink() 315 String response = future.get(REQUEST_TIMEOUT_SECONDS, TimeUnit.SECONDS); in vvm3XmlRequest()
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarImporterTest.java | 29 import static java.util.concurrent.TimeUnit.SECONDS; 229 SECONDS.toMillis(event.getStartDate().getSeconds())) && in eventMatcher() 231 SECONDS.toMillis(event.getEndDate().getSeconds())) && in eventMatcher()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | AbstractSessionStateMachine.java | 79 static final long REKEY_DELETE_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(180L); 82 static final long RETRY_INTERVAL_MS = TimeUnit.SECONDS.toMillis(15L);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryService.java | 108 public static final long NO_CANCEL_DOWNLOAD_PERIOD_MILLIS = TimeUnit.SECONDS.toMillis(30); 129 TimeUnit.SECONDS /* unit for keepAliveTime */, in onCreate()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | StartManagedProfileTaskTest.java | 108 assertTrue(mStartInBackgroundLatch.await(1, TimeUnit.SECONDS)); in testSuccess() 124 assertTrue(mSuccessLatch.await(1, TimeUnit.SECONDS)); in testSuccess()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 112 private static final long REQUEST_CURRENT_POSITION_INTERVAL = TimeUnit.SECONDS.toMillis(1); 122 @VisibleForTesting static final long REQUEST_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(3); 130 private static final long PROGRAM_START_TIME_THRESHOLD = TimeUnit.SECONDS.toMillis(3); 1181 delay = TimeUnit.SECONDS.toMillis(5); in schedulePrefetchPrograms() 1184 delay = TimeUnit.SECONDS.toMillis(30); in schedulePrefetchPrograms()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | AbstractLauncherUiTest.java | 88 public static final long DEFAULT_ACTIVITY_TIMEOUT = TimeUnit.SECONDS.toMillis(10); 142 assertTrue(pkg + " didn't restart", count.await(10, TimeUnit.SECONDS)); in clearPackageData() 336 latch.await(DEFAULT_BROADCAST_TIMEOUT_SECS, TimeUnit.SECONDS); in blockingGetIntent()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | ConflictChecker.java | 63 private static final long CHECK_RETRY_PERIOD_MS = TimeUnit.SECONDS.toMillis(30); 74 private static final long MIN_WATCH_CONFLICT_CHECK_TIME_MS = TimeUnit.SECONDS.toMillis(30);
|