Searched refs:adv_mode (Results 1 – 6 of 6) sorted by relevance
101 uint8_t adv_mode; member102 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()
1090 if (status == BTM_SUCCESS && p_cb->adv_mode != new_mode) { in btm_ble_set_discoverability()1097 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_discoverability()1175 if (status == BTM_SUCCESS && new_mode != p_cb->adv_mode) { in btm_ble_set_connectability()1182 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_connectability()2257 p_cb->adv_mode = BTM_BLE_ADV_ENABLE; in btm_ble_start_adv()2274 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_stop_adv()2278 p_cb->adv_mode = BTM_BLE_ADV_DISABLE; in btm_ble_stop_adv()2303 if (p_cb->adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_start_slow_adv()2392 p_cb->adv_mode = !p_cb->adv_mode; in btm_ble_write_adv_enable_complete()2406 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in btm_ble_dir_adv_tout()[all …]
2069 const bool adv_mode = btm_cb.ble_ctr_cb.inq_var.adv_mode; in btm_ble_set_random_address() local2071 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()
528 if (p_ble_cb->inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_suspend_resolving_list_activity()
151 bluetooth::AdvertiseSettings::Mode adv_mode; in BtBinderSetAdvSettings() local154 adv_mode = bluetooth::AdvertiseSettings::Mode::MODE_LOW_POWER; in BtBinderSetAdvSettings()157 adv_mode = bluetooth::AdvertiseSettings::Mode::MODE_BALANCED; in BtBinderSetAdvSettings()160 adv_mode = bluetooth::AdvertiseSettings::Mode::MODE_LOW_LATENCY; in BtBinderSetAdvSettings()194 adv_mode, adv_timeout, adv_tx_power_level, is_connectable); in BtBinderSetAdvSettings()
152 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in acl_ble_connection_fail()