/external/libnfc-nci/halimpl/bcm2079x/ |
nfc_nci.c | 35 static int hal_open (const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_hal_cback, nfc_stack_data_callback_t *p_hal_data_callback) 38 bcm2079x_dev_t *dev = (bcm2079x_dev_t*) p_dev; 45 static int hal_write (const struct nfc_nci_device *p_dev, 49 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; 56 static int hal_core_initialized (const struct nfc_nci_device *p_dev, 60 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; 67 static int hal_pre_discover (const struct nfc_nci_device *p_dev) 70 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; 77 static int hal_close (const struct nfc_nci_device *p_dev) 80 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; [all...] |
/system/bt/btif/src/ |
btif_hh.c | 146 extern void bta_hh_co_send_hid_info(btif_hh_device_t *p_dev, char *dev_name, UINT16 vendor_id, 160 static void sync_lockstate_on_connect(btif_hh_device_t *p_dev); 161 //static void hh_update_keyboard_lockstates(btif_hh_device_t *p_dev); 268 static void update_keyboard_lockstates(btif_hh_device_t *p_dev) 278 __FUNCTION__, p_dev->dev_handle, btif_hh_keylockstates); 284 bda = (BD_ADDR*) (&p_dev->bd_addr); 285 BTA_HhSendData(p_dev->dev_handle, *bda, p_buf); 297 static void sync_lockstate_on_connect(btif_hh_device_t *p_dev) 304 update_keyboard_lockstates(p_dev); 316 toggle_os_keylockstates(p_dev->fd, keylockstates) 399 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); local 419 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); local 479 btif_hh_device_t *p_dev; local 557 btif_hh_device_t *p_dev; local 650 btif_hh_device_t *p_dev; local 702 btif_hh_device_t *p_dev = NULL; local 1157 btif_hh_device_t *p_dev = (btif_hh_device_t *)data; local 1232 btif_hh_device_t *p_dev; local 1264 btif_hh_device_t *p_dev; local 1346 btif_hh_device_t *p_dev; local 1381 btif_hh_device_t *p_dev; local 1424 btif_hh_device_t *p_dev; local 1469 btif_hh_device_t *p_dev; local 1531 btif_hh_device_t *p_dev; local 1590 btif_hh_device_t *p_dev; local [all...] |
/system/bt/btif/co/ |
bta_hh_co.c | 80 static int uhid_read_event(btif_hh_device_t *p_dev) 82 assert(p_dev); 88 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); 111 p_dev->ready_for_data = TRUE; 115 p_dev->ready_for_data = FALSE; 119 p_dev->ready_for_data = TRUE; 123 p_dev->ready_for_data = FALSE; 137 btif_hh_setreport(p_dev, BTHH_FEATURE_REPORT, 140 btif_hh_setreport(p_dev, BTHH_OUTPUT_REPORT, 143 btif_hh_setreport(p_dev, BTHH_INPUT_REPORT 199 btif_hh_device_t *p_dev = arg; local 281 btif_hh_device_t *p_dev = NULL; local 375 btif_hh_device_t *p_dev = NULL; local 416 btif_hh_device_t *p_dev; local [all...] |
/external/libnfc-nci/halimpl/pn54x/ |
nfc_nci.c | 40 static int hal_open(const struct nfc_nci_device *p_dev, 46 pn547_dev_t *dev = (pn547_dev_t*) p_dev; 61 static int hal_write(const struct nfc_nci_device *p_dev, uint16_t data_len, 65 pn547_dev_t* dev = (pn547_dev_t*) p_dev; 81 static int hal_core_initialized(const struct nfc_nci_device *p_dev, 85 pn547_dev_t* dev = (pn547_dev_t*) p_dev; 100 static int hal_pre_discover(const struct nfc_nci_device *p_dev) 103 pn547_dev_t* dev = (pn547_dev_t*) p_dev; 118 static int hal_close(const struct nfc_nci_device *p_dev) 121 pn547_dev_t* dev = (pn547_dev_t*) p_dev; [all...] |
/system/bt/stack/hid/ |
hidh_conn.c | 173 tHID_HOST_DEV_CTB *p_dev= (tHID_HOST_DEV_CTB *) p_ref_data; local 177 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) 179 p_dev->conn.disc_reason = HID_SUCCESS; /* Authentication passed. Reset disc_reason (from HID_ERR_AUTH_FAILED) */ 181 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR; 184 L2CA_ConnectRsp (p_dev->addr, p_dev->conn.ctrl_id, p_dev->conn.ctrl_cid, L2CAP_CONN_OK, L2CAP_CONN_OK); 187 L2CA_ConfigReq (p_dev->conn.ctrl_cid, &hh_cb.l2cap_cfg); 193 p_dev->conn.disc_reason = HID_ERR_AUTH_FAILED; /* Save reason for disconnecting */ 194 p_dev->conn.conn_state = HID_CONN_STATE_UNUSED 215 tHID_HOST_DEV_CTB *p_dev; local 338 tHID_HOST_DEV_CTB *p_dev = (tHID_HOST_DEV_CTB *) p_ref_data; local 392 tHID_HOST_DEV_CTB *p_dev = NULL; local 1024 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; local 1100 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; local [all...] |
/system/bt/bta/dm/ |
bta_dm_pm.c | 48 static void bta_dm_pm_set_sniff_policy(tBTA_DM_PEER_DEVICE *p_dev, BOOLEAN bDisable); 347 tBTA_DM_PEER_DEVICE *p_dev; local 356 p_dev = bta_dm_find_peer_device(peer_addr); 373 /*p_dev = bta_dm_find_peer_device(peer_addr);*/ 377 if((BTA_SYS_CONN_OPEN == status) && p_dev && (p_dev->info & BTA_DM_DI_USE_SSR)) 460 if(p_dev) 462 p_dev->pm_mode_attempted = 0; 463 p_dev->pm_mode_failed = 0; 1011 tBTA_DM_PEER_DEVICE *p_dev = bta_dm_find_peer_device(p_data->pm_status.bd_addr); local 1128 tBTA_DM_PEER_DEVICE *p_dev = NULL; local [all...] |
bta_dm_act.c | 703 tBTA_DM_API_REMOVE_DEVICE *p_dev = &p_data->remove_dev; local 705 if (p_dev == NULL) 709 bdcpy(other_address, p_dev->bd_addr); 715 if (BTM_IsAclConnectionUp(p_dev->bd_addr, BT_TRANSPORT_LE) || 716 BTM_IsAclConnectionUp(p_dev->bd_addr, BT_TRANSPORT_BR_EDR)) 724 if (!bdcmp(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_dev->bd_addr)) 732 btm_remove_acl(p_dev->bd_addr, transport); 779 bta_dm_process_remove_device(p_dev->bd_addr); 798 tBTA_DM_API_ADD_DEVICE *p_dev = &p_data->add_dev; local 808 if (p_dev->dc_known 1056 tBTA_DM_PEER_DEVICE *p_dev = NULL; local 3085 tBTA_DM_PEER_DEVICE *p_dev; local 3145 tBTA_DM_PEER_DEVICE *p_dev; local 3389 tBTA_DM_PEER_DEVICE *p_dev; local [all...] |
bta_dm_api.c | 562 tBTA_DM_PEER_DEVICE * p_dev = bta_dm_find_peer_device(bd_addr); local 563 return (p_dev && p_dev->conn_state == BTA_DM_CONNECTED); [all...] |
/hardware/libhardware/include/hardware/ |
nfc.h | 139 int (*open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, 148 int (*write)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data); 160 int (*core_initialized)(const struct nfc_nci_device *p_dev, uint8_t* p_core_init_rsp_params); 173 int (*pre_discover)(const struct nfc_nci_device *p_dev); 178 int (*close)(const struct nfc_nci_device *p_dev); 186 int (*control_granted)(const struct nfc_nci_device *p_dev); 192 int (*power_cycle)(const struct nfc_nci_device *p_dev);
|
/system/bt/stack/gatt/ |
gatt_utils.c | 2460 tGATT_BG_CONN_DEV *p_dev = NULL; local 2554 tGATT_BG_CONN_DEV *p_dev = NULL; local 2580 tGATT_BG_CONN_DEV *p_dev = NULL; local 2615 tGATT_BG_CONN_DEV *p_dev = NULL; local [all...] |
gatt_int.h | 606 extern BOOLEAN gatt_is_bg_dev_for_app(tGATT_BG_CONN_DEV *p_dev, tGATT_IF gatt_if);
|
/hardware/libhardware/modules/nfc-nci/ |
nfc_nci_example.c | 56 static int hal_control_granted (const struct nfc_nci_device *p_dev) 63 static int hal_power_cycle (const struct nfc_nci_device *p_dev)
|
/system/bt/btif/include/ |
btif_hh.h | 107 extern void btif_hh_setreport(btif_hh_device_t *p_dev, bthh_report_type_t r_type,
|
/system/bt/stack/btm/ |
btm_ble_privacy.c | 933 tBTM_SEC_DEV_REC *p_dev = data; local 934 if ((p_dev->ble.in_controller_list & BTM_RESOLVING_LIST_BIT) && 935 (p_dev->ble.in_controller_list & BTM_WHITE_LIST_BIT)) [all...] |