Home
last modified time | relevance | path

Searched refs:GIOChannel (Results 1 – 25 of 66) sorted by relevance

123

/external/bluetooth/glib/glib/
Dgiochannel.h43 typedef struct _GIOChannel GIOChannel; typedef
139 typedef gboolean (*GIOFunc) (GIOChannel *source,
144 GIOStatus (*io_read) (GIOChannel *channel,
149 GIOStatus (*io_write) (GIOChannel *channel,
154 GIOStatus (*io_seek) (GIOChannel *channel,
158 GIOStatus (*io_close) (GIOChannel *channel,
160 GSource* (*io_create_watch) (GIOChannel *channel,
162 void (*io_free) (GIOChannel *channel);
163 GIOStatus (*io_set_flags) (GIOChannel *channel,
166 GIOFlags (*io_get_flags) (GIOChannel *channel);
[all …]
Dgiounix.c58 GIOChannel channel;
66 GIOChannel *channel;
71 static GIOStatus g_io_unix_read (GIOChannel *channel,
76 static GIOStatus g_io_unix_write (GIOChannel *channel,
81 static GIOStatus g_io_unix_seek (GIOChannel *channel,
85 static GIOStatus g_io_unix_close (GIOChannel *channel,
87 static void g_io_unix_free (GIOChannel *channel);
88 static GSource* g_io_unix_create_watch (GIOChannel *channel,
90 static GIOStatus g_io_unix_set_flags (GIOChannel *channel,
93 static GIOFlags g_io_unix_get_flags (GIOChannel *channel);
[all …]
Dgiochannel.c68 static void g_io_channel_purge (GIOChannel *channel);
69 static GIOStatus g_io_channel_fill_buffer (GIOChannel *channel,
71 static GIOStatus g_io_channel_read_line_backend (GIOChannel *channel,
87 g_io_channel_init (GIOChannel *channel) in g_io_channel_init()
113 GIOChannel *
114 g_io_channel_ref (GIOChannel *channel) in g_io_channel_ref()
130 g_io_channel_unref (GIOChannel *channel) in g_io_channel_unref()
203 g_io_channel_read (GIOChannel *channel, in g_io_channel_read()
248 g_io_channel_write (GIOChannel *channel, in g_io_channel_write()
287 g_io_channel_seek (GIOChannel *channel, in g_io_channel_seek()
[all …]
/external/bluetooth/glib/tests/
Dtimeloop-closure.c20 io_pipe (GIOChannel **channels) in io_pipe()
35 read_all (GIOChannel *channel, char *buf, int len) in read_all()
59 write_all (GIOChannel *channel, char *buf, int len) in write_all()
78 run_child (GIOChannel *in_channel, GIOChannel *out_channel) in run_child()
102 input_callback (GIOChannel *source, in input_callback()
107 GIOChannel *dest = (GIOChannel *)data; in input_callback()
141 GIOChannel *in_channels[2]; in create_child()
142 GIOChannel *out_channels[2]; in create_child()
Dtimeloop.c19 io_pipe (GIOChannel **channels) in io_pipe()
34 read_all (GIOChannel *channel, char *buf, int len) in read_all()
58 write_all (GIOChannel *channel, char *buf, int len) in write_all()
77 run_child (GIOChannel *in_channel, GIOChannel *out_channel) in run_child()
101 input_callback (GIOChannel *source, in input_callback()
106 GIOChannel *dest = (GIOChannel *)data; in input_callback()
140 GIOChannel *in_channels[2]; in create_child()
141 GIOChannel *out_channels[2]; in create_child()
Dmainloop-test.c44 GIOChannel *dest;
52 GIOChannel *in;
58 read_all (GIOChannel *channel, char *buf, gsize len) in read_all()
82 write_all (GIOChannel *channel, char *buf, gsize len) in write_all()
101 adder_callback (GIOChannel *source, in adder_callback()
142 GIOChannel **channels = data; in adder_thread()
196 io_pipe (GIOChannel **channels) in io_pipe()
214 do_add (GIOChannel *in, gint a, gint b) in do_add()
227 adder_response (GIOChannel *source, in adder_response()
268 GIOChannel *in_channels[2]; in create_adder_thread()
[all …]
Dgio-test.c65 GIOChannel *channel, in read_all()
114 recv_message (GIOChannel *channel, in recv_message()
230 recv_windows_message (GIOChannel *channel, in recv_windows_message()
281 GIOChannel *my_read_channel; in main()
292 GIOChannel *windows_messages_channel; in main()
/external/bluetooth/bluez/src/
Dbtio.h73 typedef void (*BtIOConfirm)(GIOChannel *io, gpointer user_data);
75 typedef void (*BtIOConnect)(GIOChannel *io, GError *err, gpointer user_data);
77 gboolean bt_io_accept(GIOChannel *io, BtIOConnect connect, gpointer user_data,
80 gboolean bt_io_set(GIOChannel *io, BtIOType type, GError **err,
83 gboolean bt_io_get(GIOChannel *io, BtIOType type, GError **err,
86 GIOChannel *bt_io_connect(BtIOType type, BtIOConnect connect,
90 GIOChannel *bt_io_listen(BtIOType type, BtIOConnect connect,
Dbtio.c103 static gboolean check_nval(GIOChannel *io) in check_nval()
117 static gboolean accept_cb(GIOChannel *io, GIOCondition cond, in accept_cb()
138 static gboolean connect_cb(GIOChannel *io, GIOCondition cond, in connect_cb()
171 static gboolean server_cb(GIOChannel *io, GIOCondition cond, in server_cb()
176 GIOChannel *cli_io; in server_cb()
203 static void server_add(GIOChannel *io, BtIOConnect connect, in server_add()
221 static void connect_add(GIOChannel *io, BtIOConnect connect, in connect_add()
237 static void accept_add(GIOChannel *io, BtIOConnect connect, gpointer user_data, in accept_add()
1027 static gboolean get_valist(GIOChannel *io, BtIOType type, GError **err, in get_valist()
1049 gboolean bt_io_accept(GIOChannel *io, BtIOConnect connect, gpointer user_data, in bt_io_accept()
[all …]
Dsdpd-server.c52 static GIOChannel *l2cap_io = NULL, *unix_io = NULL;
165 static gboolean io_session_event(GIOChannel *chan, GIOCondition cond, gpointer data) in io_session_event()
204 static gboolean io_accept_event(GIOChannel *chan, GIOCondition cond, gpointer data) in io_accept_event()
206 GIOChannel *io; in io_accept_event()
Drfkill.c67 static gboolean rfkill_event(GIOChannel *chan, in rfkill_event()
141 static GIOChannel *channel = NULL;
/external/bluetooth/bluez/plugins/
Decho.c43 static gboolean session_event(GIOChannel *chan, in session_event()
62 static gboolean connect_event(GIOChannel *chan, in connect_event()
65 GIOChannel *io; in connect_event()
91 static GIOChannel *setup_rfcomm(uint8_t channel) in setup_rfcomm()
93 GIOChannel *io; in setup_rfcomm()
124 static GIOChannel *chan = NULL;
Dpnat.c65 GIOChannel *io; /* Client socket */
82 GIOChannel *server; /* Server socket */
137 static gboolean client_event(GIOChannel *chan, in client_event()
272 static void connect_cb(GIOChannel *io, GError *err, gpointer user_data) in connect_cb()
311 static gboolean auth_watch(GIOChannel *chan, GIOCondition cond, gpointer data) in auth_watch()
325 static void confirm_cb(GIOChannel *io, gpointer user_data) in confirm_cb()
423 GIOChannel *io; in pnat_probe()
Dnetlink.c46 static GIOChannel *channel;
48 static gboolean channel_callback(GIOChannel *chan, in channel_callback()
/external/bluetooth/bluez/audio/
Dheadset.h53 void headset_connect_cb(GIOChannel *chan, GError *err, gpointer user_data);
55 GIOChannel *headset_get_rfcomm(struct audio_device *dev);
83 int headset_connect_rfcomm(struct audio_device *dev, GIOChannel *chan);
84 int headset_connect_sco(struct audio_device *dev, GIOChannel *io);
Dgateway.c68 GIOChannel *rfcomm;
69 GIOChannel *sco;
152 static gboolean sco_io_cb(GIOChannel *chan, GIOCondition cond, in sco_io_cb()
172 static void sco_connect_cb(GIOChannel *chan, GError *err, gpointer user_data) in sco_connect_cb()
221 static void rfcomm_connect_cb(GIOChannel *chan, GError *err, in rfcomm_connect_cb()
276 GIOChannel *io; in get_record_cb()
607 int gateway_connect_rfcomm(struct audio_device *dev, GIOChannel *io) in gateway_connect_rfcomm()
617 int gateway_connect_sco(struct audio_device *dev, GIOChannel *io) in gateway_connect_sco()
655 GIOChannel *io; in gateway_request_stream()
Dgateway.h42 int gateway_connect_rfcomm(struct audio_device *dev, GIOChannel *io);
43 int gateway_connect_sco(struct audio_device *dev, GIOChannel *chan);
Dgstavdtpsink.h54 GIOChannel *stream;
58 GIOChannel *server;
Dmanager.c96 GIOChannel *hsp_ag_server;
97 GIOChannel *hfp_ag_server;
98 GIOChannel *hfp_hs_server;
417 GIOChannel *io; in headset_auth_cb()
440 static gboolean hs_preauth_cb(GIOChannel *chan, GIOCondition cond, in hs_preauth_cb()
456 static void ag_confirm(GIOChannel *chan, gpointer data) in ag_confirm()
553 static void hf_io_cb(GIOChannel *chan, gpointer data) in hf_io_cb()
620 GIOChannel *io; in headset_server_init()
718 GIOChannel *io; in gateway_server_init()
/external/bluetooth/bluez/input/
Dserver.c48 GIOChannel *ctrl;
49 GIOChannel *intr;
50 GIOChannel *confirm;
61 static void connect_event_cb(GIOChannel *chan, GError *err, gpointer data) in connect_event_cb()
141 static void confirm_event_cb(GIOChannel *chan, gpointer user_data) in confirm_event_cb()
Dfakehid.h32 gboolean (*event) (GIOChannel *chan, GIOCondition cond, gpointer data);
38 int fake_hid_connadd(struct fake_input *fake, GIOChannel *intr_io,
Ddevice.h35 GIOChannel *io;
54 GIOChannel *io);
Ddevice.c78 GIOChannel *ctrl_io;
79 GIOChannel *intr_io;
278 static gboolean rfcomm_io_cb(GIOChannel *chan, GIOCondition cond, gpointer data) in rfcomm_io_cb()
349 static void rfcomm_connect_cb(GIOChannel *chan, GError *err, gpointer user_data) in rfcomm_connect_cb()
399 GIOChannel *io; in rfcomm_connect()
414 static gboolean intr_watch_cb(GIOChannel *chan, GIOCondition cond, gpointer data) in intr_watch_cb()
444 static gboolean ctrl_watch_cb(GIOChannel *chan, GIOCondition cond, gpointer data) in ctrl_watch_cb()
819 static void interrupt_connect_cb(GIOChannel *chan, GError *conn_err, in interrupt_connect_cb()
865 static void control_connect_cb(GIOChannel *chan, GError *conn_err, in control_connect_cb()
871 GIOChannel *io; in control_connect_cb()
[all …]
/external/bluetooth/bluez/test/
Dbtiotest.c39 GIOChannel *io;
65 static struct io_data *io_data_new(GIOChannel *io, BtIOType type, gint reject, in io_data_new()
80 static gboolean io_watch(GIOChannel *io, GIOCondition cond, gpointer user_data) in io_watch()
97 static void connect_cb(GIOChannel *io, GError *err, gpointer user_data) in connect_cb()
184 static void confirm_cb(GIOChannel *io, gpointer user_data) in confirm_cb()
269 GIOChannel *l2_srv; in l2cap_listen()
353 GIOChannel *rc_srv; in rfcomm_listen()
432 GIOChannel *sco_srv; in sco_listen()
Dhciemu.c93 GIOChannel *scan;
99 GIOChannel *chan;
151 static gboolean io_acl_data(GIOChannel *chan, GIOCondition cond, gpointer data);
152 static gboolean io_conn_ind(GIOChannel *chan, GIOCondition cond, gpointer data);
153 static gboolean io_hci_data(GIOChannel *chan, GIOCondition cond, gpointer data);
437 GIOChannel *sk_io; in scan_enable()
872 static gboolean io_acl_data(GIOChannel *chan, GIOCondition cond, gpointer data) in io_acl_data()
920 static gboolean io_conn_ind(GIOChannel *chan, GIOCondition cond, gpointer data) in io_conn_ind()
968 static gboolean io_hci_data(GIOChannel *chan, GIOCondition cond, gpointer data) in io_hci_data()
1197 GIOChannel *dev_io; in main()

123