/system/nfc/halimpl/bcm2079x/ |
H A D | nfc_nci.c | 32 static int hal_open(const struct nfc_nci_device* p_dev, argument 36 bcm2079x_dev_t* dev = (bcm2079x_dev_t*)p_dev; 42 static int hal_write(const struct nfc_nci_device* p_dev, uint16_t data_len, argument 45 bcm2079x_dev_t* dev = (bcm2079x_dev_t*)p_dev; 51 static int hal_core_initialized(const struct nfc_nci_device* p_dev, argument 54 bcm2079x_dev_t* dev = (bcm2079x_dev_t*)p_dev; 60 static int hal_pre_discover(const struct nfc_nci_device* p_dev) { argument 62 bcm2079x_dev_t* dev = (bcm2079x_dev_t*)p_dev; 68 static int hal_close(const struct nfc_nci_device* p_dev) { argument 70 bcm2079x_dev_t* dev = (bcm2079x_dev_t*)p_dev; 76 hal_control_granted(const struct nfc_nci_device* p_dev) argument 84 hal_power_cycle(const struct nfc_nci_device* p_dev) argument 92 hal_get_max_nfcee(const struct nfc_nci_device* p_dev, uint8_t* maxNfcee) argument [all...] |
/system/nfc/halimpl/pn54x/ |
H A D | nfc_nci.c | 40 static int hal_open(const struct nfc_nci_device* p_dev, argument 45 pn547_dev_t* dev = (pn547_dev_t*)p_dev; 60 static int hal_write(const struct nfc_nci_device* p_dev, uint16_t data_len, argument 63 pn547_dev_t* dev = (pn547_dev_t*)p_dev; 79 static int hal_core_initialized(const struct nfc_nci_device* p_dev, argument 82 pn547_dev_t* dev = (pn547_dev_t*)p_dev; 97 static int hal_pre_discover(const struct nfc_nci_device* p_dev) { argument 99 pn547_dev_t* dev = (pn547_dev_t*)p_dev; 114 static int hal_close(const struct nfc_nci_device* p_dev) { argument 116 pn547_dev_t* dev = (pn547_dev_t*)p_dev; 131 hal_control_granted(const struct nfc_nci_device* p_dev) argument 148 hal_power_cycle(const struct nfc_nci_device* p_dev) argument [all...] |
/system/bt/btif/co/ |
H A D | bta_hh_co.cc | 78 static int uhid_read_event(btif_hh_device_t* p_dev) { argument 79 CHECK(p_dev); 85 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); 99 p_dev->ready_for_data = true; 103 p_dev->ready_for_data = false; 107 p_dev->ready_for_data = true; 111 p_dev->ready_for_data = false; 125 btif_hh_setreport(p_dev, BTHH_FEATURE_REPORT, ev.u.output.size, 128 btif_hh_setreport(p_dev, BTHH_OUTPUT_REPORT, ev.u.output.size, 131 btif_hh_setreport(p_dev, BTHH_INPUT_REPOR 192 btif_hh_device_t* p_dev = (btif_hh_device_t*)arg; local 221 btif_hh_close_poll_thread(btif_hh_device_t* p_dev) argument 267 btif_hh_device_t* p_dev = NULL; local 363 btif_hh_device_t* p_dev = NULL; local 407 btif_hh_device_t* p_dev; local 453 bta_hh_co_send_hid_info(btif_hh_device_t* p_dev, const char* dev_name, uint16_t vendor_id, uint16_t product_id, uint16_t version, uint8_t ctry_code, int dscp_len, uint8_t* p_dscp) argument [all...] |
/system/bt/stack/hid/ |
H A D | hidd_conn.cc | 113 tHID_DEV_DEV_CTB* p_dev = (tHID_DEV_DEV_CTB*)p_ref_data; local 115 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { 116 p_dev->conn.disc_reason = HID_SUCCESS; 117 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR; 119 L2CA_ConnectRsp(p_dev->addr, p_dev->conn.ctrl_id, p_dev->conn.ctrl_cid, 121 L2CA_ConfigReq(p_dev->conn.ctrl_cid, &hd_cb.l2cap_cfg); 125 p_dev->conn.disc_reason = HID_ERR_AUTH_FAILED; 126 p_dev 146 tHID_DEV_DEV_CTB* p_dev = (tHID_DEV_DEV_CTB*)p_ref_data; local 179 tHID_DEV_DEV_CTB* p_dev; local 278 tHID_DEV_DEV_CTB* p_dev = &hd_cb.device; local 802 tHID_DEV_DEV_CTB* p_dev = &hd_cb.device; local [all...] |
H A D | hidh_conn.cc | 163 tHID_HOST_DEV_CTB* p_dev = (tHID_HOST_DEV_CTB*)p_ref_data; local 165 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { 166 p_dev->conn.disc_reason = HID_SUCCESS; /* Authentication passed. Reset 170 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR; 173 L2CA_ConnectRsp(p_dev->addr, p_dev->conn.ctrl_id, p_dev->conn.ctrl_cid, 177 L2CA_ConfigReq(p_dev->conn.ctrl_cid, &hh_cb.l2cap_cfg); 182 p_dev->conn.disc_reason = 184 p_dev 207 tHID_HOST_DEV_CTB* p_dev; local 327 tHID_HOST_DEV_CTB* p_dev = (tHID_HOST_DEV_CTB*)p_ref_data; local 377 tHID_HOST_DEV_CTB* p_dev = NULL; local 990 tHID_HOST_DEV_CTB* p_dev = &hh_cb.devices[dhandle]; local 1063 tHID_HOST_DEV_CTB* p_dev = &hh_cb.devices[dhandle]; local [all...] |
/system/bt/bta/dm/ |
H A D | bta_dm_pm.cc | 52 static void bta_dm_pm_set_sniff_policy(tBTA_DM_PEER_DEVICE* p_dev, 335 tBTA_DM_PEER_DEVICE* p_dev; local 345 p_dev = bta_dm_find_peer_device(peer_addr); 359 /*p_dev = bta_dm_find_peer_device(peer_addr);*/ 363 if ((BTA_SYS_CONN_OPEN == status) && p_dev && 364 (p_dev->info & BTA_DM_DI_USE_SSR)) { 438 if (p_dev) { 439 p_dev->pm_mode_attempted = 0; 440 p_dev->pm_mode_failed = 0; 930 tBTA_DM_PEER_DEVICE* p_dev local 1041 tBTA_DM_PEER_DEVICE* p_dev = NULL; local 1139 bta_dm_pm_set_sniff_policy(tBTA_DM_PEER_DEVICE* p_dev, bool bDisable) argument [all...] |
H A D | bta_dm_api.cc | 541 tBTA_DM_PEER_DEVICE* p_dev = bta_dm_find_peer_device(bd_addr); local 542 return (p_dev && p_dev->conn_state == BTA_DM_CONNECTED);
|
H A D | bta_dm_act.cc | 689 tBTA_DM_API_REMOVE_DEVICE* p_dev = &p_data->remove_dev; local 691 if (p_dev == NULL) return; 693 RawAddress other_address = p_dev->bd_addr; 699 if (BTM_IsAclConnectionUp(p_dev->bd_addr, BT_TRANSPORT_LE) || 700 BTM_IsAclConnectionUp(p_dev->bd_addr, BT_TRANSPORT_BR_EDR)) { 708 if (bta_dm_cb.device_list.peer_device[i].peer_bdaddr == p_dev->bd_addr) { 713 btm_remove_acl(p_dev->bd_addr, transport); 755 if (continue_delete_dev) bta_dm_process_remove_device(p_dev->bd_addr); 772 tBTA_DM_API_ADD_DEVICE* p_dev = &p_data->add_dev; local 782 if (p_dev 993 tBTA_DM_PEER_DEVICE* p_dev = NULL; local 2870 tBTA_DM_PEER_DEVICE* p_dev; local 2926 tBTA_DM_PEER_DEVICE* p_dev; local 3159 tBTA_DM_PEER_DEVICE* p_dev; local [all...] |
/system/bt/stack/btm/ |
H A D | btm_ble_privacy.cc | 833 tBTM_SEC_DEV_REC* p_dev = static_cast<tBTM_SEC_DEV_REC*>(data); local 834 if ((p_dev->ble.in_controller_list & BTM_RESOLVING_LIST_BIT) && 835 (p_dev->ble.in_controller_list & BTM_WHITE_LIST_BIT))
|
/system/bt/btif/src/ |
H A D | btif_hh.cc | 140 extern void bta_hh_co_send_hid_info(btif_hh_device_t* p_dev, 157 static void sync_lockstate_on_connect(btif_hh_device_t* p_dev); 158 // static void hh_update_keyboard_lockstates(btif_hh_device_t *p_dev); 264 static void update_keyboard_lockstates(btif_hh_device_t* p_dev) { argument 272 p_dev->dev_handle, btif_hh_keylockstates); 278 BTA_HhSendData(p_dev->dev_handle, p_dev->bd_addr, p_buf); 292 static void sync_lockstate_on_connect(btif_hh_device_t* p_dev) { argument 300 update_keyboard_lockstates(p_dev); 312 toggle_os_keylockstates(p_dev 390 btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr); local 409 btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr); local 458 btif_hh_device_t* p_dev; local 535 btif_hh_device_t* p_dev; local 625 btif_hh_device_t* p_dev; local 642 btif_hh_setreport(btif_hh_device_t* p_dev, bthh_report_type_t r_type, uint16_t size, uint8_t* report) argument 702 btif_hh_device_t* p_dev = NULL; local 1166 btif_hh_device_t* p_dev = (btif_hh_device_t*)data; local 1237 btif_hh_device_t* p_dev; local 1266 btif_hh_device_t* p_dev; local 1304 btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr); local 1331 btif_hh_device_t* p_dev = p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr); local 1407 btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr); local 1426 btif_hh_device_t* p_dev; local 1466 btif_hh_device_t* p_dev; local 1504 btif_hh_device_t* p_dev; local 1559 btif_hh_device_t* p_dev; local 1613 btif_hh_device_t* p_dev; local [all...] |
H A D | btif_rc.cc | 89 #define CHECK_RC_CONNECTED(p_dev) \ 91 if ((p_dev) == NULL || (p_dev)->rc_connected == false) { \ 97 #define CHECK_BR_CONNECTED(p_dev) \ 99 if ((p_dev) == NULL || (p_dev)->br_connected == false) { \ 253 static void send_metamsg_rsp(btif_rc_device_cb_t* p_dev, int index, 256 static void register_volumechange(uint8_t label, btif_rc_device_cb_t* p_dev); 263 btif_rc_device_cb_t* p_dev); 270 btif_rc_device_cb_t* p_dev); 423 fill_pdu_queue(int index, uint8_t ctype, uint8_t label, bool pending, btif_rc_device_cb_t* p_dev) argument 448 handle_rc_ctrl_features(btif_rc_device_cb_t* p_dev) argument 487 handle_rc_features(btif_rc_device_cb_t* p_dev) argument 562 btif_rc_device_cb_t* p_dev = local 591 btif_rc_device_cb_t* p_dev = alloc_device(); local 650 btif_rc_device_cb_t* p_dev = NULL; local 718 btif_rc_device_cb_t* p_dev = local 774 btif_rc_device_cb_t* p_dev = NULL; local 811 btif_rc_device_cb_t* p_dev = NULL; local 862 btif_rc_device_cb_t* p_dev = NULL; local 959 btif_rc_device_cb_t* p_dev = NULL; local 1085 btif_rc_device_cb_t* p_dev = get_connected_device(idx); local 1102 btif_rc_device_cb_t* p_dev = NULL; local 1124 btif_rc_device_cb_t* p_dev = NULL; local 1224 send_metamsg_rsp(btif_rc_device_cb_t* p_dev, int index, uint8_t label, tBTA_AV_CODE code, tAVRC_RESPONSE* pmetamsg_resp) argument [all...] |
/system/bt/stack/gatt/ |
H A D | gatt_utils.cc | 1479 bool gatt_is_bg_dev_for_app(tGATT_BG_CONN_DEV* p_dev, tGATT_IF gatt_if) { argument 1480 return p_dev->gatt_if.count(gatt_if); 1510 tGATT_BG_CONN_DEV* p_dev = gatt_find_bg_dev(bd_addr); local 1511 if (p_dev) { 1513 if (!p_dev->gatt_if.insert(gatt_if).second) {
|