HomeSort by relevance Sort by last modified time
    Searched refs:bt_bdaddr_t (Results 1 - 25 of 42) sorted by null

1 2

  /external/bluetooth/bluedroid/btif/include/
btif_profile_queue.h 30 typedef bt_status_t (btif_connect_cb_t) (bt_bdaddr_t *bda);
32 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda,
btif_api.h 131 bt_status_t btif_get_remote_device_property( bt_bdaddr_t *remote_addr,
143 bt_status_t btif_get_remote_device_properties( bt_bdaddr_t *remote_addr);
156 bt_status_t btif_set_remote_device_property( bt_bdaddr_t *remote_addr,
169 bt_status_t btif_get_remote_service_record( bt_bdaddr_t *remote_addr,
209 bt_status_t btif_dm_create_bond(const bt_bdaddr_t *bd_addr);
220 bt_status_t btif_dm_cancel_bond(const bt_bdaddr_t *bd_addr);
231 bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr);
242 bt_status_t btif_dm_pin_reply( const bt_bdaddr_t *bd_addr, uint8_t accept,
254 bt_status_t btif_dm_passkey_reply( const bt_bdaddr_t *bd_addr,
266 bt_status_t btif_dm_ssp_reply( const bt_bdaddr_t *bd_addr
    [all...]
btif_storage.h 79 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr,
93 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr,
108 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t *remote_bd_addr,
123 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr,
138 bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr);
235 bt_status_t btif_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr,
263 bt_status_t btif_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr);
288 BOOLEAN btif_storage_is_device_autopair_blacklisted(bt_bdaddr_t *remote_bd_addr);
301 bt_status_t btif_storage_add_device_to_autopair_blacklist(bt_bdaddr_t *remote_bd_addr);
313 BOOLEAN btif_storage_is_fixed_pin_zeros_keyboard(bt_bdaddr_t *remote_bd_addr)
    [all...]
btif_hh.h 61 bt_bdaddr_t bd_addr;
77 bt_bdaddr_t bd_addr;
102 extern void btif_hh_remove_device(bt_bdaddr_t bd_addr);
103 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask);
104 extern bt_status_t btif_hh_virtual_unplug(bt_bdaddr_t *bd_addr);
105 extern void btif_hh_disconnect(bt_bdaddr_t *bd_addr);
109 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bd_addr, tBTA_HH_ATTR_MASK attr_mask);
btif_sock_rfc.h 34 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* uuid,
btif_util.h 65 int str2bd(char *str, bt_bdaddr_t *addr);
66 char *bd2str(const bt_bdaddr_t *addr, bdstr_t *bdstr);
  /hardware/libhardware/include/hardware/
bt_av.h 42 bt_bdaddr_t *bd_addr);
48 bt_bdaddr_t *bd_addr);
79 bt_status_t (*connect)( bt_bdaddr_t *bd_addr );
82 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr );
bt_hh.h 90 typedef void (* bthh_connection_state_callback)(bt_bdaddr_t *bd_addr, bthh_connection_state_t state);
95 typedef void (* bthh_virtual_unplug_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status);
100 typedef void (* bthh_hid_info_callback)(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info);
105 typedef void (* bthh_protocol_mode_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status,bthh_protocol_mode_t mode);
109 typedef void (* bthh_idle_time_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, int idle_rate);
115 typedef void (* bthh_get_report_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, uint8_t* rpt_data, int rpt_size);
145 bt_status_t (*connect)( bt_bdaddr_t *bd_addr);
148 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr );
151 bt_status_t (*virtual_unplug)(bt_bdaddr_t *bd_addr);
154 bt_status_t (*set_info)(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info )
    [all...]
bluetooth.h 52 } __attribute__((packed))bt_bdaddr_t; typedef in typeref:struct:__anon20572
141 * Data type - bt_bdaddr_t
179 * Data type - Array of bt_bdaddr_t of the bonded remote devices
268 bt_bdaddr_t *bd_addr,
282 typedef void (*pin_request_callback)(bt_bdaddr_t *remote_bd_addr,
290 typedef void (*ssp_request_callback)(bt_bdaddr_t *remote_bd_addr,
299 bt_bdaddr_t *remote_bd_addr,
303 typedef void (*acl_state_changed_callback)(bt_status_t status, bt_bdaddr_t *remote_bd_addr,
391 * bt_bdaddr_t or bt_bdname_t or bt_scanmode_t etc
396 int (*get_remote_device_properties)(bt_bdaddr_t *remote_addr)
    [all...]
bt_pan.h 42 const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
72 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
76 bt_status_t (*disconnect)(const bt_bdaddr_t *bd_addr);
bt_sock.h 34 bt_bdaddr_t bd_addr;
52 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t* uuid, int channel, int* sock_fd, int flags);
bt_gatt_server.h 52 bt_bdaddr_t *bda);
86 typedef void (*request_read_callback)(int conn_id, int trans_id, bt_bdaddr_t *bda,
93 typedef void (*request_write_callback)(int conn_id, int trans_id, bt_bdaddr_t *bda,
99 bt_bdaddr_t *bda, int exec_write);
132 bt_status_t (*connect)(int server_if, const bt_bdaddr_t *bd_addr, bool is_direct );
135 bt_status_t (*disconnect)(int server_if, const bt_bdaddr_t *bd_addr,
bt_hf.h 72 typedef void (* bthf_connection_state_callback)(bthf_connection_state_t state, bt_bdaddr_t *bd_addr);
77 typedef void (* bthf_audio_state_callback)(bthf_audio_state_t state, bt_bdaddr_t *bd_addr);
219 bt_status_t (*connect)( bt_bdaddr_t *bd_addr );
222 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr );
225 bt_status_t (*connect_audio)( bt_bdaddr_t *bd_addr );
228 bt_status_t (*disconnect_audio)( bt_bdaddr_t *bd_addr );
bt_gatt_client.h 63 bt_bdaddr_t bda;
72 bt_bdaddr_t *bda1;
88 typedef void (*scan_result_callback)(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data);
91 typedef void (*connect_callback)(int conn_id, int status, int client_if, bt_bdaddr_t* bda);
95 int client_if, bt_bdaddr_t* bda);
151 typedef void (*read_remote_rssi_callback)(int client_if, bt_bdaddr_t* bda,
187 bt_status_t (*connect)( int client_if, const bt_bdaddr_t *bd_addr,
191 bt_status_t (*disconnect)( int client_if, const bt_bdaddr_t *bd_addr,
195 bt_status_t (*refresh)( int client_if, const bt_bdaddr_t *bd_addr );
255 const bt_bdaddr_t *bd_addr, btgatt_srvc_id_t *srvc_id
    [all...]
bt_hl.h 81 typedef void (* bthl_channel_state_callback)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int channel_id, bthl_channel_state_t state, int fd);
110 bt_status_t (*connect_channel)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id);
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_a2dp.cpp 50 static void bta2dp_connection_state_callback(btav_connection_state_t state, bt_bdaddr_t* bd_addr) {
59 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
66 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
73 static void bta2dp_audio_state_callback(btav_audio_state_t state, bt_bdaddr_t* bd_addr) {
82 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
89 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
195 bt_bdaddr_t * btAddr;
202 btAddr = (bt_bdaddr_t *) addr;
208 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
227 if ( (status = sBluetoothA2dpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS)
    [all...]
com_android_bluetooth_hid.cpp 59 static void connection_state_callback(bt_bdaddr_t *bd_addr, bthh_connection_state_t state) {
63 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
69 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr);
76 static void get_protocol_mode_callback(bt_bdaddr_t *bd_addr, bthh_status_t hh_status,bthh_protocol_mode_t mode) {
86 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
92 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr);
99 static void virtual_unplug_callback(bt_bdaddr_t *bd_addr, bthh_status_t hh_status) {
104 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
110 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr);
119 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
    [all...]
com_android_bluetooth_btservice_AdapterService.cpp 173 static void remote_device_properties_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
223 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
225 if (addr) callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*)bd_addr);
273 remote_device_properties_callback(BT_STATUS_SUCCESS, (bt_bdaddr_t *)properties[addr_index].val,
281 static void bond_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
293 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
298 callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *)bd_addr);
306 static void acl_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
319 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
324 callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *)bd_addr)
    [all...]
com_android_bluetooth_pan.cpp 69 static void connection_state_callback(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr,
74 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
80 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr);
200 if ((status = sPanIf->connect((bt_bdaddr_t *) addr, src_role, dest_role)) !=
222 if ( (status = sPanIf->disconnect((bt_bdaddr_t *) addr)) !=
  /external/bluetooth/bluedroid/btif/src/
bluetooth.c 192 int get_remote_device_properties(bt_bdaddr_t *remote_addr)
201 int get_remote_device_property(bt_bdaddr_t *remote_addr, bt_property_type_t type)
210 int set_remote_device_property(bt_bdaddr_t *remote_addr, const bt_property_t *property)
219 int get_remote_service_record(bt_bdaddr_t *remote_addr, bt_uuid_t *uuid)
228 int get_remote_services(bt_bdaddr_t *remote_addr)
255 static int create_bond(const bt_bdaddr_t *bd_addr)
264 static int cancel_bond(const bt_bdaddr_t *bd_addr)
273 static int remove_bond(const bt_bdaddr_t *bd_addr)
282 static int pin_reply(const bt_bdaddr_t *bd_addr, uint8_t accept,
292 static int ssp_reply(const bt_bdaddr_t *bd_addr, bt_ssp_variant_t variant
    [all...]
btif_profile_queue.c 45 bt_bdaddr_t bda;
135 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda,
140 memcpy(&(node.bda), bda, sizeof(bt_bdaddr_t));
btif_dm.c 124 static void btif_dm_cb_create_bond(bt_bdaddr_t *bd_addr);
141 extern int btif_hh_connect(bt_bdaddr_t *bd_addr);
236 bt_bdaddr_t remote_bdaddr;
257 BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod)
265 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS)
274 BOOLEAN check_cod_hid(const bt_bdaddr_t *remote_bdaddr, uint32_t cod)
282 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr,
292 static void bond_state_changed(bt_status_t status, bt_bdaddr_t *bd_addr, bt_bond_state_t state)
320 static void btif_update_remote_version_property(bt_bdaddr_t *p_bd)
358 bt_bdaddr_t bdaddr
    [all...]
btif_storage.c 158 bt_bdaddr_t devices[BTM_SEC_MAX_DEVICE_RECORDS];
165 extern bt_bdaddr_t btif_local_bd_addr;
179 bt_status_t btif_storage_get_remote_addr_type(bt_bdaddr_t *remote_bd_addr,
196 static char* btif_in_make_filename(bt_bdaddr_t *bd_addr, char *fname)
246 static int prop2cfg(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop)
334 static int cfg2prop(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop)
489 bt_bdaddr_t bd_addr;
508 memcpy(&p_bonded_devices->devices[p_bonded_devices->num_devices++], &bd_addr, sizeof(bt_bdaddr_t));
591 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)property->val
    [all...]
btif_hh.c 153 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr);
157 extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod);
158 extern void btif_dm_cb_remove_bond(bt_bdaddr_t *bd_addr);
370 ** Description Return the device pointer of the specified bt_bdaddr_t.
374 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr)
391 ** Description Return the connected device pointer of the specified bt_bdaddr_t.
395 static btif_hh_device_t *btif_hh_find_connected_dev_by_bda(bt_bdaddr_t *bd_addr)
416 void btif_hh_stop_vup_timer(bt_bdaddr_t *bd_addr)
437 void btif_hh_start_vup_timer(bt_bdaddr_t *bd_addr)
468 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask
    [all...]
btif_core.c 74 bt_bdaddr_t bd_addr;
79 bt_bdaddr_t bd_addr;
99 bt_bdaddr_t btif_local_bd_addr;
361 static void btif_fetch_local_bdaddr(bt_bdaddr_t *local_addr)
479 memset(&btif_local_bd_addr, 0, sizeof(bt_bdaddr_t));
555 bt_bdaddr_t bd_addr;
591 memcpy(buf, &btif_local_bd_addr, sizeof(bt_bdaddr_t));
594 prop.len = sizeof(bt_bdaddr_t);
875 bt_bdaddr_t addr;
879 bt_bdaddr_t bonded_devices[BTM_SEC_MAX_DEVICE_RECORDS]
    [all...]

Completed in 114 milliseconds

1 2