Searched defs:mutex (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/include/ui/
H A DFramebufferNativeWindow.h82 mutable Mutex mutex; member in class:android::FramebufferNativeWindow
/frameworks/media/libvideoeditor/osal/src/
H A DM4OSA_Mutex.c19 * @note This file implements functions to manipulate mutex
33 /* Context for the mutex */
36 M4OSA_UInt32 coreID; /* mutex context identifiant */
37 pthread_mutex_t mutex; /* mutex */ member in struct:__anon1368
45 * @brief This method creates a new mutex.
49 * will be sent back to any OSAL core mutex functions to allow
50 * retrieving data associated to the opened mutex.
51 * @param pContext:(OUT) Context of the created mutex
70 M4OSA_MUTEX, (M4OSA_Char*)"M4OSA_mutexOpen: mutex contex
[all...]
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Dserver.cpp163 // instead of mutex and blocking io; watch out for large messages
164 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; local
167 pthread_mutex_lock(&mutex);
170 pthread_mutex_unlock(&mutex);
/frameworks/base/include/utils/
H A Dthreads.h216 * Simple mutex class. The implementation is system-dependent.
218 * The mutex must be unlocked by the thread that locked it. They are not
233 // lock or unlock the mutex
240 // Manages the mutex automatically. It'll be locked when Autolock is
244 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } argument
245 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } argument
254 // A mutex cannot be copied
301 * Automatic mutex
454 wait(Mutex& mutex) argument
457 waitRelative(Mutex& mutex, nsecs_t reltime) argument
[all...]
/frameworks/base/services/camera/libcameraservice/
H A DCameraService.cpp1236 static bool tryLock(Mutex& mutex) argument
1240 if (mutex.tryLock() == NO_ERROR) {
/frameworks/base/services/audioflinger/
H A DAudioPolicyService.cpp541 static bool tryLock(Mutex& mutex) argument
545 if (mutex.tryLock() == NO_ERROR) {
H A DAudioFlinger.cpp315 static bool tryLock(Mutex& mutex) argument
319 if (mutex.tryLock() == NO_ERROR) {
992 // do not lock the mutex in destructor
3279 LOGV("stepServer failed acquiring cblk mutex");
5418 // mutex below, the call to checkPlaybackThread_l(io) below will detect it
6715 result.append("\t\tCould not lock Fx mutex:\n");
7297 // This is safe as we hold the EffectChain mutex which guarantees that we are not in
7408 result.append("\tCould not lock mutex:\n");

Completed in 159 milliseconds