Home
last modified time | relevance | path

Searched refs:minSampleRate (Results 1 – 6 of 6) sorted by relevance

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMediaDeviceInfo.java144 int minSampleRate = -1, maxSampleRate = -1; in collectDeviceInfo() local
147 minSampleRate = Arrays.stream(discreteSampleRates).min().getAsInt(); in collectDeviceInfo()
152 minSampleRate = sampleRateRanges[0].getLower(); in collectDeviceInfo()
155 store.addResult("min_sample_rate", minSampleRate); in collectDeviceInfo()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecInstancesTest.java78 int minSampleRate = acaps.getSupportedSampleRateRanges()[0].getLower(); in createMinFormat() local
81 format = MediaFormat.createAudioFormat(mime, minSampleRate, minChannelCount); in createMinFormat()
DMediaCodecTest.java2381 int minSampleRate = acaps.getSupportedSampleRateRanges()[0].getLower(); in testPrependHeadersToSyncFrames() local
2387 … format = MediaFormat.createAudioFormat(mime, minSampleRate, minChannelCount); in testPrependHeadersToSyncFrames()
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyConfigTest.java224 float minSampleRate = cfg.getMinSampleRate(); in testSampleRate() local
227 || Math.abs(minSampleRate - 0.0f) > EPSILON) { in testSampleRate()
DCarPropertyManagerTest.java1177 private static long generateTimeoutMillis(float minSampleRate, long bufferMillis) { in generateTimeoutMillis() argument
1178 return ((long) ((1.0f / minSampleRate) * SECONDS_TO_MILLIS * UI_RATE_EVENT_COUNTER)) in generateTimeoutMillis()
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java1320 private static long getRegisterCallbackTimeoutMillis(int changeMode, float minSampleRate) { in getRegisterCallbackTimeoutMillis() argument
1325 timeoutMillis = ((long) ((1.0f / minSampleRate) * secondsToMillis in getRegisterCallbackTimeoutMillis()