HomeSort by relevance Sort by last modified time
    Searched refs:bt_bdaddr_t (Results 26 - 50 of 56) sorted by null

12 3

  /hardware/libhardware/include/hardware/
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);
bt_rc.h 125 typedef void (* btrc_remote_features_callback)(bt_bdaddr_t *bd_addr,
267 typedef void (* btrc_connection_state_callback) (bool state, bt_bdaddr_t *bd_addr);
288 bt_status_t (*send_pass_through_cmd) ( bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state );
  /external/bluetooth/bluedroid/btif/src/
btif_hh.c 154 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr);
158 extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod);
159 extern void btif_dm_cb_remove_bond(bt_bdaddr_t *bd_addr);
160 extern BOOLEAN check_cod_hid(const bt_bdaddr_t *remote_bdaddr, uint32_t cod);
162 extern void btif_dm_hh_open_failed(bt_bdaddr_t *bdaddr);
363 ** Description Return the device pointer of the specified bt_bdaddr_t.
367 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr)
384 ** Description Return the connected device pointer of the specified bt_bdaddr_t.
388 static btif_hh_device_t *btif_hh_find_connected_dev_by_bda(bt_bdaddr_t *bd_addr)
409 void btif_hh_stop_vup_timer(bt_bdaddr_t *bd_addr
    [all...]
btif_storage.c 159 bt_bdaddr_t devices[BTM_SEC_MAX_DEVICE_RECORDS];
166 extern bt_bdaddr_t btif_local_bd_addr;
180 bt_status_t btif_storage_get_remote_addr_type(bt_bdaddr_t *remote_bd_addr,
218 static int prop2cfg(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop)
314 static int cfg2prop(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop)
515 bt_bdaddr_t bd_addr;
534 memcpy(&p_bonded_devices->devices[p_bonded_devices->num_devices++], &bd_addr, sizeof(bt_bdaddr_t));
594 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)property->val;
596 memcpy(bd_addr, &btif_local_bd_addr, sizeof(bt_bdaddr_t));
    [all...]
btif_dm.c 170 bt_bdaddr_t bdaddr;
213 static void btif_dm_cb_create_bond(bt_bdaddr_t *bd_addr, tBTA_TRANSPORT transport);
238 extern int btif_hh_connect(bt_bdaddr_t *bd_addr);
341 bt_bdaddr_t remote_bdaddr;
362 BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod)
370 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS)
380 BOOLEAN check_cod_hid(const bt_bdaddr_t *remote_bdaddr, uint32_t cod)
388 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr,
398 BOOLEAN check_hid_le(const bt_bdaddr_t *remote_bdaddr)
406 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr
    [all...]
btif_core.c 77 bt_bdaddr_t bd_addr;
82 bt_bdaddr_t bd_addr;
102 bt_bdaddr_t btif_local_bd_addr;
366 static void btif_fetch_local_bdaddr(bt_bdaddr_t *local_addr)
484 memset(&btif_local_bd_addr, 0, sizeof(bt_bdaddr_t));
560 bt_bdaddr_t bd_addr;
596 memcpy(buf, &btif_local_bd_addr, sizeof(bt_bdaddr_t));
599 prop.len = sizeof(bt_bdaddr_t);
895 bt_bdaddr_t addr;
899 bt_bdaddr_t bonded_devices[BTM_SEC_MAX_DEVICE_RECORDS]
    [all...]
btif_hf.c 152 bt_bdaddr_t connected_bda;
195 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr)
218 static int btif_hf_idx_by_bdaddr(bt_bdaddr_t *bd_addr)
391 bt_bdaddr_t addr;
671 int idx = btif_hf_idx_by_bdaddr((bt_bdaddr_t *)p_param);
735 static bt_status_t connect_int(bt_bdaddr_t *bd_addr, uint16_t uuid)
764 static bt_status_t connect( bt_bdaddr_t *bd_addr )
779 static bt_status_t disconnect( bt_bdaddr_t *bd_addr )
803 static bt_status_t connect_audio( bt_bdaddr_t *bd_addr )
815 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL)
    [all...]
btif_av.c 77 bt_bdaddr_t peer_bda;
86 bt_bdaddr_t *target_bda;
227 connect_req.target_bda = (bt_bdaddr_t*)&peer_addr;
241 static void btif_report_connection_state(btav_connection_state_t state, bt_bdaddr_t *bd_addr)
250 static void btif_report_audio_state(btav_audio_state_t state, bt_bdaddr_t *bd_addr)
278 memset(&btif_av_cb.peer_bda, 0, sizeof(bt_bdaddr_t));
300 sizeof(bt_bdaddr_t));
    [all...]
btif_pan.c 88 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
89 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr);
239 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role)
255 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)p_param;
264 (const bt_bdaddr_t*)conn->peer, btpan_conn_local_role, btpan_remote_role);
275 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr)
283 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL);
597 bd2str((bt_bdaddr_t*)p_data->opening.bd_addr, &bds);
608 (const bt_bdaddr_t*)p_data->opening.bd_addr, btpan_conn_local_role, btpan_remote_role)
    [all...]
btif_mce.c 52 bt_bdaddr_t addr;
132 static bt_status_t get_remote_mas_instances(bt_bdaddr_t *bd_addr)
btif_sock.c 44 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type,
122 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type,
btif_gatt_server.c 91 bt_bdaddr_t bd_addr;
194 bt_bdaddr_t bda;
206 bt_bdaddr_t bda;
287 bt_bdaddr_t bda;
300 bt_bdaddr_t bda;
316 bt_bdaddr_t bda;
539 static bt_status_t btif_gatts_open( int server_if, const bt_bdaddr_t *bd_addr,
552 static bt_status_t btif_gatts_close(int server_if, const bt_bdaddr_t *bd_addr, int conn_id)
btif_hf_client.c 108 bt_bdaddr_t connected_bda;
164 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr)
214 static bt_status_t connect_int( bt_bdaddr_t *bd_addr, uint16_t uuid )
228 static bt_status_t connect( bt_bdaddr_t *bd_addr )
245 static bt_status_t disconnect( bt_bdaddr_t *bd_addr )
267 static bt_status_t connect_audio( bt_bdaddr_t *bd_addr )
284 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL);
300 static bt_status_t disconnect_audio( bt_bdaddr_t *bd_addr )
    [all...]
btif_gatt_client.c 143 bt_bdaddr_t bd_addr;
162 bt_bdaddr_t bd_addr;
184 bt_bdaddr_t bd_addr;
214 bt_bdaddr_t bd_addr;
223 bt_bdaddr_t bd_addr;
527 bt_bdaddr_t bda;
546 bt_bdaddr_t bda;
    [all...]
btif_sock_rfc.c 87 bt_bdaddr_t addr;
242 static rfc_slot_t* alloc_rfc_slot(const bt_bdaddr_t *addr, const char* name, const uint8_t* uuid, int channel, int flags, BOOLEAN server)
279 static inline rfc_slot_t* create_srv_accept_rfc_slot(rfc_slot_t* srv_rs, const bt_bdaddr_t* addr,
357 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* service_uuid,
537 static BOOLEAN send_app_connect_signal(int fd, const bt_bdaddr_t* addr, int channel, int status, int send_fd)
542 bt_bdaddr_t bd_addr;
608 rfc_slot_t* accept_rs = create_srv_accept_rfc_slot(srv_rs, (const bt_bdaddr_t*)p_open->rem_bda,
    [all...]
btif_rc.c 222 extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod);
353 bt_bdaddr_t rc_addr;
428 bt_bdaddr_t rc_addr;
477 bt_bdaddr_t rc_addr;
560 (check_cod( (const bt_bdaddr_t*)&(btif_rc_cb.rc_addr), COD_AV_HEADSETS) != TRUE))
    [all...]
  /external/bluetooth/bluedroid/test/suite/support/
pan.c 70 void pan_connection_state_changed(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role) {
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_avrcp_controller.cpp 62 static void btavrcp_connection_state_callback(bool state, bt_bdaddr_t* bd_addr) {
73 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
80 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
177 if ((status = sBluetoothAvrcpInterface->send_pass_through_cmd((bt_bdaddr_t *)addr,
com_android_bluetooth_btservice_AdapterService.cpp 182 static void remote_device_properties_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
232 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
234 if (addr) callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*)bd_addr);
282 remote_device_properties_callback(BT_STATUS_SUCCESS, (bt_bdaddr_t *)properties[addr_index].val,
290 static void bond_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
302 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
307 callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *)bd_addr);
315 static void acl_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
328 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
333 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)) !=
com_android_bluetooth_hdp.cpp 62 static void channel_state_callback(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index,
68 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
85 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
246 if ( (status = sBluetoothHdpInterface->connect_channel(app_id, (bt_bdaddr_t *) addr,
com_android_bluetooth_hfpclient.cpp 71 static void connection_state_cb(bthf_client_connection_state_t state, unsigned int peer_feat, unsigned int chld_feat, bt_bdaddr_t *bd_addr) {
76 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
83 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
89 static void audio_state_cb(bthf_client_audio_state_t state, bt_bdaddr_t *bd_addr) {
94 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
101 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *) bd_addr);
379 if ((status = sBluetoothHfpClientInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
398 if ( (status = sBluetoothHfpClientInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
417 if ( (status = sBluetoothHfpClientInterface->connect_audio((bt_bdaddr_t *)addr)) !=
437 if ( (status = sBluetoothHfpClientInterface->disconnect_audio((bt_bdaddr_t *) addr)) !
    [all...]
com_android_bluetooth_avrcp.cpp 52 static void btavrcp_remote_features_callback(bt_bdaddr_t* bd_addr, btrc_remote_features_t features) {
60 addr = sCallbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
67 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
com_android_bluetooth_gatt.cpp 127 static void jstr2bdaddr(JNIEnv* env, bt_bdaddr_t *bda, jstring address)
224 void btgattc_scan_result_cb(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data)
245 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda)
261 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda)
427 void btgattc_remote_rssi_cb(int client_if,bt_bdaddr_t* bda, int rssi, int status)
553 bt_bdaddr_t* bda, int adv_state)
615 void btgatts_connection_cb(int conn_id, int server_if, int connected, bt_bdaddr_t *bda)
696 void btgatts_request_read_cb(int conn_id, int trans_id, bt_bdaddr_t *bda,
715 bt_bdaddr_t *bda, int attr_handle,
739 bt_bdaddr_t *bda, int exec_write
    [all...]
  /external/bluetooth/bluedroid/btif/include/
btif_common.h 189 void btif_remote_properties_evt(bt_status_t status, bt_bdaddr_t *remote_addr,

Completed in 675 milliseconds

12 3