/cts/tests/tests/media/src/android/media/cts/ |
D | IvfWriter.java | 53 int scale, int rate) throws IOException { in IvfWriter() argument 58 mRate = rate; in IvfWriter() 110 private static byte[] makeIvfHeader(int frameCount, int width, int height, int scale, int rate){ in makeIvfHeader() argument 124 lay32Bits(ivfHeader, 16, rate); // scale/rate in makeIvfHeader()
|
D | MediaSyncTest.java | 162 final float rate = -1.0f; in testSetPlaybackParamsFail() local 164 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 165 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsFail() 178 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 179 fail("With audio track set, playback rate " + rate in testSetPlaybackParamsFail() 190 final float rate = (float)TEST_MAX_SPEED; in testSetPlaybackParamsSucceed() local 192 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsSucceed() 194 assertEquals(rate, pbp.getSpeed(), FLOAT_TOLERANCE); in testSetPlaybackParamsSucceed() 196 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsSucceed()
|
D | SoundPoolTest.java | 150 float rate = 1f; in testSoundPoolOp() local 151 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp() 154 rate = 1.4f; in testSoundPoolOp() 155 mSoundPool.setRate(streamID, rate); in testSoundPoolOp() 165 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
|
D | DecoderTest.java | 1263 …rivate static void verifySecureVideoDecodeSupport(String mime, int width, int height, float rate) { in verifySecureVideoDecodeSupport() argument 1270 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in verifySecureVideoDecodeSupport()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioRecordHelper.java | 40 for (int rate : SAMPLE_RATES_HZ) { in AudioRecordHelper() 41 tmpBufferSize = AudioRecord.getMinBufferSize(rate, CHANNEL, ENCODING); in AudioRecordHelper() 42 AudioRecord testAudioRecord = new AudioRecord(source, rate, CHANNEL, ENCODING, in AudioRecordHelper() 46 tmpSampleRate = rate; in AudioRecordHelper()
|
D | Common.java | 63 private static double[] prefix(int rate) { in prefix() argument 82 int prefixLength = (int) Math.round(PREFIX_LENGTH_S * rate); in prefix()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | OrientationEventListenerTest.java | 56 public MockOrientationEventListener(Context context, int rate) { in MockOrientationEventListener() argument 57 super(context, rate); in MockOrientationEventListener()
|
D | OrientationListenerTest.java | 98 public MockOrientationListener(Context context, int rate) { in MockOrientationListener() argument 99 super(context, rate); in MockOrientationListener()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SensorIntegrationTests.java | 262 int rate; in generateSamplingRateInUs() local 265 rate = SensorManager.SENSOR_DELAY_FASTEST; in generateSamplingRateInUs() 270 rate = maxSamplingRate * mGenerator.nextInt(10); in generateSamplingRateInUs() 272 return rate; in generateSamplingRateInUs()
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
D | TextureViewTestActivity.java | 78 float rate = display.getRefreshRate(); in waitForCompletion() local 79 oneframeMs = roundUpFrame(mDelayMs, (int)(1000.0f / rate)); in waitForCompletion()
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioPlaybackLocal.cpp | 62 config.rate = samplingRate; in doPrepare()
|
D | AudioRecordingLocal.cpp | 49 config.rate = samplingRate; in doPrepare()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 383 public static boolean canDecodeVideo(String mime, int width, int height, float rate) { in canDecodeVideo() argument 385 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in canDecodeVideo()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 1343 int rate = BIT_RATE_1080P; 1345 rate = (int)(rate * scaleFactor); 1348 return Math.max(BIT_RATE_MIN, Math.min(BIT_RATE_MAX, rate));
|
/cts/apps/CtsVerifier/assets/scripts/ |
D | execute_power_tests.py | 523 def collectMeasurements(self, measurementCount, rate, verbose = True): argument 534 decimate_by = self._native_hz / rate or 1
|