Home
last modified time | relevance | path

Searched refs:Vote (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java34 import com.android.server.display.DisplayModeDirector.Vote;
98 DisplayModeDirector.Vote.MAX_PRIORITY - DisplayModeDirector.Vote.MIN_PRIORITY + 1; in testDisplayModeVoting()
107 SparseArray<Vote> votes = new SparseArray<>(); in testDisplayModeVoting()
108 SparseArray<SparseArray<Vote>> votesByDisplay = new SparseArray<>(); in testDisplayModeVoting()
111 int priority = Vote.MIN_PRIORITY + i; in testDisplayModeVoting()
112 votes.put(priority, Vote.forRefreshRates(minFps + i, maxFps - i)); in testDisplayModeVoting()
128 SparseArray<Vote> votes = new SparseArray<>(); in testDisplayModeVoting()
129 SparseArray<SparseArray<Vote>> votesByDisplay = new SparseArray<>(); in testDisplayModeVoting()
131 votes.put(Vote.MAX_PRIORITY, Vote.forRefreshRates(65, 85)); in testDisplayModeVoting()
132 votes.put(Vote.MIN_PRIORITY, Vote.forRefreshRates(70, 80)); in testDisplayModeVoting()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java86 private SparseArray<SparseArray<Vote>> mVotesByDisplay;
134 private SparseArray<Vote> getVotesLocked(int displayId) { in getVotesLocked()
135 SparseArray<Vote> displayVotes = mVotesByDisplay.get(displayId); in getVotesLocked()
136 final SparseArray<Vote> votes; in getVotesLocked()
143 SparseArray<Vote> globalVotes = mVotesByDisplay.get(GLOBAL_ID); in getVotesLocked()
168 width = Vote.INVALID_SIZE; in reset()
169 height = Vote.INVALID_SIZE; in reset()
176 SparseArray<Vote> votes, int lowestConsideredPriority, /*out*/ VoteSummary summary) { in summarizeVotes()
178 for (int priority = Vote.MAX_PRIORITY; priority >= lowestConsideredPriority; priority--) { in summarizeVotes()
179 Vote vote = votes.get(priority); in summarizeVotes()
[all …]
/frameworks/base/services/
Dart-profile15273 HSPLcom/android/server/display/DisplayModeDirector$Vote;-><init>(IIFF)V
15274 …d/server/display/DisplayModeDirector$Vote;->forRefreshRates(FF)Lcom/android/server/display/Display…
15275 …droid/server/display/DisplayModeDirector$Vote;->forSize(II)Lcom/android/server/display/DisplayMode…
15276 PLcom/android/server/display/DisplayModeDirector$Vote;->priorityToString(I)Ljava/lang/String;
15277 PLcom/android/server/display/DisplayModeDirector$Vote;->toString()Ljava/lang/String;
15286 …android/server/display/DisplayModeDirector;ILcom/android/server/display/DisplayModeDirector$Vote;)V
15287 …ndroid/server/display/DisplayModeDirector;IILcom/android/server/display/DisplayModeDirector$Vote;)V
15300 …ay/DisplayModeDirector;->updateVoteLocked(IILcom/android/server/display/DisplayModeDirector$Vote;)V
15301 …lay/DisplayModeDirector;->updateVoteLocked(ILcom/android/server/display/DisplayModeDirector$Vote;)V
42739 Lcom/android/server/display/DisplayModeDirector$Vote;