Searched refs:GLOBAL_ID (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | DisplayObserverTest.java | 27 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()
|
D | BrightnessObserverTest.kt | 91 assertThat(displayModeDirector.getVote(VotesStorage.GLOBAL_ID, in testLowLightBlockingZoneVotes() 93 assertThat(displayModeDirector.getVote(VotesStorage.GLOBAL_ID, in testLowLightBlockingZoneVotes()
|
D | SettingsObserverTest.kt | 125 assertThat(displayModeDirector.getVote(VotesStorage.GLOBAL_ID, in test low power mode()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | VotesStorage.java | 35 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()
|