/external/bluetooth/bluedroid/btif/co/ |
bta_hh_co.c | 94 btif_hh_device_t *p_dev = NULL; local 102 p_dev = &btif_hh_cb.devices[i]; 103 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && p_dev->dev_handle == dev_handle) { 107 p_dev->dev_status); 109 p_dev->bd_addr.address[0], p_dev->bd_addr.address[1], p_dev->bd_addr.address[2], 110 p_dev->bd_addr.address[3], p_dev->bd_addr.address[4]) 200 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/btif/src/ |
btif_hh.c | 152 extern void bta_hh_co_send_hid_info(btif_hh_device_t *p_dev, char *dev_name, UINT16 vendor_id, 164 static void sync_lockstate_on_connect(btif_hh_device_t *p_dev); 165 //static void hh_update_keyboard_lockstates(btif_hh_device_t *p_dev); 251 static void update_keyboard_lockstates(btif_hh_device_t *p_dev) 258 __FUNCTION__, p_dev->dev_handle, btif_hh_keylockstates); 260 if (p_dev->p_buf != NULL) { 261 GKI_freebuf(p_dev->p_buf); 264 p_dev->p_buf = GKI_getbuf((UINT16) (len + BTA_HH_MIN_OFFSET + 266 if (p_dev->p_buf != NULL) { 267 p_dev->p_buf->len = len 454 btif_hh_device_t *p_dev; local 534 btif_hh_device_t *p_dev; local 641 btif_hh_device_t *p_dev; local 675 btif_hh_device_t *p_dev = NULL; local 1104 btif_hh_device_t *p_dev; local 1136 btif_hh_device_t *p_dev; local 1223 btif_hh_device_t *p_dev; local 1256 btif_hh_device_t *p_dev; local 1291 btif_hh_device_t *p_dev; local 1324 btif_hh_device_t *p_dev; local 1368 btif_hh_device_t *p_dev; local 1414 btif_hh_device_t *p_dev; local 1486 btif_hh_device_t *p_dev; local 1553 btif_hh_device_t *p_dev; local [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); 161 tBTA_DM_PEER_DEVICE *p_dev; local 166 p_dev = bta_dm_find_peer_device(peer_addr); 174 bta_dm_pm_set_sniff_policy(p_dev, (status == BTA_SYS_SCO_OPEN)); 192 /*p_dev = bta_dm_find_peer_device(peer_addr);*/ 196 if((BTA_SYS_CONN_OPEN == status) && p_dev && (p_dev->info & BTA_DM_DI_USE_SSR)) 268 if(p_dev) 270 p_dev->pm_mode_attempted = 0; 271 p_dev->pm_mode_failed = 0 770 tBTA_DM_PEER_DEVICE *p_dev; local 880 tBTA_DM_PEER_DEVICE *p_dev = NULL; local [all...] |
bta_dm_act.c | 664 tBTA_DM_API_REMOVE_DEVICE *p_dev = &p_data->remove_dev; local 668 if (BTM_IsAclConnectionUp(p_dev->bd_addr)) 671 btm_remove_acl( p_dev->bd_addr) ; 675 if(!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_dev->bd_addr)) 686 BTM_SecDeleteDevice(p_dev->bd_addr); 689 bdcpy(sec_event.link_down.bd_addr, p_dev->bd_addr); 708 tBTA_DM_API_ADD_DEVICE *p_dev = &p_data->add_dev; local 718 if (p_dev->dc_known) 719 p_dc = (UINT8 *)p_dev->dc; 721 if (p_dev->link_key_known 871 tBTA_DM_PEER_DEVICE *p_dev; local 910 tBTA_DM_PEER_DEVICE *p_dev = NULL; local 3165 tBTA_DM_PEER_DEVICE *p_dev; local 3214 tBTA_DM_PEER_DEVICE *p_dev; local 3465 tBTA_DM_PEER_DEVICE *p_dev; local [all...] |
bta_dm_api.c | 1071 tBTA_DM_PEER_DEVICE * p_dev = bta_dm_find_peer_device(bd_addr); local 1072 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 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 1031 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 | 2280 tGATT_BG_CONN_DEV *p_dev = NULL; local 2344 tGATT_BG_CONN_DEV *p_dev = NULL; local 2370 tGATT_BG_CONN_DEV *p_dev = NULL; local 2403 tGATT_BG_CONN_DEV *p_dev = NULL; local [all...] |
gatt_int.h | 583 extern BOOLEAN gatt_is_bg_dev_for_app(tGATT_BG_CONN_DEV *p_dev, tGATT_IF gatt_if);
|