/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | AudioStringsHelper.java | 52 static private String getRateString(int rate) { in getRateString() argument 53 if (rate % 1000 == 0) { in getRateString() 54 return "" + rate/1000 + "K"; in getRateString() 56 return "" + (float)rate/1000 + "K"; in getRateString()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | IvfWriter.java | 57 int rate) throws IOException { in IvfWriter() argument 63 mRate = rate; in IvfWriter() 117 int frameCount, int width, int height, int scale, int rate, String mimeType) { in makeIvfHeader() argument 131 lay32Bits(ivfHeader, 16, rate); // scale/rate in makeIvfHeader()
|
D | MediaSyncTest.java | 186 final float rate = -1.0f; in testSetPlaybackParamsFail() local 188 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 189 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsFail() 200 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 201 fail("With audio track set, playback rate " + rate in testSetPlaybackParamsFail() 212 final float rate = (float)TEST_MAX_SPEED; in testSetPlaybackParamsSucceed() local 214 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsSucceed() 216 assertEquals(rate, pbp.getSpeed(), FLOAT_TOLERANCE); in testSetPlaybackParamsSucceed() 218 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsSucceed()
|
D | SoundPoolTest.java | 152 float rate = 1f; in testSoundPoolOp() local 153 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp() 156 rate = 1.4f; in testSoundPoolOp() 157 mSoundPool.setRate(streamID, rate); in testSoundPoolOp() 167 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
|
D | AudioTrackSurroundTest.java | 117 for (int rate : info.getSampleRates()) { in scanDevicesForEncodings() 118 text += rate + ", "; in scanDevicesForEncodings()
|
/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 | 75 public MyOrientationEventListener(Context context, int rate) { in MyOrientationEventListener() argument 76 super(context, rate); in MyOrientationEventListener()
|
D | OrientationListenerTest.java | 98 public MockOrientationListener(Context context, int rate) { in MockOrientationListener() argument 99 super(context, rate); in MockOrientationListener()
|
D | TextureViewStressTestActivity.java | 82 float rate = display.getRefreshRate(); in waitForCompletion() local 83 oneframeMs = roundUpFrame(mDelayMs, (int) (1000.0f / rate)); in waitForCompletion()
|
/cts/tests/tests/media/res/raw/ |
D | voice12_48k_128kbps_15s_ac3_readme.txt | 7 rate=48000
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorIntegrationTests.java | 264 int rate; in generateSamplingRateInUs() local 267 rate = SensorManager.SENSOR_DELAY_FASTEST; in generateSamplingRateInUs() 272 rate = maxSamplingRate * mGenerator.nextInt(10); in generateSamplingRateInUs() 274 return rate; in generateSamplingRateInUs()
|
D | SensorDirectReportTest.java | 577 for (int rate : POSSIBLE_RATE_LEVELS) { in runMultiModeRateIndependencyTestGroup() 581 sensorType, rate, type, samplingPeriodUs);}, in runMultiModeRateIndependencyTestGroup() 583 rate, type, samplingPeriodUs)); in runMultiModeRateIndependencyTestGroup()
|
/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/tests/sensor/jni/ |
D | SensorTest.cpp | 99 int TestSensorManager::configureDirectReport(TestSensor sensor, int channel, int rate) { in configureDirectReport() argument 103 return ASensorManager_configureDirectReport(mManager, sensor, channel, rate); in configureDirectReport()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6731/ |
D | poc.c | 75 __u32 rate; member
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6730/ |
D | poc.c | 75 __u32 rate; member
|
/cts/hostsidetests/security/securityPatch/CVE-2017-0508/ |
D | poc.c | 73 __u32 rate; member
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 155 int rate = BIT_RATE_720P; in getVideoBitRate() local 157 rate = (int)(rate * scaleFactor); in getVideoBitRate() 160 return Math.max(BIT_RATE_MIN, Math.min(BIT_RATE_MAX, rate)); in getVideoBitRate()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 554 public static boolean canDecodeVideo(String mime, int width, int height, float rate) { in canDecodeVideo() argument 556 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in canDecodeVideo() 561 String mime, int width, int height, float rate, in canDecodeVideo() argument 564 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in canDecodeVideo()
|
/cts/hostsidetests/security/securityPatch/CVE-2017-6262/ |
D | local_poc.h | 381 __u32 rate; member
|
/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
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 1869 int rate = BIT_RATE_1080P; 1871 rate = (int)(rate * scaleFactor); 1874 return Math.max(BIT_RATE_MIN, Math.min(BIT_RATE_MAX, rate));
|