/system/netd/server/ |
D | TrafficController.h | 56 int tagSocket(int sockFd, uint32_t tag, uid_t uid, uid_t callingUid) EXCLUDES(mMutex); 68 int setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) EXCLUDES(mMutex); 78 int deleteTagData(uint32_t tag, uid_t uid, uid_t callingUid) EXCLUDES(mMutex); 89 netdutils::Status swapActiveStatsMap() EXCLUDES(mMutex); 104 FirewallType type) EXCLUDES(mMutex); 106 void dump(netdutils::DumpWriter& dw, bool verbose) EXCLUDES(mMutex); 109 EXCLUDES(mMutex); 112 EXCLUDES(mMutex); 113 netdutils::Status removeUidInterfaceRules(const std::vector<int32_t>& uids) EXCLUDES(mMutex); 117 BandwidthController::IptOp op) EXCLUDES(mMutex); [all …]
|
D | NetlinkListener.h | 84 netdutils::Status subscribe(uint16_t type, const DispatchFn& fn) override EXCLUDES(mMutex); 86 netdutils::Status unsubscribe(uint16_t type) override EXCLUDES(mMutex); 96 std::mutex mMutex; variable 97 std::map<uint16_t, DispatchFn> mDispatchMap GUARDED_BY(mMutex);
|
D | OemNetdListener.h | 46 std::mutex mMutex; 49 ::android::sp<::android::IBinder> mIBinder GUARDED_BY(mMutex); 52 ::android::sp<::android::IBinder> getIBinder() EXCLUDES(mMutex);
|
D | NetlinkListener.cpp | 95 std::lock_guard guard(mMutex); in subscribe() 101 std::lock_guard guard(mMutex); in unsubscribe() 114 std::lock_guard guard(mMutex); in run()
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | mutex_base_impl.h | 25 qurt_mutex_init(&mMutex); in Mutex() 29 qurt_mutex_destroy(&mMutex); in ~Mutex() 33 qurt_mutex_lock(&mMutex); in lock() 37 return (qurt_mutex_try_lock(&mMutex) == 0); in try_lock() 41 qurt_mutex_unlock(&mMutex); in unlock()
|
D | mutex_base.h | 34 qurt_mutex_t mMutex;
|
/system/chre/util/include/chre/util/ |
D | fixed_size_blocking_queue_impl.h | 30 LockGuard<Mutex> lock(mMutex); in push() 43 LockGuard<Mutex> lock(mMutex); in push() 54 LockGuard<Mutex> lock(mMutex); in pop() 56 mConditionVariable.wait(mMutex); in pop() 66 LockGuard<Mutex> lock(mMutex); in empty() 72 LockGuard<Mutex> lock(mMutex); in size() 78 LockGuard<Mutex> lock(mMutex); in remove() 85 LockGuard<Mutex> lock(mMutex); 92 LockGuard<Mutex> lock(mMutex);
|
D | lock_guard_impl.h | 26 : mMutex(mutex) { in LockGuard() 27 mMutex.lock(); in LockGuard() 32 mMutex.unlock(); in ~LockGuard()
|
D | conditional_lock_guard_impl.h | 27 : mMutex(mutex), mShouldLock(shouldLock) { in ConditionalLockGuard() 29 mMutex.lock(); in ConditionalLockGuard() 36 mMutex.unlock(); in ~ConditionalLockGuard()
|
D | synchronized_memory_pool_impl.h | 29 LockGuard<Mutex> lock(mMutex); in allocate() 36 LockGuard<Mutex> lock(mMutex); in deallocate() 42 LockGuard<Mutex> lock(mMutex); in getFreeBlockCount()
|
D | lock_guard.h | 44 MutexType& mMutex;
|
D | conditional_lock_guard.h | 42 MutexType& mMutex;
|
/system/netd/libnetdutils/include/netdutils/ |
D | OperationLimiter.h | 62 bool start(KeyType key) EXCLUDES(mMutex) { in start() 63 std::lock_guard lock(mMutex); in start() 75 void finish(KeyType key) EXCLUDES(mMutex) { in finish() 76 std::lock_guard lock(mMutex); in finish() 92 std::mutex mMutex; 95 std::unordered_map<KeyType, int> mCounters GUARDED_BY(mMutex);
|
/system/security/keystore/ |
D | confirmation_manager.cpp | 59 lock_guard<mutex> lock(mMutex); in presentConfirmationPrompt() 109 mMutex.lock(); in cancelConfirmationPrompt() 113 mMutex.unlock(); in cancelConfirmationPrompt() 117 mMutex.unlock(); in cancelConfirmationPrompt() 126 mMutex.lock(); in cancelPrompt() 129 mMutex.unlock(); in cancelPrompt() 150 mMutex.lock(); in finalizeTransaction() 161 mMutex.unlock(); in finalizeTransaction() 180 lock_guard<mutex> lock(mMutex); in result() 187 lock_guard<mutex> lock(mMutex); in getLatestConfirmationToken() [all …]
|
/system/core/libutils/include/utils/ |
D | Mutex.h | 151 pthread_mutex_t mMutex; variable 163 pthread_mutex_init(&mMutex, nullptr); in Mutex() 166 pthread_mutex_init(&mMutex, nullptr); in Mutex() 173 pthread_mutex_init(&mMutex, &attr); in Mutex() 176 pthread_mutex_init(&mMutex, nullptr); in Mutex() 180 pthread_mutex_destroy(&mMutex); in ~Mutex() 183 return -pthread_mutex_lock(&mMutex); in lock() 186 pthread_mutex_unlock(&mMutex); in unlock() 189 return -pthread_mutex_trylock(&mMutex); in tryLock() 198 return -pthread_mutex_timedlock(&mMutex, &ts); in timedLock()
|
D | Condition.h | 118 return -pthread_cond_wait(&mCond, &mutex.mMutex); in wait() 150 return -pthread_cond_timedwait(&mCond, &mutex.mMutex, &ts); in waitRelative()
|
/system/chre/platform/slpi/smgr/ |
D | smr_helper.cc | 45 LockGuard<Mutex> lock(mMutex); in releaseSync() 48 waitSuccess = mCond.wait_for(mMutex, timeout); in releaseSync() 77 LockGuard<Mutex> lock(mMutex); in waitForService() 79 mCond.wait(mMutex); in waitForService() 151 LockGuard<Mutex> lock(mMutex); in sendReqSyncUntyped() 153 waitSuccess = mCond.wait_for(mMutex, timeout); in sendReqSyncUntyped() 179 LockGuard<Mutex> lock(mMutex); in handleResp() 200 LockGuard<Mutex> lock(mMutex); in prepareForWait() 207 LockGuard<Mutex> lock(obj->mMutex); in smrReleaseCb() 225 LockGuard<Mutex> lock(obj->mMutex); in smrWaitForServiceCb()
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | mutex_base_impl.h | 29 mMutex.lock(); in lock() 33 return mMutex.try_lock(); in try_lock() 37 mMutex.unlock(); in unlock()
|
D | mutex_base.h | 27 std::mutex mMutex; member
|
D | platform_log_base.h | 43 std::mutex mMutex; variable
|
/system/libhidl/base/ |
D | SynchronizedQueue.h | 49 return std::unique_lock<std::mutex>(mMutex); in lock() 61 std::mutex mMutex; member 73 std::unique_lock<std::mutex> lock(mMutex); in wait_pop() 89 std::unique_lock<std::mutex> lock(mMutex); in push() 104 std::unique_lock<std::mutex> lock(mMutex); in size()
|
/system/libhidl/transport/include/hidl/ |
D | ConcurrentMap.h | 34 std::unique_lock<std::mutex> _lock(mMutex); in set() 40 std::unique_lock<std::mutex> _lock(mMutex); in get() 49 std::unique_lock<std::mutex> _lock(mMutex); in erase() 54 std::unique_lock<std::mutex> _lock(mMutex); in eraseIfEqual() 67 std::unique_lock<std::mutex> lock() { return std::unique_lock<std::mutex>(mMutex); } in lock() 89 mutable std::mutex mMutex;
|
/system/chre/platform/linux/ |
D | platform_log.cc | 32 std::unique_lock<std::mutex> lock(mMutex); in logLooper() 63 std::unique_lock<std::mutex> lock(mMutex); in ~PlatformLog() 79 std::unique_lock<std::mutex> lock(mMutex); in log()
|
/system/chre/platform/slpi/see/ |
D | island_vote_client.cc | 53 LockGuard<Mutex> lock(mMutex); in voteBigImage() 70 LockGuard<Mutex> lock(mMutex); in incrementBigImageRefCount() 88 LockGuard<Mutex> lock(mMutex); in decrementBigImageRefCount()
|
/system/core/healthd/ |
D | charger_test.cpp | 51 std::lock_guard<std::mutex> lock(mMutex); in set() 57 std::unique_lock<std::mutex> lock(mMutex); in waitFor() 62 std::mutex mMutex; member in Atomic
|