Searched refs:mMutex (Results 1 – 12 of 12) sorted by relevance
93 mMutex.lock(); in initialize()118 mMutex.unlock(); in initialize()132 mMutex.lock(); in getLevel()134 mMutex.unlock(); in getLevel()152 mMutex.lock(); in setLevel()168 mMutex.unlock(); in setLevel()175 mMutex.lock(); in setLevel()205 mMutex.unlock(); in setLevel()214 mMutex.lock(); in setScreenOffPowerState()216 mMutex.unlock(); in setScreenOffPowerState()[all …]
42 memset(&mMutex, 0, sizeof(mMutex)); in Mutex()43 int res = pthread_mutex_init(&mMutex, NULL); in Mutex()59 int res = pthread_mutex_destroy(&mMutex); in ~Mutex()75 int res = pthread_mutex_lock(&mMutex); in lock()91 int res = pthread_mutex_unlock(&mMutex); in unlock()107 int res = pthread_mutex_trylock(&mMutex); in tryLock()123 pthread_mutex_t* Mutex::nativeHandle() { return &mMutex; } in nativeHandle()
51 mMutex.lock(); in ~DataQueue()57 mMutex.unlock(); in ~DataQueue()61 mMutex.lock(); in isEmpty()63 mMutex.unlock(); in isEmpty()81 mMutex.lock(); in enqueue()97 mMutex.unlock(); in enqueue()115 mMutex.lock(); in dequeue()140 mMutex.unlock(); in dequeue()
200 mMutex.lock(); in registerServer()209 mMutex.unlock(); in registerServer()223 mMutex.unlock(); in registerServer()255 AutoMutex mutex(mMutex); in removeServer()438 mMutex.lock(); in accept()442 mMutex.unlock(); in accept()445 mMutex.unlock(); in accept()467 mMutex.lock(); in deregisterServer()470 mMutex.unlock(); in deregisterServer()473 mMutex.unlock(); in deregisterServer()[all …]
46 void start() { mMutex.lock(); } in start()57 void wait() { mCondVar.wait(mMutex); } in wait()70 bool retVal = mCondVar.wait(mMutex, millisec); in wait()95 void end() { mMutex.unlock(); } in end()99 Mutex mMutex; variable
390 Mutex mMutex; variable689 Mutex mMutex;
97 Mutex mMutex; variable
103 pthread_mutex_t mMutex;
246 Mutex mMutex; variable
27 pthread_mutex_init(&mMutex, NULL); in Mutex()30 return -pthread_mutex_lock(&mMutex); in lock()33 pthread_mutex_unlock(&mMutex); in unlock()36 pthread_mutex_destroy(&mMutex); in ~Mutex()54 pthread_mutex_t mMutex;
30 std::scoped_lock lock(mMutex); in startLoop()43 std::scoped_lock lock(mMutex); in registerCallback()49 std::scoped_lock lock(mMutex); in unregisterCallback()
40 std::mutex mMutex; variable