Home
last modified time | relevance | path

Searched refs:state_cb (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/bluez/audio/
Dsource.c773 struct source_state_callback *state_cb; in source_add_state_cb() local
776 state_cb = g_new(struct source_state_callback, 1); in source_add_state_cb()
777 state_cb->cb = cb; in source_add_state_cb()
778 state_cb->user_data = user_data; in source_add_state_cb()
779 state_cb->id = ++id; in source_add_state_cb()
781 source_callbacks = g_slist_append(source_callbacks, state_cb); in source_add_state_cb()
783 return state_cb->id; in source_add_state_cb()
Dsink.c929 struct sink_state_callback *state_cb; in sink_add_state_cb() local
932 state_cb = g_new(struct sink_state_callback, 1); in sink_add_state_cb()
933 state_cb->cb = cb; in sink_add_state_cb()
934 state_cb->user_data = user_data; in sink_add_state_cb()
935 state_cb->id = ++id; in sink_add_state_cb()
937 sink_callbacks = g_slist_append(sink_callbacks, state_cb); in sink_add_state_cb()
939 return state_cb->id; in sink_add_state_cb()
Dcontrol.c1221 struct avctp_state_callback *state_cb; in avctp_add_state_cb() local
1224 state_cb = g_new(struct avctp_state_callback, 1); in avctp_add_state_cb()
1225 state_cb->cb = cb; in avctp_add_state_cb()
1226 state_cb->user_data = user_data; in avctp_add_state_cb()
1227 state_cb->id = ++id; in avctp_add_state_cb()
1229 avctp_callbacks = g_slist_append(avctp_callbacks, state_cb); in avctp_add_state_cb()
1231 return state_cb->id; in avctp_add_state_cb()
Dheadset.c2877 struct headset_state_callback *state_cb; in headset_add_state_cb() local
2880 state_cb = g_new(struct headset_state_callback, 1); in headset_add_state_cb()
2881 state_cb->cb = cb; in headset_add_state_cb()
2882 state_cb->user_data = user_data; in headset_add_state_cb()
2883 state_cb->id = ++id; in headset_add_state_cb()
2885 headset_callbacks = g_slist_append(headset_callbacks, state_cb); in headset_add_state_cb()
2887 return state_cb->id; in headset_add_state_cb()
Davdtp.c3795 struct avdtp_state_callback *state_cb; in avdtp_add_state_cb() local
3798 state_cb = g_new(struct avdtp_state_callback, 1); in avdtp_add_state_cb()
3799 state_cb->cb = cb; in avdtp_add_state_cb()
3800 state_cb->user_data = user_data; in avdtp_add_state_cb()
3801 state_cb->id = ++id; in avdtp_add_state_cb()
3803 avdtp_callbacks = g_slist_append(avdtp_callbacks, state_cb);; in avdtp_add_state_cb()
3805 return state_cb->id; in avdtp_add_state_cb()