Loading services/surfaceflinger/Scheduler/RefreshRateSelector.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1674,7 +1674,7 @@ void RefreshRateSelector::dump(utils::Dumper& dumper) const { } std::chrono::milliseconds RefreshRateSelector::getIdleTimerTimeout() { if (FlagManager::getInstance().idle_screen_refresh_rate_timeout() && mIdleTimer) { if (mIdleTimer) { return std::chrono::duration_cast<std::chrono::milliseconds>(mIdleTimer->interval()); } return mConfig.legacyIdleTimerTimeout; Loading services/surfaceflinger/SurfaceFlinger.cpp +1 −5 Original line number Diff line number Diff line Loading @@ -8198,13 +8198,9 @@ status_t SurfaceFlinger::setDesiredDisplayModeSpecs(const sp<IBinder>& displayTo return INVALID_OPERATION; } else { using Policy = scheduler::RefreshRateSelector::DisplayManagerPolicy; const auto idleScreenConfigOpt = FlagManager::getInstance().idle_screen_refresh_rate_timeout() ? specs.idleScreenRefreshRateConfig : std::nullopt; const Policy policy{DisplayModeId(specs.defaultMode), translate(specs.primaryRanges), translate(specs.appRequestRanges), specs.allowGroupSwitching, idleScreenConfigOpt}; specs.idleScreenRefreshRateConfig}; return setDesiredDisplayModeSpecsInternal(display, policy); } Loading services/surfaceflinger/common/FlagManager.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -163,7 +163,6 @@ void FlagManager::dump(std::string& result) const { DUMP_ACONFIG_FLAG(graphite_renderengine); DUMP_ACONFIG_FLAG(hdcp_level_hal); DUMP_ACONFIG_FLAG(hdcp_negotiation); DUMP_ACONFIG_FLAG(idle_screen_refresh_rate_timeout); DUMP_ACONFIG_FLAG(latch_unsignaled_with_auto_refresh_changed); DUMP_ACONFIG_FLAG(local_tonemap_screenshots); DUMP_ACONFIG_FLAG(misc1); Loading Loading @@ -314,9 +313,6 @@ FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(adpf_use_fmq_channel, "", android::os) FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(correct_virtual_display_power_state, "", android::companion::virtualdevice::flags) /// Trunk stable readonly flags from outside SurfaceFlinger /// FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(idle_screen_refresh_rate_timeout, "", com::android::server::display::feature::flags) FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(adpf_use_fmq_channel_fixed, "", android::os) FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(trace_frame_rate_override, "", com::android::graphics::libgui::flags); Loading services/surfaceflinger/common/include/common/FlagManager.h +0 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,6 @@ public: bool graphite_renderengine() const; bool hdcp_level_hal() const; bool hdcp_negotiation() const; bool idle_screen_refresh_rate_timeout() const; bool latch_unsignaled_with_auto_refresh_changed() const; bool local_tonemap_screenshots() const; bool luts_api() const; Loading Loading
services/surfaceflinger/Scheduler/RefreshRateSelector.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1674,7 +1674,7 @@ void RefreshRateSelector::dump(utils::Dumper& dumper) const { } std::chrono::milliseconds RefreshRateSelector::getIdleTimerTimeout() { if (FlagManager::getInstance().idle_screen_refresh_rate_timeout() && mIdleTimer) { if (mIdleTimer) { return std::chrono::duration_cast<std::chrono::milliseconds>(mIdleTimer->interval()); } return mConfig.legacyIdleTimerTimeout; Loading
services/surfaceflinger/SurfaceFlinger.cpp +1 −5 Original line number Diff line number Diff line Loading @@ -8198,13 +8198,9 @@ status_t SurfaceFlinger::setDesiredDisplayModeSpecs(const sp<IBinder>& displayTo return INVALID_OPERATION; } else { using Policy = scheduler::RefreshRateSelector::DisplayManagerPolicy; const auto idleScreenConfigOpt = FlagManager::getInstance().idle_screen_refresh_rate_timeout() ? specs.idleScreenRefreshRateConfig : std::nullopt; const Policy policy{DisplayModeId(specs.defaultMode), translate(specs.primaryRanges), translate(specs.appRequestRanges), specs.allowGroupSwitching, idleScreenConfigOpt}; specs.idleScreenRefreshRateConfig}; return setDesiredDisplayModeSpecsInternal(display, policy); } Loading
services/surfaceflinger/common/FlagManager.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -163,7 +163,6 @@ void FlagManager::dump(std::string& result) const { DUMP_ACONFIG_FLAG(graphite_renderengine); DUMP_ACONFIG_FLAG(hdcp_level_hal); DUMP_ACONFIG_FLAG(hdcp_negotiation); DUMP_ACONFIG_FLAG(idle_screen_refresh_rate_timeout); DUMP_ACONFIG_FLAG(latch_unsignaled_with_auto_refresh_changed); DUMP_ACONFIG_FLAG(local_tonemap_screenshots); DUMP_ACONFIG_FLAG(misc1); Loading Loading @@ -314,9 +313,6 @@ FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(adpf_use_fmq_channel, "", android::os) FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(correct_virtual_display_power_state, "", android::companion::virtualdevice::flags) /// Trunk stable readonly flags from outside SurfaceFlinger /// FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(idle_screen_refresh_rate_timeout, "", com::android::server::display::feature::flags) FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(adpf_use_fmq_channel_fixed, "", android::os) FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(trace_frame_rate_override, "", com::android::graphics::libgui::flags); Loading
services/surfaceflinger/common/include/common/FlagManager.h +0 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,6 @@ public: bool graphite_renderengine() const; bool hdcp_level_hal() const; bool hdcp_negotiation() const; bool idle_screen_refresh_rate_timeout() const; bool latch_unsignaled_with_auto_refresh_changed() const; bool local_tonemap_screenshots() const; bool luts_api() const; Loading