/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 | 288 // unit tests 308 "tests/unit/main.cpp", 309 "tests/unit/CacheManagerTests.cpp", 310 "tests/unit/CanvasContextTests.cpp", 311 "tests/unit/CommonPoolTests.cpp", 312 "tests/unit/DamageAccumulatorTests.cpp", 313 "tests/unit/DeferredLayerUpdaterTests.cpp", 314 "tests/unit/FatVectorTests.cpp", 315 "tests/unit/GpuMemoryTrackerTests.cpp", 316 "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 …]
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | arith.js | 238 var unit = new jspb.arith.UInt64(1, 0); 243 unit = unit.leftShift(); 247 while (!unit.zero()) { 251 quotient = quotient.add(unit); 256 unit = unit.rightShift();
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ |
D | Gemfile.lock | 15 test-unit (3.0.9) 27 test-unit
|
/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/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/av/media/libaudioprocessing/tests/ |
D | Android.bp | 1 // Build the unit tests for libaudioprocessing 23 // 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/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/base/tools/preload2/src/com/android/preload/ |
D | DeviceUtils.java | 65 public static void doShell(IDevice device, String cmdline, long timeout, TimeUnit unit) { in doShell() argument 66 doShell(device, cmdline, new NullShellOutputReceiver(), timeout, unit); in doShell() 73 TimeUnit unit) { in doShellReturnString() argument 75 doShell(device, cmdline, rec, timeout, unit); in doShellReturnString() 83 long timeout, TimeUnit unit) { in doShell() argument 85 device.executeShellCommand(cmdline, receiver, timeout, unit); in doShell()
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackBroadcastReceiver.java | 61 Intent poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 62 return mRollbackBroadcasts.poll(timeout, unit); in poll()
|
/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/cmds/statsd/src/ |
D | stats_log_util.h | 45 int64_t TimeUnitToBucketSizeInMillisGuardrailed(int uid, TimeUnit unit); 48 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit);
|
/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/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/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaRecorderMethodUnderTest.java | 17 package com.android.mediaframeworktest.unit;
|
D | MediaPlayerMethodUnderTest.java | 17 package com.android.mediaframeworktest.unit;
|