/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 …]
|
/frameworks/base/libs/hwui/ |
D | Android.bp | 282 // unit tests 302 "tests/unit/main.cpp", 303 "tests/unit/CacheManagerTests.cpp", 304 "tests/unit/CanvasContextTests.cpp", 305 "tests/unit/CommonPoolTests.cpp", 306 "tests/unit/DamageAccumulatorTests.cpp", 307 "tests/unit/DeferredLayerUpdaterTests.cpp", 308 "tests/unit/FatVectorTests.cpp", 309 "tests/unit/GpuMemoryTrackerTests.cpp", 310 "tests/unit/GraphicsStatsServiceTests.cpp", [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/base/core/java/android/text/format/ |
D | Formatter.java | 125 final int unit = ((flags & FLAG_IEC_UNITS) != 0) ? 1024 : 1000; in formatBytes() local 132 mult = unit; in formatBytes() 133 result = result / unit; in formatBytes() 137 mult *= unit; in formatBytes() 138 result = result / unit; in formatBytes() 142 mult *= unit; in formatBytes() 143 result = result / unit; in formatBytes() 147 mult *= unit; in formatBytes() 148 result = result / unit; in formatBytes() 152 mult *= unit; in formatBytes() [all …]
|
D | RelativeDateTimeFormatter.java | 145 android.icu.text.RelativeDateTimeFormatter.RelativeUnit unit; in getRelativeTimeSpanString() local 150 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.SECONDS; in getRelativeTimeSpanString() 153 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.MINUTES; in getRelativeTimeSpanString() 159 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.HOURS; in getRelativeTimeSpanString() 162 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.DAYS; in getRelativeTimeSpanString() 201 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.WEEKS; in getRelativeTimeSpanString() 229 return formatter.format(count, direction, unit); in getRelativeTimeSpanString()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AAVCAssembler.cpp | 162 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() local 163 memcpy(unit->data(), &data[2], nalSize); in addSingleTimeAggregationPacket() 165 CopyTimes(unit, buffer); in addSingleTimeAggregationPacket() 167 addSingleNALUnit(unit); in addSingleTimeAggregationPacket() 287 sp<ABuffer> unit = new ABuffer(totalSize); in addFragmentedNALUnit() local 288 CopyTimes(unit, *queue->begin()); in addFragmentedNALUnit() 290 unit->data()[0] = (nri << 5) | nalType; in addFragmentedNALUnit() 302 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2); in addFragmentedNALUnit() 308 unit->setRange(0, totalSize); in addFragmentedNALUnit() 310 addSingleNALUnit(unit); in addFragmentedNALUnit()
|
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()
|
/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/core/java/com/android/server/location/ |
D | ContextHubServiceTransaction.java | 100 /* package */ long getTimeout(TimeUnit unit) { in getTimeout() argument 103 return unit.convert(30L, TimeUnit.SECONDS); in getTimeout() 110 return unit.convert(5L, TimeUnit.SECONDS); in getTimeout()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 127 final RelativeUnit unit; in formatRelativeTime() local 132 unit = RelativeUnit.MINUTES; in formatRelativeTime() 136 unit = RelativeUnit.HOURS; in formatRelativeTime() 140 unit = RelativeUnit.DAYS; in formatRelativeTime() 152 return formatter.format(value, RelativeDateTimeFormatter.Direction.LAST, unit); in formatRelativeTime()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 531 int unit; field in ResourceHelper.UnitEntry 534 UnitEntry(String name, int type, int unit, float scale) { in UnitEntry() argument 537 this.unit = unit; in UnitEntry() 693 for (UnitEntry unit : sUnitNames) { 694 if (unit.name.equals(str)) { 695 applyUnit(unit, outValue, outScale); 703 private static void applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) { 704 outValue.type = unit.type; 707 outValue.data = unit.unit << TypedValue.COMPLEX_UNIT_SHIFT; 708 outScale[0] = unit.scale;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CaptureCollector.java | 318 TimeUnit unit) in queueRequest() argument 321 long nanos = unit.toNanos(timeout); in queueRequest() 373 public boolean waitForEmpty(long timeout, TimeUnit unit) throws InterruptedException { in waitForEmpty() argument 374 long nanos = unit.toNanos(timeout); in waitForEmpty() 398 public boolean waitForPreviewsEmpty(long timeout, TimeUnit unit) throws InterruptedException { in waitForPreviewsEmpty() argument 399 long nanos = unit.toNanos(timeout); in waitForPreviewsEmpty() 430 public boolean waitForRequestCompleted(RequestHolder holder, long timeout, TimeUnit unit, in waitForRequestCompleted() argument 433 long nanos = unit.toNanos(timeout); in waitForRequestCompleted()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | RefocusFilter.java | 35 public void logTiming(String implementation, String phase, long time, String unit) { in logTiming() argument 36 timings.add(Pair.create(phase + " (" + unit + ")", Long.valueOf(time))); in logTiming() 37 Log.d(implementation, phase + ":" + time + " " + unit); in logTiming()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | Android.bp | 1 // Build the unit tests for libaudioprocessing 28 // resampler unit test
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingReconsideration.java | 64 public long getDelay(TimeUnit unit) { in getDelay() argument 65 return unit.convert(mDelay, TimeUnit.MILLISECONDS); in getDelay()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectParameter.java | 35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { in EffectParameter() argument 40 mUnit = unit; in EffectParameter()
|
/frameworks/base/packages/Tethering/tests/unit/ |
D | Android.bp | 17 // Tests in this folder are included both in unit tests and CTS. 72 // Library containing the unit tests. This is used by the coverage test target to pull in the 73 // unit test code. It is not currently used by the tests themselves because all the build
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BroadcastInterceptingContext.java | 58 public abstract void assertNotReceived(long timeout, TimeUnit unit) in assertNotReceived() argument 101 public void assertNotReceived(long timeout, TimeUnit unit) in assertNotReceived() argument 104 final Intent intent = get(timeout, unit); in assertNotReceived()
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.h | 45 int64_t TimeUnitToBucketSizeInMillisGuardrailed(int uid, TimeUnit unit); 48 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit);
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingSessionCallback.java | 291 public CameraCaptureSession get(long timeout, TimeUnit unit) throws TimeoutException { in get() argument 292 long timeoutMs = unit.convert(timeout, TimeUnit.MILLISECONDS); in get() 295 "Failed to receive session after " + timeout + " " + unit); in get()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDualTileLabel.java | 129 public void setTextSize(int unit, float size) { in setTextSize() argument 130 mFirstLine.setTextSize(unit, size); in setTextSize() 131 mSecondLine.setTextSize(unit, size); in setTextSize()
|
/frameworks/base/media/java/android/media/ |
D | TtmlRenderer.java | 153 String unit = matcher.group(2); in parseTimeExpression() local 154 if (unit.equals("h")) { in parseTimeExpression() 156 } else if (unit.equals("m")) { in parseTimeExpression() 158 } else if (unit.equals("s")) { in parseTimeExpression() 160 } else if (unit.equals("ms")) { in parseTimeExpression() 162 } else if (unit.equals("f")) { in parseTimeExpression() 164 } else if (unit.equals("t")) { in parseTimeExpression()
|
/frameworks/native/services/surfaceflinger/EventLog/ |
D | EventLogTags.logtags | 16 # (<name>|data type[|data unit]) 25 # The data unit is a number taken from the following list:
|
/frameworks/av/media/utils/ |
D | EventLogTags.logtags | 16 # (<name>|data type[|data unit]) 25 # The data unit is a number taken from the following list:
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerMethodUnderTest.java | 17 package com.android.mediaframeworktest.unit;
|