/frameworks/av/services/audioflinger/ |
AudioResamplerFirProcess.h | 24 /* variant for input type TI = int16_t input samples */ 27 void mac(int32_t& l, int32_t& r, TC coef, const int16_t* samples) 29 uint32_t rl = *reinterpret_cast<const uint32_t*>(samples); 36 void mac(int32_t& l, TC coef, const int16_t* samples) 38 l = mulAdd(samples[0], coef, l); 41 /* variant for input type TI = float input samples */ 44 void mac(float& l, float& r, TC coef, const float* samples) 46 l += *samples++ * coef; 47 r += *samples * coef; 52 void mac(float& l, TC coef, const float* samples) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
DerivedCollectionGenerators.java | 57 public SampleElements<Map.Entry<K, V>> samples() { method in class:DerivedCollectionGenerators.MapEntrySetGenerator 58 return mapGenerator.samples(); 101 private final SampleElements<K> samples; field in class:DerivedCollectionGenerators.MapKeySetGenerator 108 this.mapGenerator.samples(); 109 this.samples = new SampleElements<K>( 118 public SampleElements<K> samples() { method in class:DerivedCollectionGenerators.MapKeySetGenerator 119 return samples; 154 V v = ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).samples().e0.getValue(); 214 private final SampleElements<V> samples; field in class:DerivedCollectionGenerators.MapValueCollectionGenerator 221 this.mapGenerator.samples(); 231 public SampleElements<V> samples() { method in class:DerivedCollectionGenerators.MapValueCollectionGenerator 316 public SampleElements<Entry<K, V>> samples() { method in class:DerivedCollectionGenerators.ForwardingTestMapGenerator 358 SampleElements<E> samples = delegate.samples(); local 378 public SampleElements<E> samples() { method in class:DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator 484 SampleElements<Entry<K, V>> samples = delegate.samples(); local [all...] |
TestCollidingSetGenerator.java | 33 public SampleElements<Object> samples() { method in class:TestCollidingSetGenerator
|
/external/deqp/modules/gles3/performance/ |
es3pBufferDataUploadTests.cpp | 668 SingleOperationStatistics calculateSingleOperationStatistics (const std::vector<T>& samples, deUint64 T::SampleType::*target) 671 std::vector<deUint64> values(samples.size()); 673 for (int ndx = 0; ndx < (int)samples.size(); ++ndx) 674 values[ndx] = samples[ndx].duration.*target; 688 void calculateBasicStatistics (StatisticsType& stats, const LineParametersWithConfidence& fit, const std::vector<SampleType>& samples, int SampleType::*predictor) 690 std::vector<deUint64> values(samples.size()); 692 for (int ndx = 0; ndx < (int)samples.size(); ++ndx) 693 values[ndx] = samples[ndx].duration.fitResponseDuration; 697 std::vector<float> processingRates(samples.size()); 699 for (int ndx = 0; ndx < (int)samples.size(); ++ndx [all...] |
/external/deqp/modules/gles3/functional/ |
es3fInternalFormatQueryTests.cpp | 70 std::vector<GLint> samples; 71 samples.resize(sampleCounts, -1); 72 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_SAMPLES, sampleCounts, &samples[0]); 77 for (size_t ndx = 0; ndx < samples.size(); ++ndx, prevSampleCount = sampleCount) 79 sampleCount = samples[ndx]; 89 // samples must be ordered descending 102 // the maximum value in SAMPLES is guaranteed to be at least the value of MAX_SAMPLES 109 const GLint maximumFormatSampleCount = samples[0]; 112 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected maximum value in SAMPLES (" << maximumFormatSampleCount << ") to be at least the value of MAX_SAMPLES (" << maxSamples << ")" << TestLog::EndMessage; 231 addChild(new SamplesCase(m_context, (std::string(internalFormat.name) + "_samples").c_str(), "SAMPLES and NUM_SAMPLE_COUNTS", internalFormat.format, internalFormat.isIntegerFormat)) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListSetTester.java | 44 doTestSet(samples.e3); 63 doTestSet(samples.e3); 80 getList().set(-1, samples.e3); 91 getList().set(index, samples.e3); 102 getList().set(aValidIndex(), samples.e3); 113 getList().set(0, samples.e3);
|
MapEntrySetTester.java | 58 assertEquals(samples.e0, entryItr.next()); 61 assertFalse(entrySet.contains(samples.e0)); 66 .entrySet().contains(Helpers.mapEntry(IncomparableType.INSTANCE, samples.e0.getValue()))); 71 .entrySet().contains(Helpers.mapEntry(samples.e0.getKey(), IncomparableType.INSTANCE))); 77 .entrySet().contains(Helpers.mapEntry(null, samples.e0.getValue()))); 91 .entrySet().contains(Helpers.mapEntry(samples.e0.getKey(), null)));
|
CollectionContainsTester.java | 42 collection.contains(samples.e0)); 47 collection.contains(samples.e3)); 67 collection.contains(samples.e3));
|
ListAddTester.java | 45 assertTrue("add(present) should return true", getList().add(samples.e0)); 46 expectAdded(samples.e0); 57 getList().add(samples.e0);
|
MapContainsKeyTester.java | 41 getMap().containsKey(samples.e0.getKey())); 46 getMap().containsKey(samples.e3.getKey())); 66 getMap().containsKey(samples.e3.getKey()));
|
CollectionContainsAllTester.java | 52 collection.containsAll(MinimalCollection.of(samples.e0))); 68 collection.containsAll(MinimalCollection.of(samples.e0, samples.e3))); 73 collection.containsAll(MinimalCollection.of(samples.e3)));
|
/cts/apps/CameraITS/tests/scene0/ |
test_gyro_bias.py | 32 # Number of samples averaged together, in the plot. 57 # Group samples into size-N groups and average each together, to get rid 68 pylab.ylabel("Gyro readings (mean of %d samples)"%(N)) 72 for samples in [xs,ys,zs]: 73 assert(samples.mean() < MEAN_THRESH) 74 assert(numpy.var(samples) < VAR_THRESH)
|
/cts/suite/audio_quality/test_description/processing/ |
calc_delay.py | 38 returns delay between data0 and data1 in number of samples in data0's point of view""" 67 samples = float(samplingRate) * float(durationInSec) variable 68 index = np.linspace(0.0, samples, num=samples, endpoint=False)
|
calc_thd.py | 52 samples = float(samplingRate) * float(durationInSec) variable 53 index = np.linspace(0.0, samples, num=samples, endpoint=False)
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
MultisetCountTester.java | 39 0, getMultiset().count(samples.e3)); 45 1, getMultiset().count(samples.e0)); 52 3, getMultiset().count(samples.e0));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
ListAddTester.java | 43 assertTrue("add(present) should return true", getList().add(samples.e0)); 44 expectAdded(samples.e0); 55 getList().add(samples.e0);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetCountTester.java | 45 0, getMultiset().count(samples.e3)); 51 1, getMultiset().count(samples.e0)); 58 3, getMultiset().count(samples.e0));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
SilenceTrackImpl.java | 19 List<ByteBuffer> samples = new LinkedList<ByteBuffer>(); field in class:SilenceTrackImpl 31 samples.add((ByteBuffer) ByteBuffer.wrap(new byte[]{ 75 return samples;
|
/ndk/build/tools/ |
dev-cleanup.sh | 38 rm -rf $DIR/samples 96 for PROJECT in $DIR/samples/*; do 99 for PROJECT in $DIR/platforms/android-*/samples/*; do
|
/cts/suite/audio_quality/lib/src/task/ |
TaskSound.cpp | 82 int samples = time * AudioHardware::ESampleRate_44100 / 1000; local 84 AudioHardware::ESampleRate_44100, freq, samples, true); 92 int samples = time * AudioHardware::ESampleRate_44100 / 1000; local 94 samples, true);
|
/external/flac/libFLAC/include/private/ |
stream_encoder_framing.h | 44 FLAC__bool FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_fbo.h | 74 st_new_renderbuffer_fb(enum pipe_format format, int samples, boolean sw);
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/ |
EchoSocketSample.java | 1 package fi.iki.elonen.samples.echo;
|
/external/skia/bin/ |
ac | 7 SAMPLES=100 18 platform_tools/android/bin/android_run_skia -t Release nanobench $@ --skps /data/local/tmp/skps -i /data/local/tmp/resources --samples $SAMPLES -v > $CLEAN.log 24 platform_tools/android/bin/android_run_skia -t Release nanobench $@ --skps /data/local/tmp/skps -i /data/local/tmp/resources --samples $SAMPLES -v > $BRANCH.log
|
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
BigEditTextActivityNonScrollablePanScanTests.java | 17 package com.android.imftest.samples;
|