Home
last modified time | relevance | path

Searched refs:callback_func (Results 1 – 24 of 24) sorted by relevance

/aosp12/system/unwinding/libbacktrace/
H A Dbacktrace_testlib.cpp38 int test_level_four(int one, int two, int three, int four, void (*callback_func)(void*), in test_level_four()
40 if (callback_func != NULL) { in test_level_four()
41 callback_func(data); in test_level_four()
49 int test_level_three(int one, int two, int three, int four, void (*callback_func)(void*), in test_level_three()
51 return test_level_four(one + 3, two + 6, three + 9, four + 12, callback_func, data) + 3; in test_level_three()
55 return test_level_three(one + 2, two + 4, three + 6, four + 8, callback_func, data) + 2; in test_level_two()
59 return test_level_two(one + 1, two + 2, three + 3, four + 4, callback_func, data) + 1; in test_level_one()
62 int test_recursive_call(int level, void (*callback_func)(void*), void* data) { in test_recursive_call()
64 return test_recursive_call(level - 1, callback_func, data) + level; in test_recursive_call()
65 } else if (callback_func != NULL) { in test_recursive_call()
[all …]
/aosp12/hardware/qcom/gps/msm8960/utils/
H A Dloc_timer.c40 loc_timer_callback callback_func; member
52 t.callback_func = ((timer_data *)thread_data)->callback_func; in timer_thread()
110 t.callback_func(t.user_data, ret); in timer_thread()
136 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/sdm845/gps/msm8960/utils/
H A Dloc_timer.c40 loc_timer_callback callback_func; member
52 t.callback_func = ((timer_data *)thread_data)->callback_func; in timer_thread()
110 t.callback_func(t.user_data, ret); in timer_thread()
136 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/gps/msm8994/utils/
H A Dloc_timer.c45 loc_timer_callback callback_func; member
105 t->callback_func(t->user_data, ret); in timer_thread()
158 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/gps/utils/
H A Dloc_timer.c45 loc_timer_callback callback_func; member
105 t->callback_func(t->user_data, ret); in timer_thread()
158 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/gps/msm8084/utils/
H A Dloc_timer.c45 loc_timer_callback callback_func; member
108 t->callback_func(t->user_data, ret); in timer_thread()
142 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/sdm845/gps/msm8084/utils/
H A Dloc_timer.c45 loc_timer_callback callback_func; member
108 t->callback_func(t->user_data, ret); in timer_thread()
142 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/sdm845/gps/msm8994/utils/
H A Dloc_timer.c45 loc_timer_callback callback_func; member
105 t->callback_func(t->user_data, ret); in timer_thread()
158 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/sdm845/gps/utils/
H A Dloc_timer.c45 loc_timer_callback callback_func; member
105 t->callback_func(t->user_data, ret); in timer_thread()
158 t->callback_func = cb_func; in loc_timer_start()
/aosp12/hardware/qcom/display/msm8996/hdmi_cec/
H A Dqhdmi_cec.h46 event_callback_t callback_func; member
H A Dqhdmi_cec.cpp302 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
314 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
322 ctx->callback.callback_func = callback; in cec_register_event_callback()
/aosp12/hardware/qcom/display/msm8998/hdmi_cec/
H A Dqhdmi_cec.h46 event_callback_t callback_func; member
H A Dqhdmi_cec.cpp308 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
320 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
328 ctx->callback.callback_func = callback; in cec_register_event_callback()
/aosp12/hardware/qcom/sdm845/display/hdmi_cec/
H A Dqhdmi_cec.h46 event_callback_t callback_func; member
H A Dqhdmi_cec.cpp304 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
316 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
324 ctx->callback.callback_func = callback; in cec_register_event_callback()
/aosp12/hardware/qcom/sm7250/display/hdmi_cec/
H A Dqhdmi_cec.h46 event_callback_t callback_func; member
H A Dqhdmi_cec.cpp304 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
316 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
324 ctx->callback.callback_func = callback; in cec_register_event_callback()
/aosp12/hardware/qcom/sm8150/display/hdmi_cec/
H A Dqhdmi_cec.h46 event_callback_t callback_func; member
H A Dqhdmi_cec.cpp304 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
316 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
324 ctx->callback.callback_func = callback; in cec_register_event_callback()
/aosp12/hardware/qcom/display/msm8909w_3100/hdmi_cec/
H A Dqhdmi_cec.h47 event_callback_t callback_func; member
H A Dqhdmi_cec.cpp315 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
327 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
335 ctx->callback.callback_func = callback; in cec_register_event_callback()
/aosp12/hardware/qcom/display/msm8909/hdmi_cec/
H A Dqhdmi_cec.h47 event_callback_t callback_func; member
H A Dqhdmi_cec.cpp315 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
327 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
335 ctx->callback.callback_func = callback; in cec_register_event_callback()
/aosp12/bionic/tests/
H A Dsys_socket_test.cpp30 ConnectData(bool (*callback_func)(int), const char* socket_path) in ConnectData()
31 : callback_fn(callback_func), sock_path(socket_path) {} in ConnectData()