Home
last modified time | relevance | path

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

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayObserverTest.java27 import static com.android.server.display.mode.VotesStorage.GLOBAL_ID;
362 assertThat(getVote(GLOBAL_ID, PRIORITY_SYNCHRONIZED_REFRESH_RATE)).isEqualTo(null); in testExternalDisplayAdded_appliedRefreshRatesSynchronization()
364 assertThat(getVote(GLOBAL_ID, PRIORITY_SYNCHRONIZED_REFRESH_RATE)).isEqualTo( in testExternalDisplayAdded_appliedRefreshRatesSynchronization()
372 assertThat(getVote(GLOBAL_ID, PRIORITY_SYNCHRONIZED_REFRESH_RATE)).isEqualTo(null); in testExternalDisplayAdded_appliedRefreshRatesSynchronization()
385 assertThat(getVote(GLOBAL_ID, PRIORITY_SYNCHRONIZED_REFRESH_RATE)).isEqualTo(null); in testExternalDisplayAdded_disabledFeatureRefreshRatesSynchronization()
387 assertThat(getVote(GLOBAL_ID, PRIORITY_SYNCHRONIZED_REFRESH_RATE)).isEqualTo(null); in testExternalDisplayAdded_disabledFeatureRefreshRatesSynchronization()
399 assertThat(getVote(GLOBAL_ID, PRIORITY_SYNCHRONIZED_REFRESH_RATE)).isEqualTo(null); in testExternalDisplay_notAppliedRefreshRatesSynchronization()
401 assertThat(getVote(GLOBAL_ID, PRIORITY_SYNCHRONIZED_REFRESH_RATE)).isEqualTo(null); in testExternalDisplay_notAppliedRefreshRatesSynchronization()
DBrightnessObserverTest.kt91 assertThat(displayModeDirector.getVote(VotesStorage.GLOBAL_ID, in testLowLightBlockingZoneVotes()
93 assertThat(displayModeDirector.getVote(VotesStorage.GLOBAL_ID, in testLowLightBlockingZoneVotes()
DSettingsObserverTest.kt125 assertThat(displayModeDirector.getVote(VotesStorage.GLOBAL_ID, in test low power mode()
/frameworks/base/services/core/java/com/android/server/display/mode/
DVotesStorage.java35 static final int GLOBAL_ID = -1; field in VotesStorage
69 SparseArray<Vote> globalVotes = mVotesByDisplay.get(GLOBAL_ID); in getVotes()
83 updateVote(GLOBAL_ID, priority, vote); in updateGlobalVote()