Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 23 of 23) sorted by relevance

/system/core/include/cutils/
Dthreads.h37 pthread_mutex_t lock; member
85 static __inline__ void mutex_lock(mutex_t* lock) in mutex_lock()
89 static __inline__ void mutex_unlock(mutex_t* lock) in mutex_unlock()
93 static __inline__ int mutex_init(mutex_t* lock) in mutex_init()
97 static __inline__ void mutex_destroy(mutex_t* lock) in mutex_destroy()
106 CRITICAL_SECTION lock[1]; member
111 static __inline__ void mutex_lock(mutex_t* lock) in mutex_lock()
123 static __inline__ void mutex_unlock(mutex_t* lock) in mutex_unlock()
127 static __inline__ int mutex_init(mutex_t* lock) in mutex_init()
133 static __inline__ void mutex_destroy(mutex_t* lock) in mutex_destroy()
/system/netd/server/
DNetworkController.cpp138 android::RWLock::AutoRLock lock(mRWLock); in getDefaultNetwork() local
143 android::RWLock::AutoWLock lock(mRWLock); in setDefaultNetwork() local
180 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForDns() local
207 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForUser() local
229 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForConnect() local
238 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForInterface() local
248 android::RWLock::AutoRLock lock(mRWLock); in isVirtualNetwork() local
272 android::RWLock::AutoWLock lock(mRWLock); in createPhysicalNetwork() local
288 android::RWLock::AutoWLock lock(mRWLock); in createVirtualNetwork() local
308 android::RWLock::AutoWLock lock(mRWLock); in destroyNetwork() local
[all …]
/system/extras/tests/bionic/libc/common/
Dtest_pthread_rwlock.c113 pthread_rwlock_t lock[1]; in do_test_rwlock_rd1() local
124 pthread_rwlock_t lock[1]; in do_test_rwlock_wr1() local
167 pthread_rwlock_t lock[1]; in do_test_rwlock_rd2_rec() local
184 pthread_rwlock_t lock[1]; in do_test_rwlock_wr2_rec() local
Dtest_pthread_mutex.c114 pthread_mutex_t lock[1]; in do_test_mutex_1() local
173 pthread_mutex_t lock[1]; in do_test_mutex_2() local
189 pthread_mutex_t lock[1]; in do_test_mutex_2_rec() local
206 pthread_mutex_t lock[1]; in do_test_mutex_2_chk() local
/system/core/fastbootd/
Dprotocol.h43 pthread_mutex_t lock; member
Dusb_linux_client.c61 pthread_mutex_t lock; member
/system/extras/tests/bionic/libc/bionic/
Dtest_cond.c36 static pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER; variable
Dtest_mutex.c58 pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; in main() local
/system/core/include/utils/
DMutex.h111 inline status_t Mutex::lock() { in lock() function
/system/core/logd/
DLogTimes.h58 static void lock(void) { pthread_mutex_lock(&timesLock); } in lock() function
/system/core/liblog/
Dfake_log_device.c100 static void lock() in lock() function
110 #define lock() ((void)0) macro
/system/core/libutils/
DLinearAllocator.cpp73 android::AutoMutex lock(s_mutex); in _addAllocation() local
/system/core/adb/
Dsysdeps.h55 static __inline__ void adb_mutex_lock( adb_mutex_t* lock ) in adb_mutex_lock()
60 static __inline__ void adb_mutex_unlock( adb_mutex_t* lock ) in adb_mutex_unlock()
Dusb_libusb.c59 adb_mutex_t lock; member
Dusb_linux_client.c43 adb_mutex_t lock; member
Dusb_linux.c71 adb_mutex_t lock; member
Dsysdeps_win32.c878 CRITICAL_SECTION lock; member
/system/media/audio_utils/
Decho_reference.c63 pthread_mutex_t lock; // mutex protecting read/write concurrency member
/system/core/libcutils/
Dhashmap.c39 mutex_t lock; member
/system/core/libsync/tests/
Dsync_test.cpp478 mutex lock; in TEST_P() local
/system/security/keystore/
DIKeystoreService.cpp233 virtual int32_t lock() in lock() function in android::BpKeystoreService
Dkeystore.cpp1076 void lock(uid_t uid) { in lock() function in KeyStore
1772 int32_t lock() { in lock() function in android::KeyStoreProxy
/system/core/sdcard/
Dsdcard.c217 pthread_mutex_t lock; member