Home
last modified time | relevance | path

Searched refs:GUARDED_BY (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/native/services/surfaceflinger/
DSurfaceTracing.h99 uint32_t mTraceFlags GUARDED_BY(mSfLock) = TRACE_ALL;
100 const char* mWhere GUARDED_BY(mSfLock) = "";
103 LayersTraceBuffer mBuffer GUARDED_BY(mTraceLock);
104 size_t mBufferSize GUARDED_BY(mTraceLock) = kDefaultBufferCapInByte;
105 bool mEnabled GUARDED_BY(mTraceLock) = false;
106 bool mWriteToFile GUARDED_BY(mTraceLock) = false;
DRegionSamplingThread.h118 bool mRunning GUARDED_BY(mThreadControlMutex) = true;
119 bool mSampleRequested GUARDED_BY(mThreadControlMutex) = false;
120 bool mDiscardedFrames GUARDED_BY(mThreadControlMutex) = false;
121 std::chrono::nanoseconds lastSampleTime GUARDED_BY(mThreadControlMutex);
124 std::unordered_map<wp<IBinder>, Descriptor, WpHash> mDescriptors GUARDED_BY(mSamplingMutex);
125 sp<GraphicBuffer> mCachedBuffer GUARDED_BY(mSamplingMutex) = nullptr;
DTransactionCompletedThread.h119 std::thread mThread GUARDED_BY(mThreadMutex);
128 mPendingTransactions GUARDED_BY(mMutex);
131 mCompletedTransactions GUARDED_BY(mMutex);
133 bool mRunning GUARDED_BY(mMutex) = false;
134 bool mKeepRunning GUARDED_BY(mMutex) = true;
136 sp<Fence> mPresentFence GUARDED_BY(mMutex);
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.h244 bool mPrimaryHWVsyncEnabled GUARDED_BY(mHWVsyncLock);
245 bool mHWVsyncAvailable GUARDED_BY(mHWVsyncLock);
278 ChangeRefreshRateCallback mChangeRefreshRateCallback GUARDED_BY(mCallbackLock);
279 GetVsyncPeriod mGetVsyncPeriod GUARDED_BY(mCallbackLock);
284 ContentFeatureState mCurrentContentFeatureState GUARDED_BY(mFeatureStateLock) =
286 IdleTimerState mCurrentIdleTimerState GUARDED_BY(mFeatureStateLock) = IdleTimerState::RESET;
287 TouchState mCurrentTouchState GUARDED_BY(mFeatureStateLock) = TouchState::INACTIVE;
288 uint32_t mContentRefreshRate GUARDED_BY(mFeatureStateLock);
289 RefreshRateType mRefreshRateType GUARDED_BY(mFeatureStateLock);
290 bool mIsHDRContent GUARDED_BY(mFeatureStateLock) = false;
DLayerInfo.h169 nsecs_t mLastUpdatedTime GUARDED_BY(mLock) = 0;
170 nsecs_t mLastPresentTime GUARDED_BY(mLock) = 0;
171 RefreshRateHistory mRefreshRateHistory GUARDED_BY(mLock);
172 PresentTimeHistory mPresentTimeHistory GUARDED_BY(mLock);
173 bool mIsHDR GUARDED_BY(mLock) = false;
174 bool mIsVisible GUARDED_BY(mLock) = false;
DDispSyncSource.h47 nsecs_t mLastCallbackTime GUARDED_BY(mVsyncMutex) = 0;
52 VSyncSource::Callback* mCallback GUARDED_BY(mCallbackMutex) = nullptr;
55 nsecs_t mPhaseOffset GUARDED_BY(mVsyncMutex);
56 bool mEnabled GUARDED_BY(mVsyncMutex) = false;
DEventThread.h174 VSyncSource* mVSyncSource GUARDED_BY(mMutex) = nullptr;
175 std::unique_ptr<VSyncSource> mVSyncSourceUnique GUARDED_BY(mMutex) = nullptr;
184 std::vector<wp<EventThreadConnection>> mDisplayEventConnections GUARDED_BY(mMutex);
185 std::deque<DisplayEventReceiver::Event> mPendingEvents GUARDED_BY(mMutex);
202 std::optional<VSyncState> mVSyncState GUARDED_BY(mMutex);
212 State mState GUARDED_BY(mMutex) = State::Idle;
DEventControlThread.h55 bool mVsyncEnabled GUARDED_BY(mMutex) = false;
56 bool mKeepRunning GUARDED_BY(mMutex) = true;
DLayerHistory.h76 std::unordered_map<int64_t, std::shared_ptr<LayerInfo>> mActiveLayerInfos GUARDED_BY(mLock);
77 std::unordered_map<int64_t, std::shared_ptr<LayerInfo>> mInactiveLayerInfos GUARDED_BY(mLock);
/frameworks/opt/gamesdk/src/swappy/
DSettings.h55 std::vector<Listener> mListeners GUARDED_BY(mMutex);
58 mRefreshPeriod GUARDED_BY(mMutex) = std::chrono::nanoseconds{12'345'678}; in GUARDED_BY() function
59 uint64_t mSwapIntervalNS GUARDED_BY(mMutex) = 16666667L;
60 bool mUseAffinity GUARDED_BY(mMutex) = true;
DEGL.h107 std::thread mFenceWaiter GUARDED_BY(mFenceWaiterLock);
110 bool mFenceWaiterRunning GUARDED_BY(mFenceWaiterLock) = true;
111 bool mFenceWaiterPending GUARDED_BY(mFenceWaiterLock) = false;
113 EGLDisplay mDisplay GUARDED_BY(mFenceWaiterLock);
114 EGLSyncKHR mSyncFence GUARDED_BY(mFenceWaiterLock) = EGL_NO_SYNC_KHR;
DThread.h34 #define GUARDED_BY(x) \ macro
40 #define GUARDED_BY(x) macro
DSwappy.h236 std::vector<FrameDuration> mFrameDurations GUARDED_BY(mFrameDurationsMutex);
237 FrameDuration mFrameDurationsSum GUARDED_BY(mFrameDurationsMutex);
239 bool mAutoSwapIntervalEnabled GUARDED_BY(mFrameDurationsMutex) = true;
240 bool mPipelineModeAutoMode GUARDED_BY(mFrameDurationsMutex) = true;
DChoreographerThread.cpp70 ALooper *mLooper GUARDED_BY(mWaitingMutex) = nullptr;
71 bool mThreadRunning GUARDED_BY(mWaitingMutex) = false;
72 AChoreographer *mChoreographer GUARDED_BY(mWaitingMutex) = nullptr;
/frameworks/native/services/inputflinger/
DInputDispatcher.h925 EventEntry* mPendingEvent GUARDED_BY(mLock);
926 Queue<EventEntry> mInboundQueue GUARDED_BY(mLock);
927 Queue<EventEntry> mRecentQueue GUARDED_BY(mLock);
928 Queue<CommandEntry> mCommandQueue GUARDED_BY(mLock);
930 DropReason mLastDropReason GUARDED_BY(mLock);
944 bool mAppSwitchSawKeyDown GUARDED_BY(mLock);
945 nsecs_t mAppSwitchDueTime GUARDED_BY(mLock);
956 EventEntry* mNextUnblockedEvent GUARDED_BY(mLock);
962 KeyedVector<int, sp<Connection> > mConnectionsByFd GUARDED_BY(mLock);
970 GUARDED_BY(mLock);
[all …]
DInputClassifier.h190 mClassifications GUARDED_BY(mLock);
211 std::unordered_map<int32_t /*deviceId*/, nsecs_t /*downTime*/> mLastDownTimes GUARDED_BY(mLock);
254 std::unique_ptr<MotionClassifierInterface> mMotionClassifier GUARDED_BY(mLock);
/frameworks/ml/nn/runtime/
DCallbacks.h157 bool mNotified GUARDED_BY(mMutex) = false;
369 mutable std::thread mThread GUARDED_BY(mMutex);
370 ExecutionFinish mOnFinish GUARDED_BY(mMutex);
371 bool mNotified GUARDED_BY(mMutex) = false;
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferHubService.h69 std::set<wp<BufferClient>> mClientSet GUARDED_BY(mClientSetMutex);
78 int mLastTokenId GUARDED_BY(mTokenMutex) = 0;
83 GUARDED_BY(mTokenMutex);
DBufferHubIdGenerator.h52 std::set<int> mIdsInUse GUARDED_BY(mIdsInUseMutex);
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/
DRenderer.h97 std::thread mThread GUARDED_BY(mThreadMutex);
100 std::queue<Task> mQueue GUARDED_BY(mQueueMutex);
101 bool mIsActive GUARDED_BY(mQueueMutex) = true;
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/
DWorkerThread.h110 std::thread mThread GUARDED_BY(mThreadMutex);
113 bool mIsActive GUARDED_BY(mWorkMutex) = true;
114 std::queue<std::function<void(ThreadState *)>> mWorkQueue GUARDED_BY(mWorkMutex);
/frameworks/minikin/libs/minikin/
DLocaleListCache.h63 std::vector<LocaleList> mLocaleLists GUARDED_BY(mMutex);
66 std::unordered_map<std::string, uint32_t> mLocaleListLookupTable GUARDED_BY(mMutex);
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.h216 std::unordered_map<uint64_t, std::unique_ptr<Image>> mImageCache GUARDED_BY(mRenderingMutex);
251 std::queue<QueueEntry> mQueue GUARDED_BY(mMutex);
252 uint64_t mFramesQueued GUARDED_BY(mMutex) = 0;
/frameworks/opt/gamesdk/samples/common/include/
DThread.h29 #define GUARDED_BY(x) \ macro
/frameworks/minikin/include/minikin/
DMacros.h54 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x)) macro

123