Home
last modified time | relevance | path

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

12345678910>>...13

/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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_animation_rate_decider_test.cpp138 …rateDecider_->MakeDecision([](const RSPropertyUnit unit, float velocity) -> int32_t { return 90; }… in __anonbb305a9f0102()
164 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0202()
200 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0302()
206 RSPropertyUnit unit = RSPropertyUnit::PIXEL_POSITION; variable
222 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0402()
225 RSPropertyUnit unit = RSPropertyUnit::RATIO_SCALE; variable
246 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0502()
249 RSPropertyUnit unit = RSPropertyUnit::ANGLE_ROTATION; variable
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
H A DFuturesUtil.java27 TimeUnit unit, Handler handler) { in withTimeout()
40 TimeUnit unit, ScheduledExecutorService executor) { in withTimeout()
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()
/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_text_ffi.cpp47 void FfiOHOSAceFrameworkTextSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkTextSetWidth()
54 void FfiOHOSAceFrameworkTextSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkTextSetHeight()
61 void FfiOHOSAceFrameworkTextSetFontSize(double fontSize, int32_t unit) in FfiOHOSAceFrameworkTextSetFontSize()
109 void FfiOHOSAceFrameworkTextSetLineHeight(double lineHeight, int32_t unit) in FfiOHOSAceFrameworkTextSetLineHeight()
132 void FfiOHOSAceFrameworkTextSetMinFontSize(double fontSize, int32_t unit) in FfiOHOSAceFrameworkTextSetMinFontSize()
138 void FfiOHOSAceFrameworkTextSetMaxFontSize(double fontSize, int32_t unit) in FfiOHOSAceFrameworkTextSetMaxFontSize()
153 void FfiOHOSAceFrameworkTextSetBaselineOffset(double baseLine, int32_t unit) in FfiOHOSAceFrameworkTextSetBaselineOffset()
H A Dcj_column_ffi.cpp45 void FfiOHOSAceFrameworkColumnCreateWithSpace(double space, int32_t unit) in FfiOHOSAceFrameworkColumnCreateWithSpace()
69 void FfiOHOSAceFrameworkColumnSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkColumnSetHeight()
75 void FfiOHOSAceFrameworkColumnSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkColumnSetWidth()
H A Dcj_row_ffi.cpp45 void FfiOHOSAceFrameworkRowCreateWithSpace(double space, int32_t unit) in FfiOHOSAceFrameworkRowCreateWithSpace()
72 void FfiOHOSAceFrameworkRowSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkRowSetHeight()
79 void FfiOHOSAceFrameworkRowSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkRowSetWidth()
H A Dcj_counter_ffi.cpp32 void FfiOHOSAceFrameworkCounterSetWidth(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetWidth()
41 void FfiOHOSAceFrameworkCounterSetHeight(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetHeight()
56 void FfiOHOSAceFrameworkCounterSetControlWidth(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetControlWidth()
H A Dcj_menu_ffi.cpp30 void FfiOHOSAceFrameworkMenuFont(double size, int32_t unit, const char* weight, in FfiOHOSAceFrameworkMenuFont()
52 void FfiOHOSAceFrameworkMenuSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkMenuSetWidth()
58 void FfiOHOSAceFrameworkMenuSetRadiusByLength(double size, int32_t unit) in FfiOHOSAceFrameworkMenuSetRadiusByLength()
H A Dcj_panel_ffi.cpp66 void FfiOHOSAceFrameworkPanelFullHeight(double height, int32_t unit) in FfiOHOSAceFrameworkPanelFullHeight()
71 void FfiOHOSAceFrameworkPanelHalfHeight(double height, int32_t unit) in FfiOHOSAceFrameworkPanelHalfHeight()
76 void FfiOHOSAceFrameworkPanelMiniHeight(double height, int32_t unit) in FfiOHOSAceFrameworkPanelMiniHeight()
140 void FfiOHOSAceFrameworkPanelBorderWidth(double width, int32_t unit) in FfiOHOSAceFrameworkPanelBorderWidth()
148 void FfiOHOSAceFrameworkPanelBorderRadius(double radius, int32_t unit) in FfiOHOSAceFrameworkPanelBorderRadius()
H A Dcj_textfield_ffi.cpp53 void FfiOHOSAceFrameworkTextFieldSetHeight(double height, uint32_t unit) in FfiOHOSAceFrameworkTextFieldSetHeight()
74 void FfiOHOSAceFrameworkTextFieldSetBorderWidth(double value, uint32_t unit) in FfiOHOSAceFrameworkTextFieldSetBorderWidth()
103 void FfiOHOSAceFrameworkTextFieldSetBorderRadius(double value, uint32_t unit) in FfiOHOSAceFrameworkTextFieldSetBorderRadius()
120 void FfiOHOSAceFrameworkTextFieldSetPadding(double value, int32_t unit) in FfiOHOSAceFrameworkTextFieldSetPadding()
144 void FfiOHOSAceFrameworkTextFieldSetMargin(double value, int32_t unit) in FfiOHOSAceFrameworkTextFieldSetMargin()
162 double size, int32_t unit, const char* weight, const char* family, int32_t style) in FfiOHOSAceFrameworkTextFieldSetPlaceholderFont()
223 void FfiOHOSAceFrameworkTextFieldSetFontSize(double value, int32_t unit) in FfiOHOSAceFrameworkTextFieldSetFontSize()
/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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsframeratepolicy_fuzzer/
H A Drsframeratepolicy_fuzzer.cpp137 RSPropertyUnit unit = RSPropertyUnit::PIXEL_POSITION; in DoGetExpectedFrameRate001() local
155 RSPropertyUnit unit = RSPropertyUnit::PIXEL_SIZE; in DoGetExpectedFrameRate002() local
173 RSPropertyUnit unit = RSPropertyUnit::RATIO_SCALE; in DoGetExpectedFrameRate003() local
191 RSPropertyUnit unit = RSPropertyUnit::ANGLE_ROTATION; in DoGetExpectedFrameRate004() local
209 RSPropertyUnit unit = RSPropertyUnit::UNKNOWN; in DoGetExpectedFrameRate005() local
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dresource_theme_style.cpp124 void ParseNumberUnit(const std::string& value, std::string& number, std::string& unit) in ParseNumberUnit()
136 DimensionUnit ParseDimensionUnit(const std::string& unit) in ParseDimensionUnit()
173 std::string unit; in ParseContent() local
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Drelative_time_format.cpp122 std::string RelativeTimeFormat::Format(double number, const std::string &unit) in Format()
140 const std::string &unit, bool isInteger, const std::string &value) in InsertInfo()
155 std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit, in ProcessIntegerField()
167 void RelativeTimeFormat::FormatToParts(double number, const std::string &unit, in FormatToParts()

12345678910>>...13