HomeSort by relevance Sort by last modified time
    Searched refs:bt_bdaddr_t (Results 51 - 75 of 94) sorted by null

1 23 4

  /system/bt/btcore/test/
property_test.cpp 30 bt_bdaddr_t addr0 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}};
40 EXPECT_EQ((int)sizeof(bt_bdaddr_t), property->len);
42 const bt_bdaddr_t *addr1 = property_as_addr(property);
186 bt_bdaddr_t addr0 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}};
199 bt_bdaddr_t addr = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}};
210 bt_bdaddr_t addr0 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}};
213 bt_bdaddr_t addr1 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0xff}};
  /system/bt/btif/src/
btif_pan.c 93 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
94 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr);
235 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role)
251 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)p_param;
260 (const bt_bdaddr_t*)conn->peer, btpan_conn_local_role, btpan_remote_role);
271 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr)
279 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL);
303 static int tap_if_up(const char *devname, const bt_bdaddr_t *addr)
587 bdaddr_to_string((bt_bdaddr_t *)p_data->opening.bd_addr, bds, sizeof(bds))
    [all...]
btif_core.c 81 bt_bdaddr_t bd_addr;
86 bt_bdaddr_t bd_addr;
106 bt_bdaddr_t btif_local_bd_addr;
319 static void btif_fetch_local_bdaddr(bt_bdaddr_t *local_addr)
426 memset(&btif_local_bd_addr, 0, sizeof(bt_bdaddr_t));
496 prop.len = sizeof(bt_bdaddr_t);
695 bt_bdaddr_t addr;
699 bt_bdaddr_t bonded_devices[BTM_SEC_MAX_DEVICE_RECORDS];
745 static bt_status_t btif_in_get_remote_device_properties(bt_bdaddr_t *bd_addr)
924 void btif_remote_properties_evt(bt_status_t status, bt_bdaddr_t *remote_addr
    [all...]
btif_hf.c 153 bt_bdaddr_t connected_bda;
196 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr)
219 static int btif_hf_idx_by_bdaddr(bt_bdaddr_t *bd_addr)
677 int idx = btif_hf_idx_by_bdaddr((bt_bdaddr_t *)p_param);
748 static bt_status_t connect_int(bt_bdaddr_t *bd_addr, uint16_t uuid)
777 static bt_status_t connect( bt_bdaddr_t *bd_addr )
792 static bt_status_t disconnect( bt_bdaddr_t *bd_addr )
822 static bt_status_t connect_audio( bt_bdaddr_t *bd_addr )
844 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL);
860 static bt_status_t disconnect_audio( bt_bdaddr_t *bd_addr
    [all...]
btif_mce.c 54 bt_bdaddr_t addr;
134 static bt_status_t get_remote_mas_instances(bt_bdaddr_t *bd_addr)
btif_sdp.c 65 bt_bdaddr_t addr;
148 static bt_status_t search(bt_bdaddr_t *bd_addr, const uint8_t *uuid)
btif_av.c 80 bt_bdaddr_t peer_bda;
89 bt_bdaddr_t *target_bda;
233 connect_req.target_bda = (bt_bdaddr_t*)&peer_addr;
247 static void btif_report_connection_state(btav_connection_state_t state, bt_bdaddr_t *bd_addr)
256 static void btif_report_audio_state(btav_audio_state_t state, bt_bdaddr_t *bd_addr)
284 memset(&btif_av_cb.peer_bda, 0, sizeof(bt_bdaddr_t));
306 sizeof(bt_bdaddr_t));
456 if (memcmp ((bt_bdaddr_t*)p_data, &(btif_av_cb.peer_bda),
466 btif_report_connection_state(BTAV_CONNECTION_STATE_DISCONNECTED, (bt_bdaddr_t*)p_data);
702 if (memcmp ((bt_bdaddr_t*)p_data, &(btif_av_cb.peer_bda)
    [all...]
btif_sock_sco.c 73 static sco_socket_t *sco_socket_establish_locked(bool is_listening, const bt_bdaddr_t *bd_addr, int *sock_fd);
127 bt_status_t btsock_sco_connect(const bt_bdaddr_t *bd_addr, int *sock_fd, UNUSED_ATTR int flags) {
139 static sco_socket_t *sco_socket_establish_locked(bool is_listening, const bt_bdaddr_t *bd_addr, int *sock_fd) {
248 memcpy(&connect_signal.bd_addr, conn_data->bd_addr, sizeof(bt_bdaddr_t));
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;
538 static bt_status_t btif_gatts_open( int server_if, const bt_bdaddr_t *bd_addr,
551 static bt_status_t btif_gatts_close(int server_if, const bt_bdaddr_t *bd_addr, int conn_id)
btif_hf_client.c 109 bt_bdaddr_t connected_bda;
165 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr)
215 static bt_status_t connect_int( bt_bdaddr_t *bd_addr, uint16_t uuid )
229 static bt_status_t connect( bt_bdaddr_t *bd_addr )
246 static bt_status_t disconnect( bt_bdaddr_t *bd_addr )
268 static bt_status_t connect_audio( bt_bdaddr_t *bd_addr )
285 (char *)bd_addr, sizeof(bt_bdaddr_t), NULL);
301 static bt_status_t disconnect_audio( bt_bdaddr_t *bd_addr )
    [all...]
btif_sock.c 36 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags);
146 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags) {
btif_sock_l2cap.c 69 bt_bdaddr_t addr; //other side's address
300 static l2cap_socket *btsock_l2cap_alloc_l(const char *name, const bt_bdaddr_t *addr,
372 static l2cap_socket *btsock_l2cap_alloc(const char *name, const bt_bdaddr_t *addr,
412 static BOOLEAN send_app_connect_signal(int fd, const bt_bdaddr_t* addr,
487 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0);
526 accept_rs = btsock_l2cap_alloc_l(sock->name, (const bt_bdaddr_t*)p_open->rem_bda, FALSE, 0);
876 static bt_status_t btsock_l2cap_listen_or_connect(const char *name, const bt_bdaddr_t *addr,
957 bt_status_t btsock_l2cap_connect(const bt_bdaddr_t *bd_addr, int channel, int* sock_fd, int flags)
    [all...]
  /packages/apps/Bluetooth/jni/
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);
205 if ((status = sPanIf->connect((bt_bdaddr_t *) addr, src_role, dest_role)) !=
227 if ( (status = sPanIf->disconnect((bt_bdaddr_t *) addr)) !=
com_android_bluetooth_btservice_AdapterService.cpp 179 static void remote_device_properties_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
229 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
231 if (addr) callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*)bd_addr);
279 remote_device_properties_callback(BT_STATUS_SUCCESS, (bt_bdaddr_t *)properties[addr_index].val,
287 static void bond_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
299 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
304 callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *)bd_addr);
312 static void acl_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr,
325 addr = callbackEnv->NewByteArray(sizeof(bt_bdaddr_t));
330 callbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte *)bd_addr)
    [all...]
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));
68 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
  /system/bt/tools/bdtool/
adapter.c 71 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state) {
95 bt_bdaddr_t *bdaddr,
152 bt_bdaddr_t *bdaddr,
166 bt_bdaddr_t *remote_bd_addr,
221 const bt_bdaddr_t *addr = property_as_addr(property);
  /hardware/libhardware/include/hardware/
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 );
  /system/bt/btcore/src/
property.c 78 bt_property_t *property_new_addr(const bt_bdaddr_t *addr) {
80 return property_new_((void *)addr, sizeof(bt_bdaddr_t), BT_PROPERTY_BDADDR);
170 const bt_bdaddr_t *property_as_addr(const bt_property_t *property) {
172 return (const bt_bdaddr_t *)property->val;
  /system/bt/hci/include/
hci_packet_parser.h 46 bt_bdaddr_t *address_ptr
  /system/bt/test/suite/cases/
rfcomm.c 57 TASSERT(!memcmp(&signal.bd_addr, &bt_remote_bdaddr, sizeof(bt_bdaddr_t)), "Connected to a different bdaddr than expected.");
  /system/bt/stack/btm/
btm_ble_bgconn.c 56 bt_bdaddr_t address;
60 return bdaddr_equals((bt_bdaddr_t *)x, (bt_bdaddr_t *)y);
72 static void background_connection_add(bt_bdaddr_t *address) {
83 static void background_connection_remove(bt_bdaddr_t *address) {
278 background_connection_add((bt_bdaddr_t*)bd_addr);
280 background_connection_remove((bt_bdaddr_t*)bd_addr);
  /system/bt/btif/co/
bta_pan_co.c 195 bdaddr_to_string((bt_bdaddr_t *)conn->peer, bdstr, sizeof(bdstr)));
196 bdaddr_to_string((bt_bdaddr_t *)src, bdstr, sizeof(bdstr));
198 bdaddr_to_string((bt_bdaddr_t *)src, bdstr, sizeof(bdstr)));
  /system/bt/btif/include/
btif_common.h 192 void btif_remote_properties_evt(bt_status_t status, bt_bdaddr_t *remote_addr,

Completed in 215 milliseconds

1 23 4