Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_gap.cc371 inline bool BTM_LE_STATES_SUPPORTED(const uint8_t* x, uint8_t bit_num) { in BTM_LE_STATES_SUPPORTED() argument
372 uint8_t mask = 1 << (bit_num % 8); in BTM_LE_STATES_SUPPORTED()
373 uint8_t offset = bit_num / 8; in BTM_LE_STATES_SUPPORTED()
2615 uint8_t bit_num = btm_le_state_combo_tbl[0][request_state - 1]; in btm_ble_topology_check() local
2619 if (!BTM_LE_STATES_SUPPORTED(ble_supported_states, bit_num)) { in btm_ble_topology_check()
2630 uint8_t bit_num = btm_le_state_combo_tbl[request_state][state_offset]; in btm_ble_topology_check() local
2631 if (bit_num != UNSUPPORTED) { in btm_ble_topology_check()
2632 if (!BTM_LE_STATES_SUPPORTED(ble_supported_states, bit_num)) { in btm_ble_topology_check()