/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/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()
|
D | ProAudioActivity.java | 156 for (int rate : sampleRates) { in isHDMIValid() 157 if (rate >= 192000) { in isHDMIValid()
|
/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 | 187 final float rate = -1.0f; in testSetPlaybackParamsFail() local 189 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 190 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsFail() 201 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 202 fail("With audio track set, playback rate " + rate in testSetPlaybackParamsFail() 213 final float rate = (float)TEST_MAX_SPEED; in testSetPlaybackParamsSucceed() local 215 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsSucceed() 217 assertEquals(rate, pbp.getSpeed(), FLOAT_TOLERANCE); in testSetPlaybackParamsSucceed() 219 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsSucceed()
|
D | SoundPoolTest.java | 157 float rate = 1f; in testSoundPoolOp() local 158 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp() 161 rate = 1.4f; in testSoundPoolOp() 162 mSoundPool.setRate(streamID, rate); in testSoundPoolOp() 172 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
|
D | AudioTrackSurroundTest.java | 125 for (int rate : info.getSampleRates()) { in scanDevicesForEncodings() 126 text += rate + ", "; in scanDevicesForEncodings()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 309 public static boolean canDecode(MediaFormat format, double rate ) { in canDecode() argument 317 if (rate == 0.0) { in canDecode() 328 rate + " fps with " + decoder); in canDecode() 364 new VideoCapabilities.PerformancePoint(width, height, (int) rate); in canDecode() 376 decoder, mime, width, height, rate); in canDecode() 378 Log.d(TAG, "claims to decode content at " + rate + " fps"); in canDecode() 635 public static boolean canDecodeVideo(String mime, int width, int height, float rate) { in canDecodeVideo() argument 636 return canDecodeVideo(mime, width, height, rate, (float)0.0); in canDecodeVideo() 640 …public static boolean canDecodeVideo(String mime, int width, int height, float rate, float decodeR… in canDecodeVideo() argument 642 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in canDecodeVideo() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | OrientationEventListenerTest.java | 76 public MyOrientationEventListener(Context context, int rate) { in MyOrientationEventListener() argument 77 super(context, rate); in MyOrientationEventListener()
|
D | OrientationListenerTest.java | 99 public MockOrientationListener(Context context, int rate) { in MockOrientationListener() argument 100 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/sensor/src/android/hardware/cts/ |
D | SensorIntegrationTests.java | 396 int rate; in generateSamplingRateInUs() local 399 rate = SensorManager.SENSOR_DELAY_FASTEST; in generateSamplingRateInUs() 404 rate = maxSamplingRate * mGenerator.nextInt(10); in generateSamplingRateInUs() 406 return rate; in generateSamplingRateInUs()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 70 status_t setPlaybackSettings(const AudioPlaybackRate &rate) { return OK; } in setPlaybackSettings() argument 72 status_t getPlaybackSettings(AudioPlaybackRate *rate) { return OK; } in getPlaybackSettings() argument
|
/cts/tests/tests/media/res/raw/ |
D | voice12_48k_128kbps_15s_ac3_readme.txt | 7 rate=48000
|
/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/suite/audio_quality/lib/src/audio/ |
D | AudioRecordingLocal.cpp | 49 config.rate = samplingRate; in doPrepare()
|
D | AudioPlaybackLocal.cpp | 62 config.rate = samplingRate; in doPrepare()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6731/ |
D | poc.c | 75 __u32 rate; member
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6730/ |
D | poc.c | 75 __u32 rate; member
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0508/ |
D | poc.c | 73 __u32 rate; member
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 182 int rate = BIT_RATE_720P; in getVideoBitRate() local 184 rate = (int)(rate * scaleFactor); in getVideoBitRate() 187 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 | 555 public static boolean canDecodeVideo(String mime, int width, int height, float rate) { in canDecodeVideo() argument 557 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in canDecodeVideo() 562 String mime, int width, int height, float rate, in canDecodeVideo() argument 565 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in canDecodeVideo()
|
/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/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/ |
D | local_poc.h | 381 __u32 rate; member
|