Searched refs:Autolock (Results 1 – 4 of 4) sorted by relevance
92 class Autolock {94 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() function95 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() function96 inline ~Autolock() { mLock.unlock(); } in ~Autolock()106 typedef Mutex::Autolock AutoMutex;
41 class Autolock {43 Autolock(Mutex &mutex) : lock(&mutex) { in Autolock() function46 ~Autolock() { in ~Autolock()
362 Mutex::Autolock autoLock(mFilterLock); in startTsPidFilter()420 Mutex::Autolock autoLock(mFilterLock); in closeAllDvbPidFilter()432 Mutex::Autolock autoLock(mFilterLock); in closePatFilter()
374 Mutex::Autolock lock(mLock); in run()388 Mutex::Autolock lock(mLock); in dispatchCharacter()394 Mutex::Autolock lock(mLock); in dispatchKey()410 Mutex::Autolock lock(mLock); in resize()587 Mutex::Autolock lock(term->mLock); in com_android_terminal_Terminal_nativeGetCellRun()