Home
last modified time | relevance | path

Searched refs:mMutex (Results 1 – 25 of 49) sorted by relevance

12

/system/netd/server/
DTrafficController.h56 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 …]
DNetlinkListener.h84 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);
DOemNetdListener.h46 std::mutex mMutex;
49 ::android::sp<::android::IBinder> mIBinder GUARDED_BY(mMutex);
52 ::android::sp<::android::IBinder> getIBinder() EXCLUDES(mMutex);
DNetlinkListener.cpp95 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/
Dmutex_base_impl.h25 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()
Dmutex_base.h34 qurt_mutex_t mMutex;
/system/chre/util/include/chre/util/
Dfixed_size_blocking_queue_impl.h30 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);
Dlock_guard_impl.h26 : mMutex(mutex) { in LockGuard()
27 mMutex.lock(); in LockGuard()
32 mMutex.unlock(); in ~LockGuard()
Dconditional_lock_guard_impl.h27 : mMutex(mutex), mShouldLock(shouldLock) { in ConditionalLockGuard()
29 mMutex.lock(); in ConditionalLockGuard()
36 mMutex.unlock(); in ~ConditionalLockGuard()
Dsynchronized_memory_pool_impl.h29 LockGuard<Mutex> lock(mMutex); in allocate()
36 LockGuard<Mutex> lock(mMutex); in deallocate()
42 LockGuard<Mutex> lock(mMutex); in getFreeBlockCount()
Dlock_guard.h44 MutexType& mMutex;
Dconditional_lock_guard.h42 MutexType& mMutex;
/system/netd/libnetdutils/include/netdutils/
DOperationLimiter.h62 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/
Dconfirmation_manager.cpp59 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/
DMutex.h151 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()
DCondition.h118 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/
Dsmr_helper.cc45 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/
Dmutex_base_impl.h29 mMutex.lock(); in lock()
33 return mMutex.try_lock(); in try_lock()
37 mMutex.unlock(); in unlock()
Dmutex_base.h27 std::mutex mMutex; member
Dplatform_log_base.h43 std::mutex mMutex; variable
/system/libhidl/base/
DSynchronizedQueue.h49 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/
DConcurrentMap.h34 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/
Dplatform_log.cc32 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/
Disland_vote_client.cc53 LockGuard<Mutex> lock(mMutex); in voteBigImage()
70 LockGuard<Mutex> lock(mMutex); in incrementBigImageRefCount()
88 LockGuard<Mutex> lock(mMutex); in decrementBigImageRefCount()
/system/core/healthd/
Dcharger_test.cpp51 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

12