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.c913 struct sink_state_callback *state_cb; in sink_add_state_cb() local
916 state_cb = g_new(struct sink_state_callback, 1); in sink_add_state_cb()
917 state_cb->cb = cb; in sink_add_state_cb()
918 state_cb->user_data = user_data; in sink_add_state_cb()
919 state_cb->id = ++id; in sink_add_state_cb()
921 sink_callbacks = g_slist_append(sink_callbacks, state_cb); in sink_add_state_cb()
923 return state_cb->id; in sink_add_state_cb()
Dcontrol.c1133 struct avctp_state_callback *state_cb; in avctp_add_state_cb() local
1136 state_cb = g_new(struct avctp_state_callback, 1); in avctp_add_state_cb()
1137 state_cb->cb = cb; in avctp_add_state_cb()
1138 state_cb->user_data = user_data; in avctp_add_state_cb()
1139 state_cb->id = ++id; in avctp_add_state_cb()
1141 avctp_callbacks = g_slist_append(avctp_callbacks, state_cb); in avctp_add_state_cb()
1143 return state_cb->id; in avctp_add_state_cb()
Dheadset.c2823 struct headset_state_callback *state_cb; in headset_add_state_cb() local
2826 state_cb = g_new(struct headset_state_callback, 1); in headset_add_state_cb()
2827 state_cb->cb = cb; in headset_add_state_cb()
2828 state_cb->user_data = user_data; in headset_add_state_cb()
2829 state_cb->id = ++id; in headset_add_state_cb()
2831 headset_callbacks = g_slist_append(headset_callbacks, state_cb); in headset_add_state_cb()
2833 return state_cb->id; in headset_add_state_cb()
Davdtp.c3483 struct avdtp_state_callback *state_cb; in avdtp_add_state_cb() local
3486 state_cb = g_new(struct avdtp_state_callback, 1); in avdtp_add_state_cb()
3487 state_cb->cb = cb; in avdtp_add_state_cb()
3488 state_cb->user_data = user_data; in avdtp_add_state_cb()
3489 state_cb->id = ++id; in avdtp_add_state_cb()
3491 avdtp_callbacks = g_slist_append(avdtp_callbacks, state_cb);; in avdtp_add_state_cb()
3493 return state_cb->id; in avdtp_add_state_cb()