Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_int_types.h101 uint8_t adv_mode; member
102 void enable_advertising_mode() { adv_mode = BTM_BLE_ADV_ENABLE; } in enable_advertising_mode()
103 void disable_advertising_mode() { adv_mode = BTM_BLE_ADV_DISABLE; } in disable_advertising_mode()
105 return (adv_mode == BTM_BLE_ADV_ENABLE); in is_advertising_mode_enabled()
Dbtm_ble_gap.cc1089 if (status == BTM_SUCCESS && p_cb->adv_mode != new_mode) { in btm_ble_set_discoverability()
1096 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_discoverability()
1174 if (status == BTM_SUCCESS && new_mode != p_cb->adv_mode) { in btm_ble_set_connectability()
1181 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_connectability()
2245 p_cb->adv_mode = BTM_BLE_ADV_ENABLE; in btm_ble_start_adv()
2262 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_stop_adv()
2266 p_cb->adv_mode = BTM_BLE_ADV_DISABLE; in btm_ble_stop_adv()
2291 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_start_slow_adv()
2380 p_cb->adv_mode = !p_cb->adv_mode; in btm_ble_write_adv_enable_complete()
2394 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in btm_ble_dir_adv_tout()
[all …]
Dbtm_ble.cc2069 const bool adv_mode = btm_cb.ble_ctr_cb.inq_var.adv_mode; in btm_ble_set_random_address() local
2071 if (adv_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_random_address()
2082 if (adv_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_random_address()
Dbtm_ble_privacy.cc528 if (p_ble_cb->inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_suspend_resolving_list_activity()
/system/bt/stack/acl/
Dble_acl.cc152 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in acl_ble_connection_fail()