Home
last modified time | relevance | path

Searched refs:supportedRefreshRates (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSupportedRefreshRatesVoteTest.kt50 assertThat(summary.supportedRefreshRates).containsExactlyElementsIn(refreshRates) in adds supported refresh rates if supportedModes in summary is null()
56 summary.supportedRefreshRates = ArrayList() in does not add supported refresh rates if summary has empty list of refresh rates()
60 assertThat(summary.supportedRefreshRates).isEmpty() in does not add supported refresh rates if summary has empty list of refresh rates()
66 summary.supportedRefreshRates = ArrayList(listOf(otherMode, refreshRates[0])) in filters out supported refresh rates that does not match vote()
70 assertThat(summary.supportedRefreshRates).containsExactly(refreshRates[0]) in filters out supported refresh rates that does not match vote()
DVoteSummaryTest.kt83 fun `filters modes for summary supportedRefreshRates`( in filters modes for summary supportedRefreshRates()
87 summary.supportedRefreshRates = testCase.summaryRefreshRates in filters modes for summary supportedRefreshRates()
/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java53 public List<SupportedRefreshRatesVote.RefreshRates> supportedRefreshRates; field in VoteSummary
289 if (supportedRefreshRates == null || !mSupportedModesVoteEnabled) { in validateRefreshRatesSupported()
292 for (SupportedRefreshRatesVote.RefreshRates refreshRates : this.supportedRefreshRates) { in validateRefreshRatesSupported()
303 + ", supportedRefreshRates=" + supportedRefreshRates); in validateRefreshRatesSupported()
334 if (supportedRefreshRates != null && mSupportedModesVoteEnabled in isValid()
335 && supportedRefreshRates.isEmpty()) { in isValid()
398 supportedRefreshRates = null; in reset()
422 + ", supportedRefreshRates=" + supportedRefreshRates in toString()
DSupportedRefreshRatesVote.java42 if (summary.supportedRefreshRates == null) { in updateSummary()
43 summary.supportedRefreshRates = new ArrayList<>(mRefreshRates); in updateSummary()
45 summary.supportedRefreshRates.retainAll(mRefreshRates); in updateSummary()