Home
last modified time | relevance | path

Searched refs:modeIds (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DSystemRequestObserver.java59 void requestDisplayModes(IBinder token, int displayId, @Nullable int[] modeIds) { in requestDisplayModes() argument
60 if (modeIds == null) { in requestDisplayModes()
63 addSystemRequestedVote(token, displayId, modeIds); in requestDisplayModes()
67 private void addSystemRequestedVote(IBinder token, int displayId, @NonNull int[] modeIds) { in addSystemRequestedVote() argument
71 for (int mode: modeIds) { in addSystemRequestedVote()
121 List<Integer> modeIds = new ArrayList<>(); in updateStorageLocked() local
128 modeIds.addAll(modesForDisplay); in updateStorageLocked()
131 modeIds.retainAll(modesForDisplay); in updateStorageLocked()
137 modesFound[0] ? Vote.forSupportedModes(modeIds) : null); in updateStorageLocked()
DSupportedModesVote.java29 SupportedModesVote(List<Integer> modeIds) { in SupportedModesVote() argument
30 mModeIds = Collections.unmodifiableList(modeIds); in SupportedModesVote()
DVote.java232 static Vote forSupportedModes(List<Integer> modeIds) { in forSupportedModes() argument
233 return new SupportedModesVote(modeIds); in forSupportedModes()
DDisplayModeDirector.java554 public void requestDisplayModes(IBinder token, int displayId, int[] modeIds) { in requestDisplayModes() argument
561 mSystemRequestObserver.requestDisplayModes(token, displayId, modeIds); in requestDisplayModes()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSupportedModesVoteTest.kt51 fun `does not add supported mode ids if summary has empty list of modeIds`() { in does not add supported mode ids if summary has empty list of modeIds()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java1664 public void requestDisplayModes(int displayId, @Nullable int[] modeIds) { in requestDisplayModes() argument
1665 if (modeIds != null && modeIds.length == 0) { in requestDisplayModes()
1668 mGlobal.requestDisplayModes(displayId, modeIds); in requestDisplayModes()
DIDisplayManager.aidl245 void requestDisplayModes(in IBinder token, int displayId, in @nullable int[] modeIds); in requestDisplayModes() argument
DDisplayManagerGlobal.java1208 public void requestDisplayModes(int displayId, @Nullable int[] modeIds) { in requestDisplayModes() argument
1210 mDm.requestDisplayModes(mToken, displayId, modeIds); in requestDisplayModes()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java4665 public void requestDisplayModes(IBinder token, int displayId, @Nullable int[] modeIds) { in requestDisplayModes() argument
4668 token, displayId, modeIds); in requestDisplayModes()