Home
last modified time | relevance | path

Searched refs:timeUnit (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/src/com/android/tv/util/
DUtils.java681 public static long floorTime(long timeMs, long timeUnit) { in floorTime() argument
682 return timeMs - (timeMs % timeUnit); in floorTime()
689 public static long ceilTime(long timeMs, long timeUnit) { in ceilTime() argument
690 return timeMs + timeUnit - (timeMs % timeUnit); in ceilTime()
DMainThreadExecutor.java76 public boolean awaitTermination(long l, TimeUnit timeUnit) throws InterruptedException { in awaitTermination() argument
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DAETriggerResult.java107 public boolean get(long timeout, TimeUnit timeUnit) throws InterruptedException, in get() argument
110 return mFutureResult.get(timeout, timeUnit); in get()
DAFTriggerResult.java104 public boolean get(long timeout, TimeUnit timeUnit) throws InterruptedException, in get() argument
107 return mFutureResult.get(timeout, timeUnit); in get()
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DContactsExecutors.java180 private HandlerFuture(Handler handler, long delay, TimeUnit timeUnit, Callable<T> task) { in HandlerFuture() argument
182 mDelayMillis = timeUnit.toMillis(delay); in HandlerFuture()
/packages/apps/Stk/src/com/android/stk/
DStkApp.java54 switch (duration.timeUnit) { in calculateDurationInMilis()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DUiThreadExecutor.java57 public boolean awaitTermination(long l, TimeUnit timeUnit) throws InterruptedException { in awaitTermination() argument
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLooperExecutor.java91 public boolean awaitTermination(long l, TimeUnit timeUnit) { in awaitTermination() argument