Home
last modified time | relevance | path

Searched refs:powerMode (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h112 void setDisplayPowerMode(PhysicalDisplayId displayId, hal::PowerMode powerMode) { in setDisplayPowerMode() argument
114 Scheduler::setDisplayPowerMode(displayId, powerMode); in setDisplayPowerMode()
130 [](const Display& display) { return display.powerMode; }); in getDisplayPowerMode()
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncController.h84 virtual void setDisplayPowerMode(hal::PowerMode powerMode) = 0;
DScheduler.cpp494 void Scheduler::setActiveDisplayPowerModeForRefreshRateStats(hal::PowerMode powerMode) { in setActiveDisplayPowerModeForRefreshRateStats() argument
495 mRefreshRateStats->setPowerMode(powerMode); in setActiveDisplayPowerModeForRefreshRateStats()
526 if (display.powerMode != hal::PowerMode::OFF || in resyncAllToHardwareVsync()
566 if (display.powerMode != hal::PowerMode::OFF) { in onHardwareVsyncRequest()
645 return display.powerMode == hal::PowerMode::OFF in addPresentFence()
736 void Scheduler::setDisplayPowerMode(PhysicalDisplayId id, hal::PowerMode powerMode) { in setDisplayPowerMode() argument
744 mPolicy.displayPowerMode = powerMode; in setDisplayPowerMode()
753 display.powerMode = powerMode; in setDisplayPowerMode()
754 display.schedulePtr->getController().setDisplayPowerMode(powerMode); in setDisplayPowerMode()
1178 if (display.powerMode != hal::PowerMode::ON) continue; in chooseDisplayModes()
DVSyncReactor.cpp230 void VSyncReactor::setDisplayPowerMode(hal::PowerMode powerMode) { in setDisplayPowerMode() argument
232 mDisplayPowerMode = powerMode; in setDisplayPowerMode()
DVSyncReactor.h54 void setDisplayPowerMode(hal::PowerMode powerMode) final;
DScheduler.h524 hal::PowerMode powerMode = hal::PowerMode::OFF; member
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp376 if (mPowerTime.powerMode == PowerMode::ON) { in recordFrameDuration()
899 switch (mPowerTime.powerMode) { in flushPowerTimeLocked()
914 void TimeStats::setPowerMode(PowerMode powerMode) { in setPowerMode() argument
917 mPowerTime.powerMode = powerMode; in setPowerMode()
922 if (powerMode == mPowerTime.powerMode) return; in setPowerMode()
925 mPowerTime.powerMode = powerMode; in setPowerMode()
1002 if (mPowerTime.powerMode != PowerMode::ON) { in setPresentFenceGlobal()
DTimeStats.h179 hardware::graphics::composer::V2_4::IComposerClient::PowerMode powerMode) = 0;
224 PowerMode powerMode = PowerMode::OFF; member
282 hardware::graphics::composer::V2_4::IComposerClient::PowerMode powerMode) override;