Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 1627) sorted by relevance

12345678910>>...66

/frameworks/av/media/libaudioclient/tests/
Drecord_test_output_v1.0_ref_walleye.txt6 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 …]
Dtrack_test_output_v1.0_ref_walleye.txt6 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/
DTraceTest.java43 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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs55 private int count = 0; field in Google.Protobuf.Collections.RepeatedField
77 for (int i = 0; i < count; i++) in Clone()
83 clone.count = count; in Clone()
131 if (count == 0) in CalculateSize()
146 int size = count * CodedOutputStream.ComputeRawVarint32Size(tag); in CalculateSize()
147 for (int i = 0; i < count; i++) in CalculateSize()
162 for (int i = 0; i < count; i++) in CalculatePackedDataSize()
182 if (count == 0) in WriteTo()
194 for (int i = 0; i < count; i++) in WriteTo()
203 for (int i = 0; i < count; i++) in WriteTo()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBArray.h49 @property(nonatomic, readonly) NSUInteger count;
54 + (instancetype)arrayWithCapacity:(NSUInteger)count;
59 count:(NSUInteger)count;
61 - (instancetype)initWithCapacity:(NSUInteger)count;
70 - (void)addValues:(const int32_t [])values count:(NSUInteger)count;
89 @property(nonatomic, readonly) NSUInteger count;
94 + (instancetype)arrayWithCapacity:(NSUInteger)count;
99 count:(NSUInteger)count;
101 - (instancetype)initWithCapacity:(NSUInteger)count;
110 - (void)addValues:(const uint32_t [])values count:(NSUInteger)count;
[all …]
DGPBDictionary.h58 @property(nonatomic, readonly) NSUInteger count;
65 count:(NSUInteger)count;
71 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
95 @property(nonatomic, readonly) NSUInteger count;
102 count:(NSUInteger)count;
108 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
132 @property(nonatomic, readonly) NSUInteger count;
139 count:(NSUInteger)count;
145 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
169 @property(nonatomic, readonly) NSUInteger count;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc84 void ArrayInputStream::BackUp(int count) { in BackUp() argument
87 GOOGLE_CHECK_LE(count, last_returned_size_); in BackUp()
88 GOOGLE_CHECK_GE(count, 0); in BackUp()
89 position_ -= count; in BackUp()
93 bool ArrayInputStream::Skip(int count) { in Skip() argument
94 GOOGLE_CHECK_GE(count, 0); in Skip()
96 if (count > size_ - position_) { in Skip()
100 position_ += count; in Skip()
137 void ArrayOutputStream::BackUp(int count) { in BackUp() argument
140 GOOGLE_CHECK_LE(count, last_returned_size_); in BackUp()
[all …]
Dzero_copy_stream_impl.cc94 void FileInputStream::BackUp(int count) { in BackUp() argument
95 impl_.BackUp(count); in BackUp()
98 bool FileInputStream::Skip(int count) { in Skip() argument
99 return impl_.Skip(count); in Skip()
154 int FileInputStream::CopyingFileInputStream::Skip(int count) { in Skip() argument
158 lseek(file_, count, SEEK_CUR) != (off_t)-1) { in Skip()
160 return count; in Skip()
169 return CopyingInputStream::Skip(count); in Skip()
197 void FileOutputStream::BackUp(int count) { in BackUp() argument
198 impl_.BackUp(count); in BackUp()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBTestUtilities.h54 - (void)setAllFields:(TestAllTypes *)message repeatedCount:(uint32_t)count;
57 repeatedCount:(uint32_t)count;
59 repeatedCount:(uint32_t)count;
61 repeatedCount:(uint32_t)count;
63 repeatedCount:(uint32_t)count;
65 repeatedCount:(uint32_t)count;
66 - (void)setAllMapFields:(TestMap *)message numEntries:(uint32_t)count;
68 - (TestAllTypes *)allSetRepeatedCount:(uint32_t)count;
69 - (TestAllExtensions *)allExtensionsSetRepeatedCount:(uint32_t)count;
70 - (TestPackedTypes *)packedSetRepeatedCount:(uint32_t)count;
[all …]
DGPBTestUtilities.m183 repeatedCount:(uint32_t)count {
270 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedInt32Extension]] count]);
271 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedInt64Extension]] count]);
272 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedUint32Extension]] count]);
273 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedUint64Extension]] count]);
274 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSint32Extension]] count]);
275 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSint64Extension]] count]);
276 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFixed32Extension]] count]);
277 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFixed64Extension]] count]);
278 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSfixed32Extension]] count]);
[all …]
DGPBArrayTests.m42 count:(NSUInteger)count;
72 count:1] autorelease];
75 count:(NSUInteger)count {
78 count:count];
97 //% XCTAssertEqual(array.count, 0U);
114 //% XCTAssertEqual(array.count, 1U);
134 //% NAME$S count:GPBARRAYSIZE(kValues)];
136 //% XCTAssertEqual(array.count, 4U);
188 //% NAME$S count:GPBARRAYSIZE(kValues1)];
192 //% NAME$S count:GPBARRAYSIZE(kValues1)];
[all …]
/frameworks/base/core/java/com/android/internal/midi/
DMidiEventScheduler.java39 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/
DHealthStats.java132 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/av/media/mtp/
DMtpDataPacket.cpp36 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/rs/tests/java_api/Refocus/dataExtraction/
Dextract_ave.sh11 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/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DQuickRejectActivity.java55 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/
DAudioBufferProviderSource.cpp49 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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSetLite.java77 int count = first.count + second.count; in mutableCopyOf() local
78 int[] tags = Arrays.copyOf(first.tags, count); in mutableCopyOf()
79 System.arraycopy(second.tags, 0, tags, first.count, second.count); in mutableCopyOf()
80 Object[] objects = Arrays.copyOf(first.objects, count); in mutableCopyOf()
81 System.arraycopy(second.objects, 0, objects, first.count, second.count); in mutableCopyOf()
82 return new UnknownFieldSetLite(count, tags, objects, true /* isMutable */); in mutableCopyOf()
88 private int count; field in UnknownFieldSetLite
120 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() argument
121 this.count = count; in UnknownFieldSetLite()
151 for (int i = 0; i < count; i++) { in writeTo()
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dvalue.cpp48 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/
DGLES31.java526 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/av/camera/ndk/impl/
DACameraMetadata.cpp65 if (entry.count == 0 || entry.type != TYPE_BYTE) { in filterUnsupportedFeatures()
67 __FUNCTION__, entry.count, entry.type); in filterUnsupportedFeatures()
72 capabilities.setCapacity(entry.count); in filterUnsupportedFeatures()
73 for (size_t i = 0; i < entry.count; i++) { in filterUnsupportedFeatures()
98 for (size_t i = 0; i < entry.count; ++i) { in derivePhysicalCameraIds()
122 if (entry.count == 0 || entry.count % 4 || entry.type != TYPE_INT64) { in filterDurations()
124 __FUNCTION__, tag, entry.count, entry.type); in filterDurations()
128 filteredDurations.setCapacity(entry.count * 2); in filterDurations()
130 for (size_t i=0; i < entry.count; i += STREAM_CONFIGURATION_SIZE) { in filterDurations()
208 if (entry.count > 0 && (entry.count % 4 || entry.type != TYPE_INT32)) { in filterStreamConfigurations()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DPrimitiveFormat.java28 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/text/format/
DDateFormat.java430 int count; in format() local
436 for (int i = 0; i < len; i += count) { in format()
437 count = 1; in format()
441 count = appendQuotedText(s, i); in format()
446 while ((i + count < len) && (s.charAt(i + count) == c)) { in format()
447 count++; in format()
457 replacement = zeroPad(inDate.get(Calendar.DATE), count); in format()
462 inDate.get(Calendar.DAY_OF_WEEK), count, c); in format()
471 replacement = zeroPad(hour, count); in format()
484 replacement = zeroPad(hour, count); in format()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderResult.java31 public final Integer count; field in ContentProviderResult
39 public ContentProviderResult(int count) { in ContentProviderResult() argument
40 this(null, count, null); in ContentProviderResult()
49 public ContentProviderResult(Uri uri, Integer count, String failure) { in ContentProviderResult() argument
51 this.count = count; in ContentProviderResult()
62 count = source.readInt(); in ContentProviderResult()
64 count = null; in ContentProviderResult()
76 count = cpr.count; in ContentProviderResult()
88 if (count != null) { in writeToParcel()
90 dest.writeInt(count); in writeToParcel()
[all …]
/frameworks/base/core/java/android/net/metrics/
DNetworkMetrics.java83 pendingSummary.dnsLatencies.count(latencyMs); in addDnsResult()
84 pendingSummary.dnsErrorRate.count(isSuccess ? 0 : 1); in addDnsResult()
93 pendingSummary.connectErrorRate.count(isSuccess ? 0 : 1); in addConnectResult()
95 pendingSummary.connectLatencies.count(latencyMs); in addConnectResult()
104 pendingSummary.tcpLossRate.count(lost, sent); in addTcpStatsResult()
105 pendingSummary.roundTripTimeUs.count(rttUs); in addTcpStatsResult()
106 pendingSummary.sentAckTimeDiffenceMs.count(sentAckDiffMs); in addTcpStatsResult()
152 100 * dnsErrorRate.average(), dnsErrorRate.count)); in toString()
155 100 * connectErrorRate.average(), connectErrorRate.count)); in toString()
157 100 * tcpLossRate.average(), tcpLossRate.count, (int) tcpLossRate.sum)); in toString()
[all …]

12345678910>>...66