Home
last modified time | relevance | path

Searched refs:Autolock (Results 1 – 9 of 9) sorted by relevance

/system/core/libutils/include/utils/
DMutex.h130 class SCOPED_CAPABILITY Autolock {
132 inline explicit Autolock(Mutex& mutex) ACQUIRE(mutex) : mLock(mutex) { mLock.lock(); } in Autolock() function
133 inline explicit Autolock(Mutex* mutex) ACQUIRE(mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() function
134 inline ~Autolock() RELEASE() { mLock.unlock(); } in RELEASE()
139 Autolock(const Autolock&);
140 Autolock& operator=(const Autolock&);
212 typedef Mutex::Autolock AutoMutex;
DSingleton.h52 Mutex::Autolock _l(sLock); in getInstance()
62 Mutex::Autolock _l(sLock); in hasInstance()
/system/tools/hidl/test/hidl_test/
DFooCallback.cpp36 Mutex::Autolock lock(mLock); in heyItsYou()
52 Mutex::Autolock lock(mLock); in heyItsYouIsntIt()
68 Mutex::Autolock lock(mLock); in heyItsTheMeaningOfLife()
82 Mutex::Autolock lock(mLock); in reportResults()
115 Mutex::Autolock lock(mLock); in youBlockedMeFor()
/system/core/libutils/
DThreads.cpp682 Mutex::Autolock _l(mLock); in run()
768 Mutex::Autolock _l(self->mLock); in _threadLoop()
794 Mutex::Autolock _l(mLock); in requestExit()
800 Mutex::Autolock _l(mLock); in requestExitAndWait()
824 Mutex::Autolock _l(mLock); in join()
842 Mutex::Autolock _l(mLock); in isRunning()
850 Mutex::Autolock _l(mLock); in getTid()
865 Mutex::Autolock _l(mLock); in exitPending()
DMutex_test.cpp29 android::Mutex::Autolock _l(mLock); in TEST()
DRefBase.cpp287 Mutex::Autolock _l(mMutex); in printRefs()
/system/core/storaged/
Dstoraged_info.cpp74 Mutex::Autolock _l(si_mutex); in load_perf_history_proto()
124 Mutex::Autolock _l(si_mutex); in refresh()
153 Mutex::Autolock _l(si_mutex); in update_perf_history()
203 Mutex::Autolock _l(si_mutex); in get_perf_history()
233 Mutex::Autolock _l(si_mutex); in get_recent_perf()
Dstoraged_uid_monitor.cpp54 Mutex::Autolock _l(uidm_mutex_); in get_uid_io_stats()
265 Mutex::Autolock _l(uidm_mutex_); in dump()
370 Mutex::Autolock _l(uidm_mutex_); in report()
450 Mutex::Autolock _l(uidm_mutex_); in clear_user_history()
474 Mutex::Autolock _l(uidm_mutex_); in load_uid_io_proto()
520 Mutex::Autolock _l(uidm_mutex_); in set_charger_state()
Dstoraged.cpp165 Mutex::Autolock _l(proto_lock); in add_user_ce()
174 Mutex::Autolock _l(proto_lock); in remove_user_ce()
305 Mutex::Autolock _l(proto_lock); in flush_protos()