HomeSort by relevance Sort by last modified time
    Searched refs:p_dev (Results 1 - 12 of 12) sorted by null

  /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
325 btif_hh_device_t *p_dev = NULL; local
367 btif_hh_device_t *p_dev; local
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_hh.c 155 extern void bta_hh_co_send_hid_info(btif_hh_device_t *p_dev, char *dev_name, UINT16 vendor_id,
168 static void sync_lockstate_on_connect(btif_hh_device_t *p_dev);
169 //static void hh_update_keyboard_lockstates(btif_hh_device_t *p_dev);
256 static void update_keyboard_lockstates(btif_hh_device_t *p_dev)
263 __FUNCTION__, p_dev->dev_handle, btif_hh_keylockstates);
265 if (p_dev->p_buf != NULL) {
266 GKI_freebuf(p_dev->p_buf);
269 p_dev->p_buf = GKI_getbuf((UINT16) (len + BTA_HH_MIN_OFFSET +
271 if (p_dev->p_buf != NULL) {
272 p_dev->p_buf->len = len
420 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); local
441 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); local
512 btif_hh_device_t *p_dev; local
595 btif_hh_device_t *p_dev; local
700 btif_hh_device_t *p_dev; local
774 btif_hh_device_t *p_dev = NULL; local
1178 btif_hh_device_t *p_dev; local
1266 btif_hh_device_t *p_dev; local
1298 btif_hh_device_t *p_dev; local
1385 btif_hh_device_t *p_dev; local
1418 btif_hh_device_t *p_dev; local
1453 btif_hh_device_t *p_dev; local
1486 btif_hh_device_t *p_dev; local
1530 btif_hh_device_t *p_dev; local
1576 btif_hh_device_t *p_dev; local
1648 btif_hh_device_t *p_dev; local
1716 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...]
  /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/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 672 tBTA_DM_API_REMOVE_DEVICE *p_dev = &p_data->remove_dev; local
676 if (BTM_IsAclConnectionUp(p_dev->bd_addr))
679 btm_remove_acl( p_dev->bd_addr) ;
683 if(!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_dev->bd_addr))
694 BTM_SecDeleteDevice(p_dev->bd_addr);
697 bdcpy(sec_event.link_down.bd_addr, p_dev->bd_addr);
716 tBTA_DM_API_ADD_DEVICE *p_dev = &p_data->add_dev; local
726 if (p_dev->dc_known)
727 p_dc = (UINT8 *)p_dev->dc;
729 if (p_dev->link_key_known
937 tBTA_DM_PEER_DEVICE *p_dev; local
976 tBTA_DM_PEER_DEVICE *p_dev = NULL; local
3295 tBTA_DM_PEER_DEVICE *p_dev; local
3356 tBTA_DM_PEER_DEVICE *p_dev; local
3623 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...]
  /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
317 tHID_HOST_DEV_CTB *p_dev = (tHID_HOST_DEV_CTB *) p_ref_data; local
382 tHID_HOST_DEV_CTB *p_dev = NULL; local
462 tHID_HOST_DEV_CTB *p_dev; local
954 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; local
1030 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; local
    [all...]
  /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)
  /external/bluetooth/bluedroid/stack/gatt/
gatt_utils.c 2300 tGATT_BG_CONN_DEV *p_dev = NULL; local
2394 tGATT_BG_CONN_DEV *p_dev = NULL; local
2420 tGATT_BG_CONN_DEV *p_dev = NULL; local
2455 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);
  /external/bluetooth/bluedroid/btif/include/
btif_hh.h 107 extern void btif_hh_setreport(btif_hh_device_t *p_dev, bthh_report_type_t r_type,

Completed in 472 milliseconds