Lines Matching refs:Scheduler

65 Scheduler::Scheduler(ICompositor& compositor, ISchedulerCallback& callback, FeatureFlags features,  in Scheduler()  function in android::scheduler::Scheduler
74 Scheduler::~Scheduler() { in ~Scheduler()
88 void Scheduler::initVsync(frametimeline::TokenManager& tokenManager, in initVsync()
93 void Scheduler::startTimers() { in startTimers()
120 void Scheduler::setPacesetterDisplay(PhysicalDisplayId pacesetterId) { in setPacesetterDisplay()
127 void Scheduler::registerDisplay(PhysicalDisplayId displayId, RefreshRateSelectorPtr selectorPtr, in registerDisplay()
139 void Scheduler::registerDisplayInternal(PhysicalDisplayId displayId, in registerDisplayInternal()
171 void Scheduler::unregisterDisplay(PhysicalDisplayId displayId, PhysicalDisplayId activeDisplayId) { in unregisterDisplay()
194 void Scheduler::run() { in run()
200 void Scheduler::onFrameSignal(ICompositor& compositor, VsyncId vsyncId, in onFrameSignal()
280 std::optional<Fps> Scheduler::getFrameRateOverride(uid_t uid) const { in getFrameRateOverride()
287 bool Scheduler::isVsyncValid(TimePoint expectedVsyncTime, uid_t uid) const { in isVsyncValid()
297 bool Scheduler::isVsyncInPhase(TimePoint expectedVsyncTime, Fps frameRate) const { in isVsyncInPhase()
301 bool Scheduler::throttleVsync(android::TimePoint expectedPresentTime, uid_t uid) { in throttleVsync()
305 Period Scheduler::getVsyncPeriod(uid_t uid) { in getVsyncPeriod()
334 void Scheduler::onExpectedPresentTimePosted(TimePoint expectedPresentTime) { in onExpectedPresentTimePosted()
348 void Scheduler::createEventThread(Cycle cycle, frametimeline::TokenManager* tokenManager, in createEventThread()
365 sp<IDisplayEventConnection> Scheduler::createDisplayEventConnection( in createDisplayEventConnection()
387 void Scheduler::dispatchHotplug(PhysicalDisplayId displayId, Hotplug hotplug) { in dispatchHotplug()
395 void Scheduler::dispatchHotplugError(int32_t errorCode) { in dispatchHotplugError()
402 void Scheduler::enableSyntheticVsync(bool enable) { in enableSyntheticVsync()
406 void Scheduler::onFrameRateOverridesChanged(Cycle cycle, PhysicalDisplayId displayId) { in onFrameRateOverridesChanged()
416 void Scheduler::onHdcpLevelsChanged(Cycle cycle, PhysicalDisplayId displayId, in onHdcpLevelsChanged()
421 void Scheduler::onPrimaryDisplayModeChanged(Cycle cycle, const FrameRateMode& mode) { in onPrimaryDisplayModeChanged()
434 void Scheduler::dispatchCachedReportedMode() { in dispatchCachedReportedMode()
462 void Scheduler::onNonPrimaryDisplayModeChanged(Cycle cycle, const FrameRateMode& mode) { in onNonPrimaryDisplayModeChanged()
468 void Scheduler::dump(Cycle cycle, std::string& result) const { in dump()
472 void Scheduler::setDuration(Cycle cycle, std::chrono::nanoseconds workDuration, in setDuration()
479 void Scheduler::updatePhaseConfiguration(Fps refreshRate) { in updatePhaseConfiguration()
486 void Scheduler::resetPhaseConfiguration(Fps refreshRate) { in resetPhaseConfiguration()
494 void Scheduler::setActiveDisplayPowerModeForRefreshRateStats(hal::PowerMode powerMode) { in setActiveDisplayPowerModeForRefreshRateStats()
498 void Scheduler::setVsyncConfig(const VsyncConfig& config, Period vsyncPeriod) { in setVsyncConfig()
508 void Scheduler::enableHardwareVsync(PhysicalDisplayId id) { in enableHardwareVsync()
514 void Scheduler::disableHardwareVsync(PhysicalDisplayId id, bool disallow) { in disableHardwareVsync()
520 void Scheduler::resyncAllToHardwareVsync(bool allowToEnable) { in resyncAllToHardwareVsync()
533 void Scheduler::resyncToHardwareVsyncLocked(PhysicalDisplayId id, bool allowToEnable, in resyncToHardwareVsyncLocked()
553 void Scheduler::onHardwareVsyncRequest(PhysicalDisplayId id, bool enabled) { in onHardwareVsyncRequest()
573 void Scheduler::setRenderRate(PhysicalDisplayId id, Fps renderFrameRate, bool applyImmediately) { in setRenderRate()
597 Fps Scheduler::getNextFrameInterval(PhysicalDisplayId id, in getNextFrameInterval()
617 void Scheduler::resync() { in resync()
628 bool Scheduler::addResyncSample(PhysicalDisplayId id, nsecs_t timestamp, in addResyncSample()
641 void Scheduler::addPresentFence(PhysicalDisplayId id, std::shared_ptr<FenceTime> fence) { in addPresentFence()
662 void Scheduler::registerLayer(Layer* layer) { in registerLayer()
669 void Scheduler::deregisterLayer(Layer* layer) { in deregisterLayer()
673 void Scheduler::onLayerDestroyed(Layer* layer) { in onLayerDestroyed()
678 void Scheduler::recordLayerHistory(int32_t id, const LayerProps& layerProps, nsecs_t presentTime, in recordLayerHistory()
685 void Scheduler::setModeChangePending(bool pending) { in setModeChangePending()
689 void Scheduler::setDefaultFrameRateCompatibility( in setDefaultFrameRateCompatibility()
695 void Scheduler::setLayerProperties(int32_t id, const android::scheduler::LayerProps& properties) { in setLayerProperties()
699 void Scheduler::chooseRefreshRateForContent( in chooseRefreshRateForContent()
725 void Scheduler::resetIdleTimer() { in resetIdleTimer()
729 void Scheduler::onTouchHint() { in onTouchHint()
736 void Scheduler::setDisplayPowerMode(PhysicalDisplayId id, hal::PowerMode powerMode) { in setDisplayPowerMode()
767 auto Scheduler::getVsyncSchedule(std::optional<PhysicalDisplayId> idOpt) const in getVsyncSchedule()
773 auto Scheduler::getVsyncScheduleLocked(std::optional<PhysicalDisplayId> idOpt) const in getVsyncScheduleLocked()
789 void Scheduler::kernelIdleTimerCallback(TimerState state) { in kernelIdleTimerCallback()
819 void Scheduler::idleTimerCallback(TimerState state) { in idleTimerCallback()
824 void Scheduler::touchTimerCallback(TimerState state) { in touchTimerCallback()
836 void Scheduler::displayPowerTimerCallback(TimerState state) { in displayPowerTimerCallback()
841 void Scheduler::dump(utils::Dumper& dumper) const { in dump()
893 void Scheduler::dumpVsync(std::string& out) const { in dumpVsync()
910 bool Scheduler::updateFrameRateOverrides(GlobalSignals consideredSignals, Fps displayRefreshRate) { in updateFrameRateOverrides()
915 bool Scheduler::updateFrameRateOverridesLocked(GlobalSignals consideredSignals, in updateFrameRateOverridesLocked()
928 void Scheduler::promotePacesetterDisplay(PhysicalDisplayId pacesetterId, PromotionParams params) { in promotePacesetterDisplay()
938 std::shared_ptr<VsyncSchedule> Scheduler::promotePacesetterDisplayLocked( in promotePacesetterDisplayLocked()
970 void Scheduler::applyNewVsyncSchedule(std::shared_ptr<VsyncSchedule> vsyncSchedule) { in applyNewVsyncSchedule()
979 void Scheduler::demotePacesetterDisplay(PromotionParams params) { in demotePacesetterDisplay()
994 void Scheduler::updateAttachedChoreographersFrameRate( in updateAttachedChoreographersFrameRate()
1026 int Scheduler::updateAttachedChoreographersInternal( in updateAttachedChoreographersInternal()
1087 void Scheduler::updateAttachedChoreographers( in updateAttachedChoreographers()
1094 auto Scheduler::applyPolicy(S Policy::*statePtr, T&& newState) -> GlobalSignals { in applyPolicy()
1157 auto Scheduler::chooseDisplayModes() const -> DisplayModeChoiceMap { in chooseDisplayModes()
1190 GlobalSignals Scheduler::makeGlobalSignals() const { in makeGlobalSignals()
1200 FrameRateMode Scheduler::getPreferredDisplayMode() { in getPreferredDisplayMode()
1214 void Scheduler::onNewVsyncPeriodChangeTimeline(const hal::VsyncPeriodChangeTimeline& timeline) { in onNewVsyncPeriodChangeTimeline()
1224 bool Scheduler::onCompositionPresented(nsecs_t presentTime) { in onCompositionPresented()
1237 void Scheduler::onActiveDisplayAreaChanged(uint32_t displayArea) { in onActiveDisplayAreaChanged()
1241 void Scheduler::setGameModeFrameRateForUid(FrameRateOverride frameRateOverride) { in setGameModeFrameRateForUid()
1254 void Scheduler::setGameDefaultFrameRateForUid(FrameRateOverride frameRateOverride) { in setGameDefaultFrameRateForUid()
1264 void Scheduler::setPreferredRefreshRateForUid(FrameRateOverride frameRateOverride) { in setPreferredRefreshRateForUid()
1272 void Scheduler::updateSmallAreaDetection( in updateSmallAreaDetection()
1277 void Scheduler::setSmallAreaDetectionThreshold(int32_t appId, float threshold) { in setSmallAreaDetectionThreshold()
1281 bool Scheduler::isSmallDirtyArea(int32_t appId, uint32_t dirtyArea) { in isSmallDirtyArea()