Home
last modified time | relevance | path

Searched refs:Autolock (Results 1 – 8 of 8) 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.cpp683 Mutex::Autolock _l(mLock); in run()
769 Mutex::Autolock _l(self->mLock); in _threadLoop()
795 Mutex::Autolock _l(mLock); in requestExit()
801 Mutex::Autolock _l(mLock); in requestExitAndWait()
825 Mutex::Autolock _l(mLock); in join()
843 Mutex::Autolock _l(mLock); in isRunning()
851 Mutex::Autolock _l(mLock); in getTid()
866 Mutex::Autolock _l(mLock); in exitPending()
DMutex_test.cpp29 android::Mutex::Autolock _l(mLock); in TEST()
DRefBase.cpp275 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()