Home
last modified time | relevance | path

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

/system/bt/bta/hh/
Dbta_hh_act.cc937 tBTA_HH_DEV_INFO dev_info; in bta_hh_maint_dev_act() local
940 dev_info.status = BTA_HH_ERR; in bta_hh_maint_dev_act()
941 dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_maint_dev_act()
945 dev_info.bda = p_dev_info->bda; in bta_hh_maint_dev_act()
950 dev_info.handle = bta_hh_le_add_device(p_cb, p_dev_info); in bta_hh_maint_dev_act()
951 if (dev_info.handle != BTA_HH_INVALID_HANDLE) in bta_hh_maint_dev_act()
952 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
958 dev_info.handle = dev_handle; in bta_hh_maint_dev_act()
959 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
984 dev_info.handle = p_cb->hid_handle; in bta_hh_maint_dev_act()
[all …]
Dbta_hh_main.cc261 cback_data.dev_info.bda = p_data->api_maintdev.bda; in bta_hh_sm_execute()
262 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
263 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
265 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
266 cback_data.dev_info.handle = in bta_hh_sm_execute()
/system/bt/btif/src/
Dbtif_storage.cc1482 void btif_storage_add_hearing_aid(const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
1486 [](const HearingDevice& dev_info) { in btif_storage_add_hearing_aid() argument
1487 std::string bdstr = dev_info.address.ToString(); in btif_storage_add_hearing_aid()
1490 dev_info.service_changed_ccc_handle); in btif_storage_add_hearing_aid()
1492 dev_info.read_psm_handle); in btif_storage_add_hearing_aid()
1494 dev_info.capabilities); in btif_storage_add_hearing_aid()
1495 btif_config_set_int(bdstr, HEARING_AID_CODECS, dev_info.codecs); in btif_storage_add_hearing_aid()
1497 dev_info.audio_control_point_handle); in btif_storage_add_hearing_aid()
1499 dev_info.volume_handle); in btif_storage_add_hearing_aid()
1501 dev_info.audio_status_handle); in btif_storage_add_hearing_aid()
[all …]
Dbtif_hh.cc1039 p_data->dev_info.status, p_data->dev_info.handle); in btif_hh_upstreams_evt()
1042 if (btif_hh_cb.added_devices[i].bd_addr == p_data->dev_info.bda) { in btif_hh_upstreams_evt()
1043 if (p_data->dev_info.status == BTA_HH_OK) { in btif_hh_upstreams_evt()
1044 btif_hh_cb.added_devices[i].dev_handle = p_data->dev_info.handle; in btif_hh_upstreams_evt()
1055 p_data->dev_info.status, p_data->dev_info.handle); in btif_hh_upstreams_evt()
1056 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.cc47 void btif_storage_add_hearing_aid(const HearingDevice& dev_info);
324 void AddFromStorage(const HearingDevice& dev_info, uint16_t is_white_listed) { in AddFromStorage() argument
325 DVLOG(2) << __func__ << " " << dev_info.address in AddFromStorage()
326 << ", hiSyncId=" << loghex(dev_info.hi_sync_id) in AddFromStorage()
329 hearingDevices.Add(dev_info); in AddFromStorage()
336 BTA_GATTC_Open(gatt_if, dev_info.address, false, GATT_TRANSPORT_LE, in AddFromStorage()
340 callbacks->OnDeviceAvailable(dev_info.capabilities, dev_info.hi_sync_id, in AddFromStorage()
341 dev_info.address); in AddFromStorage()
1800 void HearingAid::AddFromStorage(const HearingDevice& dev_info, in AddFromStorage() argument
1806 instance->AddFromStorage(dev_info, is_white_listed); in AddFromStorage()
/system/bt/bta/include/
Dbta_hearing_aid_api.h220 static void AddFromStorage(const HearingDevice& dev_info,
Dbta_hh_api.h281 tBTA_HH_DEV_INFO dev_info; /* BTA_HH_ADD_DEV_EVT, BTA_HH_RMV_DEV_EVT */ member