Searched refs:sMutex (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/services/audioflinger/
H A DSchedulingPolicyService.cpp26 static Mutex sMutex; member in namespace:android
33 sMutex.lock();
35 sMutex.unlock();
42 sMutex.lock();
44 sMutex.unlock();
/frameworks/native/libs/utils/
H A DTrace.cpp29 Mutex Tracer::sMutex; member in class:android::Tracer
32 Mutex::Autolock lock(sMutex);
39 Mutex::Autolock lock(sMutex);
/frameworks/native/include/cpustats/
H A DThreadCpuUsage.h135 static pthread_mutex_t sMutex; // protects sScalingFds[] after initialization member in class:android::ThreadCpuUsage
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp48 static Mutex sMutex; variable
85 Mutex::Autolock autoLock(sMutex);
99 Mutex::Autolock autoLock(sMutex);
111 Mutex::Autolock autoLock(sMutex);
123 Mutex::Autolock autoLock(sMutex);
155 Mutex::Autolock autoLock(sMutex);
/frameworks/native/libs/cpustats/
H A DThreadCpuUsage.cpp168 pthread_mutex_t ThreadCpuUsage::sMutex = PTHREAD_MUTEX_INITIALIZER; member in class:android::ThreadCpuUsage
215 pthread_mutex_lock(&sMutex);
229 pthread_mutex_unlock(&sMutex);
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp31 Mutex DrmManagerClientImpl::sMutex;
48 Mutex::Autolock lock(sMutex);
345 Mutex::Autolock lock(sMutex);
352 Mutex::Autolock lock(sMutex);
/frameworks/native/include/utils/
H A DTrace.h135 // time it is run, using sMutex for synchronization.
153 // init() while a lock on sMutex is held.
161 // atrace.tags.enableflags system property in init() while a lock on sMutex
170 // sMutex is used to protect the execution of init().
171 static Mutex sMutex; member in class:android::Tracer
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerClientImpl.h435 static Mutex sMutex; member in class:android::DrmManagerClientImpl

Completed in 183 milliseconds