Home
last modified time | relevance | path

Searched defs:unit (Results 1 – 25 of 49) sorted by relevance

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DMockScheduledExecutorService.java84 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
92 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
98 TimeUnit unit) { in scheduleAtFixedRate()
104 long delay, TimeUnit unit) { in scheduleWithFixedDelay()
129 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
166 TimeUnit unit) throws InterruptedException { in invokeAll()
177 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
222 public long getDelay(TimeUnit unit) { in getDelay()
253 public V get(long timeout, TimeUnit unit) in get()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
H A DHibernationStateDiskStoreTest.java143 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
149 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
155 long period, TimeUnit unit) { in scheduleAtFixedRate()
161 long delay, TimeUnit unit) { in scheduleWithFixedDelay()
186 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
213 TimeUnit unit) throws InterruptedException { in invokeAll()
224 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
H A DRepeatableExecutorImpl.java38 public Runnable executeRepeatedly(Runnable r, long initDelay, long delay, TimeUnit unit) { in executeRepeatedly()
51 ExecutionToken(Runnable r, long delay, TimeUnit unit) { in ExecutionToken()
68 public void start(long startDelay, TimeUnit unit) { in start()
H A DDelayableExecutor.java44 Runnable executeDelayed(Runnable r, long delay, TimeUnit unit); in executeDelayed()
64 Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit); in executeAtTime()
H A DExecutorImpl.java44 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed()
53 public Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit) { in executeAtTime()
H A DRepeatableExecutor.java53 Runnable executeRepeatedly(Runnable r, long initialDelay, long delay, TimeUnit unit); in executeRepeatedly()
/aosp14/frameworks/base/core/java/android/accounts/
H A DAccountManagerFuture.java113 V getResult(long timeout, TimeUnit unit) in getResult()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
H A DFakeExecutor.java145 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed()
153 public Runnable executeAtTime(Runnable r, long uptime, TimeUnit unit) { in executeAtTime()
/aosp14/frameworks/base/cmds/incident_helper/src/parsers/
H A DEventLogTagsParser.cpp60 int unit = 0; in Parse() local
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DWeatherData.kt121 val unit = if (useCelsius) "C" else "F" regex
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/view/
H A DWebViewCaptureHelperTest.java131 private static boolean waitFor(CountDownLatch latch, long time, TimeUnit unit) { in waitFor()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DHandlerThreadingDomainTest.java252 boolean waitForCompletion(long timeout, TimeUnit unit) { in waitForCompletion()
256 void assertCompletesWithin(long timeout, TimeUnit unit) { in assertCompletesWithin()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingReconsideration.java64 public long getDelay(TimeUnit unit) { in getDelay()
/aosp14/frameworks/base/core/proto/android/util/
H A Devent_log_tags.proto63 optional DataUnit unit = 3; field
/aosp14/frameworks/base/services/core/java/com/android/server/location/contexthub/
H A DContextHubServiceTransaction.java118 /* package */ long getTimeout(TimeUnit unit) { in getTimeout()
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockAccountManager.java114 public T getResult(long timeout, TimeUnit unit) in getResult()
/aosp14/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
H A DBroadcastInterceptingContext.java59 public abstract void assertNotReceived(long timeout, TimeUnit unit) in assertNotReceived()
109 public void assertNotReceived(long timeout, TimeUnit unit) in assertNotReceived()
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectParameter.java35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { in EffectParameter()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java133 public void setTextSize(int unit, float size) { in setTextSize()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DHistoryTracker.java201 public long getDelay(TimeUnit unit) { in getDelay()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DStringUtil.java140 final RelativeUnit unit; in formatRelativeTime() local
/aosp14/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
H A DStagedRollbackTest.java132 private void waitForDeviceNotAvailable(long timeout, TimeUnit unit) { in waitForDeviceNotAvailable()
/aosp14/frameworks/base/tests/Codegen/src/com/android/codegentest/
H A DSampleWithCustomBuilder.java70 public Builder setDelay(long amount, TimeUnit unit) { in setDelay()
/aosp14/frameworks/base/core/java/android/hardware/location/
H A DContextHubTransaction.java256 long timeout, TimeUnit unit) throws InterruptedException, TimeoutException { in waitForResponse()
/aosp14/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
H A DBarChartPreference.java238 final int unit = maxBarHeight == 0 ? 0 : mMaxBarHeight / maxBarHeight; in normalizeBarViewHeights() local

12