/cts/tests/tests/nativemedia/mediametrics/src/ |
D | MediaMetricsTest.cpp | 86 double rate; in TEST_F() local 87 EXPECT_TRUE(mediametrics_getRate(handle_, "attr4", &count, &duration, &rate)); in TEST_F() 90 EXPECT_DOUBLE_EQ(30/1000.0, rate); in TEST_F() 93 EXPECT_TRUE(mediametrics_getRate(handle_, "attr4", &count, &duration, &rate)); in TEST_F() 96 EXPECT_DOUBLE_EQ(59/2000.0, rate); in TEST_F()
|
/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 | 119 for (int rate : sampleRates) { in isHDMIValid() 120 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 | 184 final float rate = -1.0f; in testSetPlaybackParamsFail() local 186 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 187 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsFail() 198 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail() 199 fail("With audio track set, playback rate " + rate in testSetPlaybackParamsFail() 210 final float rate = (float)TEST_MAX_SPEED; in testSetPlaybackParamsSucceed() local 212 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsSucceed() 214 assertEquals(rate, pbp.getSpeed(), FLOAT_TOLERANCE); in testSetPlaybackParamsSucceed() 216 fail("playback rate " + rate + " is not handled correctly"); in testSetPlaybackParamsSucceed()
|
D | SoundPoolTest.java | 182 float rate = 1f; in testSoundPoolOp() local 183 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp() 186 rate = 1.4f; in testSoundPoolOp() 187 mSoundPool.setRate(streamID, rate); in testSoundPoolOp() 197 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
|
D | AudioTrackSurroundTest.java | 132 for (int rate : info.getSampleRates()) { in scanDevicesForEncodings() 133 text += rate + ", "; in scanDevicesForEncodings()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvTrackInfoSubject.java | 59 public void hasAudioSampleRate(int rate) { in hasAudioSampleRate() argument 60 check("getAudioSampleRate()").that(actual.getAudioSampleRate()).isEqualTo(rate); in hasAudioSampleRate() 92 public void hasVideoFrameRate(float rate) { in hasVideoFrameRate() argument 93 check("getVideoFrameRate()").that(actual.getVideoFrameRate()).isEqualTo(rate); in hasVideoFrameRate()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorRatePermissionEventConnectionTestHelper.java | 65 double rate = Double.MIN_VALUE; in computeAvgRate() local 70 rate = SensorCtsHelper.getFrequency( in computeAvgRate() 74 return rate; in computeAvgRate()
|
D | SensorRatePermissionDirectReportTestHelper.java | 92 double rate = Double.MIN_VALUE; in computeAvgRate() local 97 rate = SensorCtsHelper.getFrequency( in computeAvgRate() 101 return rate; in computeAvgRate()
|
/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 | 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 311 public static boolean canDecode(MediaFormat format, double rate ) { in canDecode() argument 319 if (rate == 0.0) { in canDecode() 330 rate + " fps with " + decoder); in canDecode() 366 new VideoCapabilities.PerformancePoint(width, height, (int) rate); in canDecode() 378 decoder, mime, width, height, rate); in canDecode() 380 Log.d(TAG, "claims to decode content at " + rate + " fps"); in canDecode() 686 public static boolean canDecodeVideo(String mime, int width, int height, float rate) { in canDecodeVideo() argument 687 return canDecodeVideo(mime, width, height, rate, (float)0.0); in canDecodeVideo() 691 …public static boolean canDecodeVideo(String mime, int width, int height, float rate, float decodeR… in canDecodeVideo() argument 693 format.setFloat(MediaFormat.KEY_FRAME_RATE, rate); in canDecodeVideo() [all …]
|
/cts/tests/video/ |
D | README.md | 4 2. Testing key operating rate for Hardware video encoder/decoder.
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 72 status_t setPlaybackSettings(const AudioPlaybackRate &rate) { return OK; } in setPlaybackSettings() argument 74 status_t getPlaybackSettings(AudioPlaybackRate *rate) { return OK; } in getPlaybackSettings() argument
|
/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 | AudioPlaybackLocal.cpp | 62 config.rate = samplingRate; in doPrepare()
|
D | AudioRecordingLocal.cpp | 49 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 | 175 int rate = BIT_RATE_720P; in getVideoBitRate() local 177 rate = (int)(rate * scaleFactor); in getVideoBitRate() 180 return Math.max(BIT_RATE_MIN, Math.min(BIT_RATE_MAX, rate)); in getVideoBitRate()
|