Home
last modified time | relevance | path

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

12

/cts/hostsidetests/sample/
DREADME1 This 'sample' folder is a sample which illustrates the basic structure and contents of a CTS
4 Please refer to 'cts/tests/sample/README' for more details on how to use this sample.
DOWNERS2 include /tests/sample/OWNERS
/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/apps/CtsVerifier/jni/audio_loopback/analyzer/
DRoundedManchesterEncoder.h41 float sample = -cosf(phase); in RoundedManchesterEncoder() local
42 mZeroAfterZero[sampleIndex] = sample; in RoundedManchesterEncoder()
53 float sample = cosf(phase); in RoundedManchesterEncoder() local
54 mZeroAfterZero[sampleIndex] = sample; in RoundedManchesterEncoder()
55 mZeroAfterOne[sampleIndex] = sample; in RoundedManchesterEncoder()
DGlitchAnalyzer.h152 float sample = frameData[0]; in processInputFrame() local
153 float peak = mPeakFollower.process(sample); in processInputFrame()
162 sample += (sample > 0.0) ? -0.5f : 0.5f; in processInputFrame()
196 mSinAccumulator += sample * sinf(mInputPhase); in processInputFrame()
197 mCosAccumulator += sample * cosf(mInputPhase); in processInputFrame()
221 double diff = predicted - sample; in processInputFrame()
233 mSinAccumulator += sample * sinf(mInputPhase); in processInputFrame()
234 mCosAccumulator += sample * cosf(mInputPhase); in processInputFrame()
266 double diff = predicted - sample; in processInputFrame()
DLatencyAnalyzer.h95 double sample = data[i]; in calculateRootMeanSquare() local
96 sum += sample * sample; in calculateRootMeanSquare()
140 int32_t write(float sample) { in write() argument
143 mData[mFrameCounter++] = sample; in write()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTestAacFormat.java86 for (Object[] sample: samples) { in testHeAacM4aMultichannelDownmix()
87 for (String codecName : DecoderTest.codecsFor((String)sample[0] /* resource */, in testHeAacM4aMultichannelDownmix()
91 decodeUpdateFormat(codecName, (String) sample[0] /*resource*/, chanParams, in testHeAacM4aMultichannelDownmix()
95 sample[1], chanParams.getNumChannels()); in testHeAacM4aMultichannelDownmix()
100 decodeUpdateFormat(codecName, (String) sample[0] /* resource */, aacDownmixParams, in testHeAacM4aMultichannelDownmix()
115 decodeUpdateFormat(codecName, (String) sample[0] /* resource */, downmixParams, in testHeAacM4aMultichannelDownmix()
128 final int tooManyChannels = ((Integer) sample[1]).intValue() + 99; in testHeAacM4aMultichannelDownmix()
129 decodeUpdateFormat(codecName, (String) sample[0] /*resource*/, bigChanParams, in testHeAacM4aMultichannelDownmix()
134 sample[1], bigChanParams.getNumChannels()); in testHeAacM4aMultichannelDownmix()
136 ((Integer) sample[2]).intValue(), in testHeAacM4aMultichannelDownmix()
DDecoderTestAacDrc.java360 for (int sample = start; sample < stop; sample++) { in getEnergy()
361 double v = signal[sample]; in getEnergy()
405 for (int sample = offset; sample < signal.length; sample += stride) { in apply()
406 x_0 = signal[sample]; in apply()
413 signal[sample] = (short)y_0; in apply()
DVideoDecoderPerfTest.java323 Pair<ByteBuffer, Double> sample = in doDecode() local
325 sample.first.rewind(); in doDecode()
326 int sampleSize = sample.first.remaining(); in doDecode()
327 dstBuf.put(sample.first); in doDecode()
329 long presentationTimeUs = (long)((inputNum + sample.second) * 1e6 / frameRate); in doDecode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/
DBaseSineAnalyzer.java241 boolean transformSample(float sample, double referencePhase) { in transformSample() argument
244 mSinAccumulator += ((double) sample) * Math.sin(referencePhase); in transformSample()
245 mCosAccumulator += ((double) sample) * Math.cos(referencePhase); in transformSample()
271 float sample = frameData[offset]; in processInputFrame() local
272 mInfiniteRecording.write(sample); in processInputFrame()
274 if (transformSample(sample, mOutputPhase)) { in processInputFrame()
DInfiniteRecording.java69 public void write(float sample) { in write() argument
72 mData[offset] = sample; in write()
/cts/tests/tests/mediacujtest/smalltest/
DREADME.md13 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
21 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
29 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
36 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceTest.java16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
DSampleDeviceReportLogTest.java16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
DSampleDeviceResultTest.java16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
/cts/tests/quickaccesswallet/app/src/android/sample/quickaccesswallet/app/
DQuickAccessWalletDelegateTargetActivity.java17 package android.sample.quickaccesswallet.app;
/cts/tests/media/common/src/android/mediav2/common/cts/
DVideoErrorManager.java102 int sample; in computeFrameVariance() local
104 sample = ((byte[]) luma)[offset + p * width + q]; in computeFrameVariance()
106 sample = ((short[]) luma)[offset + p * width + q]; in computeFrameVariance()
110 sum += sample; in computeFrameVariance()
111 sse += sample * sample; in computeFrameVariance()
/cts/tests/sample/
DREADME1 This 'sample' folder is a sample which illustrates the basic structure and contents of a CTS module.
/cts/hostsidetests/sample/app/src/android/sample/app/
DSampleDeviceActivity.java17 package android.sample.app;
/cts/tests/camera/src/android/hardware/camera2/cts/
DZoomCaptureTest.java303 for (LensIntrinsicsSample sample : samples) { in bufferFormatZoomTestByCamera()
304 assertTrue(previousTs < sample.getTimestampNanos()); in bufferFormatZoomTestByCamera()
306 Arrays.hashCode(sample.getLensIntrinsics())); in bufferFormatZoomTestByCamera()
307 previousIntrinicArray = sample.getLensIntrinsics(); in bufferFormatZoomTestByCamera()
308 previousTs = sample.getTimestampNanos(); in bufferFormatZoomTestByCamera()
/cts/hostsidetests/sample/app2/src/android/sample/cts/app2/
DSampleDeviceTest.java17 package android.sample.cts.app2;
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_lens_intrinsic_calibration.py221 for sample in samples:
222 samples_intrinsics = sample['lensIntrinsics']
223 timestamp = sample['timestamp']
/cts/tests/sample/src/android/sample/
DSampleDeviceActivity.java17 package android.sample;
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostDeviceInfo.java16 package android.sample.cts;
/cts/tools/release-parser/tests/
DAndroid.bp34 // Holds golden sample files in assets for validation

12