Searched defs:lock (Results 1 - 25 of 94) sorted by last modified time

1234

/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dring_buffer.cpp82 inline void rb_lock(pthread_mutex_t *lock) argument
84 int error = pthread_mutex_lock(lock);
87 ALOGE("Failed to acquire lock with err %d", error);
88 // TODO Handle the lock failure
91 inline void rb_unlock(pthread_mutex_t *lock) argument
93 int error = pthread_mutex_unlock(lock);
96 ALOGE("Failed to release lock with err %d", error);
126 // TODO handle lock initialization failure
141 // TODO handle the lock destroy failure
283 /* don't use lock whil
[all...]
H A Dsync.h38 int lock() { function in class:Mutex
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_device_v4l2.h278 pthread_mutex_t lock; member in class:encExtradata
398 pthread_mutex_t lock; member in class:venc_dev::venc_dev_vqzip
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/inc/
H A Dvidc_debug.h110 auto_lock(pthread_mutex_t &lock) argument
111 : mLock(lock) {
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
H A Domx_vdec.h1163 void lock() { function in class:omx_vdec::perf_lock
H A Dts_parser.h53 auto_lock(pthread_mutex_t *lock) argument
54 : mLock(lock) {
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_device_v4l2.h387 pthread_mutex_t lock; member in class:venc_dev::venc_dev_vqzip
406 pthread_mutex_t lock; member in class:venc_dev::venc_dev_pq
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
H A Domx_vdec_test.cpp333 pthread_mutex_t lock; variable
522 pthread_mutex_lock(&lock);
524 pthread_cond_wait(&cond, &lock);
527 pthread_mutex_unlock(&lock);
533 pthread_mutex_lock(&lock);
538 pthread_mutex_unlock(&lock);
1614 pthread_mutex_init(&lock, 0);
1662 pthread_mutex_destroy(&lock);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/inc/
H A Dvidc_debug.h107 auto_lock(pthread_mutex_t &lock) argument
108 : mLock(lock) {
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
H A Domx_vdec.h1102 void lock() { function in class:omx_vdec::perf_lock
H A Dts_parser.h53 auto_lock(pthread_mutex_t *lock) argument
54 : mLock(lock) {
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
H A Domx_vdec_test.cpp206 pthread_mutex_t lock; variable
385 pthread_mutex_lock(&lock);
387 pthread_cond_wait(&cond, &lock);
390 pthread_mutex_unlock(&lock);
396 pthread_mutex_lock(&lock);
401 pthread_mutex_unlock(&lock);
1393 pthread_mutex_init(&lock, 0);
1451 pthread_mutex_destroy(&lock);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/inc/
H A Dvidc_debug.h81 auto_lock(pthread_mutex_t &lock) argument
82 : mLock(lock) {
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
H A Dts_parser.h52 auto_lock(pthread_mutex_t *lock) argument
53 : mLock(lock) {
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
H A Dloc_api_sync_call.h40 pthread_mutex_t lock; member in struct:__anon3339
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A DLocEngAdapter.h315 /*Values for lock
316 1 = Do not lock any position sessions
321 inline int setGpsLock(LOC_GPS_LOCK_MASK lock) argument
323 return mLocApi->setGpsLock(lock);
326 int setGpsLockMsg(LOC_GPS_LOCK_MASK lock);
330 Current value of GPS lock on success
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
H A Dloc_api_sync_call.h40 pthread_mutex_t lock; member in struct:__anon3425
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
H A DLocEngAdapter.h317 /*Values for lock
318 1 = Do not lock any position sessions
323 inline int setGpsLock(LOC_GPS_LOCK_MASK lock) argument
325 return mLocApi->setGpsLock(lock);
328 int setGpsLockMsg(LOC_GPS_LOCK_MASK lock);
332 Current value of GPS lock on success
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
H A Dloc_api_sync_call.h40 pthread_mutex_t lock; member in struct:__anon3483
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A DLocEngAdapter.h320 /*Values for lock
321 1 = Do not lock any position sessions
326 inline int setGpsLock(LOC_GPS_LOCK_MASK lock) argument
328 return mLocApi->setGpsLock(lock);
331 int setGpsLockMsg(LOC_GPS_LOCK_MASK lock);
335 Current value of GPS lock on success
/hardware/qcom/gps/msm8909/utils/
H A DLocSharedLock.h37 // one client who need to share the same lock, but it is not predictable
38 // which of these clients is to last to go away. This shared lock deletes
40 // this share lock's share() method has to be called, so that the obj
49 // following client(s) are to *share()* this lock created by the first client
51 // whe a client no longer needs this shared lock, drop() shall be called.
53 // locking the lock to enter critical section
54 inline void lock() { pthread_mutex_lock(&mMutex); } function in class:LocSharedLock
55 // unlocking the lock to leave the critical section
/hardware/qcom/gps/msm8909w_3100/android/
H A DGnssConfiguration.cpp174 Return<bool> GnssConfiguration::setGpsLock(uint8_t lock) { argument
184 switch (lock) {
198 LOC_LOGE("%s]: invalid lock: %d.", __FUNCTION__, lock);
/hardware/qcom/gps/msm8909w_3100/gnss/
H A DXtraSystemStatusObserver.cpp55 bool XtraSystemStatusObserver::updateLockStatus(uint32_t lock) { argument
58 ss << " " << lock; local
/hardware/qcom/gps/msm8909w_3100/utils/
H A DLocSharedLock.h37 // one client who need to share the same lock, but it is not predictable
38 // which of these clients is to last to go away. This shared lock deletes
40 // this share lock's share() method has to be called, so that the obj
49 // following client(s) are to *share()* this lock created by the first client
51 // whe a client no longer needs this shared lock, drop() shall be called.
53 // locking the lock to enter critical section
54 inline void lock() { pthread_mutex_lock(&mMutex); } function in class:LocSharedLock
55 // unlocking the lock to leave the critical section
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
H A Dloc_api_sync_call.h40 pthread_mutex_t lock; member in struct:__anon3775

Completed in 430 milliseconds

1234