/packages/modules/Connectivity/service/native/include/ |
D | TrafficController.h | 46 netdutils::Status swapActiveStatsMap() EXCLUDES(mMutex); 58 FirewallType type) EXCLUDES(mMutex); 60 void dump(int fd, bool verbose) EXCLUDES(mMutex); 63 EXCLUDES(mMutex); 66 EXCLUDES(mMutex); 67 netdutils::Status removeUidInterfaceRules(const std::vector<int32_t>& uids) EXCLUDES(mMutex); 69 netdutils::Status updateUidLockdownRule(const uid_t uid, const bool add) EXCLUDES(mMutex); 72 UidOwnerMatchType matchType, IptOp op) EXCLUDES(mMutex); 74 int toggleUidOwnerMap(ChildChain chain, bool enable) EXCLUDES(mMutex); 79 void setPermissionForUids(int permission, const std::vector<uid_t>& uids) EXCLUDES(mMutex); [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/ |
D | ImsMediaCondition.cpp | 24 mMutex = new pthread_mutex_t; in ImsMediaCondition() 27 if (mMutex != nullptr) in ImsMediaCondition() 29 pthread_mutex_init(mMutex, nullptr); in ImsMediaCondition() 45 if (mMutex != nullptr) in ~ImsMediaCondition() 47 pthread_mutex_destroy(mMutex); in ~ImsMediaCondition() 56 if (mMutex != nullptr) in ~ImsMediaCondition() 58 delete mMutex; in ~ImsMediaCondition() 59 mMutex = nullptr; in ~ImsMediaCondition() 65 while (pthread_mutex_lock(mMutex) == EINTR) in wait() 74 while (pthread_cond_wait(mCondition, mMutex) == EINTR) in wait() [all …]
|
D | ImsMediaDataQueue.cpp | 31 std::lock_guard<std::mutex> guard(mMutex); in Add() 41 std::lock_guard<std::mutex> guard(mMutex); in InsertAt() 63 std::lock_guard<std::mutex> guard(mMutex); in Delete() 89 std::lock_guard<std::mutex> guard(mMutex); in Get() 111 std::lock_guard<std::mutex> guard(mMutex); in GetLast() 132 std::lock_guard<std::mutex> guard(mMutex); in GetAt() 150 std::lock_guard<std::mutex> guard(mMutex); in GetCount() 156 std::lock_guard<std::mutex> guard(mMutex); in SetReadPosFirst() 167 std::lock_guard<std::mutex> guard(mMutex); in GetNext()
|
/packages/services/Car/cpp/evs/manager/1.1/stats/ |
D | CameraUsageStats.h | 130 mMutex(Mutex()), mId(id), mTimeCreatedMs(android::uptimeMillis()), mStats({}) {} in CameraUsageStats() 134 mutable Mutex mMutex; 143 CameraUsageStatsRecord mStats GUARDED_BY(mMutex); 146 std::unordered_map<int, BufferRecord> mBufferHistory GUARDED_BY(mMutex); 149 void framesReceived(int n = 1) EXCLUDES(mMutex); 150 void framesReturned(int n = 1) EXCLUDES(mMutex); 153 EXCLUDES(mMutex); 156 EXCLUDES(mMutex); 157 void framesIgnored(int n = 1) EXCLUDES(mMutex); 158 void framesSkippedToSync(int n = 1) EXCLUDES(mMutex); [all …]
|
D | StatsCollector.h | 88 EXCLUDES(mMutex) override; 93 EXCLUDES(mMutex) override; 97 EXCLUDES(mMutex) override; 101 EXCLUDES(mMutex) override; 109 mutable Mutex mMutex; 118 CollectionEvent mCurrentCollectionEvent GUARDED_BY(mMutex); 121 CollectionInfo mPeriodicCollectionInfo GUARDED_BY(mMutex); 124 CollectionInfo mCustomCollectionInfo GUARDED_BY(mMutex); 127 std::unordered_map<std::string, android::wp<HalCamera>> mClientsToMonitor GUARDED_BY(mMutex); 134 EXCLUDES(mMutex); [all …]
|
D | CameraUsageStats.cpp | 80 AutoMutex lock(mMutex); in framesReceived() 85 AutoMutex lock(mMutex); in framesReceived() 92 AutoMutex lock(mMutex); in framesReturned() 97 AutoMutex lock(mMutex); in framesReturned() 104 AutoMutex lock(mMutex); in framesIgnored() 109 AutoMutex lock(mMutex); in framesSkippedToSync() 114 AutoMutex lock(mMutex); in eventsReceived() 119 AutoMutex lock(mMutex); in updateNumClients() 126 AutoMutex lock(mMutex); in getTimeCreated() 131 AutoMutex lock(mMutex); in getFramesReceived() [all …]
|
/packages/services/Car/cpp/evs/manager/aidl/stats/include/ |
D | CameraUsageStats.h | 126 mMutex(::android::Mutex()), in CameraUsageStats() 131 void framesReceived(int32_t n = 1) EXCLUDES(mMutex); 132 void framesReturned(int32_t n = 1) EXCLUDES(mMutex); 133 void framesReceived(const std::vector<aidlevs::BufferDesc>& bufs) EXCLUDES(mMutex); 134 void framesReturned(const std::vector<aidlevs::BufferDesc>& bufs) EXCLUDES(mMutex); 135 void framesIgnored(int32_t n = 1) EXCLUDES(mMutex); 136 void framesSkippedToSync(int32_t n = 1) EXCLUDES(mMutex); 137 void eventsReceived() EXCLUDES(mMutex); 138 int64_t getTimeCreated() const EXCLUDES(mMutex); 139 int64_t getFramesReceived() const EXCLUDES(mMutex); [all …]
|
D | StatsCollector.h | 87 EXCLUDES(mMutex); 93 EXCLUDES(mMutex); 97 EXCLUDES(mMutex); 100 ::android::base::Result<void> unregisterClientToMonitor(const std::string& id) EXCLUDES(mMutex); 105 const char* indent = "") EXCLUDES(mMutex); 109 mutable ::android::Mutex mMutex; 118 CollectionEvent mCurrentCollectionEvent GUARDED_BY(mMutex); 121 CollectionInfo mPeriodicCollectionInfo GUARDED_BY(mMutex); 124 CollectionInfo mCustomCollectionInfo GUARDED_BY(mMutex); 127 std::unordered_map<std::string, std::weak_ptr<HalCamera>> mClientsToMonitor GUARDED_BY(mMutex); [all …]
|
/packages/modules/DnsResolver/tests/unsolicited_listener/ |
D | unsolicited_event_listener.h | 50 EXCLUDES(mMutex); 53 android::base::Result<int> popDnsHealthResult() EXCLUDES(mMutex); 56 bool findValidationRecord(const std::string& serverAddr, int protocol) const EXCLUDES(mMutex) { in findValidationRecord() 57 std::lock_guard lock(mMutex); in findValidationRecord() 62 int getUnexpectedNat64PrefixUpdates() const EXCLUDES(mMutex) { in getUnexpectedNat64PrefixUpdates() 63 std::lock_guard lock(mMutex); in getUnexpectedNat64PrefixUpdates() 67 void reset() EXCLUDES(mMutex) { in reset() 68 std::lock_guard lock(mMutex); in reset() 82 bool findAndRemoveValidationRecord(const ServerKey& key, int value) REQUIRES(mMutex); 88 std::map<ServerKey, int> mValidationRecords GUARDED_BY(mMutex); [all …]
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/ |
D | NetworkTracePoller.h | 47 bool Start(uint32_t pollMs) EXCLUDES(mMutex); 50 bool Stop() EXCLUDES(mMutex); 53 bool ConsumeAll() EXCLUDES(mMutex); 56 void SchedulePolling() REQUIRES(mMutex); 57 bool ConsumeAllLocked() REQUIRES(mMutex); 59 std::mutex mMutex; variable 65 int mSessionCount GUARDED_BY(mMutex); 68 uint32_t mPollMs GUARDED_BY(mMutex); 71 EventSink mCallback GUARDED_BY(mMutex); 74 std::unique_ptr<BpfRingbuf<PacketTrace>> mRingBuffer GUARDED_BY(mMutex); [all …]
|
/packages/modules/DnsResolver/tests/dns_metrics_listener/ |
D | dns_metrics_listener.h | 75 EXCLUDES(mMutex); 78 int getUnexpectedNat64PrefixUpdates() const EXCLUDES(mMutex) { in getUnexpectedNat64PrefixUpdates() 79 std::lock_guard lock(mMutex); in getUnexpectedNat64PrefixUpdates() 88 bool findValidationRecord(const std::string& serverAddr) const EXCLUDES(mMutex) { in findValidationRecord() 89 std::lock_guard lock(mMutex); in findValidationRecord() 93 std::optional<DnsEvent> popDnsEvent() EXCLUDES(mMutex); 95 void reset() EXCLUDES(mMutex) { in reset() 96 std::lock_guard lock(mMutex); in reset() 109 bool findAndRemoveValidationRecord(const ServerKey& key, const bool value) REQUIRES(mMutex); 115 std::string mNat64Prefix GUARDED_BY(mMutex); [all …]
|
/packages/modules/DnsResolver/ |
D | ResolverEventReporter.h | 67 void addDefaultListener() EXCLUDES(mMutex); 70 EXCLUDES(mMutex); 73 REQUIRES(mMutex); 77 listener) EXCLUDES(mMutex); 81 listener) REQUIRES(mMutex); 82 ListenerSet getListenersImpl() const EXCLUDES(mMutex); 83 UnsolEventListenerSet getUnsolEventListenersImpl() const EXCLUDES(mMutex); 84 void handleBinderDied(const void* who) EXCLUDES(mMutex); 85 void handleUnsolEventBinderDied(const void* who) EXCLUDES(mMutex); 87 mutable std::mutex mMutex; variable [all …]
|
D | Dns64Configuration.h | 86 int setPrefix64(unsigned netId, const netdutils::IPPrefix& pfx) EXCLUDES(mMutex); 87 int clearPrefix64(unsigned netId) EXCLUDES(mMutex); 112 unsigned getNextId() REQUIRES(mMutex) { return ++mNextId ? mNextId : ++mNextId; } in getNextId() 114 netdutils::IPPrefix getPrefix64Locked(unsigned netId) const REQUIRES(mMutex); 115 bool isDiscoveryInProgress(const Dns64Config& cfg) const REQUIRES(mMutex); 117 REQUIRES(mMutex); 121 void removeDns64Config(unsigned netId) REQUIRES(mMutex); 123 mutable std::mutex mMutex; variable 125 unsigned int mNextId GUARDED_BY(mMutex); 126 std::unordered_map<unsigned, Dns64Config> mDns64Configs GUARDED_BY(mMutex);
|
/packages/modules/DnsResolver/tests/ |
D | doh_frontend.cpp | 45 std::lock_guard guard(mMutex); in startServer() 62 std::lock_guard guard(mMutex); in stopServer() 69 std::lock_guard guard(mMutex); in queries() 78 std::lock_guard guard(mMutex); in connections() 87 std::lock_guard guard(mMutex); in aliveConnections() 96 std::lock_guard guard(mMutex); in resumedConnections() 105 std::lock_guard guard(mMutex); in earlyDataConnections() 114 std::lock_guard guard(mMutex); in clearQueries() 129 std::lock_guard guard(mMutex); in setMaxIdleTimeout() 136 std::lock_guard guard(mMutex); in setMaxBufferSize() [all …]
|
/packages/services/Car/cpp/evs/manager/aidl/stats/src/ |
D | CameraUsageStats.cpp | 75 AutoMutex lock(mMutex); in framesReceived() 80 AutoMutex lock(mMutex); in framesReceived() 87 AutoMutex lock(mMutex); in framesReturned() 92 AutoMutex lock(mMutex); in framesReturned() 99 AutoMutex lock(mMutex); in framesIgnored() 104 AutoMutex lock(mMutex); in framesSkippedToSync() 109 AutoMutex lock(mMutex); in eventsReceived() 114 AutoMutex lock(mMutex); in updateNumClients() 121 AutoMutex lock(mMutex); in getTimeCreated() 126 AutoMutex lock(mMutex); in getFramesReceived() [all …]
|
/packages/modules/StatsD/statsd/src/config/ |
D | ConfigManager.cpp | 66 lock_guard<mutex> lock(mMutex); in AddListener() 73 lock_guard <mutex> lock(mMutex); in UpdateConfig() 119 lock_guard<mutex> lock(mMutex); in SetConfigReceiver() 124 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() 130 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() 139 lock_guard<mutex> lock(mMutex); in SetActiveConfigsChangedReceiver() 144 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() 150 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() 161 lock_guard<mutex> lock(mMutex); in SetRestrictedMetricsChangedReceiver() 169 lock_guard<mutex> lock(mMutex); in RemoveRestrictedMetricsChangedReceiver() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | Mutex.cpp | 42 memset(&mMutex, 0, sizeof(mMutex)); in Mutex() 43 int res = pthread_mutex_init(&mMutex, NULL); in Mutex() 59 int res = pthread_mutex_destroy(&mMutex); in ~Mutex() 75 int res = pthread_mutex_lock(&mMutex); in lock() 91 int res = pthread_mutex_unlock(&mMutex); in unlock() 107 int res = pthread_mutex_trylock(&mMutex); in tryLock() 123 pthread_mutex_t* Mutex::nativeHandle() { return &mMutex; } in nativeHandle()
|
D | PowerSwitch.cpp | 93 mMutex.lock(); in initialize() 118 mMutex.unlock(); in initialize() 132 mMutex.lock(); in getLevel() 134 mMutex.unlock(); in getLevel() 152 mMutex.lock(); in setLevel() 168 mMutex.unlock(); in setLevel() 175 mMutex.lock(); in setLevel() 205 mMutex.unlock(); in setLevel() 214 mMutex.lock(); in setScreenOffPowerState() 216 mMutex.unlock(); in setScreenOffPowerState() [all …]
|
D | DataQueue.cpp | 51 mMutex.lock(); in ~DataQueue() 57 mMutex.unlock(); in ~DataQueue() 61 mMutex.lock(); in isEmpty() 63 mMutex.unlock(); in isEmpty() 81 mMutex.lock(); in enqueue() 97 mMutex.unlock(); in enqueue() 115 mMutex.lock(); in dequeue() 140 mMutex.unlock(); in dequeue()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricProducer.h | 196 std::lock_guard<std::mutex> lock(mMutex); in onConfigUpdated() 209 std::lock_guard<std::mutex> lock(mMutex); in notifyAppUpgrade() 227 std::lock_guard<std::mutex> lock(mMutex); in onStatsdInitCompleted() 232 std::lock_guard<std::mutex> lock(mMutex); in onMatchedLogEvent() 237 std::lock_guard<std::mutex> lock(mMutex); in onConditionChanged() 242 std::lock_guard<std::mutex> lock(mMutex); in onSlicedConditionMayChange() 247 std::lock_guard<std::mutex> lock(mMutex); in isConditionSliced() 263 std::lock_guard<std::mutex> lock(mMutex); in onDumpReport() 285 std::lock_guard<std::mutex> lock(mMutex); in clearPastBuckets() 290 std::lock_guard<std::mutex> lock(mMutex); in prepareFirstBucket() [all …]
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.h | 111 android::Mutex mMutex; 112 CarPowerPolicyServer* mService GUARDED_BY(mMutex); 249 android::Mutex mMutex; variable 250 CarPowerPolicyMeta mCurrentPowerPolicyMeta GUARDED_BY(mMutex); 251 std::string mCurrentPolicyGroupId GUARDED_BY(mMutex); 252 std::string mPendingPowerPolicyId GUARDED_BY(mMutex); 253 bool mIsPowerPolicyLocked GUARDED_BY(mMutex); 254 std::vector<CallbackInfo> mPolicyChangeCallbacks GUARDED_BY(mMutex); 256 GUARDED_BY(mMutex); 257 std::optional<int64_t> mLastApplyPowerPolicyUptimeMs GUARDED_BY(mMutex); [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | UidStatsCollector.h | 82 Mutex::Autolock lock(mMutex); in init() 91 Mutex::Autolock lock(mMutex); in latestStats() 96 Mutex::Autolock lock(mMutex); in deltaStats() 113 mutable Mutex mMutex; variable 115 android::sp<UidCpuStatsCollectorInterface> mUidCpuStatsCollector GUARDED_BY(mMutex); 117 android::sp<UidIoStatsCollectorInterface> mUidIoStatsCollector GUARDED_BY(mMutex); 119 android::sp<UidProcStatsCollectorInterface> mUidProcStatsCollector GUARDED_BY(mMutex); 121 std::vector<UidStats> mLatestStats GUARDED_BY(mMutex); 123 std::vector<UidStats> mDeltaStats GUARDED_BY(mMutex);
|
D | UidCpuStatsCollector.h | 60 Mutex::Autolock lock(mMutex); in init() 70 Mutex::Autolock lock(mMutex); in latestStats() 75 Mutex::Autolock lock(mMutex); in deltaStats() 80 Mutex::Autolock lock(mMutex); in enabled() 91 mutable Mutex mMutex; variable 94 bool mEnabled GUARDED_BY(mMutex); 97 std::unordered_map<uid_t, int64_t> mLatestStats GUARDED_BY(mMutex); 100 std::unordered_map<uid_t, int64_t> mDeltaStats GUARDED_BY(mMutex);
|
D | WatchdogPerfService.h | 387 mutable Mutex mMutex; variable 390 android::sp<LooperWrapper> mHandlerLooper GUARDED_BY(mMutex); 393 SystemState mSystemState GUARDED_BY(mMutex); 396 EventMetadata mBoottimeCollection GUARDED_BY(mMutex); 399 EventMetadata mPeriodicCollection GUARDED_BY(mMutex); 402 UserSwitchEventMetadata mUserSwitchCollection GUARDED_BY(mMutex); 405 EventMetadata mWakeUpCollection GUARDED_BY(mMutex); 409 EventMetadata mCustomCollection GUARDED_BY(mMutex); 412 EventMetadata mPeriodicMonitor GUARDED_BY(mMutex); 416 mUnsentResourceStats GUARDED_BY(mMutex); [all …]
|
/packages/modules/Connectivity/tests/native/utilities/ |
D | firewall.h | 29 Firewall() EXCLUDES(mMutex); 31 Result<void> toggleStandbyMatch(bool enable) EXCLUDES(mMutex); 32 Result<void> addRule(uint32_t uid, UidOwnerMatchType match, uint32_t iif = 0) EXCLUDES(mMutex); 33 Result<void> removeRule(uint32_t uid, UidOwnerMatchType match) EXCLUDES(mMutex); 38 BpfMap<uint32_t, uint32_t> mConfigurationMap GUARDED_BY(mMutex); 39 BpfMap<uint32_t, UidOwnerValue> mUidOwnerMap GUARDED_BY(mMutex); 40 std::mutex mMutex; variable
|