Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java225 WspTypeDecoder unit = new WspTypeDecoder( in testWellKnownShortIntegerMimeTypeValues() local
227 assertTrue(unit.decodeContentType(0)); in testWellKnownShortIntegerMimeTypeValues()
228 String mimeType = unit.getValueString(); in testWellKnownShortIntegerMimeTypeValues()
229 int wellKnownValue = (int) unit.getValue32(); in testWellKnownShortIntegerMimeTypeValues()
232 assertEquals(1, unit.getDecodedDataLength()); in testWellKnownShortIntegerMimeTypeValues()
245 WspTypeDecoder unit = new WspTypeDecoder(data); in testWellKnownLongIntegerMimeTypeValues() local
246 assertTrue(unit.decodeContentType(0)); in testWellKnownLongIntegerMimeTypeValues()
247 String mimeType = unit.getValueString(); in testWellKnownLongIntegerMimeTypeValues()
248 int wellKnownValue = (int) unit.getValue32(); in testWellKnownLongIntegerMimeTypeValues()
251 assertEquals(4, unit.getDecodedDataLength()); in testWellKnownLongIntegerMimeTypeValues()
[all …]
DTestExecutorService.java89 public T get(long timeout, TimeUnit unit) in get() argument
99 public long getDelay(TimeUnit unit) { in getDelay() argument
100 if (unit == TimeUnit.MILLISECONDS) { in getDelay()
141 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination() argument
168 TimeUnit unit) { in invokeAll() argument
178 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny() argument
183 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument
185 long scheduledTime = getNextExecutionTime(delay, unit); in schedule()
196 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
202 TimeUnit unit) { in scheduleAtFixedRate() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DRepeatableExecutorImpl.java38 public Runnable executeRepeatedly(Runnable r, long initDelay, long delay, TimeUnit unit) { in executeRepeatedly() argument
39 ExecutionToken token = new ExecutionToken(r, delay, unit); in executeRepeatedly()
40 token.start(initDelay, unit); in executeRepeatedly()
51 ExecutionToken(Runnable r, long delay, TimeUnit unit) { in ExecutionToken() argument
54 mUnit = unit; in ExecutionToken()
68 public void start(long startDelay, TimeUnit unit) { in start() argument
70 mCancel = mExecutor.executeDelayed(this, startDelay, unit); in start()
DExecutorImpl.java44 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed() argument
47 mHandler.sendMessageDelayed(m, unit.toMillis(delay)); in executeDelayed()
53 public Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit) { in executeAtTime() argument
56 mHandler.sendMessageAtTime(m, unit.toMillis(uptimeMillis)); in executeAtTime()
/frameworks/proto_logging/stats/express/catalog/
Dvirtual_devices.cfg6 unit: UNIT_COUNT
14 unit: UNIT_COUNT
22 unit: UNIT_COUNT
30 unit: UNIT_COUNT
38 unit: UNIT_COUNT
46 unit: UNIT_COUNT
54 unit: UNIT_COUNT
62 unit: UNIT_COUNT
70 unit: UNIT_COUNT
78 unit: UNIT_COUNT
[all …]
Djob_scheduler.cfg7 unit: UNIT_COUNT
17 unit: UNIT_COUNT
27 unit: UNIT_COUNT
37 unit: UNIT_COUNT
47 unit: UNIT_COUNT
57 unit: UNIT_COUNT
67 unit: UNIT_COUNT
77 unit: UNIT_COUNT
87 unit: UNIT_COUNT
97 unit: UNIT_COUNT
[all …]
Dbluetooth.cfg10 unit: UNIT_COUNT
20 unit: UNIT_COUNT
30 unit: UNIT_COUNT
40 unit: UNIT_COUNT
50 unit: UNIT_COUNT
59 unit: UNIT_COUNT
68 unit: UNIT_COUNT
77 unit: UNIT_COUNT
86 unit: UNIT_COUNT
95 unit: UNIT_COUNT
Dautomotive_os.cfg7 unit: UNIT_COUNT
23 unit: UNIT_TIME_MILLIS
40 unit: UNIT_TIME_MILLIS
57 unit: UNIT_TIME_MILLIS
74 unit: UNIT_TIME_MILLIS
91 unit: UNIT_COUNT
107 unit: UNIT_TIME_MILLIS
123 unit: UNIT_TIME_MILLIS
139 unit: UNIT_TIME_MILLIS
156 unit: UNIT_TIME_MILLIS
Dwebview.cfg7 unit: UNIT_TIME_MILLIS
24 unit: UNIT_TIME_MILLIS
41 unit: UNIT_COUNT
50 unit: UNIT_COUNT
59 unit: UNIT_COUNT
68 unit: UNIT_COUNT
77 unit: UNIT_COUNT
Dvibrator.cfg10 unit: UNIT_COUNT
22 unit: UNIT_COUNT
34 unit: UNIT_COUNT
46 unit: UNIT_TIME_MILLIS
64 unit: UNIT_COUNT
82 unit: UNIT_COUNT
Dtex_test.cfg13 unit: UNIT_COUNT
23 unit: UNIT_COUNT
40 unit: UNIT_COUNT
58 unit: UNIT_COUNT
75 unit: UNIT_COUNT
84 unit: UNIT_COUNT
Ddevice_lock.cfg12 unit: UNIT_COUNT
23 unit: UNIT_COUNT
34 unit: UNIT_COUNT
45 unit: UNIT_COUNT
56 unit: UNIT_COUNT
67 unit: UNIT_COUNT
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DAndroid.bp50 // MediaSampleReaderNDK unit test
57 // MediaSampleQueue unit test
64 // MediaTrackTranscoder unit test
71 // VideoTrackTranscoder unit test
78 // PassthroughTrackTranscoder unit test
85 // MediaSampleWriter unit test
92 // HDR Transcode unit test
99 // MediaTranscoder unit test
DREADME.md3 #### Transcoder unit tests :
4 To run all transcoder unit tests, run the supplied script from this folder:
10 To run individual unit test modules, use atest:
/frameworks/base/libs/hwui/
DAndroid.bp734 // unit tests
754 "tests/unit/main.cpp",
755 "tests/unit/ABitmapTests.cpp",
756 "tests/unit/AutoBackendTextureReleaseTests.cpp",
757 "tests/unit/CacheManagerTests.cpp",
758 "tests/unit/CanvasContextTests.cpp",
759 "tests/unit/CanvasOpTests.cpp",
760 "tests/unit/CanvasFrontendTests.cpp",
761 "tests/unit/CommonPoolTests.cpp",
762 "tests/unit/DamageAccumulatorTests.cpp",
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DMockScheduledExecutorService.java84 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument
85 Preconditions.checkState(unit == TimeUnit.MILLISECONDS); in schedule()
86 MockScheduledFuture<?> future = new MockScheduledFuture<>(command, delay, unit); in schedule()
92 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
98 TimeUnit unit) { in scheduleAtFixedRate() argument
99 return new MockScheduledFuture<>(command, period, unit); in scheduleAtFixedRate()
104 long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument
129 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination() argument
166 TimeUnit unit) throws InterruptedException { in invokeAll() argument
177 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() argument
[all …]
/frameworks/base/core/proto/android/os/
Dprocrank.proto35 // virtual set size, unit KB
38 // resident set size, unit KB
41 // proportional set size, unit KB
44 // unique set size, unit KB
47 // swap size, unit KB
50 // proportional swap size, unit KB
53 // unique swap size, unit KB
56 // zswap size, unit KB
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DEdgeDetector.kt20 import androidx.compose.ui.unit.Density
21 import androidx.compose.ui.unit.Dp
22 import androidx.compose.ui.unit.IntOffset
23 import androidx.compose.ui.unit.IntSize
24 import androidx.compose.ui.unit.dp
/frameworks/av/media/module/libmediatranscoding/tests/
DAndroid.bp1 // Build the unit tests for libmediatranscoding.
47 // TranscodingClientManager unit test
57 // TranscodingSessionController unit test
67 // AdjustableMaxPriorityQueue unit test
77 // TranscodingLogger unit test
/frameworks/av/media/module/service.mediatranscoding/tests/
DAndroid.bp1 // Build the unit tests for MediaTranscodingService
46 // MediaTranscodingService unit test using simulated transcoder
54 // MediaTranscodingService unit test using real transcoder
62 // MediaTranscodingService unit test related to resource management
/frameworks/base/core/java/android/text/format/
DFormatter.java201 final int unit = ((flags & FLAG_IEC_UNITS) != 0) ? 1024 : 1000; in roundBytes() local
208 mult = unit; in roundBytes()
209 result = result / unit; in roundBytes()
213 mult *= unit; in roundBytes()
214 result = result / unit; in roundBytes()
218 mult *= unit; in roundBytes()
219 result = result / unit; in roundBytes()
223 mult *= unit; in roundBytes()
224 result = result / unit; in roundBytes()
228 mult *= unit; in roundBytes()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAH263Assembler.cpp162 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
164 totalSize += unit->size(); in submitAccessUnit()
172 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
175 unit->data(), unit->size()); in submitAccessUnit()
177 offset += unit->size(); in submitAccessUnit()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DFixedSizeEdgeDetectorTest.kt20 import androidx.compose.ui.unit.Density
21 import androidx.compose.ui.unit.IntOffset
22 import androidx.compose.ui.unit.IntSize
23 import androidx.compose.ui.unit.dp
/frameworks/base/cmds/incident_helper/src/parsers/
DEventLogTagsParser.cpp60 int unit = 0; in Parse() local
62 unit = (int) c; in Parse()
64 unit = toInt(valueDescriptor[2]); in Parse()
66 proto.write(EventLogTag::ValueDescriptor::UNIT, unit); in Parse()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DHibernationStateDiskStoreTest.java143 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument
149 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
155 long period, TimeUnit unit) { in scheduleAtFixedRate() argument
161 long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument
186 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination() argument
213 TimeUnit unit) throws InterruptedException { in invokeAll() argument
224 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() argument

12345678910>>...18