Home
last modified time | relevance | path

Searched refs:BTM_EIR_ARRAY_BITS (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/bluedroid/stack/include/
Dbtm_api.h537 #define BTM_EIR_ARRAY_BITS 32 /* Number of bits in each array element */ macro
538 #define BTM_EIR_SERVICE_ARRAY_SIZE (((UINT32)BTM_EIR_MAX_SERVICES / BTM_EIR_ARRAY_BITS) + \
539 (((UINT32)BTM_EIR_MAX_SERVICES % BTM_EIR_ARRAY_BITS) ? 1 : 0))
542 #define BTM_EIR_SET_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_EIR_ARRAY_BITS
543 ((UINT32)1 << (((UINT32)(service)) % BTM_EIR_ARRAY_BITS)))
547 #define BTM_EIR_CLR_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_EIR_ARRAY_BITS
548 ~((UINT32)1 << (((UINT32)(service)) % BTM_EIR_ARRAY_BITS)))
551 …BTM_EIR_HAS_SERVICE(p, service) ((((UINT32 *)(p))[(((UINT32)(service)) / BTM_EIR_ARRAY_BITS)] & \
552 …((UINT32)1 << (((UINT32)(service)) % BTM_EIR_ARRAY_BITS))) >> (((UINT32)(service)) % BTM_EIR_ARRAY…
/external/bluetooth/bluedroid/stack/btm/
Dbtm_inq.c2320 BTM_EIR_SERVICE_ARRAY_SIZE * (BTM_EIR_ARRAY_BITS/8)); in btm_process_inq_results()