Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_act.cc934 tBTA_HH_DEV_INFO dev_info; in bta_hh_maint_dev_act() local
937 dev_info.status = BTA_HH_ERR; in bta_hh_maint_dev_act()
938 dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_maint_dev_act()
942 dev_info.link_spec = p_dev_info->link_spec; in bta_hh_maint_dev_act()
953 dev_info.handle = bta_hh_le_add_device(p_cb, p_dev_info); in bta_hh_maint_dev_act()
954 if (dev_info.handle != BTA_HH_INVALID_HANDLE) in bta_hh_maint_dev_act()
955 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
960 dev_info.handle = dev_handle; in bta_hh_maint_dev_act()
961 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
986 dev_info.handle = p_cb->hid_handle; in bta_hh_maint_dev_act()
[all …]
Dbta_hh_main.cc223 cback_data.dev_info.link_spec = p_data->api_maintdev.link_spec; in bta_hh_sm_execute()
224 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
225 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
227 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
228 cback_data.dev_info.handle = in bta_hh_sm_execute()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_profile_storage.cc444 void btif_storage_add_hearing_aid(const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
447 [](const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
448 std::string bdstr = dev_info.address.ToString(); in btif_storage_add_hearing_aid()
449 log::verbose("saving hearing aid device: {}", dev_info.address); in btif_storage_add_hearing_aid()
452 dev_info.service_changed_ccc_handle); in btif_storage_add_hearing_aid()
455 dev_info.read_psm_handle); in btif_storage_add_hearing_aid()
458 dev_info.capabilities); in btif_storage_add_hearing_aid()
460 dev_info.codecs); in btif_storage_add_hearing_aid()
463 dev_info.audio_control_point_handle); in btif_storage_add_hearing_aid()
466 dev_info.volume_handle); in btif_storage_add_hearing_aid()
[all …]
Dbtif_hh.cc1270 p_data->dev_info.status, p_data->dev_info.handle); in btif_hh_upstreams_evt()
1272 btif_hh_find_added_dev(p_data->dev_info.link_spec); in btif_hh_upstreams_evt()
1274 if (p_data->dev_info.status == BTA_HH_OK) { in btif_hh_upstreams_evt()
1275 added_dev->dev_handle = p_data->dev_info.handle; in btif_hh_upstreams_evt()
1285 p_data->dev_info.status, p_data->dev_info.handle, in btif_hh_upstreams_evt()
1286 p_data->dev_info.link_spec.ToRedactedStringForLogging()); in btif_hh_upstreams_evt()
/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid.cc73 void btif_storage_add_hearing_aid(const HearingDevice& dev_info);
472 void AddFromStorage(const HearingDevice& dev_info, bool is_acceptlisted) { in AddFromStorage() argument
474 dev_info.address, dev_info.hi_sync_id, is_acceptlisted); in AddFromStorage()
476 hearingDevices.Add(dev_info); in AddFromStorage()
483 BTA_GATTC_Open(gatt_if, dev_info.address, BTM_BLE_BKG_CONNECT_ALLOW_LIST, in AddFromStorage()
487 callbacks->OnDeviceAvailable(dev_info.capabilities, dev_info.hi_sync_id, in AddFromStorage()
488 dev_info.address); in AddFromStorage()
2230 void HearingAid::AddFromStorage(const HearingDevice& dev_info, in AddFromStorage() argument
2236 instance->AddFromStorage(dev_info, is_acceptlisted); in AddFromStorage()
/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_profile_storage.h67 std::function<void(const HearingDevice& dev_info)> body{
69 void operator()(const HearingDevice& dev_info) { body(dev_info); }; in operator()
Dmock_btif_profile_storage.cc133 void btif_storage_add_hearing_aid(const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
135 test::mock::btif_profile_storage::btif_storage_add_hearing_aid(dev_info); in btif_storage_add_hearing_aid()
/packages/modules/Bluetooth/system/bta/include/
Dbta_hearing_aid_api.h246 static void AddFromStorage(const HearingDevice& dev_info,
Dbta_hh_api.h328 tBTA_HH_DEV_INFO dev_info; /* BTA_HH_ADD_DEV_EVT, BTA_HH_RMV_DEV_EVT */ member