Home
last modified time | relevance | path

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

/system/bt/bta/hh/
Dbta_hh_act.cc925 tBTA_HH_DEV_INFO dev_info; in bta_hh_maint_dev_act() local
928 dev_info.status = BTA_HH_ERR; in bta_hh_maint_dev_act()
929 dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_maint_dev_act()
933 dev_info.bda = p_dev_info->bda; in bta_hh_maint_dev_act()
938 dev_info.handle = bta_hh_le_add_device(p_cb, p_dev_info); in bta_hh_maint_dev_act()
939 if (dev_info.handle != BTA_HH_INVALID_HANDLE) in bta_hh_maint_dev_act()
940 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
945 dev_info.handle = dev_handle; in bta_hh_maint_dev_act()
946 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
964 dev_info.handle = p_cb->hid_handle; in bta_hh_maint_dev_act()
[all …]
Dbta_hh_main.cc214 cback_data.dev_info.bda = p_data->api_maintdev.bda; in bta_hh_sm_execute()
215 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
216 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
218 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
219 cback_data.dev_info.handle = in bta_hh_sm_execute()
/system/bt/test/mock/
Dmock_bta_hearing_aid.cc56 void HearingAid::AddFromStorage(const HearingDevice& dev_info, in AddFromStorage() argument
Dmock_btif_storage.cc171 void btif_storage_add_hearing_aid(const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
/system/bt/btif/src/
Dbtif_storage.cc1471 void btif_storage_add_hearing_aid(const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
1475 [](const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
1476 std::string bdstr = dev_info.address.ToString(); in btif_storage_add_hearing_aid()
1479 dev_info.service_changed_ccc_handle); in btif_storage_add_hearing_aid()
1481 dev_info.read_psm_handle); in btif_storage_add_hearing_aid()
1483 dev_info.capabilities); in btif_storage_add_hearing_aid()
1484 btif_config_set_int(bdstr, HEARING_AID_CODECS, dev_info.codecs); in btif_storage_add_hearing_aid()
1486 dev_info.audio_control_point_handle); in btif_storage_add_hearing_aid()
1488 dev_info.volume_handle); in btif_storage_add_hearing_aid()
1490 dev_info.audio_status_handle); in btif_storage_add_hearing_aid()
[all …]
Dbtif_hh.cc1038 p_data->dev_info.status, p_data->dev_info.handle); in btif_hh_upstreams_evt()
1041 if (btif_hh_cb.added_devices[i].bd_addr == p_data->dev_info.bda) { in btif_hh_upstreams_evt()
1042 if (p_data->dev_info.status == BTA_HH_OK) { in btif_hh_upstreams_evt()
1043 btif_hh_cb.added_devices[i].dev_handle = p_data->dev_info.handle; in btif_hh_upstreams_evt()
1054 p_data->dev_info.status, p_data->dev_info.handle); in btif_hh_upstreams_evt()
1055 VLOG(1) << "BTA_HH_RMV_DEV_EVT:bda = " << p_data->dev_info.bda; in btif_hh_upstreams_evt()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc56 void btif_storage_add_hearing_aid(const HearingDevice& dev_info);
332 void AddFromStorage(const HearingDevice& dev_info, uint16_t is_acceptlisted) { in AddFromStorage() argument
333 DVLOG(2) << __func__ << " " << dev_info.address in AddFromStorage()
334 << ", hiSyncId=" << loghex(dev_info.hi_sync_id) in AddFromStorage()
337 hearingDevices.Add(dev_info); in AddFromStorage()
344 BTA_GATTC_Open(gatt_if, dev_info.address, false, false); in AddFromStorage()
347 callbacks->OnDeviceAvailable(dev_info.capabilities, dev_info.hi_sync_id, in AddFromStorage()
348 dev_info.address); in AddFromStorage()
1785 void HearingAid::AddFromStorage(const HearingDevice& dev_info, in AddFromStorage() argument
1791 instance->AddFromStorage(dev_info, is_acceptlisted); in AddFromStorage()
/system/bt/bta/include/
Dbta_hearing_aid_api.h222 static void AddFromStorage(const HearingDevice& dev_info,
Dbta_hh_api.h301 tBTA_HH_DEV_INFO dev_info; /* BTA_HH_ADD_DEV_EVT, BTA_HH_RMV_DEV_EVT */ member