Home
last modified time | relevance | path

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

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSupportedModesVoteTest.kt42 fun `adds supported mode ids if supportedModeIds in summary is null`() { in adds supported mode ids if supportedModeIds in summary is null()
47 assertThat(summary.supportedModeIds).containsExactlyElementsIn(supportedModes) in adds supported mode ids if supportedModeIds in summary is null()
53 summary.supportedModeIds = ArrayList() in does not add supported mode ids if summary has empty list of modeIds()
57 assertThat(summary.supportedModeIds).isEmpty() in does not add supported mode ids if summary has empty list of modeIds()
63 summary.supportedModeIds = ArrayList(listOf(otherMode, supportedModes[0])) in filters out modes that does not match vote()
67 assertThat(summary.supportedModeIds).containsExactly(supportedModes[0]) in filters out modes that does not match vote()
DVoteSummaryTest.kt149 summary.supportedModeIds = testCase.summarySupportedModes in filters modes for summary supportedModes()
/frameworks/base/services/core/java/com/android/server/display/mode/
DSupportedModesVote.java34 if (summary.supportedModeIds == null) { in updateSummary()
35 summary.supportedModeIds = mModeIds; in updateSummary()
37 summary.supportedModeIds.retainAll(mModeIds); in updateSummary()
DVoteSummary.java56 public List<Integer> supportedModeIds; field in VoteSummary
273 if (supportedModeIds == null || !mSupportedModesVoteEnabled) { in validateModeSupported()
276 if (supportedModeIds.contains(mode.getModeId())) { in validateModeSupported()
283 + ", supportedModeIds=" + supportedModeIds); in validateModeSupported()
399 supportedModeIds = null; in reset()
423 + ", supportedModeIds=" + supportedModeIds in toString()