Home
last modified time | relevance | path

Searched refs:cb_func (Results 1 – 25 of 33) sorted by relevance

12

/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) in Servicer() argument
153 { callback = (void(*)(void))(cb_func); } in Servicer()
163 ExtServicer(void *cb_func) in ExtServicer() argument
164 { callbackExt = (int(*)(void *))(cb_func); } in ExtServicer()
174 AGpsServicer(void *cb_func) in AGpsServicer() argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); } in AGpsServicer()
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) in getServicer() argument
588 return (new Servicer(cb_func)); in getServicer()
590 return (new ExtServicer(cb_func)); in getServicer()
592 return (new AGpsServicer(cb_func)); in getServicer()
624 void *cb_func, in AgpsStateMachine() argument
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func)) in AgpsStateMachine()
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, in DSStateMachine() argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false), in DSStateMachine()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) in Servicer() argument
153 { callback = (void(*)(void))(cb_func); } in Servicer()
163 ExtServicer(void *cb_func) in ExtServicer() argument
164 { callbackExt = (int(*)(void *))(cb_func); } in ExtServicer()
174 AGpsServicer(void *cb_func) in AGpsServicer() argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); } in AGpsServicer()
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) in getServicer() argument
588 return (new Servicer(cb_func)); in getServicer()
590 return (new ExtServicer(cb_func)); in getServicer()
592 return (new AGpsServicer(cb_func)); in getServicer()
624 void *cb_func, in AgpsStateMachine() argument
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func)) in AgpsStateMachine()
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, in DSStateMachine() argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false), in DSStateMachine()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) in Servicer() argument
153 { callback = (void(*)(void))(cb_func); } in Servicer()
163 ExtServicer(void *cb_func) in ExtServicer() argument
164 { callbackExt = (int(*)(void *))(cb_func); } in ExtServicer()
174 AGpsServicer(void *cb_func) in AGpsServicer() argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); } in AGpsServicer()
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) in getServicer() argument
588 return (new Servicer(cb_func)); in getServicer()
590 return (new ExtServicer(cb_func)); in getServicer()
592 return (new AGpsServicer(cb_func)); in getServicer()
624 void *cb_func, in AgpsStateMachine() argument
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func)) in AgpsStateMachine()
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, in DSStateMachine() argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false), in DSStateMachine()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) in Servicer() argument
153 { callback = (void(*)(void))(cb_func); } in Servicer()
163 ExtServicer(void *cb_func) in ExtServicer() argument
164 { callbackExt = (int(*)(void *))(cb_func); } in ExtServicer()
174 AGpsServicer(void *cb_func) in AGpsServicer() argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); } in AGpsServicer()
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) in getServicer() argument
588 return (new Servicer(cb_func)); in getServicer()
590 return (new ExtServicer(cb_func)); in getServicer()
592 return (new AGpsServicer(cb_func)); in getServicer()
624 void *cb_func, in AgpsStateMachine() argument
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func)) in AgpsStateMachine()
830 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, in DSStateMachine() argument
832 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false), in DSStateMachine()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) in Servicer() argument
153 { callback = (void(*)(void))(cb_func); } in Servicer()
163 ExtServicer(void *cb_func) in ExtServicer() argument
164 { callbackExt = (int(*)(void *))(cb_func); } in ExtServicer()
174 AGpsServicer(void *cb_func) in AGpsServicer() argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); } in AGpsServicer()
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) in getServicer() argument
588 return (new Servicer(cb_func)); in getServicer()
590 return (new ExtServicer(cb_func)); in getServicer()
592 return (new AGpsServicer(cb_func)); in getServicer()
624 void *cb_func, in AgpsStateMachine() argument
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func)) in AgpsStateMachine()
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, in DSStateMachine() argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false), in DSStateMachine()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) in Servicer() argument
153 { callback = (void(*)(void))(cb_func); } in Servicer()
163 ExtServicer(void *cb_func) in ExtServicer() argument
164 { callbackExt = (int(*)(void *))(cb_func); } in ExtServicer()
174 AGpsServicer(void *cb_func) in AGpsServicer() argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); } in AGpsServicer()
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) in getServicer() argument
588 return (new Servicer(cb_func)); in getServicer()
590 return (new ExtServicer(cb_func)); in getServicer()
592 return (new AGpsServicer(cb_func)); in getServicer()
624 void *cb_func, in AgpsStateMachine() argument
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func)) in AgpsStateMachine()
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, in DSStateMachine() argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false), in DSStateMachine()
/hardware/qcom/gps/msm8960/utils/
Dloc_timer.c115 int loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument
123 if(cb_func == NULL || msec == 0) { in loc_timer_start()
136 t->callback_func = cb_func; in loc_timer_start()
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL) in rpc_loc_event_cb_f_type_svc()
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, in rpc_loc_event_cb_f_type_svc()
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func); in rpc_loc_event_cb_f_type_svc()
277 loc_glue_callback_table[i].cb_func = NULL; in loc_api_glue_init()
353 loc_glue_callback_table[i].cb_func = event_callback; in loc_open()
419 loc_glue_callback_table[i].cb_func = NULL; in loc_clear()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL) in rpc_loc_event_cb_f_type_svc()
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, in rpc_loc_event_cb_f_type_svc()
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func); in rpc_loc_event_cb_f_type_svc()
277 loc_glue_callback_table[i].cb_func = NULL; in loc_api_glue_init()
353 loc_glue_callback_table[i].cb_func = event_callback; in loc_open()
419 loc_glue_callback_table[i].cb_func = NULL; in loc_clear()
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL) in rpc_loc_event_cb_f_type_svc()
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, in rpc_loc_event_cb_f_type_svc()
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func); in rpc_loc_event_cb_f_type_svc()
277 loc_glue_callback_table[i].cb_func = NULL; in loc_api_glue_init()
353 loc_glue_callback_table[i].cb_func = event_callback; in loc_open()
419 loc_glue_callback_table[i].cb_func = NULL; in loc_clear()
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL) in rpc_loc_event_cb_f_type_svc()
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, in rpc_loc_event_cb_f_type_svc()
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func); in rpc_loc_event_cb_f_type_svc()
277 loc_glue_callback_table[i].cb_func = NULL; in loc_api_glue_init()
353 loc_glue_callback_table[i].cb_func = event_callback; in loc_open()
419 loc_glue_callback_table[i].cb_func = NULL; in loc_clear()
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL) in rpc_loc_event_cb_f_type_svc()
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, in rpc_loc_event_cb_f_type_svc()
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func); in rpc_loc_event_cb_f_type_svc()
277 loc_glue_callback_table[i].cb_func = NULL; in loc_api_glue_init()
353 loc_glue_callback_table[i].cb_func = event_callback; in loc_open()
419 loc_glue_callback_table[i].cb_func = NULL; in loc_clear()
/hardware/qcom/gps/msm8994/utils/
Dloc_timer.c131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument
138 if(cb_func == NULL || msec == 0) { in loc_timer_start()
158 t->callback_func = cb_func; in loc_timer_start()
/hardware/qcom/gps/msm8084/utils/
Dloc_timer.c115 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument
122 if(cb_func == NULL || msec == 0) { in loc_timer_start()
142 t->callback_func = cb_func; in loc_timer_start()
/hardware/qcom/gps/utils/
Dloc_timer.c131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, in loc_timer_start() argument
138 if(cb_func == NULL || msec == 0) { in loc_timer_start()
158 t->callback_func = cb_func; in loc_timer_start()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.cpp65 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
91 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_vendor_handler()
117 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, cmd, i); in wifi_unregister_handler()
141 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, id, subcmd, i); in wifi_unregister_vendor_handler()
/hardware/qcom/gps/msm8998/utils/
Dloc_timer.h60 loc_timer_callback cb_func,
/hardware/qcom/gps/msm8909/utils/
Dloc_timer.h60 loc_timer_callback cb_func,
/hardware/qcom/gps/msm8996/utils/
Dloc_timer.h60 loc_timer_callback cb_func,

12