/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | DisableRefreshRateSwitchingVoteTest.kt | 36 val vote = DisableRefreshRateSwitchingVote(voteDisableSwitching) in testDisableRefreshRateSwitch_alreadyDisabled() constant 46 val vote = DisableRefreshRateSwitchingVote(true) in disablesRefreshRateSwitch_notDisabled_requested() constant 56 val vote = DisableRefreshRateSwitchingVote(false) in doesNotDisableRefreshRateSwitch_notDisabled_notRequested() constant
|
D | ModeChangeObserverTest.kt | 87 val vote = newVotes.get(Vote.PRIORITY_REJECTED_MODES) in testOnModeRejectedBeforeDisplayAdded() constant 107 val vote = newVotes.get(Vote.PRIORITY_REJECTED_MODES) in testOnDisplayAddedBeforeOnModeRejected() constant 125 val vote = newVotes.get(Vote.PRIORITY_REJECTED_MODES) in testOnDisplayAddedThenRejectedThenRemoved() constant 173 val vote = newVotes.get(Vote.PRIORITY_REJECTED_MODES) in testForModesNotRejectedAfterDisplayChanged() constant
|
D | SystemRequestObserverTest.kt | 63 val vote = votes.get(Vote.PRIORITY_SYSTEM_REQUESTED_MODES) in testRequestDisplayModes_voteAdded() constant 83 val vote = votes.get(Vote.PRIORITY_SYSTEM_REQUESTED_MODES) in testRequestDisplayModes_voteReplaced() constant 204 val vote = votes.get(Vote.PRIORITY_SYSTEM_REQUESTED_MODES) in testRequestDisplayModes_differentToken_voteHasModesSubset() constant 228 val vote = votes.get(Vote.PRIORITY_SYSTEM_REQUESTED_MODES) in testBinderDies_recalculatesVotes() constant
|
D | DisplayModeDirectorTest.java | 2823 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_PROXIMITY); in testProximitySensorVoting() local 2891 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_HIGH_BRIGHTNESS_MODE); in testHbmVoting_forHdr() local 3015 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_HIGH_BRIGHTNESS_MODE); in testHbmVoting_forSunlight() local 3089 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_HIGH_BRIGHTNESS_MODE); in testHbmVoting_forSunlight_NoLimitation() local 3129 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_HIGH_BRIGHTNESS_MODE); in testHbmVoting_HbmUnsupported() local 3182 final Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_HIGH_BRIGHTNESS_MODE); in setHbmAndAssertRefreshRate() local 3215 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_HIGH_BRIGHTNESS_MODE); in testHbmVoting_forSunlightAndHdr() local 3253 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_HIGH_BRIGHTNESS_MODE); in testHbmVoting_RemovedDisplay() local 3283 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_SKIN_TEMPERATURE); in testSkinTemperature() local 3543 Vote vote = director.getVote(DISPLAY_ID, Vote.PRIORITY_AUTH_OPTIMIZER_RENDER_FRAME_RATE); in testAuthenticationPossibleSetsPhysicalRateRangesToMax() local [all …]
|
D | SkinThermalStatusObserverTest.java | 107 Vote vote = displayVotes.get(Vote.PRIORITY_SKIN_TEMPERATURE); in testNotifyWithDefaultVotesForCritical() local 175 Vote vote = displayVotes.get(Vote.PRIORITY_SKIN_TEMPERATURE); in testNotifiesWithConfigVotes() local 198 Vote vote = displayVotes.get(Vote.PRIORITY_SKIN_TEMPERATURE); in testDisplayAdded() local
|
D | RequestedRefreshRateVoteTest.kt | 33 val vote = RequestedRefreshRateVote(refreshRate) in testUpdatesRequestedRefreshRates() constant
|
D | ProximitySensorObserverTest.java | 75 Vote vote = displayVotes.get(Vote.PRIORITY_PROXIMITY); in testAddsProximityVoteIfSensorManagerProximityActive() local
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | VotesStatsReporter.java | 47 void reportVoteChanged(int displayId, int priority, @Nullable Vote vote) { in reportVoteChanged() 55 private void reportVoteAdded(int displayId, int priority, @NonNull Vote vote) { in reportVoteAdded() 82 Vote vote = votes.get(priority); in reportVotesActivated() local 108 private static int getMaxRefreshRate(@NonNull Vote vote, boolean ignoreRenderRate) { in getMaxRefreshRate()
|
D | VotesStorage.java | 82 void updateGlobalVote(@Vote.Priority int priority, @Nullable Vote vote) { in updateGlobalVote() 87 void updateVote(int displayId, @Vote.Priority int priority, @Nullable Vote vote) { in updateVote() 183 Vote vote = votes.get(p); in dump() local
|
D | SkinThermalStatusObserver.java | 238 Vote vote = null; in reportThrottlingIfNeeded() local 250 Vote vote = null; in fallbackReportThrottlingIfNeeded() local
|
D | ProximitySensorObserver.java | 88 Vote vote = null; in recalculateVotesLocked() local
|
D | VoteSummary.java | 84 Vote vote = votes.get(priority); in applyVotes() local
|
D | DisplayModeDirector.java | 1145 final Vote vote; in updateLowPowerModeSettingLocked() local 1381 Vote vote = null; in getBaseModeVote() local 2825 final Vote vote; in updateVoteLocked() local 2980 Vote vote = null; in recalculateVotesForDisplay() local
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerInfoTest.cpp | 200 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F() local 214 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F() local 234 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F() local 247 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F() local 260 LayerInfo::LayerVote vote = { in TEST_F() local
|
D | LayerHistoryIntegrationTest.cpp | 127 LayerHistory::LayerVoteType vote) NO_THREAD_SAFETY_ANALYSIS { in setDefaultLayerVote()
|
D | RefreshRateSelectorTest.cpp | 3398 const auto testRefreshRate = [&](Fps fps, LayerVoteType vote) { in TEST_P() 4606 for (auto vote : layerVotes) { in TEST_P() local
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerInfo.h | 112 } vote; member 122 : vote(FrameRateVote(rate, type, seamlessness)), category(category) {} in vote() function 187 void setLayerVote(LayerVote vote) { mLayerVote = vote; } in setLayerVote()
|
D | RefreshRateSelector.h | 177 LayerVoteType vote = LayerVoteType::NoVote; member 207 static bool isNoVote(LayerVoteType vote) { return vote == LayerVoteType::NoVote; } in isNoVote()
|
D | LayerHistory.cpp | 209 for (LayerInfo::LayerVote vote : votes) { in summarize() local
|
D | RefreshRateSelector.cpp | 793 const bool fixedSourceLayer = [](LayerVoteType vote) { in getRankedFrameRatesLocked()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 1433 const auto vote = frameRateToSetFrameRateVotePayload(getFrameRateForLayerTree()); in onCompositionPresented() local
|