Searched refs:samples (Results 1 - 5 of 5) sorted by relevance

/system/core/metricsd/uploader/
H A Dmetrics_log_base_unittest.cc92 base::SampleVector samples(&ranges);
93 samples.Accumulate(3, 1); // Bucket 1-5.
94 samples.Accumulate(6, 1); // Bucket 5-7.
95 samples.Accumulate(8, 1); // Bucket 8-9. (7-8 skipped)
96 samples.Accumulate(10, 1); // Bucket 10-11. (9-10 skipped)
97 samples.Accumulate(11, 1); // Bucket 11-12.
100 log.RecordHistogramDelta("Test", samples);
106 // Buckets with samples: 1-5, 5-7, 8-9, 10-11, 11-12.
/system/extras/memcpy-perf/
H A Dmemcpy-perf.cpp15 const size_t samples = 2048; variable
52 double pow_inc = (end_pow - start_pow) / samples;
/system/extras/tests/workloads/
H A Dpwrtest.sh126 # samples = hz * 60 * minutes
127 ((samples=5*60*collectmin))
128 monsoon.par --timestamp --samples $samples --hz 5
167 # take off the first 2min of samples
/system/media/audio_utils/
H A Dprimitives.c295 size_t nonZeroMono32(const int32_t *samples, size_t count) argument
299 if (*samples++ != 0) {
306 size_t nonZeroMono16(const int16_t *samples, size_t count) argument
310 if (*samples++ != 0) {
412 * C macro to do copying by index array, to rearrange samples
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.h37 * Dither and clamp pairs of 32-bit input samples (sums) to 16-bit output samples (out).
45 * and out is an array of interleaved pairs of 16-bit samples per channel.
46 * For mono, c is the number of samples / 2, and out is an array of 16-bit samples.
55 * Expand and copy samples from unsigned 8-bit offset by 0x80 to signed 16-bit.
59 * \param count Number of samples to copy
67 * Shrink and copy samples from signed 16-bit to unsigned 8-bit offset by 0x80.
71 * \param count Number of samples to copy
80 * Copy samples fro
[all...]

Completed in 133 milliseconds