Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 23 of 23) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundGenerator.java11 private final double[] sample; field in SoundGenerator
22 sample = new double[sampleLength]; in SoundGenerator()
25 System.arraycopy(Common.PREFIX_FOR_PLAYER, 0, sample, in SoundGenerator()
32 System.arraycopy(pip, 0, sample, in SoundGenerator()
39 generatedSound = new byte[2 * sample.length]; in SoundGenerator()
41 for (double dVal : sample) { in SoundGenerator()
79 return sample; in getSample()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java252 for (int sample = start; sample < stop; sample++) { in getEnergy()
253 double v = signal[sample]; in getEnergy()
297 for (int sample = offset; sample < signal.length; sample += stride) { in apply()
298 x_0 = signal[sample]; in apply()
305 signal[sample] = (short)y_0; in apply()
DSoundPoolTest.java349 int sample = mSoundPool.load(mContext, sampleId, prio); in loadSampleSync() local
350 waitUntilLoaded(sample); in loadSampleSync()
351 return sample; in loadSampleSync()
DVideoDecoderPerfTest.java249 Pair<ByteBuffer, Double> sample = in doDecode() local
251 sample.first.rewind(); in doDecode()
252 int sampleSize = sample.first.remaining(); in doDecode()
253 dstBuf.put(sample.first); in doDecode()
255 long presentationTimeUs = (long)((inputNum + sample.second) * 1e6 / frameRate); in doDecode()
DAudioHelper.java108 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE); in createSineWavesShort() local
110 data[j++] = sample; in createSineWavesShort()
DDecoderTest.java108 int sample = hi * 256 + lo; in setUp() local
109 mMasterBuffer[i] = (short) sample; in setUp()
1499 short sample = signal[i];
1501 int d = sample - mastersample;
3195 short sample = buf.getShort();
3196 if (maxvalue < sample) {
3197 maxvalue = sample;
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceTest.java16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
DSampleJUnit4DeviceTest.java16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
DSampleDeviceResultTest.java16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
DSampleDeviceReportLogTest.java16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
/cts/hostsidetests/sample/app/src/android/sample/app/
DSampleDeviceActivity.java17 package android.sample.app;
/cts/hostsidetests/sample/app2/src/android/sample/cts/app2/
DSampleDeviceTest.java17 package android.sample.cts.app2;
/cts/tests/sample/src/android/sample/
DSampleDeviceActivity.java17 package android.sample;
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostTest.java17 package android.sample.cts;
DSampleHostDeviceInfo.java16 package android.sample.cts;
DSampleHostJUnit4Test.java17 package android.sample.cts;
DSampleHostJUnit4DeviceTest.java17 package android.sample.cts;
DSampleHostResultTest.java17 package android.sample.cts;
/cts/tools/release-parser/tests/
DAndroid.bp29 // Holds golden sample files in assets for validation
Dgenerate_golden_sample_files.sh13 echo Generating golden sample files for parser validation
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsample.rscript98 // Base lod sample
142 // Base lod sample
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java17 package com.android.cts.verifier.sample;
/cts/apps/CameraITS/pymodules/its/
Dimage.py941 check_list = random.sample(range(0, 1024), H*W)