Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp88 const auto& rates = refreshRateConfigs->getRefreshRateMap(); in TEST_F() local
89 ASSERT_EQ(2, rates.size()); in TEST_F()
90 const auto& defaultRate = rates.find(RefreshRateType::DEFAULT); in TEST_F()
91 const auto& performanceRate = rates.find(RefreshRateType::PERFORMANCE); in TEST_F()
92 ASSERT_NE(rates.end(), defaultRate); in TEST_F()
93 ASSERT_NE(rates.end(), performanceRate); in TEST_F()
/frameworks/av/media/libaaudio/tests/
Dtest_open_params.cpp123 int32_t rates[] = {AAUDIO_UNSPECIFIED, 22050, 32000, 44100, 48000, 88200, 96000, 37913, 59132}; in TEST() local
135 for (uint i = 0; i < arraysize(rates); i++) { in TEST()
136 testOpenOptions(direction, AAUDIO_UNSPECIFIED, rates[i], AAUDIO_FORMAT_UNSPECIFIED); in TEST()
/frameworks/base/core/java/android/view/
DDisplayInfo.java527 ArraySet<Float> rates = new ArraySet<>(); in getDefaultRefreshRates() local
533 rates.add(mode.getRefreshRate()); in getDefaultRefreshRates()
536 float[] result = new float[rates.size()]; in getDefaultRefreshRates()
538 for (Float rate : rates) { in getDefaultRefreshRates()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1141 private void limitSampleRates(int[] rates) { in limitSampleRates() argument
1142 Arrays.sort(rates); in limitSampleRates()
1144 for (int rate: rates) { in limitSampleRates()
2413 Range<Integer> counts, Range<Long> rates, Range<Rational> ratios) {
2439 rates = Utils.factorRange(rates, factor);
2445 mBlocksPerSecondRange = mBlocksPerSecondRange.intersect(rates);
DAudioRecord.java464 int[] rates = { 0 }; in deferred_connect() local
471 rates /*mSampleRates*/, in deferred_connect()
DAudioTrack.java737 int[] rates = { 0 }; in deferred_connect() local
740 rates /*sampleRate - NA*/, in deferred_connect()
/frameworks/base/proto/src/
Dipconnectivity.proto495 // exact wakeup rates.
/frameworks/base/cmds/statsd/src/
Datoms.proto1899 // A bit field of supported sample rates as defined by various SAMPLE_RATE_* constants
5881 * in DnsQueryEvents to enable computing error rates and network latency and timeouts