/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ClockPreference.java | 26 private static final String SECONDS = "seconds"; field in ClockPreference 41 setEntryValues(new CharSequence[] { SECONDS, DEFAULT, DISABLED }); in ClockPreference() 73 setValue(SECONDS); in onTuningChanged() 84 TunerService.get(getContext()).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 : 0); in persistString()
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
D | RunMonkeyAction.java | 114 DeviceUtils.doShell(device, "force-stop " + packageName, 5, TimeUnit.SECONDS); in forceStop() 115 DeviceUtils.doShell(device, "kill " + packageName, 5, TimeUnit.SECONDS); in forceStop() 116 DeviceUtils.doShell(device, "kill `pid " + packageName + "`", 5, TimeUnit.SECONDS); in forceStop()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | InvalidateAllTest.java | 34 assertTrue(semaphore.tryAcquire(2, TimeUnit.SECONDS)); in testRefreshViaInvalidateAll() 40 assertTrue(semaphore.tryAcquire(2, TimeUnit.SECONDS)); in testRefreshViaInvalidateAll()
|
/frameworks/support/compat/tests/java/android/support/v4/content/ |
D | ModernAsyncTaskTest.java | 70 if (!readyToCancel.await(5, TimeUnit.SECONDS)) { in testCancellationWithException() 75 if (!calledOnCancelled.await(5, TimeUnit.SECONDS)) { in testCancellationWithException()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | AsyncListUtilLayoutTest.java | 37 import static java.util.concurrent.TimeUnit.SECONDS; 218 return mTilesLatch.await(timeoutInSeconds, TimeUnit.SECONDS); in waitForTiles() 303 return mItemsLatch.await(timeoutInSeconds, TimeUnit.SECONDS); in waitForItems() 320 mLayoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForLayout()
|
D | BaseGridLayoutManagerTest.java | 30 import static java.util.concurrent.TimeUnit.SECONDS; 218 mLayoutLatch.await(seconds * (DEBUG ? 1000 : 1), SECONDS); in waitForLayout() 247 snapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForSnap()
|
D | BaseRecyclerViewInstrumentationTest.java | 56 import static java.util.concurrent.TimeUnit.SECONDS; 283 latch.await(seconds, TimeUnit.SECONDS)); in waitForAnimations() 307 assertTrue("should go idle in 10 seconds", latch.await(10, TimeUnit.SECONDS)); in waitForIdleScroll() 492 viewAdded.await(10, TimeUnit.SECONDS), in smoothScrollToPosition() 571 layoutLatch.await(seconds * (mDebug ? 1000 : 1), SECONDS); in waitForLayout() 597 layoutLatch.await(timeout, TimeUnit.SECONDS); in assertLayoutCount() 602 layoutLatch.await(timeout, TimeUnit.SECONDS); in assertNoLayout()
|
D | BaseLinearLayoutManagerTest.java | 26 import static java.util.concurrent.TimeUnit.SECONDS; 361 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForLayout() 390 snapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForSnap() 481 latch.await(timeoutInSeconds, TimeUnit.SECONDS); in waitForAnimationsToEnd()
|
D | TestActivity.java | 68 if (!done.await(5, TimeUnit.SECONDS)) { in resetContent()
|
D | DefaultItemAnimatorTest.java | 157 mExpectedItemCount.tryAcquire(itemCount, seconds, TimeUnit.SECONDS)); in waitForItems() 161 mExpectedItemCount.tryAcquire(1, 2, TimeUnit.SECONDS)); in waitForItems()
|
D | BaseStaggeredGridLayoutManagerTest.java | 31 import static java.util.concurrent.TimeUnit.SECONDS; 490 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForLayout() 519 snapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForSnap() 532 layoutLatch.await(timeout, TimeUnit.SECONDS); in assertNoLayout()
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
D | NestedFragmentTest.java | 57 assertTrue(latch.await(1, TimeUnit.SECONDS)); in setUp() 89 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testNestedFragmentStartActivityForResult()
|
D | NestedFragmentRestoreTest.java | 87 assertTrue("timeout waiting for recreate", latch.await(10, TimeUnit.SECONDS)); in recreateActivity()
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
D | DeviceUtils.java | 78 doShell(device, "am start -n " + name + " /." + activity, 30, TimeUnit.SECONDS); in doAMStart() 133 DeviceUtils.doShellReturnString(device, "cat /etc/preloaded-classes", 1, TimeUnit.SECONDS); in removePreloaded() 180 TimeUnit.SECONDS.convert(endDate.getTime() - startDate.getTime(), TimeUnit.MILLISECONDS); in removePreloaded()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoService.java | 46 public static long SECONDS = 1000; field in NekoService 47 public static long MINUTES = 60 * SECONDS;
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | ActionSendMultipleConsumerActivity.java | 118 bundle = mQueue.poll(2 * TIMEOUT, TimeUnit.SECONDS); in getExtras()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 192 awaitCountDown(latch, 5, TimeUnit.SECONDS); in blockingCallSpeak() 206 awaitCountDown(latch, 5, TimeUnit.SECONDS); in blockingInitAndVerify()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpClient.java | 94 private static final int SECONDS = 1000; field in DhcpClient 95 private static final int FIRST_TIMEOUT_MS = 2 * SECONDS; 96 private static final int MAX_TIMEOUT_MS = 128 * SECONDS; 102 private static final int DHCP_TIMEOUT_MS = 36 * SECONDS;
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GpsXtraDownloader.java | 46 private static final int CONNECTION_TIMEOUT_MS = (int) TimeUnit.SECONDS.toMillis(30);
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 140 public static final char SECONDS = 's'; field in DateFormat 371 return hasDesignator(inFormat, SECONDS); in hasSeconds()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | BroadcastInterceptingContext.java | 74 return get(5, TimeUnit.SECONDS); in get()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | SecurityLogMonitor.java | 107 mMonitorThread.join(TimeUnit.SECONDS.toMillis(5)); in stop()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | Main.java | 408 renderAndVerify(params, "animated_vector.png", TimeUnit.SECONDS.toNanos(2)); in testVectorAnimation() 414 renderAndVerify(params, "animated_vector_1.png", TimeUnit.SECONDS.toNanos(3)); in testVectorAnimation() 433 renderAndVerify(params, "vector_drawable.png", TimeUnit.SECONDS.toNanos(2)); in testVectorDrawable()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | ThreadUtilTest.java | 201 mLock.tryAcquire(1, 2, TimeUnit.SECONDS); in waitFor()
|
/frameworks/base/packages/Osu/src/com/android/ |
D | MainActivity.java | 314 long hours = TimeUnit.SECONDS.toHours(timeSeconds); in getReadableTimeInSeconds() 315 long minutes = TimeUnit.SECONDS.toMinutes(timeSeconds) - TimeUnit.HOURS.toMinutes(hours); in getReadableTimeInSeconds()
|