Home
last modified time | relevance | path

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

123456

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DWap230WspContentTypeTest.java225 WspTypeDecoder unit = new WspTypeDecoder( in testWellKnownShortIntegerMimeTypeValues() local
245 WspTypeDecoder unit = new WspTypeDecoder(data); in testWellKnownLongIntegerMimeTypeValues() local
259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent() local
270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testConstrainedMediaExtensionMedia() local
286 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthExtensionMedia() local
301 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownShortInteger() local
317 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownShortIntegerWithUnknownValue() local
336 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownLongInteger() local
355 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownLongIntegerWithUnknownValue() local
374 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormLengthQuoteWellKnownShortInteger() local
[all …]
H A DTestExecutorService.java89 public T get(long timeout, TimeUnit unit) in get()
99 public long getDelay(TimeUnit unit) { in getDelay()
141 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination()
168 TimeUnit unit) { in invokeAll()
178 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
183 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
196 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
202 TimeUnit unit) { in scheduleAtFixedRate()
208 long delay, TimeUnit unit) { in scheduleWithFixedDelay()
218 private long getNextExecutionTime(long delay, TimeUnit unit) { in getNextExecutionTime()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestScheduledExecutorService.java71 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
98 TimeUnit unit) throws InterruptedException { in invokeAll()
109 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
133 TimeUnit unit) { in scheduleAtFixedRate()
139 long delay, TimeUnit unit) { in scheduleWithFixedDelay()
186 final TimeUnit unit; field in TestScheduledExecutorService.TestFuture
188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture()
195 public long getDelay(TimeUnit unit) { in getDelay()
[all …]
H A DLatchedConsumer.java32 public void assertNotCalled(long timeout, TimeUnit unit) in assertNotCalled()
37 public void assertCalled(long timeout, TimeUnit unit) in assertCalled()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/units/
H A DUnitsFuelConsumptionPreferenceController.java48 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()
53 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()
58 private String getAbbreviationByVolumeUnit(Unit unit) { in getAbbreviationByVolumeUnit()
81 private String getPronouncedNameByVolumeUnit(Unit unit) { in getPronouncedNameByVolumeUnit()
H A DUnitsEnergyConsumptionPreferenceController.java51 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()
56 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()
71 private String getAbbreviationByUnit(Unit unit) { in getAbbreviationByUnit()
H A DUnitsBasePreferenceController.java145 Unit unit = mSupportedUnits[i]; in getEntriesOfSupportedUnits() local
151 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()
155 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()
H A DCarUnitsManager.java108 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty() local
115 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty() local
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
H A DContactsExecutors.java111 public ScheduledFuture<?> schedule(final Runnable command, long delay, TimeUnit unit) { in schedule()
120 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
129 long period, TimeUnit unit) { in scheduleAtFixedRate()
136 long delay, TimeUnit unit) { in scheduleWithFixedDelay()
160 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
192 public long getDelay(TimeUnit unit) { in getDelay()
231 public static HandlerFuture<Void> fromRunnable(Handler handler, long delay, TimeUnit unit, in fromRunnable()
H A DFuturesUtil.java27 TimeUnit unit, Handler handler) { in withTimeout()
40 TimeUnit unit, ScheduledExecutorService executor) { in withTimeout()
/aosp12/packages/services/Telephony/tests/src/com/android/
H A DTestExecutorService.java76 public T get(long timeout, TimeUnit unit) in get()
83 public long getDelay(TimeUnit unit) { in getDelay()
154 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination()
188 TimeUnit unit) { in invokeAll()
198 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
203 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
214 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
223 TimeUnit unit) { in scheduleAtFixedRate()
229 long delay, TimeUnit unit) { in scheduleWithFixedDelay()
/aosp12/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()
/aosp12/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()
/aosp12/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/
H A DUniqueExecutor.java37 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue) { in UniqueExecutor()
42 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue, in UniqueExecutor()
48 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue, in UniqueExecutor()
54 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue, in UniqueExecutor()
/aosp12/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()
/aosp12/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
H A DFakeClock.java72 public void increment(TimeUnit unit) { in increment()
82 public void increment(TimeUnit unit, long amount) { in increment()
/aosp12/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/
H A DLiveDataAdapter.java81 public SensorDataWrapper(String name, String unit, float number) { in SensorDataWrapper()
87 public SensorDataWrapper(String name, String unit, String number) { in SensorDataWrapper()
/aosp12/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp162 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
172 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
/aosp12/frameworks/libs/modules-utils/java/android/annotation/
H A DDimension.java41 int unit() default PX; in unit() method
/aosp12/frameworks/base/core/java/android/accounts/
H A DAccountManagerFuture.java113 V getResult(long timeout, TimeUnit unit) in getResult()
/aosp12/packages/services/Car/car-lib/src/android/car/util/concurrent/
H A DAsyncFuture.java50 T get(long timeout, @NonNull TimeUnit unit) in get()
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
H A DImageStream.java73 public ImageProxy getNext(long timeout, TimeUnit unit) throws InterruptedException, in getNext()
/aosp12/frameworks/base/packages/SystemUI/tests/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()

123456