• Home
  • Raw
  • Download

Lines Matching refs:gChoreographers

105 } gChoreographers;  variable
109 explicit Choreographer(const sp<Looper>& looper) EXCLUDES(gChoreographers.lock);
113 EXCLUDES(gChoreographers.lock);
130 virtual ~Choreographer() override EXCLUDES(gChoreographers.lock);
183 std::lock_guard<std::mutex> _l(gChoreographers.lock); in Choreographer()
184 gChoreographers.ptrs.push_back(this); in Choreographer()
188 std::lock_guard<std::mutex> _l(gChoreographers.lock); in ~Choreographer()
189 gChoreographers.ptrs.erase(std::remove_if(gChoreographers.ptrs.begin(), in ~Choreographer()
190 gChoreographers.ptrs.end(), in ~Choreographer()
192 gChoreographers.ptrs.end()); in ~Choreographer()
195 if (gChoreographers.ptrs.empty() && gChoreographers.registeredToDisplayManager) { in ~Choreographer()
255 std::lock_guard<std::mutex> _l2(gChoreographers.lock); in registerRefreshRateCallback()
256 needsRegistration = !gChoreographers.registeredToDisplayManager; in registerRefreshRateCallback()
276 std::lock_guard<std::mutex> _l2(gChoreographers.lock); in registerRefreshRateCallback()
277 gChoreographers.registeredToDisplayManager = true; in registerRefreshRateCallback()
336 const nsecs_t pendingPeriod = gChoreographers.mLastKnownVsync.load(); in handleRefreshRateUpdates()
439 void AChoreographer_signalRefreshRateCallbacks(nsecs_t vsyncPeriod) EXCLUDES(gChoreographers.lock) { in AChoreographer_signalRefreshRateCallbacks()
440 std::lock_guard<std::mutex> _l(gChoreographers.lock); in AChoreographer_signalRefreshRateCallbacks()
441 gChoreographers.mLastKnownVsync.store(vsyncPeriod); in AChoreographer_signalRefreshRateCallbacks()
442 for (auto c : gChoreographers.ptrs) { in AChoreographer_signalRefreshRateCallbacks()