Home
last modified time | relevance | path

Searched refs:lock_attr (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/bluedroid/utils/src/
Dbt_utils.c65 pthread_mutexattr_t lock_attr; in bt_utils_init() local
71 pthread_mutexattr_init(&lock_attr); in bt_utils_init()
72 pthread_mutex_init(&gIdxLock, &lock_attr); in bt_utils_init()
/external/bluetooth/bluedroid/audio_a2dp_hw/
Daudio_a2dp_hw.c306 pthread_mutexattr_t lock_attr; in a2dp_stream_out_init() local
310 pthread_mutexattr_init(&lock_attr); in a2dp_stream_out_init()
311 pthread_mutexattr_settype(&lock_attr, PTHREAD_MUTEX_RECURSIVE); in a2dp_stream_out_init()
312 pthread_mutex_init(&out->lock, &lock_attr); in a2dp_stream_out_init()
/external/libnfc-nci/src/nfc/tags/
Drw_t1t_ndef.c2141 p_t1t->lock_attr[block_count] = 0x00; in rw_t1t_update_lock_attributes()
2158 p_t1t->lock_attr[block_count] = 0x00; in rw_t1t_update_lock_attributes()
2163 p_t1t->lock_attr[block_count] = 0xFF; in rw_t1t_update_lock_attributes()
2172 p_t1t->lock_attr[0x00] = 0xFF; in rw_t1t_update_lock_attributes()
2173 p_t1t->lock_attr[0x0D] = 0xFF; in rw_t1t_update_lock_attributes()
2187 p_t1t->lock_attr[block_count] = 0; in rw_t1t_update_lock_attributes()
2205 p_t1t->lock_attr[block_count] |= 0x01 << bits_covered; in rw_t1t_update_lock_attributes()
2214 p_t1t->lock_attr[block_count] = 0; in rw_t1t_update_lock_attributes()
2293 return ((p_t1t->lock_attr[index /8] & rw_t1t_mask_bits[index % 8]) == 0) ? FALSE:TRUE; in rw_t1t_is_read_only_byte()
Drw_t2t_ndef.c2290 memset (p_t2t->lock_attr, 0, RW_T2T_SEGMENT_SIZE * sizeof (UINT8)); in rw_t2t_update_lock_attributes()
2306 p_t2t->lock_attr[block_count] = 0x00; in rw_t2t_update_lock_attributes()
2311 p_t2t->lock_attr[block_count] = 0x0F; in rw_t2t_update_lock_attributes()
2317 p_t2t->lock_attr[block_count] |= 0xF0; in rw_t2t_update_lock_attributes()
2325 p_t2t->lock_attr[0x00] = 0xFF; in rw_t2t_update_lock_attributes()
2337 p_t2t->lock_attr[block_count] = 0; in rw_t2t_update_lock_attributes()
2354 p_t2t->lock_attr[block_count] |= 0x01 << bits_covered; in rw_t2t_update_lock_attributes()
2365 p_t2t->lock_attr[block_count] = 0; in rw_t2t_update_lock_attributes()
2449 return ((p_t2t->lock_attr[index /8] & rw_t2t_mask_bits[index % 8]) == 0) ? FALSE:TRUE; in rw_t2t_is_read_only_byte()
/external/libnfc-nci/src/nfc/int/
Drw_int.h176 …UINT8 lock_attr[T1T_BLOCKS_PER_SEGMENT]; /* byte information - read only or read wr… member
325 …UINT8 lock_attr[RW_T2T_SEGMENT_SIZE]; /* byte information - read only or read wr… member