/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
ManyEditTextActivityBaseTestCase.java | 17 package com.android.imftest.samples;
|
/cts/suite/audio_quality/lib/src/ |
BuiltinProcessing.cpp | 56 size_t samples = data->getSize()/2; local 59 for (size_t i = 0; i < samples; i++) { 62 rms = (int64_t)sqrt(energy/samples);
|
/external/chromium_org/chrome/browser/chromeos/net/ |
network_portal_detector_test_utils.cc | 45 scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); local 46 if (!samples.get()) { 49 << "for which samples do not exist."; 58 const int actual = samples->GetCount(i) - base;
|
/external/chromium_org/tools/gyp/tools/emacs/ |
gyp-tests.el | 14 (defconst samples (directory-files "testdata" t ".gyp$") function 15 "List of golden samples to check") 45 (ert-deftest test-golden-samples () 46 "Check that fontification produces the same results as the golden samples" 47 (dolist (sample samples) 61 (defun create-golden-samples () 62 "Recreate the golden samples" 63 (dolist (sample samples) (create-golden-sample sample)))
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
AbstractListIndexOfTester.java | 48 0, find(samples.e0)); 53 -1, find(samples.e3)); 77 -1, find(samples.e3));
|
CollectionContainsTester.java | 42 collection.contains(samples.e0)); 47 collection.contains(samples.e3)); 67 collection.contains(samples.e3));
|
MapContainsValueTester.java | 41 getMap().containsValue(samples.e0.getValue())); 46 getMap().containsValue(samples.e3.getValue())); 66 getMap().containsValue(samples.e3.getValue()));
|
ListAddTester.java | 44 assertTrue("add(present) should return true", getList().add(samples.e0)); 45 expectAdded(samples.e0); 56 getList().add(samples.e0);
|
MapContainsKeyTester.java | 41 getMap().containsKey(samples.e0.getKey())); 46 getMap().containsKey(samples.e3.getKey())); 66 getMap().containsKey(samples.e3.getKey()));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
ByteBufferHelper.java | 27 public static List<ByteBuffer> mergeAdjacentBuffers(List<ByteBuffer> samples) { 28 ArrayList<ByteBuffer> nuSamples = new ArrayList<ByteBuffer>(samples.size()); 29 for (ByteBuffer buffer : samples) {
|
TwoSecondIntersectionFinder.java | 63 int samples = 0; local 70 fragments[currentFragment] = samples++ + 1; 74 long last = samples + 1;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
ReplaceSampleTrack.java | 36 private List<ByteBuffer> samples; field in class:ReplaceSampleTrack 42 this.samples = new ReplaceASingleEntryList(); 47 return samples;
|
/external/chromium_org/gpu/command_buffer/service/ |
renderbuffer_manager.h | 46 GLsizei samples() const { function in class:gpu::gles2::Renderbuffer 85 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { 86 samples_ = samples; 112 // Number of samples (for multi-sampled renderbuffers) 147 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 169 int samples,
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
neteq_quality_test.cc | 82 int samples; local 84 &samples, &channels, NULL); 90 assert(samples == kOutputSizeMs * out_sampling_khz_); 91 fwrite(&out_data_[0], sizeof(int16_t), samples * channels, out_file_); 92 return samples;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
AbstractContainerTester.java | 38 protected SampleElements<E> samples; field in class:AbstractContainerTester 43 samples = this.getSubjectGenerator().samples(); 233 return MinimalCollection.of(samples.e3, samples.e4);
|
/frameworks/ex/variablespeed/jni/ |
ring_buffer.cc | 82 void RingBuffer::Write(const float* samples, int num_frames) { 87 memcpy(samples_ + head_ * num_channels_, samples, 88 num_frames * num_channels_ * sizeof(samples[0])); 92 memcpy(samples_ + head_ * num_channels_, samples, 93 num_channels_ * overhead * sizeof(samples[0])); 95 memcpy(samples_, samples + overhead * num_channels_, 96 num_channels_ * head_ * sizeof(samples[0])); 135 // Otherwise, copy samples from the temp buffer back to the ring buffer.
|
/ndk/sources/third_party/googletest/ |
Android.mk | 108 # The GoogleTest samples. 114 samples/sample1.cc \ 115 samples/sample1_unittest.cc 122 samples/sample2.cc \ 123 samples/sample2_unittest.cc 130 samples/sample3_unittest.cc 137 samples/sample4.cc \ 138 samples/sample4_unittest.cc 145 samples/sample1.cc \ 146 samples/sample5_unittest.c [all...] |
/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/deqp/modules/gles3/performance/ |
es3pBufferDataUploadTests.cpp | 687 SingleOperationStatistics calculateSingleOperationStatistics (const std::vector<T>& samples, deUint64 T::SampleType::*target) 690 std::vector<deUint64> values(samples.size()); 692 for (int ndx = 0; ndx < (int)samples.size(); ++ndx) 693 values[ndx] = samples[ndx].duration.*target; 707 void calculateBasicStatistics (StatisticsType& stats, const LineParametersWithConfidence& fit, const std::vector<SampleType>& samples, int SampleType::*predictor) 709 std::vector<deUint64> values(samples.size()); 711 for (int ndx = 0; ndx < (int)samples.size(); ++ndx) 712 values[ndx] = samples[ndx].duration.fitResponseDuration; 716 std::vector<float> processingRates(samples.size()); 718 for (int ndx = 0; ndx < (int)samples.size(); ++ndx [all...] |
/external/oprofile/pp/ |
opannotate.cpp | 43 scoped_ptr<profile_container> samples; member in namespace:__anon32226 86 return samples->find_symbol(image_name, vma); 101 << "Output annotated source file with samples" << '\n'; 105 << "Output files where samples count reach " 106 << options::threshold << "% of the samples\n"; 112 << "Output annotated assembly listing with samples" 173 if (samp_it != samples->end()) 189 string str = count_str(sample->counts, samples->samples_count()); 196 if (samp_it != samples->end()) 227 sample_entry * prev_sample = (sample_entry *)samples- [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
opus_interface.c | 42 /* Number of samples in resampler state. */ 45 /* Default frame size, 20 ms @ 48 kHz, in samples (for one channel). */ 85 int16_t WebRtcOpus_Encode(OpusEncInst* inst, int16_t* audio_in, int16_t samples, 91 if (samples > 48 * kWebRtcOpusMaxEncodeFrameSizeMs) { 95 res = opus_encode(inst->encoder, audio, samples, coded, 234 * is set to the number of samples needed for PLC in case of losses. 288 /* Resampling 3 samples to 2. Function divides the input in |blocks| number 319 /* Add samples interleaved to output vector. */ 328 /* Add samples interleaved to output vector. */ 404 /* The parameter |decoded_samples| holds the number of samples pairs, i 644 int frames, samples; local 664 int samples; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/static/js/ |
samples.js | 7 var samples = document.getElementsByClassName('sample'); variable 13 for (var i = 0; i < samples.length; ++i) { 14 var sample = samples[i];
|
/external/deqp/modules/gles3/functional/ |
es3fInternalFormatQueryTests.cpp | 79 std::vector<GLint> samples; 80 samples.resize(sampleCounts, -1); 81 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_SAMPLES, sampleCounts, &samples[0]); 86 for (size_t ndx = 0; ndx < samples.size(); ++ndx, prevSampleCount = sampleCount) 88 sampleCount = samples[ndx]; 98 // samples must be ordered descending 109 // the maximum value in SAMPLES is guaranteed to be at least the value of MAX_SAMPLES 116 const GLint maximumFormatSampleCount = samples[0]; 119 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected maximum value in SAMPLES (" << maximumFormatSampleCount << ") to be at least the value of MAX_SAMPLES (" << maxSamples << ")" << TestLog::EndMessage; 237 addChild(new SamplesCase(m_context, (std::string(internalFormat.name) + "_samples").c_str(), "SAMPLES and NUM_SAMPLE_COUNTS", internalFormat.format, internalFormat.isIntegerFormat)) [all...] |
/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)
|