Home
last modified time | relevance | path

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

12345678910>>...187

/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
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 …]
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()
/aosp_15_r20/prebuilts/go/linux-x86/src/debug/dwarf/
Dunit.go15 type unit struct { struct
16 base Offset // byte offset of header within the aggregate info
17 off Offset // byte offset of data within the aggregate info
18 data []byte
19 atable abbrevTable
20 asize int
21 vers int
22 utype uint8 // DWARF 5 unit type
23 is64 bool // True for 64-bit DWARF format
28 func (u *unit) version() int {
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/strings_ops/
H A Dsubstr_op_test.py38 def testScalarString(self, dtype, pos, unit): argument
60 def testScalarString_EdgeCases(self, dtype, unit): argument
124 def testVectorStrings(self, dtype, pos, unit): argument
147 def testMatrixStrings(self, dtype, unit): argument
197 def testElementWisePosLen(self, dtype, unit): argument
238 def testBroadcast(self, dtype, unit): argument
320 def testBadBroadcast(self, dtype, unit): argument
340 def testOutOfRangeError_Scalar(self, dtype, pos, unit): argument
364 def testOutOfRangeError_VectorScalar(self, dtype, pos, unit): argument
385 def testOutOfRangeError_MatrixMatrix(self, dtype, unit): argument
[all …]
/aosp_15_r20/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
H A DMetricsReportLog.java88 ResultUnit unit) { in addValue()
101 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue()
116 ResultUnit unit) { in addValues()
129 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues()
142 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue()
154 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue()
166 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue()
178 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue()
190 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue()
202 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues()
[all …]
/aosp_15_r20/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
H A DDeviceReportLog.java72 ResultUnit unit) { in addValue()
85 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue()
99 ResultUnit unit) { in addValues()
112 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues()
125 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue()
137 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue()
149 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue()
161 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue()
173 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue()
185 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues()
[all …]
/aosp_15_r20/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
H A DReportLog.java64 Metric(String source, String message, double value, ResultType type, ResultUnit unit) { in Metric()
79 Metric(String source, String message, double[] values, ResultType type, ResultUnit unit) { in Metric()
147 ResultUnit unit = ResultUnit.parseReportString( in parse() local
177 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues()
185 ResultUnit unit) { in addValues()
192 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue()
200 ResultUnit unit) { in addValue()
207 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue()
214 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue()
221 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue()
[all …]
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/marvell/comphy/
Dphy-comphy-3700.h41 #define PHY_SHFT(unit) ((unit == PCIE) ? PCIEPHY_SHFT : USB3PHY_SHFT) argument
45 #define PWR_PLL_CTRL_ADDR(unit) (COMPHY_POWER_PLL_CTRL * PHY_SHFT(unit)) argument
69 #define KVCO_CAL_CTRL_ADDR(unit) (COMPHY_KVCO_CAL_CTRL * PHY_SHFT(unit)) argument
76 #define DIG_LOOPBACK_EN_ADDR(unit) (COMPHY_DIG_LOOPBACK_EN * \ argument
86 #define SYNC_PATTERN_ADDR(unit) (COMPHY_SYNC_PATTERN * PHY_SHFT(unit)) argument
96 #define ISOLATION_CTRL_ADDR(unit) (COMPHY_ISOLATION_REG * PHY_SHFT(unit)) argument
100 #define GEN2_SET2_ADDR(unit) (COMPHY_GEN2_SET2 * PHY_SHFT(unit)) argument
118 #define GEN3_SET2_ADDR(unit) (COMPHY_GEN3_SET2 * PHY_SHFT(unit)) argument
121 #define IDLE_SYNC_EN_ADDR(unit) (COMPHY_IDLE_SYNC_EN * PHY_SHFT(unit)) argument
126 #define MISC_CTRL0_ADDR(unit) (COMPHY_MISC_CTRL0 * PHY_SHFT(unit)) argument
[all …]
/aosp_15_r20/external/arm-trusted-firmware/drivers/marvell/comphy/
H A Dphy-comphy-3700.h41 #define PHY_SHFT(unit) ((unit == PCIE) ? PCIEPHY_SHFT : USB3PHY_SHFT) argument
45 #define PWR_PLL_CTRL_ADDR(unit) (COMPHY_POWER_PLL_CTRL * PHY_SHFT(unit)) argument
70 #define KVCO_CAL_CTRL_ADDR(unit) (COMPHY_KVCO_CAL_CTRL * PHY_SHFT(unit)) argument
80 #define DIG_LB_EN_ADDR(unit) (COMPHY_LOOPBACK_REG0 * PHY_SHFT(unit)) argument
89 #define SYNC_PATTERN_REG_ADDR(unit) (COMPHY_SYNC_PATTERN_REG * \ argument
100 #define ISOLATION_CTRL_REG_ADDR(unit) (COMPHY_ISOLATION_CTRL_REG * \ argument
105 #define MISC_REG0_ADDR(unit) (COMPHY_MISC_REG0_ADDR * PHY_SHFT(unit)) argument
113 #define GEN2_SETTING_2_ADDR(unit) (COMPHY_REG_GEN2_SET_2 * PHY_SHFT(unit)) argument
121 #define GEN2_SETTING_3_ADDR(unit) (COMPHY_REG_GEN2_SET_3 * PHY_SHFT(unit)) argument
138 #define UNIT_CTRL_ADDR(unit) (COMPHY_REG_UNIT_CTRL_ADDR * \ argument
[all …]
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/
H A DCtsVerifierReportLog.java124 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues()
137 ResultUnit unit) { in addValues()
149 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue()
162 ResultUnit unit) { in addValue()
174 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue()
186 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue()
198 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue()
210 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue()
222 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue()
234 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues()
[all …]
/aosp_15_r20/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
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 …]
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
H A DPeriod.java43 public static Period at(float count, TimeUnit unit) { in at()
55 public static Period moreThan(float count, TimeUnit unit) { in moreThan()
67 public static Period lessThan(float count, TimeUnit unit) { in lessThan()
83 public Period and(float count, TimeUnit unit) { in and()
94 public Period omit(TimeUnit unit) { in omit()
183 public boolean isSet(TimeUnit unit) { in isSet()
193 public float getCount(TimeUnit unit) { in getCount()
297 private Period(int limit, boolean future, float count, TimeUnit unit) { in Period()
316 private Period setTimeUnitValue(TimeUnit unit, float value) { in setTimeUnitValue()
331 private Period setTimeUnitInternalValue(TimeUnit unit, int value) { in setTimeUnitInternalValue()
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/duration/
H A DPeriod.java41 public static Period at(float count, TimeUnit unit) { in at()
53 public static Period moreThan(float count, TimeUnit unit) { in moreThan()
65 public static Period lessThan(float count, TimeUnit unit) { in lessThan()
81 public Period and(float count, TimeUnit unit) { in and()
92 public Period omit(TimeUnit unit) { in omit()
181 public boolean isSet(TimeUnit unit) { in isSet()
191 public float getCount(TimeUnit unit) { in getCount()
295 private Period(int limit, boolean future, float count, TimeUnit unit) { in Period()
314 private Period setTimeUnitValue(TimeUnit unit, float value) { in setTimeUnitValue()
329 private Period setTimeUnitInternalValue(TimeUnit unit, int value) { in setTimeUnitInternalValue()
/aosp_15_r20/external/grpc-grpc-java/core/src/testFixtures/java/io/grpc/internal/
H A DFakeClock.java112 @Override public long getDelay(TimeUnit unit) { in getDelay()
135 Callable<V> callable, long delay, TimeUnit unit) { in schedule()
139 private void schedule(ScheduledTask task, long delay, TimeUnit unit) { in schedule()
148 @Override public ScheduledFuture<?> schedule(Runnable cmd, long delay, TimeUnit unit) { in schedule()
155 Runnable cmd, long initialDelay, long period, TimeUnit unit) { in scheduleAtFixedRate()
162 Runnable cmd, long initialDelay, long delay, TimeUnit unit) { in scheduleWithFixedDelay()
168 @Override public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination()
177 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAll()
186 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
226 public ScheduleAtFixedRateTask(Runnable command, long period, TimeUnit unit) { in ScheduleAtFixedRateTask()
[all …]
/aosp_15_r20/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
H A DSameThreadScheduledExecutorService.java74 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
107 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAll()
122 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
136 public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
144 Callable<V> callable, long delay, TimeUnit unit) { in schedule()
158 public V get(long timeout, TimeUnit unit) in get()
165 public long getDelay(TimeUnit unit) { in getDelay()
179 Runnable command, long initialDelay, long period, TimeUnit unit) { in scheduleAtFixedRate()
185 Runnable command, long initialDelay, long delay, TimeUnit unit) { in scheduleWithFixedDelay()
/aosp_15_r20/external/guava/android/guava-testlib/src/com/google/common/util/concurrent/testing/
H A DSameThreadScheduledExecutorService.java74 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
107 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAll()
122 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
136 public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
144 Callable<V> callable, long delay, TimeUnit unit) { in schedule()
158 public V get(long timeout, TimeUnit unit) in get()
165 public long getDelay(TimeUnit unit) { in getDelay()
179 Runnable command, long initialDelay, long period, TimeUnit unit) { in scheduleAtFixedRate()
185 Runnable command, long initialDelay, long delay, TimeUnit unit) { in scheduleWithFixedDelay()
/aosp_15_r20/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTestScheduledExecutorService.java93 public T get(long timeout, TimeUnit unit) in get()
103 public long getDelay(TimeUnit unit) { in getDelay()
145 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination()
172 TimeUnit unit) { in invokeAll()
182 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
187 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
199 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
205 TimeUnit unit) { in scheduleAtFixedRate()
211 long delay, TimeUnit unit) { in scheduleWithFixedDelay()
220 private long getNextExecutionTime(long delay, TimeUnit unit) { in getNextExecutionTime()
/aosp_15_r20/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
H A DTestScheduledExecutorService.java48 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule()
52 }, delay, unit); in schedule() field in TestScheduledExecutorService
56 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule()
68 Runnable command, long initialDelay, long period, TimeUnit unit) { in scheduleAtFixedRate()
74 Runnable command, long initialDelay, long delay, TimeUnit unit) { in scheduleWithFixedDelay()
99 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination()
108 public void advanceTimeBy(long timeout, TimeUnit unit) throws Exception { in advanceTimeBy()
148 public long getDelay(TimeUnit unit) { in getDelay()
182 public T get(long timeout, TimeUnit unit) { in get()
/aosp_15_r20/external/crosvm/devices/src/
H A Dsuspendable.rs68 let unit = &mut $dev; localVariable
83 let unit = &mut $dev; localVariable
99 let unit = &mut $dev; localVariable
114 let unit = &mut $dev; localVariable
140 let unit = &mut $dev; localVariable
160 let unit = &mut $dev; localVariable
170 let unit = &mut $dev; localVariable
183 let unit = &mut $dev; localVariable
/aosp_15_r20/external/guava/android/guava/src/com/google/common/util/concurrent/
H A DUninterruptibles.java81 public static boolean awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) { in awaitUninterruptibly()
112 public static boolean awaitUninterruptibly(Condition condition, long timeout, TimeUnit unit) { in awaitUninterruptibly()
161 public static void joinUninterruptibly(Thread toJoin, long timeout, TimeUnit unit) { in joinUninterruptibly()
245 Future<V> future, long timeout, TimeUnit unit) throws ExecutionException, TimeoutException { in getUninterruptibly()
320 public static void sleepUninterruptibly(long sleepFor, TimeUnit unit) { in sleepUninterruptibly()
352 Semaphore semaphore, long timeout, TimeUnit unit) { in tryAcquireUninterruptibly()
366 Semaphore semaphore, int permits, long timeout, TimeUnit unit) { in tryAcquireUninterruptibly()
397 public static boolean tryLockUninterruptibly(Lock lock, long timeout, TimeUnit unit) { in tryLockUninterruptibly()
441 ExecutorService executor, long timeout, TimeUnit unit) { in awaitTerminationUninterruptibly()
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Dreldatefmt.cpp134 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString()
147 UDateRelativeUnit unit, in getRelativeUnitFormatter()
169 URelativeDateTimeUnit unit, in getRelativeDateTimeUnitFormatter()
937 UDateRelativeUnit unit, in format()
952 UDateRelativeUnit unit, in formatToValue()
965 UDateRelativeUnit unit, in formatImpl()
1004 URelativeDateTimeUnit unit, in formatNumeric()
1017 URelativeDateTimeUnit unit, in formatNumericToValue()
1028 URelativeDateTimeUnit unit, in formatNumericImpl()
1076 UDateAbsoluteUnit unit, in format()
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Dreldatefmt.cpp134 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString()
147 UDateRelativeUnit unit, in getRelativeUnitFormatter()
169 URelativeDateTimeUnit unit, in getRelativeDateTimeUnitFormatter()
937 UDateRelativeUnit unit, in format()
952 UDateRelativeUnit unit, in formatToValue()
965 UDateRelativeUnit unit, in formatImpl()
1004 URelativeDateTimeUnit unit, in formatNumeric()
1017 URelativeDateTimeUnit unit, in formatNumericToValue()
1028 URelativeDateTimeUnit unit, in formatNumericImpl()
1076 UDateAbsoluteUnit unit, in format()
[all …]
/aosp_15_r20/external/zucchini/
H A Daddress_translator.cc27 const AddressTranslator::Unit* unit = translator_.OffsetToUnit(offset); in Convert() local
44 const AddressTranslator::Unit* unit = translator_.RvaToUnit(rva); in IsValid() local
54 const AddressTranslator::Unit* unit = translator_.RvaToUnit(rva); in Convert() local
86 base::EraseIf(units, [](const Unit& unit) { return unit.IsEmpty(); }); in Initialize()
189 for (const Unit& unit : units) { in Initialize() local
219 const Unit* unit = RvaToUnit(rva); in OffsetToRva() local
224 const Unit* unit = OffsetToUnit(offset); in OffsetToRva() local
229 const Unit* unit = RvaToUnit(rva); in RvaToOffset() local
/aosp_15_r20/packages/services/Telephony/tests/src/com/android/
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()
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DRelativeDateTimeFormatter.java579 public String format(double quantity, Direction direction, RelativeUnit unit) { in format()
600 … FormattedRelativeDateTime formatToValue(double quantity, Direction direction, RelativeUnit unit) { in formatToValue()
606 …rivate FormattedStringBuilder formatImpl(double quantity, Direction direction, RelativeUnit unit) { in formatImpl()
646 public String formatNumeric(double offset, RelativeDateTimeUnit unit) { in formatNumeric()
667 … public FormattedRelativeDateTime formatNumericToValue(double offset, RelativeDateTimeUnit unit) { in formatNumericToValue()
673 private FormattedStringBuilder formatNumericImpl(double offset, RelativeDateTimeUnit unit) { in formatNumericImpl()
720 public String format(Direction direction, AbsoluteUnit unit) { in format()
739 public FormattedRelativeDateTime formatToValue(Direction direction, AbsoluteUnit unit) { in formatToValue()
751 private String formatAbsoluteImpl(Direction direction, AbsoluteUnit unit) { in formatAbsoluteImpl()
788 public String format(double offset, RelativeDateTimeUnit unit) { in format()
[all …]

12345678910>>...187