/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | Wap230WspContentTypeTest.java | 225 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 D | TestExecutorService.java | 89 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 D | TestScheduledExecutorService.java | 71 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 D | LatchedConsumer.java | 32 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 D | UnitsFuelConsumptionPreferenceController.java | 48 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 D | UnitsEnergyConsumptionPreferenceController.java | 51 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 D | UnitsBasePreferenceController.java | 145 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 D | CarUnitsManager.java | 108 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 D | ContactsExecutors.java | 111 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 D | FuturesUtil.java | 27 TimeUnit unit, Handler handler) { in withTimeout() 40 TimeUnit unit, ScheduledExecutorService executor) { in withTimeout()
|
/aosp12/packages/services/Telephony/tests/src/com/android/ |
H A D | TestExecutorService.java | 76 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 D | MockScheduledExecutorService.java | 84 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 D | HibernationStateDiskStoreTest.java | 143 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 D | UniqueExecutor.java | 37 @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 D | RepeatableExecutorImpl.java | 38 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 D | DelayableExecutor.java | 44 Runnable executeDelayed(Runnable r, long delay, TimeUnit unit); in executeDelayed() 64 Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit); in executeAtTime()
|
H A D | ExecutorImpl.java | 44 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 D | FakeClock.java | 72 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 D | LiveDataAdapter.java | 81 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 D | AH263Assembler.cpp | 162 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 D | Dimension.java | 41 int unit() default PX; in unit() method
|
/aosp12/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerFuture.java | 113 V getResult(long timeout, TimeUnit unit) in getResult()
|
/aosp12/packages/services/Car/car-lib/src/android/car/util/concurrent/ |
H A D | AsyncFuture.java | 50 T get(long timeout, @NonNull TimeUnit unit) in get()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
H A D | ImageStream.java | 73 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 D | FakeExecutor.java | 145 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed() 153 public Runnable executeAtTime(Runnable r, long uptime, TimeUnit unit) { in executeAtTime()
|