/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 6 format(0x1), channel mask(0x10), channel count(1), sample rate(48000) 7 frame count(4800), req. frame count(4800) 8 notif. frame count(960), req. notif. frame count(2400) 15 format(0x1), channel mask(0x10), channel count(1), sample rate(24000) 16 frame count(4800), req. frame count(4800) 17 notif. frame count(480), req. notif. frame count(2400) 24 format(0x1), channel mask(0x10), channel count(1), sample rate(16000) 25 frame count(4800), req. frame count(4800) 26 notif. frame count(320), req. notif. frame count(2400) 33 format(0x1), channel mask(0x10), channel count(1), sample rate(8000) [all …]
|
D | track_test_output_v1.0_ref_walleye.txt | 6 format(1), channel mask(3), channel count(2) 8 frame count(4800), req. frame count(4800) 9 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0) 11 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000) 17 format(1), channel mask(3), channel count(2) 19 frame count(4800), req. frame count(4800) 20 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0) 22 output(13) AF latency (50) AF frame count(960) AF SampleRate(48000) 28 format(1), channel mask(3), channel count(2) 30 frame count(4800), req. frame count(4800) [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | TraceTest.java | 43 int count = 0; in testNativeTracingFromJava() local 45 count = eMethod(); in testNativeTracingFromJava() 117 int count = 0; in aMethod() local 119 count += bMethod(); in aMethod() 122 count += cMethod(); in aMethod() 125 count += dMethod(ii); in aMethod() 127 return count; in aMethod() 135 int count = 0; in bMethod() local 137 count += cMethod(); in bMethod() 139 return count; in bMethod() [all …]
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | MidiEventScheduler.java | 39 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument 41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend() 54 public int count = 0; field in MidiEventScheduler.MidiEvent 57 private MidiEvent(int count) { in MidiEvent() argument 59 data = new byte[count]; in MidiEvent() 62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument 64 data = new byte[count]; in MidiEvent() 65 System.arraycopy(msg, offset, data, 0, count); in MidiEvent() 66 this.count = count; in MidiEvent() 72 for (int i = 0; i < count; i++) { in toString() [all …]
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStats.java | 132 int count; in HealthStats() local 138 count = in.readInt(); in HealthStats() 139 mTimerKeys = new int[count]; in HealthStats() 140 mTimerCounts = new int[count]; in HealthStats() 141 mTimerTimes = new long[count]; in HealthStats() 142 for (int i=0; i<count; i++) { in HealthStats() 149 count = in.readInt(); in HealthStats() 150 mMeasurementKeys = new int[count]; in HealthStats() 151 mMeasurementValues = new long[count]; in HealthStats() 152 for (int i=0; i<count; i++) { in HealthStats() [all …]
|
/frameworks/rs/tests/java_api/Refocus/dataExtraction/ |
D | extract_ave.sh | 11 count=0 27 if (( count > 0 ));then 28 rNine=$((InitializeSum/count)) 31 rTen=$((UnpackInputImageSum/count)) 34 rZero=$((MarkLayerMaskSum/count)) 37 rOne=$((ComputeLayerMatteBehindFocalDepthSum/count)) 40 rTwo=$((ComputeIntegralImageForLayerBehindFocalDepthSum/count)) 43 rThree=$((FilterLayerBehindFocalDepthSum/count)) 46 rFour=$((updateSharpImageUsingFuzzyImageSum/count)) 49 rFive=$((ComputeLayerMatteInFrontOfFocalDepthSum/count)) [all …]
|
/frameworks/av/media/mtp/ |
D | MtpDataPacket.cpp | 36 ssize_t readExactBytes(int fd, void* buf, size_t count) { in readExactBytes() argument 37 if (count > SSIZE_MAX) { in readExactBytes() 41 while (read_count < count) { in readExactBytes() 42 int result = read(fd, static_cast<int8_t*>(buf) + read_count, count - read_count); in readExactBytes() 49 return read_count == count ? count : -1; in readExactBytes() 123 uint32_t count; in getAInt8() local 124 if (!getUInt32(count)) in getAInt8() 127 for (uint32_t i = 0; i < count; i++) { in getAInt8() 139 uint32_t count; in getAUInt8() local 140 if (!getUInt32(count)) in getAUInt8() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | QuickRejectActivity.java | 55 int count = canvas.getSaveCount(); in onDraw() local 56 Log.d("OpenGLRenderer", "count=" + count); in onDraw() 57 count = canvas.save(); in onDraw() 58 Log.d("OpenGLRenderer", "count after save=" + count); in onDraw() 59 count = canvas.getSaveCount(); in onDraw() 60 Log.d("OpenGLRenderer", "getSaveCount after save=" + count); in onDraw() 62 count = canvas.getSaveCount(); in onDraw() 63 Log.d("OpenGLRenderer", "count after restore=" + count); in onDraw() 70 canvas.restoreToCount(count); in onDraw() 71 count = canvas.getSaveCount(); in onDraw() [all …]
|
/frameworks/av/media/libnbaio/ |
D | AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) in read() argument 55 mBuffer.frameCount = count; in read() 64 if (CC_UNLIKELY(count > available)) { in read() 65 count = available; in read() 69 memcpy(buffer, (char *) mBuffer.raw + (mConsumed * mFrameSize), count * mFrameSize); in read() 70 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { in read() 75 mFramesRead += count; in read() 79 return count; in read() 92 size_t count = total - accumulator; in readVia() local 93 if (CC_UNLIKELY(count == 0)) { in readVia() [all …]
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | value.cpp | 48 result.count = 1; in MakePODValue() 54 Value MakePtrValue(const BASE* values, int count) { in MakePtrValue() argument 57 result.value = malloc(sizeof(BASE) * count); in MakePtrValue() 58 memcpy(result.value, values, sizeof(BASE) * count); in MakePtrValue() 59 result.count = count; in MakePtrValue() 68 value->count = 1; in SetPODValue() 78 int SetPtrValue(Value* value, const BASE* new_values, int count) { in SetPtrValue() argument 81 value->value = malloc(sizeof(BASE) * count); in SetPtrValue() 82 value->count = count; in SetPtrValue() 84 if (value->type == TYPEID && value->count == count) { in SetPtrValue() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES31.java | 526 int count, in glProgramUniform1iv() argument 536 int count, in glProgramUniform1iv() argument 545 int count, in glProgramUniform2iv() argument 555 int count, in glProgramUniform2iv() argument 564 int count, in glProgramUniform3iv() argument 574 int count, in glProgramUniform3iv() argument 583 int count, in glProgramUniform4iv() argument 593 int count, in glProgramUniform4iv() argument 602 int count, in glProgramUniform1uiv() argument 612 int count, in glProgramUniform1uiv() argument [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
D | PrimitiveFormat.java | 28 public static MutableFrameFormat createByteFormat(int count, int target) { in createByteFormat() argument 29 return createFormat(FrameFormat.TYPE_BYTE, count, target); in createByteFormat() 32 public static MutableFrameFormat createInt16Format(int count, int target) { in createInt16Format() argument 33 return createFormat(FrameFormat.TYPE_INT16, count, target); in createInt16Format() 36 public static MutableFrameFormat createInt32Format(int count, int target) { in createInt32Format() argument 37 return createFormat(FrameFormat.TYPE_INT32, count, target); in createInt32Format() 40 public static MutableFrameFormat createFloatFormat(int count, int target) { in createFloatFormat() argument 41 return createFormat(FrameFormat.TYPE_FLOAT, count, target); in createFloatFormat() 44 public static MutableFrameFormat createDoubleFormat(int count, int target) { in createDoubleFormat() argument 45 return createFormat(FrameFormat.TYPE_DOUBLE, count, target); in createDoubleFormat() [all …]
|
/frameworks/base/core/java/android/net/metrics/ |
D | NetworkMetrics.java | 81 pendingSummary.dnsLatencies.count(latencyMs); in addDnsResult() 82 pendingSummary.dnsErrorRate.count(isSuccess ? 0 : 1); in addDnsResult() 91 pendingSummary.connectErrorRate.count(isSuccess ? 0 : 1); in addConnectResult() 93 pendingSummary.connectLatencies.count(latencyMs); in addConnectResult() 102 pendingSummary.tcpLossRate.count(lost, sent); in addTcpStatsResult() 103 pendingSummary.roundTripTimeUs.count(rttUs); in addTcpStatsResult() 104 pendingSummary.sentAckTimeDiffenceMs.count(sentAckDiffMs); in addTcpStatsResult() 148 100 * dnsErrorRate.average(), dnsErrorRate.count)); in toString() 151 100 * connectErrorRate.average(), connectErrorRate.count)); in toString() 153 100 * tcpLossRate.average(), tcpLossRate.count, (int) tcpLossRate.sum)); in toString() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 229 public int read(byte[] buffer, int offset, int count) throws IOException { in read() argument 232 if (count > mRemaining) count = (int) mRemaining; in read() 233 int res = super.read(buffer, offset, count); in read() 238 return super.read(buffer, offset, count); in read() 247 public long skip(long count) throws IOException { in skip() argument 250 if (count > mRemaining) count = mRemaining; in skip() 251 long res = super.skip(count); in skip() 256 return super.skip(count); in skip() 304 public void write(byte[] buffer, int offset, int count) throws IOException { in write() argument 307 if (count > mRemaining) count = (int) mRemaining; in write() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 108 if (entry.count == 0 || entry.type != TYPE_BYTE) { in filterUnsupportedFeatures() 110 __FUNCTION__, entry.count, entry.type); in filterUnsupportedFeatures() 115 capabilities.setCapacity(entry.count); in filterUnsupportedFeatures() 116 for (size_t i = 0; i < entry.count; i++) { in filterUnsupportedFeatures() 141 for (size_t i = 0; i < entry.count; ++i) { in derivePhysicalCameraIds() 167 if (entry.count == 0) { in filterDurations() 172 if (entry.count % 4 || entry.type != TYPE_INT64) { in filterDurations() 174 __FUNCTION__, tag, entry.count, entry.type); in filterDurations() 179 filteredDurations.setCapacity(entry.count * 2); in filterDurations() 181 for (size_t i=0; i < entry.count; i += STREAM_CONFIGURATION_SIZE) { in filterDurations() [all …]
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 494 int count; in format() local 501 for (int i = 0; i < len; i += count) { in format() 502 count = 1; in format() 506 count = appendQuotedText(s, i); in format() 511 while ((i + count < len) && (s.charAt(i + count) == c)) { in format() 512 count++; in format() 522 replacement = zeroPad(inDate.get(Calendar.DATE), count); in format() 527 inDate.get(Calendar.DAY_OF_WEEK), count, c); in format() 536 replacement = zeroPad(hour, count); in format() 549 replacement = zeroPad(hour, count); in format() [all …]
|
/frameworks/av/media/img_utils/src/ |
D | EndianUtils.cpp | 48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { in write() argument 50 if((res = mOutput->write(buf, offset, count)) == OK) { in write() 51 mOffset += count; in write() 56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { in write() argument 57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count); in write() 61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \ 62 return writeHelper<_type_>(buf, offset, count); \ 72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { in DEFINE_WRITE() 74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count); in DEFINE_WRITE() 77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { in write() argument [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/ |
D | UserUsageStatsServiceTest.java | 170 int count = 0; in testQueryEarliestEventsForPackage() local 172 count++; in testQueryEarliestEventsForPackage() 180 assertEquals(2, count); in testQueryEarliestEventsForPackage() 207 int count = 0; in testQueryEarliestEventsForPackage_Caching() local 209 count++; in testQueryEarliestEventsForPackage_Caching() 217 assertEquals(2, count); in testQueryEarliestEventsForPackage_Caching() 225 count = 0; in testQueryEarliestEventsForPackage_Caching() 227 count++; in testQueryEarliestEventsForPackage_Caching() 235 assertEquals(2, count); in testQueryEarliestEventsForPackage_Caching() 245 count = 0; in testQueryEarliestEventsForPackage_Caching() [all …]
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiReceiver.java | 61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument 103 public void send(byte[] msg, int offset, int count) throws IOException { in send() argument 105 send(msg, offset, count, 0L); in send() 123 public void send(byte[] msg, int offset, int count, long timestamp) in send() argument 126 while (count > 0) { in send() 127 int length = (count > messageSize ? messageSize : count); in send() 130 count -= length; in send()
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 187 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) in readBytes() argument 192 mMapping.get(buffer, destOffset, count); in readBytes() 196 return count; in readBytes() 209 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) in writeBytes() argument 214 mMapping.put(buffer, srcOffset, count); in writeBytes() 289 public int read(byte buffer[], int offset, int count) throws IOException { in read() argument 290 if (offset < 0 || count < 0 || offset + count > buffer.length) { in read() 295 count = Math.min(count, available()); in read() 296 if (count < 1) { in read() 299 int result = readBytes(buffer, mOffset, offset, count); in read() [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | api.cpp | 74 VkResult Parse(const char* const* names, uint32_t count) { in Parse() argument 82 if (!arr.count) in Parse() 85 names_ = AllocateNameArray(arr.count + count); in Parse() 90 for (uint32_t i = 0; i < arr.count; i++) in Parse() 93 name_count_ = arr.count; in Parse() 96 for (uint32_t i = 0; i < count; i++) { in Parse() 120 uint32_t count; member 136 if (implicit_layers_.count <= 0) { in AddImplicitLayers() 142 std::sort(arr.elements, arr.elements + arr.count, in AddImplicitLayers() 225 auto& layer = arr.elements[arr.count++]; in AddImplicitLayer() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderResult.java | 37 public final @Nullable Integer count; field in ContentProviderResult 45 public ContentProviderResult(int count) { in ContentProviderResult() argument 46 this(null, count, null, null); in ContentProviderResult() 58 public ContentProviderResult(Uri uri, Integer count, Bundle extras, Throwable exception) { in ContentProviderResult() argument 60 this.count = count; in ContentProviderResult() 72 count = source.readInt(); in ContentProviderResult() 74 count = null; in ContentProviderResult() 91 count = cpr.count; in ContentProviderResult() 104 if (count != null) { in writeToParcel() 106 dest.writeInt(count); in writeToParcel() [all …]
|
/frameworks/base/core/jni/ |
D | android_text_AndroidCharacter.cpp | 56 jbyteArray destArray, jint count) in getDirectionalities() argument 67 if (env->GetArrayLength(srcArray) < count || env->GetArrayLength(destArray) < count) { in getDirectionalities() 72 for (int i = 0; i < count; i++) { in getDirectionalities() 74 i + 1 < count && in getDirectionalities() 109 jint start, jint count, jbyteArray destArray) in getEastAsianWidths() argument 120 if (start < 0 || start > start + count in getEastAsianWidths() 121 || env->GetArrayLength(srcArray) < (start + count) in getEastAsianWidths() 122 || env->GetArrayLength(destArray) < count) { in getEastAsianWidths() 128 for (int i = 0; i < count; i++) { in getEastAsianWidths() 131 i + 1 < count && in getEastAsianWidths() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RpmStats.java | 36 String name, long timeMs, int count) { in getAndUpdatePlatformState() argument 44 e.mCount = count; in getAndUpdatePlatformState() 65 private PowerStateElement(long timeMs, int count) { in PowerStateElement() argument 67 this.mCount = count; in PowerStateElement() 82 public void putVoter(String name, long timeMs, int count) { in putVoter() argument 85 mVoters.put(name, new PowerStateElement(timeMs, count)); in putVoter() 88 e.mCount = count; in putVoter() 102 public void putState(String name, long timeMs, int count) { in putState() argument 105 mStates.put(name, new PowerStateElement(timeMs, count)); in putState() 108 e.mCount = count; in putState()
|
/frameworks/native/libs/ui/include_private/ui/ |
D | RegionHelper.h | 48 size_t count; member 52 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) {} in region() 53 inline region(RECT const* _r, size_t _c) : rects(_r), count(_c), dx(), dy() {} in region() 55 : rects(_r), count(_c), dx(_dx), dy(_dy) {} in region() 152 if (lhs.count) { in Spanner() 156 if (rhs.count) { in Spanner() 162 inline bool isDone() const { return !rhs.count && !lhs.count; } in isDone() 180 size_t count = reg.count; in advance() local 182 RECT const* const end = rects + count; in advance() 186 count--; in advance() [all …]
|