Home
last modified time | relevance | path

Searched refs:bdaddr_t (Results 1 – 25 of 130) sorted by relevance

123456

/external/bluetooth/bluez/src/
Dstorage.h28 int write_discoverable_timeout(bdaddr_t *bdaddr, int timeout);
30 int write_pairable_timeout(bdaddr_t *bdaddr, int timeout);
32 int write_device_mode(bdaddr_t *bdaddr, const char *mode);
35 int write_local_name(bdaddr_t *bdaddr, const char *name);
36 int read_local_name(bdaddr_t *bdaddr, char *name);
37 int write_local_class(bdaddr_t *bdaddr, uint8_t *class);
38 int read_local_class(bdaddr_t *bdaddr, uint8_t *class);
39 int write_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t class);
40 int read_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t *class);
41 int write_device_name(bdaddr_t *local, bdaddr_t *peer, char *name);
[all …]
Devent.h25 int btd_event_request_pin(bdaddr_t *sba, bdaddr_t *dba);
26 void btd_event_device_found(bdaddr_t *local, bdaddr_t *peer, uint32_t class,
28 void btd_event_set_legacy_pairing(bdaddr_t *local, bdaddr_t *peer, gboolean legacy);
29 void btd_event_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t class);
30 void btd_event_remote_name(bdaddr_t *local, bdaddr_t *peer, uint8_t status, char *name);
31 void btd_event_conn_complete(bdaddr_t *local, bdaddr_t *peer);
32 void btd_event_conn_failed(bdaddr_t *local, bdaddr_t *peer, uint8_t status);
33 void btd_event_disconn_complete(bdaddr_t *local, bdaddr_t *peer);
34 void btd_event_bonding_complete(bdaddr_t *local, bdaddr_t *peer,
36 void btd_event_simple_pairing_complete(bdaddr_t *local, bdaddr_t *peer, uint8_t status);
[all …]
Dadapter.h60 bdaddr_t bdaddr;
67 bdaddr_t bdaddr;
105 void adapter_get_address(struct btd_adapter *adapter, bdaddr_t *bdaddr);
111 void adapter_update_found_devices(struct btd_adapter *adapter, bdaddr_t *bdaddr,
114 int adapter_remove_found_device(struct btd_adapter *adapter, bdaddr_t *bdaddr);
151 int btd_request_authorization(const bdaddr_t *src, const bdaddr_t *dst,
153 int btd_cancel_authorization(const bdaddr_t *src, const bdaddr_t *dst);
178 int (*resolve_name) (int index, bdaddr_t *bdaddr);
179 int (*cancel_resolve_name) (int index, bdaddr_t *bdaddr);
183 int (*read_clock) (int index, bdaddr_t *bdaddr, int which, int timeout,
[all …]
Devent.c63 static gboolean get_adapter_and_device(bdaddr_t *src, bdaddr_t *dst, in get_adapter_and_device()
130 bdaddr_t dba; in pincode_cb()
155 int btd_event_request_pin(bdaddr_t *sba, bdaddr_t *dba) in btd_event_request_pin()
179 bdaddr_t bdaddr; in confirm_reply()
200 bdaddr_t bdaddr; in passkey_cb()
210 int btd_event_user_confirm(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey) in btd_event_user_confirm()
222 int btd_event_user_consent(bdaddr_t *sba, bdaddr_t *dba) in btd_event_user_consent()
234 int btd_event_user_passkey(bdaddr_t *sba, bdaddr_t *dba) in btd_event_user_passkey()
246 int btd_event_user_notify(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey) in btd_event_user_notify()
258 void btd_event_bonding_complete(bdaddr_t *local, bdaddr_t *peer, in btd_event_bonding_complete()
[all …]
Dstorage.c59 const bdaddr_t *bdaddr, const char *name) in create_filename()
97 int write_discoverable_timeout(bdaddr_t *bdaddr, int timeout) in write_discoverable_timeout()
130 int write_pairable_timeout(bdaddr_t *bdaddr, int timeout) in write_pairable_timeout()
163 int write_device_mode(bdaddr_t *bdaddr, const char *mode) in write_device_mode()
213 int write_local_name(bdaddr_t *bdaddr, const char *name) in write_local_name()
232 int read_local_name(bdaddr_t *bdaddr, char *name) in read_local_name()
253 int write_local_class(bdaddr_t *bdaddr, uint8_t *class) in write_local_class()
266 int read_local_class(bdaddr_t *bdaddr, uint8_t *class) in read_local_class()
288 int write_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t class) in write_remote_class()
302 int read_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t *class) in read_remote_class()
[all …]
Dsdpd.h38 bdaddr_t device;
39 bdaddr_t bdaddr;
65 void sdp_record_add(const bdaddr_t *device, sdp_record_t *rec);
69 int sdp_check_access(uint32_t handle, bdaddr_t *device);
80 int add_record_to_server(const bdaddr_t *src, sdp_record_t *rec);
83 void sdp_init_services_list(bdaddr_t *device);
Dglib-helper.h27 int bt_search_service(const bdaddr_t *src, const bdaddr_t *dst,
30 int bt_cancel_discovery(const bdaddr_t *src, const bdaddr_t *dst);
Dglib-helper.c48 bdaddr_t src;
49 bdaddr_t dst;
69 static sdp_session_t *get_sdp_session(const bdaddr_t *src, const bdaddr_t *dst) in get_sdp_session()
93 static void cache_sdp_session(bdaddr_t *src, bdaddr_t *dst, in cache_sdp_session()
113 bdaddr_t src;
114 bdaddr_t dst;
276 const bdaddr_t *src, in create_search_context()
277 const bdaddr_t *dst, in create_search_context()
310 int bt_search_service(const bdaddr_t *src, const bdaddr_t *dst, in bt_search_service()
341 int bt_cancel_discovery(const bdaddr_t *src, const bdaddr_t *dst) in bt_cancel_discovery()
/external/bluetooth/bluez/lib/bluetooth/
Dmgmt.h66 bdaddr_t bdaddr;
110 bdaddr_t bdaddr;
125 bdaddr_t bdaddr;
131 bdaddr_t bdaddr;
134 bdaddr_t bdaddr;
140 bdaddr_t conn[0];
145 bdaddr_t bdaddr;
152 bdaddr_t bdaddr;
162 bdaddr_t bdaddr;
166 bdaddr_t bdaddr;
[all …]
Dbluetooth.h132 } __attribute__((packed)) bdaddr_t; typedef
134 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
135 #define BDADDR_ALL (&(bdaddr_t) {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}})
136 #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
139 static inline int bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2) in bacmp()
141 return memcmp(ba1, ba2, sizeof(bdaddr_t)); in bacmp()
143 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) in bacpy()
145 memcpy(dst, src, sizeof(bdaddr_t)); in bacpy()
148 void baswap(bdaddr_t *dst, const bdaddr_t *src);
149 bdaddr_t *strtoba(const char *str);
[all …]
Dhci.h328 bdaddr_t bdaddr;
348 bdaddr_t bdaddr;
373 bdaddr_t bdaddr;
379 bdaddr_t bdaddr;
386 bdaddr_t bdaddr;
393 bdaddr_t bdaddr;
402 bdaddr_t bdaddr;
444 bdaddr_t bdaddr;
453 bdaddr_t bdaddr;
498 bdaddr_t bdaddr;
[all …]
Drfcomm.h42 bdaddr_t rc_bdaddr;
72 bdaddr_t src;
73 bdaddr_t dst;
85 bdaddr_t src;
86 bdaddr_t dst;
Dhci_lib.h56 int hci_create_connection(int dd, const bdaddr_t *bdaddr, uint16_t ptype, uint16_t clkoffset, uint8…
61 int hci_devba(int dev_id, bdaddr_t *bdaddr);
66 int hci_read_remote_name(int dd, const bdaddr_t *bdaddr, int len, char *name, int to);
67 int hci_read_remote_name_with_clock_offset(int dd, const bdaddr_t *bdaddr, uint8_t pscan_rep_mode, …
68 int hci_read_remote_name_cancel(int dd, const bdaddr_t *bdaddr, int to);
77 int hci_read_bd_addr(int dd, bdaddr_t *bdaddr, int to);
84 int hci_read_stored_link_key(int dd, bdaddr_t *bdaddr, uint8_t all, int to);
85 int hci_write_stored_link_key(int dd, bdaddr_t *bdaddr, uint8_t *key, int to);
86 int hci_delete_stored_link_key(int dd, bdaddr_t *bdaddr, uint8_t all, int to);
90 int hci_switch_role(int dd, bdaddr_t *bdaddr, uint8_t role, int to);
[all …]
/external/bluetooth/bluez/compat/
Dsdp.h29 int get_stored_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp_connadd_req *req);
30 int get_sdp_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp_connadd_req *req);
31 int get_alternate_device_info(const bdaddr_t *src, const bdaddr_t *dst, uint16_t *uuid, uint8_t *ch…
33 int bnep_sdp_search(bdaddr_t *src, bdaddr_t *dst, uint16_t service);
34 int bnep_sdp_register(bdaddr_t *device, uint16_t role);
37 int dun_sdp_search(bdaddr_t *src, bdaddr_t *dst, int *channel, int type);
38 int dun_sdp_register(bdaddr_t *device, uint8_t channel, int type);
Dhidd.h27 int epox_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel);
28 int headset_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel);
29 int jthree_keyboard(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel);
30 int celluon_keyboard(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel);
/external/bluetooth/bluez/input/
Ddevice.h46 const char *path, bdaddr_t *src, bdaddr_t *dst,
49 const char *path, const bdaddr_t *src,
50 const bdaddr_t *dst, const char *uuid,
54 int input_device_set_channel(const bdaddr_t *src, const bdaddr_t *dst, int psm,
56 int input_device_close_channels(const bdaddr_t *src, const bdaddr_t *dst);
Dserver.c47 bdaddr_t src;
56 const bdaddr_t *src = user_data; in server_cmp()
64 bdaddr_t src, dst; in connect_event_cb()
105 bdaddr_t src, dst; in auth_callback()
145 bdaddr_t src, dst; in confirm_event_cb()
179 int server_start(const bdaddr_t *src) in server_start()
221 void server_stop(const bdaddr_t *src) in server_stop()
/external/bluetooth/bluez/lib/
Dbluetooth.c41 void baswap(bdaddr_t *dst, const bdaddr_t *src) in baswap()
51 char *batostr(const bdaddr_t *ba) in batostr()
64 bdaddr_t *strtoba(const char *str) in strtoba()
66 bdaddr_t b; in strtoba()
67 bdaddr_t *ba = bt_malloc(sizeof(*ba)); in strtoba()
77 int ba2str(const bdaddr_t *ba, char *str) in ba2str()
83 int str2ba(const char *str, bdaddr_t *ba) in str2ba()
85 bdaddr_t b; in str2ba()
101 int ba2oui(const bdaddr_t *ba, char *str) in ba2oui()
/external/bluetooth/bluez/audio/
Dmanager.h40 gboolean server_is_enabled(bdaddr_t *src, uint16_t svc);
43 const bdaddr_t *src,
44 const bdaddr_t *dst,
48 struct audio_device *manager_get_device(const bdaddr_t *src,
49 const bdaddr_t *dst,
Ddevice.h58 bdaddr_t src;
59 bdaddr_t dst;
77 const char *path, const bdaddr_t *src,
78 const bdaddr_t *dst);
Davdtp.h216 struct avdtp *avdtp_get(bdaddr_t *src, bdaddr_t *dst);
221 gboolean avdtp_is_connected(const bdaddr_t *src, const bdaddr_t *dst);
287 struct avdtp_local_sep *avdtp_register_sep(const bdaddr_t *src, uint8_t type,
309 void avdtp_get_peers(struct avdtp *session, bdaddr_t *src, bdaddr_t *dst);
315 int avdtp_init(const bdaddr_t *src, GKeyFile *config, uint16_t *version);
316 void avdtp_exit(const bdaddr_t *src);
/external/qemu/hw/
Dbt.h29 } __attribute__((packed)) bdaddr_t; typedef
31 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
32 #define BDADDR_ALL (&(bdaddr_t) {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}})
33 #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
36 static inline int bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2) in bacmp()
38 return memcmp(ba1, ba2, sizeof(bdaddr_t)); in bacmp()
40 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) in bacpy()
42 memcpy(dst, src, sizeof(bdaddr_t)); in bacpy()
74 bdaddr_t bd_addr;
454 bdaddr_t bdaddr;
[all …]
/external/bluetooth/bluez/test/
Dbdaddr.c45 bdaddr_t bdaddr; in generic_reset_device()
57 bdaddr_t bdaddr;
61 static int ericsson_write_bd_addr(int dd, bdaddr_t *bdaddr) in ericsson_write_bd_addr()
116 static int csr_write_bd_addr(int dd, bdaddr_t *bdaddr) in csr_write_bd_addr()
199 bdaddr_t bdaddr;
203 static int ti_write_bd_addr(int dd, bdaddr_t *bdaddr) in ti_write_bd_addr()
227 bdaddr_t bdaddr;
231 static int bcm_write_bd_addr(int dd, bdaddr_t *bdaddr) in bcm_write_bd_addr()
255 bdaddr_t bdaddr;
259 static int zeevo_write_bd_addr(int dd, bdaddr_t *bdaddr) in zeevo_write_bd_addr()
[all …]
/external/bluetooth/bluez/tools/
Dciptool.c91 static int get_psm(bdaddr_t *src, bdaddr_t *dst, unsigned short *psm) in get_psm()
131 static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigned short psm, uint32… in do_connect()
201 static void cmd_show(int ctl, bdaddr_t *bdaddr, int argc, char **argv) in cmd_show()
224 static void cmd_search(int ctl, bdaddr_t *bdaddr, int argc, char **argv) in cmd_search()
227 bdaddr_t src, dst; in cmd_search()
272 static void cmd_create(int ctl, bdaddr_t *bdaddr, int argc, char **argv) in cmd_create()
274 bdaddr_t src, dst; in cmd_create()
301 static void cmd_release(int ctl, bdaddr_t *bdaddr, int argc, char **argv) in cmd_release()
334 static void cmd_loopback(int ctl, bdaddr_t *bdaddr, int argc, char **argv) in cmd_loopback()
340 bdaddr_t src, dst; in cmd_loopback()
[all …]
/external/bluetooth/bluez/cups/
Dcups.h37 int spp_print(bdaddr_t *src, bdaddr_t *dst, uint8_t channel, int fd, int copies, const char *cups_c…
38 int hcrp_print(bdaddr_t *src, bdaddr_t *dst, unsigned short ctrl_psm, unsigned short data_psm, int …

123456