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.cc362 inline bool BTM_LE_STATES_SUPPORTED(const uint8_t* x, uint8_t bit_num) { in BTM_LE_STATES_SUPPORTED() argument
363 uint8_t mask = 1 << (bit_num % 8); in BTM_LE_STATES_SUPPORTED()
364 uint8_t offset = bit_num / 8; in BTM_LE_STATES_SUPPORTED()
2501 uint8_t bit_num = btm_le_state_combo_tbl[0][request_state - 1]; in btm_ble_topology_check() local
2505 if (!BTM_LE_STATES_SUPPORTED(ble_supported_states, bit_num)) { in btm_ble_topology_check()
2516 uint8_t bit_num = btm_le_state_combo_tbl[request_state][state_offset]; in btm_ble_topology_check() local
2517 if (bit_num != UNSUPPORTED) { in btm_ble_topology_check()
2518 if (!BTM_LE_STATES_SUPPORTED(ble_supported_states, bit_num)) { in btm_ble_topology_check()