Searched refs:state_cb (Results 1 – 5 of 5) sorted by relevance
/external/bluetooth/bluez/audio/ |
D | source.c | 606 struct source_state_callback *state_cb; in source_add_state_cb() local 609 state_cb = g_new(struct source_state_callback, 1); in source_add_state_cb() 610 state_cb->cb = cb; in source_add_state_cb() 611 state_cb->user_data = user_data; in source_add_state_cb() 612 state_cb->id = ++id; in source_add_state_cb() 614 source_callbacks = g_slist_append(source_callbacks, state_cb); in source_add_state_cb() 616 return state_cb->id; in source_add_state_cb()
|
D | sink.c | 788 struct sink_state_callback *state_cb; in sink_add_state_cb() local 791 state_cb = g_new(struct sink_state_callback, 1); in sink_add_state_cb() 792 state_cb->cb = cb; in sink_add_state_cb() 793 state_cb->user_data = user_data; in sink_add_state_cb() 794 state_cb->id = ++id; in sink_add_state_cb() 796 sink_callbacks = g_slist_append(sink_callbacks, state_cb); in sink_add_state_cb() 798 return state_cb->id; in sink_add_state_cb()
|
D | control.c | 1190 struct avctp_state_callback *state_cb; in avctp_add_state_cb() local 1193 state_cb = g_new(struct avctp_state_callback, 1); in avctp_add_state_cb() 1194 state_cb->cb = cb; in avctp_add_state_cb() 1195 state_cb->user_data = user_data; in avctp_add_state_cb() 1196 state_cb->id = ++id; in avctp_add_state_cb() 1198 avctp_callbacks = g_slist_append(avctp_callbacks, state_cb); in avctp_add_state_cb() 1200 return state_cb->id; in avctp_add_state_cb()
|
D | headset.c | 2949 struct headset_state_callback *state_cb; in headset_add_state_cb() local 2952 state_cb = g_new(struct headset_state_callback, 1); in headset_add_state_cb() 2953 state_cb->cb = cb; in headset_add_state_cb() 2954 state_cb->user_data = user_data; in headset_add_state_cb() 2955 state_cb->id = ++id; in headset_add_state_cb() 2957 headset_callbacks = g_slist_append(headset_callbacks, state_cb); in headset_add_state_cb() 2959 return state_cb->id; in headset_add_state_cb()
|
D | avdtp.c | 3916 struct avdtp_state_callback *state_cb; in avdtp_add_state_cb() local 3919 state_cb = g_new(struct avdtp_state_callback, 1); in avdtp_add_state_cb() 3920 state_cb->cb = cb; in avdtp_add_state_cb() 3921 state_cb->user_data = user_data; in avdtp_add_state_cb() 3922 state_cb->id = ++id; in avdtp_add_state_cb() 3924 avdtp_callbacks = g_slist_append(avdtp_callbacks, state_cb);; in avdtp_add_state_cb() 3926 return state_cb->id; in avdtp_add_state_cb()
|