Home
last modified time | relevance | path

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

12

/system/media/audio_utils/include/audio_utils/
DMelProcessor.h189 std::vector<MelCallbackData> mCallbackRingBuffer GUARDED_BY(mCondVarMutex);
197 bool mStopRequested GUARDED_BY(mCondVarMutex) = false;
216 uint32_t mSampleRate GUARDED_BY(mLock);
218 size_t mFramesPerMelValue GUARDED_BY(mLock);
220 uint32_t mChannelCount GUARDED_BY(mLock);
222 audio_format_t mFormat GUARDED_BY(mLock);
224 std::vector<float> mAWeightSamples GUARDED_BY(mLock);
226 std::vector<float> mFloatSamples GUARDED_BY(mLock);
228 std::vector<float> mCurrentChannelEnergy GUARDED_BY(mLock);
230 std::vector<float> mMelValues GUARDED_BY(mLock);
[all …]
DMelAggregator.h140 std::map<int64_t, MelRecord> mMelRecords GUARDED_BY(mLock);
141 std::map<int64_t, CsdRecord> mCsdRecords GUARDED_BY(mLock);
144 float mCurrentMelRecordsCsd GUARDED_BY(mLock) = 0.f;
147 float mCurrentCsd GUARDED_BY(mLock) = 0.f;
DCommandThread.h95 std::condition_variable mConditionVariable GUARDED_BY(mMutex);
96 std::deque<std::pair<std::string, std::function<void()>>> mCommands GUARDED_BY(mMutex);
97 bool mQuit GUARDED_BY(mMutex) = false;
/system/netd/server/
DTcpSocketMonitor.h100 milliseconds mNextSleepDurationMs GUARDED_BY(mLock);
102 time_point mLastPoll GUARDED_BY(mLock);
104 bool mIsSuspended GUARDED_BY(mLock);
106 bool mIsRunning GUARDED_BY(mLock);
110 std::unordered_map<uint64_t, SocketEntry> mSocketEntries GUARDED_BY(mLock);
114 std::unordered_map<uint32_t, TcpStats> mNetworkStats GUARDED_BY(mLock);
DEventReporter.h56 GUARDED_BY(mEventMutex);
57 UnsolListenerMap mUnsolListenerMap GUARDED_BY(mUnsolicitedMutex);
DOemNetdListener.h48 OemUnsolListenerMap mOemUnsolListenerMap GUARDED_BY(mOemUnsolicitedMutex);
DRouteController.h213 static std::map<std::string, uint32_t> sInterfaceToTable GUARDED_BY(sInterfaceToTableLock);
/system/logging/logd/
DLogReaderThread.h102 std::unique_ptr<LogWriter> writer_ GUARDED_BY(logd_lock);
104 PendingReaderThreadKey pending_reader_thread_key_ GUARDED_BY(logd_lock);
106 bool finished_ GUARDED_BY(logd_lock) = false;
108 bool tracked_ GUARDED_BY(logd_lock) = false;
111 bool release_ GUARDED_BY(logd_lock) = false;
118 unsigned int skip_ahead_[LOG_ID_MAX] GUARDED_BY(logd_lock);
120 std::unique_ptr<FlushToState> flush_to_state_ GUARDED_BY(logd_lock);
138 std::chrono::steady_clock::time_point deadline_ GUARDED_BY(logd_lock);
DSerializedFlushToState.h79 std::list<SerializedLogChunk>* logs_ GUARDED_BY(logd_lock) = nullptr;
82 std::optional<LogPosition> log_positions_[LOG_ID_MAX] GUARDED_BY(logd_lock);
87 std::bitset<LOG_ID_MAX> logs_needed_from_next_position_ GUARDED_BY(logd_lock) = {};
DLogStatistics.h415 size_t mSizes[LOG_ID_MAX] GUARDED_BY(lock_);
416 size_t mElements[LOG_ID_MAX] GUARDED_BY(lock_);
417 size_t mSizesTotal[LOG_ID_MAX] GUARDED_BY(lock_);
418 size_t mElementsTotal[LOG_ID_MAX] GUARDED_BY(lock_);
419 log_time mOldest[LOG_ID_MAX] GUARDED_BY(lock_);
420 log_time mNewest[LOG_ID_MAX] GUARDED_BY(lock_);
426 uidTable_t uidTable[LOG_ID_MAX] GUARDED_BY(lock_);
430 pidSystemTable_t pidSystemTable[LOG_ID_MAX] GUARDED_BY(lock_);
434 pidTable_t pidTable GUARDED_BY(lock_);
438 tidTable_t tidTable GUARDED_BY(lock_);
[all …]
DLogReaderList.h43 std::list<std::unique_ptr<LogReaderThread>> running_reader_threads_ GUARDED_BY(logd_lock);
44 std::vector<std::unique_ptr<LogReaderThread>> pending_reader_threads_ GUARDED_BY(logd_lock);
DSimpleLogBuffer.h78 size_t max_size_[LOG_ID_MAX] GUARDED_BY(logd_lock);
79 std::list<LogBufferElement> logs_ GUARDED_BY(logd_lock);
82 std::optional<std::list<LogBufferElement>::iterator> oldest_[LOG_ID_MAX] GUARDED_BY(logd_lock);
DSerializedLogBuffer.h72 size_t max_size_[LOG_ID_MAX] GUARDED_BY(logd_lock) = {};
73 std::list<SerializedLogChunk> logs_[LOG_ID_MAX] GUARDED_BY(logd_lock);
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.h117 std::condition_variable mAutosuspendCondVar GUARDED_BY(mAutosuspendLock);
118 uint32_t mSuspendCounter GUARDED_BY(mAutosuspendLock);
120 std::vector<sp<IBinder>> mAutosuspendClientTokens GUARDED_BY(mAutosuspendClientTokensLock);
121 std::atomic<bool> mAutosuspendEnabled GUARDED_BY(mAutosuspendLock){false}; in GUARDED_BY() function
122 std::atomic<bool> mAutosuspendThreadCreated GUARDED_BY(mAutosuspendLock){false}; in GUARDED_BY() function
130 SuspendInfo mSuspendInfo GUARDED_BY(mSuspendInfoLock);
136 int32_t mNumConsecutiveBadSuspends GUARDED_BY(mSuspendInfoLock);
DWakeupList.h49 std::list<WakeupInfo> mWakeups GUARDED_BY(mLock);
50 std::unordered_map<std::string, std::list<WakeupInfo>::iterator> mLookupTable GUARDED_BY(mLock);
DWakeLockEntryList.h78 std::list<WakeLockInfo> mStats GUARDED_BY(mStatsLock);
80 mLookupTable GUARDED_BY(mStatsLock);
/system/chre/host/common/include/chre_host/pigweed/
Dhal_rpc_client.h175 size_t mMaxMessageLen GUARDED_BY(mHubInfoMutex);
181 GUARDED_BY(mNanoappMutex);
/system/core/libutils/
DMutex_test.cpp22 static int i GUARDED_BY(mLock);
/system/chre/chpp/test/
Dfake_link.h75 std::deque<std::vector<uint8_t>> mTxPackets GUARDED_BY(mMutex);
/system/core/init/
Daction_manager.h60 GUARDED_BY(event_queue_lock_);
Dinit.cpp222 GUARDED_BY(lock_) std::unique_ptr<Timer> waiting_for_prop_{nullptr}; in GUARDED_BY() function in android::init::PropWaiterState
223 GUARDED_BY(lock_) std::string wait_prop_name_;
224 GUARDED_BY(lock_) std::string wait_prop_value_;
261 std::string shutdown_command_ GUARDED_BY(shutdown_command_lock_);
/system/chre/host/hal_generic/common/
Dhal_client_manager.h498 std::vector<Client> mClients GUARDED_BY(mLock);
502 GUARDED_BY(mLock) = std::nullopt;
504 GUARDED_BY(mLock) = std::nullopt;
/system/libbase/include/android-base/
Dthread_annotations.h32 #define GUARDED_BY(x) \ macro
/system/core/libutils/include/utils/
DMutex.h43 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x)) macro
/system/media/audio_utils/tests/
Daudio_mutex_tests.cpp222 int v1_ GUARDED_BY(cap1) = 1;
223 int v2_ GUARDED_BY(mutex2()) = 2;
224 int v3_ GUARDED_BY(cap3) = 3;

12