/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | Wap230WspContentTypeTest.java | 225 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 …]
|
D | TestExecutorService.java | 89 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/ |
D | RepeatableExecutorImpl.java | 38 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()
|
D | ExecutorImpl.java | 44 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()
|
D | DelayableExecutor.java | 44 Runnable executeDelayed(Runnable r, long delay, TimeUnit unit); in executeDelayed() argument 64 Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit); in executeAtTime() argument
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
D | Android.bp | 50 // 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
|
D | README.md | 3 #### 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/ |
D | Android.bp | 656 // unit tests 675 "tests/unit/main.cpp", 676 "tests/unit/ABitmapTests.cpp", 677 "tests/unit/CacheManagerTests.cpp", 678 "tests/unit/CanvasContextTests.cpp", 679 "tests/unit/CanvasOpTests.cpp", 680 "tests/unit/CanvasFrontendTests.cpp", 681 "tests/unit/CommonPoolTests.cpp", 682 "tests/unit/DamageAccumulatorTests.cpp", 683 "tests/unit/DeferredLayerUpdaterTests.cpp", [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | MockScheduledExecutorService.java | 84 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/ |
D | procrank.proto | 35 // 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/av/media/libmediatranscoding/tests/ |
D | Android.bp | 1 // Build the unit tests for libmediatranscoding. 47 // TranscodingClientManager unit test 57 // TranscodingSessionController unit test 67 // AdjustableMaxPriorityQueue unit test 77 // TranscodingLogger unit test
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 126 final int unit = ((flags & FLAG_IEC_UNITS) != 0) ? 1024 : 1000; in formatBytes() local 133 mult = unit; in formatBytes() 134 result = result / unit; in formatBytes() 138 mult *= unit; in formatBytes() 139 result = result / unit; in formatBytes() 143 mult *= unit; in formatBytes() 144 result = result / unit; in formatBytes() 148 mult *= unit; in formatBytes() 149 result = result / unit; in formatBytes() 153 mult *= unit; in formatBytes() [all …]
|
/frameworks/av/services/mediatranscoding/tests/ |
D | Android.bp | 1 // Build the unit tests for MediaTranscodingService 49 // MediaTranscodingService unit test using simulated transcoder 57 // MediaTranscodingService unit test using real transcoder 65 // MediaTranscodingService unit test related to resource management
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AH263Assembler.cpp | 162 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()
|
D | AHEVCAssembler.cpp | 392 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() local 393 memcpy(unit->data(), &data[2], nalSize); in addSingleTimeAggregationPacket() 395 CopyTimes(unit, buffer); in addSingleTimeAggregationPacket() 397 addSingleNALUnit(unit); in addSingleTimeAggregationPacket() 533 sp<ABuffer> unit = new ABuffer(totalSize); in addFragmentedNALUnit() local 534 CopyTimes(unit, *queue->begin()); in addFragmentedNALUnit() 536 unit->data()[0] = (nalType << 1); in addFragmentedNALUnit() 537 unit->data()[1] = tid; in addFragmentedNALUnit() 550 memcpy(unit->data() + offset, buffer->data() + 3, buffer->size() - 3); in addFragmentedNALUnit() 557 unit->setRange(0, totalSize); in addFragmentedNALUnit() [all …]
|
D | AAVCAssembler.cpp | 392 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() local 393 memcpy(unit->data(), &data[2], nalSize); in addSingleTimeAggregationPacket() 395 CopyTimes(unit, buffer); in addSingleTimeAggregationPacket() 397 addSingleNALUnit(unit); in addSingleTimeAggregationPacket() 520 sp<ABuffer> unit = new ABuffer(totalSize); in addFragmentedNALUnit() local 521 CopyTimes(unit, *queue->begin()); in addFragmentedNALUnit() 523 unit->data()[0] = (nri << 5) | nalType; in addFragmentedNALUnit() 537 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2); in addFragmentedNALUnit() 546 unit->setRange(0, totalSize); in addFragmentedNALUnit() 549 unit->meta()->setInt32("cvo", cvo); in addFragmentedNALUnit() [all …]
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | EventLogTagsParser.cpp | 60 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/ |
D | HibernationStateDiskStoreTest.java | 143 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
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/ |
D | Padding.kt | 27 import androidx.compose.ui.unit.Constraints 28 import androidx.compose.ui.unit.Density 29 import androidx.compose.ui.unit.constrainHeight 30 import androidx.compose.ui.unit.constrainWidth 31 import androidx.compose.ui.unit.offset
|
D | Size.kt | 30 import androidx.compose.ui.unit.Constraints in <lambda>() 31 import androidx.compose.ui.unit.Density in <lambda>() 32 import androidx.compose.ui.unit.constrain in <lambda>() 33 import androidx.compose.ui.unit.constrainHeight in <lambda>() 34 import androidx.compose.ui.unit.constrainWidth in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/ |
D | FakeExecutor.java | 145 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed() argument 149 return executeAtTime(r, mClock.uptimeMillis() + unit.toMillis(delay)); in executeDelayed() 153 public Runnable executeAtTime(Runnable r, long uptime, TimeUnit unit) { in executeAtTime() argument 154 long uptimeMillis = unit.toMillis(uptime); in executeAtTime()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubServiceTransaction.java | 118 /* package */ long getTimeout(TimeUnit unit) { in getTimeout() argument 121 return unit.convert(30L, TimeUnit.SECONDS); in getTimeout() 128 return unit.convert(5L, TimeUnit.SECONDS); in getTimeout()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 140 final RelativeUnit unit; in formatRelativeTime() local 145 unit = RelativeUnit.MINUTES; in formatRelativeTime() 149 unit = RelativeUnit.HOURS; in formatRelativeTime() 153 unit = RelativeUnit.DAYS; in formatRelativeTime() 165 return formatter.format(value, RelativeDateTimeFormatter.Direction.LAST, unit); in formatRelativeTime()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/ |
D | testing.md | 7 New WM Shell unit tests can be added to the 17 These unit tests are run as a part of WindowManager presubmit, and the dashboards for these unit 20 This [GCL file](http://go/wm-unit-tests-gcl) configures the tests being run on the server.
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | Android.bp | 1 // Build the unit tests for libaudioprocessing 37 // resampler unit test 94 // mixerops unit test
|