Searched refs:BTM_SEC_ARRAY_BITS (Results 1 – 2 of 2) sorted by relevance
1161 #define BTM_SEC_ARRAY_BITS 32 /* Number of bits in each array element */ macro1162 #define BTM_SEC_SERVICE_ARRAY_SIZE (((UINT32)BTM_SEC_MAX_SERVICES / BTM_SEC_ARRAY_BITS) + \1163 (((UINT32)BTM_SEC_MAX_SERVICES % BTM_SEC_ARRAY_BITS) ? 1 : 0))1232 #define BTM_SEC_SET_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS…1233 ((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))1237 #define BTM_SEC_CLR_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS…1238 ~((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))1241 …ERVICE_TRUSTED(p, service) (((((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS)]) & \1242 … (UINT32)(((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))) ? TRUE : FALSE)
822 btm_mask_index = bta_service_id_to_btm_srv_id_lkup_tbl[index] / BTM_SEC_ARRAY_BITS; in bta_dm_add_device()