Searched refs:cb_func (Results 1 - 25 of 32) sorted by relevance

12

/hardware/qcom/gps/msm8909/utils/
H A Dloc_timer.h48 cb_func: callback function pointer, implemented by client.
57 NULL, if timer start fails (e.g. if cb_func is NULL).
60 loc_timer_callback cb_func,
/hardware/qcom/gps/msm8996/utils/
H A Dloc_timer.h48 cb_func: callback function pointer, implemented by client.
57 NULL, if timer start fails (e.g. if cb_func is NULL).
60 loc_timer_callback cb_func,
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) argument
153 { callback = (void(*)(void))(cb_func); }
163 ExtServicer(void *cb_func) argument
164 { callbackExt = (int(*)(void *))(cb_func); }
174 AGpsServicer(void *cb_func) argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); }
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
H A Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) argument
588 return (new Servicer(cb_func));
590 return (new ExtServicer(cb_func));
592 return (new AGpsServicer(cb_func));
624 void *cb_func,
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func))
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false),
623 AgpsStateMachine(servicerType servType, void *cb_func, AGpsExtType type, bool enforceSingleSubscriber) argument
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
H A Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) argument
153 { callback = (void(*)(void))(cb_func); }
163 ExtServicer(void *cb_func) argument
164 { callbackExt = (int(*)(void *))(cb_func); }
174 AGpsServicer(void *cb_func) argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); }
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
H A Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) argument
588 return (new Servicer(cb_func));
590 return (new ExtServicer(cb_func));
592 return (new AGpsServicer(cb_func));
624 void *cb_func,
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func))
830 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, argument
832 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false),
623 AgpsStateMachine(servicerType servType, void *cb_func, AGpsExtType type, bool enforceSingleSubscriber) argument
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) argument
153 { callback = (void(*)(void))(cb_func); }
163 ExtServicer(void *cb_func) argument
164 { callbackExt = (int(*)(void *))(cb_func); }
174 AGpsServicer(void *cb_func) argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); }
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
H A Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) argument
588 return (new Servicer(cb_func));
590 return (new ExtServicer(cb_func));
592 return (new AGpsServicer(cb_func));
624 void *cb_func,
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func))
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false),
623 AgpsStateMachine(servicerType servType, void *cb_func, AGpsExtType type, bool enforceSingleSubscriber) argument
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) argument
153 { callback = (void(*)(void))(cb_func); }
163 ExtServicer(void *cb_func) argument
164 { callbackExt = (int(*)(void *))(cb_func); }
174 AGpsServicer(void *cb_func) argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); }
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
H A Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) argument
588 return (new Servicer(cb_func));
590 return (new ExtServicer(cb_func));
592 return (new AGpsServicer(cb_func));
624 void *cb_func,
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func))
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false),
623 AgpsStateMachine(servicerType servType, void *cb_func, AGpsExtType type, bool enforceSingleSubscriber) argument
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
H A Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) argument
153 { callback = (void(*)(void))(cb_func); }
163 ExtServicer(void *cb_func) argument
164 { callbackExt = (int(*)(void *))(cb_func); }
174 AGpsServicer(void *cb_func) argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); }
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
H A Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) argument
588 return (new Servicer(cb_func));
590 return (new ExtServicer(cb_func));
592 return (new AGpsServicer(cb_func));
624 void *cb_func,
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func))
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false),
623 AgpsStateMachine(servicerType servType, void *cb_func, AGpsExtType type, bool enforceSingleSubscriber) argument
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A Dloc_eng_agps.h149 static Servicer* getServicer(servicerType type, void *cb_func);
152 Servicer(void *cb_func) argument
153 { callback = (void(*)(void))(cb_func); }
163 ExtServicer(void *cb_func) argument
164 { callbackExt = (int(*)(void *))(cb_func); }
174 AGpsServicer(void *cb_func) argument
175 { callbackAGps = (void(*)(AGpsStatus *))(cb_func); }
208 AgpsStateMachine(servicerType servType, void *cb_func,
257 void *cb_func,
H A Dloc_eng_agps.cpp583 Servicer* Servicer :: getServicer(servicerType type, void *cb_func) argument
588 return (new Servicer(cb_func));
590 return (new ExtServicer(cb_func));
592 return (new AGpsServicer(cb_func));
624 void *cb_func,
632 mServicer(Servicer :: getServicer(servType, (void *)cb_func))
829 DSStateMachine :: DSStateMachine(servicerType type, void *cb_func, argument
831 AgpsStateMachine(type, cb_func, AGPS_TYPE_INVALID,false),
623 AgpsStateMachine(servicerType servType, void *cb_func, AGpsExtType type, bool enforceSingleSubscriber) argument
/hardware/qcom/gps/msm8960/utils/
H A Dloc_timer.c115 int loc_timer_start(unsigned int msec, loc_timer_callback cb_func, argument
123 if(cb_func == NULL || msec == 0) {
136 t->callback_func = cb_func;
/hardware/qcom/gps/msm8084/utils/
H A Dloc_timer.c115 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, argument
122 if(cb_func == NULL || msec == 0) {
142 t->callback_func = cb_func;
/hardware/qcom/gps/msm8994/utils/
H A Dloc_timer.c131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, argument
138 if(cb_func == NULL || msec == 0) {
158 t->callback_func = cb_func;
/hardware/qcom/gps/utils/
H A Dloc_timer.c131 void* loc_timer_start(unsigned int msec, loc_timer_callback cb_func, argument
138 if(cb_func == NULL || msec == 0) {
158 t->callback_func = cb_func;
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
H A Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member in struct:__anon3283
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL)
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user,
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func);
277 loc_glue_callback_table[i].cb_func = NULL;
353 loc_glue_callback_table[i].cb_func = event_callback;
419 loc_glue_callback_table[i].cb_func = NULL;
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
H A Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member in struct:__anon3369
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL)
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user,
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func);
277 loc_glue_callback_table[i].cb_func = NULL;
353 loc_glue_callback_table[i].cb_func = event_callback;
419 loc_glue_callback_table[i].cb_func = NULL;
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
H A Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member in struct:__anon3427
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL)
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user,
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func);
277 loc_glue_callback_table[i].cb_func = NULL;
353 loc_glue_callback_table[i].cb_func = event_callback;
419 loc_glue_callback_table[i].cb_func = NULL;
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
H A Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member in struct:__anon3546
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL)
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user,
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func);
277 loc_glue_callback_table[i].cb_func = NULL;
353 loc_glue_callback_table[i].cb_func = event_callback;
419 loc_glue_callback_table[i].cb_func = NULL;
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
H A Dloc_api_rpc_glue.c87 loc_event_cb_f_type *cb_func; /* callback func */ member in struct:__anon3604
122 if (index >= LOC_API_CB_MAX_CLIENTS || loc_glue_callback_table[index].cb_func == NULL)
149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user,
152 LOC_LOGV("cb_func=%p", loc_glue_callback_table[index].cb_func);
277 loc_glue_callback_table[i].cb_func = NULL;
353 loc_glue_callback_table[i].cb_func = event_callback;
419 loc_glue_callback_table[i].cb_func = NULL;
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dcommon.cpp65 info->event_cb[info->num_event_cb].cb_func = func;
91 info->event_cb[info->num_event_cb].cb_func = func;
117 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, cmd, i);
141 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, id, subcmd, i);
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dcommon.cpp68 info->event_cb[i].cb_func = func;
80 info->event_cb[info->num_event_cb].cb_func = func;
106 info->event_cb[i].cb_func = func;
119 info->event_cb[info->num_event_cb].cb_func = func;

Completed in 562 milliseconds

12