Home
last modified time | relevance | path

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

/aosp12/system/bt/stack/btm/
H A 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()
H A Dbtm_ble_gap.cc1090 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 …]
H A 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()
H A Dbtm_ble_privacy.cc528 if (p_ble_cb->inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_suspend_resolving_list_activity()
/aosp12/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
H A Dbt_binder_facade.cpp151 bluetooth::AdvertiseSettings::Mode adv_mode; in BtBinderSetAdvSettings() local
154 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()
/aosp12/system/bt/stack/acl/
H A Dble_acl.cc152 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in acl_ble_connection_fail()