/external/bluetooth/bluedroid/btif/src/ |
btif_hh.c | 154 extern void bta_hh_co_send_hid_info(btif_hh_device_t *p_dev, char *dev_name, UINT16 vendor_id, 166 static void sync_lockstate_on_connect(btif_hh_device_t *p_dev); 167 //static void hh_update_keyboard_lockstates(btif_hh_device_t *p_dev); 254 static void update_keyboard_lockstates(btif_hh_device_t *p_dev) 261 __FUNCTION__, p_dev->dev_handle, btif_hh_keylockstates); 263 if (p_dev->p_buf != NULL) { 264 GKI_freebuf(p_dev->p_buf); 267 p_dev->p_buf = GKI_getbuf((UINT16) (len + BTA_HH_MIN_OFFSET + 269 if (p_dev->p_buf != NULL) { 270 p_dev->p_buf->len = len 418 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); local 439 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); local 510 btif_hh_device_t *p_dev; local 593 btif_hh_device_t *p_dev; local 697 btif_hh_device_t *p_dev; local 771 btif_hh_device_t *p_dev = NULL; local 1167 btif_hh_device_t *p_dev; local 1255 btif_hh_device_t *p_dev; local 1287 btif_hh_device_t *p_dev; local 1374 btif_hh_device_t *p_dev; local 1407 btif_hh_device_t *p_dev; local 1442 btif_hh_device_t *p_dev; local 1475 btif_hh_device_t *p_dev; local 1519 btif_hh_device_t *p_dev; local 1565 btif_hh_device_t *p_dev; local 1637 btif_hh_device_t *p_dev; local 1705 btif_hh_device_t *p_dev; local [all...] |
/external/bluetooth/bluedroid/btif/co/ |
bta_hh_co.c | 58 static int uhid_event(btif_hh_device_t *p_dev) 63 if(!p_dev) 68 ret = read(p_dev->fd, &ev, sizeof(ev)); 101 btif_hh_setreport(p_dev,BTHH_FEATURE_REPORT,ev.u.output.size,ev.u.output.data); 103 btif_hh_setreport(p_dev,BTHH_OUTPUT_REPORT,ev.u.output.size,ev.u.output.data); 105 btif_hh_setreport(p_dev,BTHH_INPUT_REPORT,ev.u.output.size,ev.u.output.data); 161 btif_hh_device_t *p_dev = arg; local 162 APPL_TRACE_DEBUG2("%s: Thread created fd = %d", __FUNCTION__, p_dev->fd); 165 pfds[0].fd = p_dev->fd; 168 while(p_dev->hh_keep_polling) 236 btif_hh_device_t *p_dev = NULL; local 324 btif_hh_device_t *p_dev = NULL; local 366 btif_hh_device_t *p_dev; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/ |
nfc_nci.c | 33 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) 36 bcm2079x_dev_t *dev = (bcm2079x_dev_t*) p_dev; 43 static int hal_write (const struct nfc_nci_device *p_dev, 47 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; 54 static int hal_core_initialized (const struct nfc_nci_device *p_dev, 58 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; 65 static int hal_pre_discover (const struct nfc_nci_device *p_dev) 68 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; 75 static int hal_close (const struct nfc_nci_device *p_dev) 78 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; [all...] |
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 165 tHID_HOST_DEV_CTB *p_dev= (tHID_HOST_DEV_CTB *) p_ref_data; local 167 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) 169 p_dev->conn.disc_reason = HID_SUCCESS; /* Authentication passed. Reset disc_reason (from HID_ERR_AUTH_FAILED) */ 171 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR; 174 L2CA_ConnectRsp (p_dev->addr, p_dev->conn.ctrl_id, p_dev->conn.ctrl_cid, L2CAP_CONN_OK, L2CAP_CONN_OK); 177 L2CA_ConfigReq (p_dev->conn.ctrl_cid, &hh_cb.l2cap_cfg); 183 p_dev->conn.disc_reason = HID_ERR_AUTH_FAILED; /* Save reason for disconnecting */ 184 p_dev->conn.conn_state = HID_CONN_STATE_UNUSED 205 tHID_HOST_DEV_CTB *p_dev; local 318 tHID_HOST_DEV_CTB *p_dev = (tHID_HOST_DEV_CTB *) p_ref_data; local 383 tHID_HOST_DEV_CTB *p_dev = NULL; local 463 tHID_HOST_DEV_CTB *p_dev; local 955 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; local 1030 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; local [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_pm.c | 44 static void bta_dm_pm_set_sniff_policy(tBTA_DM_PEER_DEVICE *p_dev, BOOLEAN bDisable); 163 tBTA_DM_PEER_DEVICE *p_dev; local 168 p_dev = bta_dm_find_peer_device(peer_addr); 171 if ((p_dev) && 178 bta_dm_pm_set_sniff_policy(p_dev, (status == BTA_SYS_SCO_OPEN)); 197 /*p_dev = bta_dm_find_peer_device(peer_addr);*/ 201 if((BTA_SYS_CONN_OPEN == status) && p_dev && (p_dev->info & BTA_DM_DI_USE_SSR)) 273 if(p_dev) 275 p_dev->pm_mode_attempted = 0 748 tBTA_DM_PEER_DEVICE *p_dev; local 858 tBTA_DM_PEER_DEVICE *p_dev = NULL; local [all...] |
bta_dm_act.c | 671 tBTA_DM_API_REMOVE_DEVICE *p_dev = &p_data->remove_dev; local 675 if (BTM_IsAclConnectionUp(p_dev->bd_addr)) 678 btm_remove_acl( p_dev->bd_addr) ; 682 if(!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_dev->bd_addr)) 693 BTM_SecDeleteDevice(p_dev->bd_addr); 696 bdcpy(sec_event.link_down.bd_addr, p_dev->bd_addr); 715 tBTA_DM_API_ADD_DEVICE *p_dev = &p_data->add_dev; local 725 if (p_dev->dc_known) 726 p_dc = (UINT8 *)p_dev->dc; 728 if (p_dev->link_key_known 936 tBTA_DM_PEER_DEVICE *p_dev; local 975 tBTA_DM_PEER_DEVICE *p_dev = NULL; local 3297 tBTA_DM_PEER_DEVICE *p_dev; local 3346 tBTA_DM_PEER_DEVICE *p_dev; local 3613 tBTA_DM_PEER_DEVICE *p_dev; local [all...] |
bta_dm_api.c | 1080 tBTA_DM_PEER_DEVICE * p_dev = bta_dm_find_peer_device(bd_addr); local 1081 if(p_dev && (p_dev->info & BTA_DM_DI_USE_SSR) ) [all...] |
/hardware/libhardware/include/hardware/ |
nfc.h | 126 int (*open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, 135 int (*write)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data); 147 int (*core_initialized)(const struct nfc_nci_device *p_dev, uint8_t* p_core_init_rsp_params); 160 int (*pre_discover)(const struct nfc_nci_device *p_dev); 165 int (*close)(const struct nfc_nci_device *p_dev); 173 int (*control_granted)(const struct nfc_nci_device *p_dev); 179 int (*power_cycle)(const struct nfc_nci_device *p_dev);
|
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_utils.c | 2300 tGATT_BG_CONN_DEV *p_dev = NULL; local 2390 tGATT_BG_CONN_DEV *p_dev = NULL; local 2416 tGATT_BG_CONN_DEV *p_dev = NULL; local 2451 tGATT_BG_CONN_DEV *p_dev = NULL; local [all...] |
gatt_int.h | 596 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 | 55 static int hal_control_granted (const struct nfc_nci_device *p_dev) 62 static int hal_power_cycle (const struct nfc_nci_device *p_dev)
|