Home
last modified time | relevance | path

Searched refs:evt (Results 1 – 25 of 64) sorted by relevance

123

/device/moto/shamu/camera/QCamera2/HAL/
DQCameraStateMachine.cpp75 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
80 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
168 int32_t QCameraStateMachine::procAPI(qcamera_sm_evt_enum_t evt, in procAPI() argument
180 node->evt = evt; in procAPI()
205 int32_t QCameraStateMachine::procEvt(qcamera_sm_evt_enum_t evt, in procEvt() argument
217 node->evt = evt; in procEvt()
242 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument
245 ALOGV("%s: m_state %d, event (%d)", __func__, m_state, evt); in stateMachine()
248 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
251 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
[all …]
DQCameraStateMachine.h166 int32_t procAPI(qcamera_sm_evt_enum_t evt, void *api_payload);
167 int32_t procEvt(qcamera_sm_evt_enum_t evt, void *evt_payload);
200 qcamera_sm_evt_enum_t evt; // event type member
204 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload);
205 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload);
206 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload);
207 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload);
208 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload);
209 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
210 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload);
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraStateMachine.cpp75 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
80 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
213 int32_t QCameraStateMachine::procAPI(qcamera_sm_evt_enum_t evt, in procAPI() argument
225 node->evt = evt; in procAPI()
250 int32_t QCameraStateMachine::procEvt(qcamera_sm_evt_enum_t evt, in procEvt() argument
262 node->evt = evt; in procEvt()
287 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument
290 ALOGV("%s: m_state %d, event (%d)", __func__, m_state, evt); in stateMachine()
293 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
296 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
[all …]
DQCameraStateMachine.h179 int32_t procAPI(qcamera_sm_evt_enum_t evt, void *api_payload);
180 int32_t procEvt(qcamera_sm_evt_enum_t evt, void *evt_payload);
214 qcamera_sm_evt_enum_t evt; // event type member
218 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload);
219 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload);
220 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload);
221 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload);
222 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload);
223 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
224 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload);
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraStateMachine.cpp75 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
80 pme->stateMachine(node->evt, node->evt_payload); in smEvtProcRoutine()
213 int32_t QCameraStateMachine::procAPI(qcamera_sm_evt_enum_t evt, in procAPI() argument
225 node->evt = evt; in procAPI()
250 int32_t QCameraStateMachine::procEvt(qcamera_sm_evt_enum_t evt, in procEvt() argument
262 node->evt = evt; in procEvt()
287 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument
290 ALOGV("%s: m_state %d, event (%d)", __func__, m_state, evt); in stateMachine()
293 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
296 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
[all …]
DQCameraStateMachine.h179 int32_t procAPI(qcamera_sm_evt_enum_t evt, void *api_payload);
180 int32_t procEvt(qcamera_sm_evt_enum_t evt, void *evt_payload);
214 qcamera_sm_evt_enum_t evt; // event type member
218 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload);
219 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload);
220 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload);
221 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload);
222 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload);
223 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
224 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload);
[all …]
/device/google/contexthub/firmware/src/
Dsensors.c225 …struct SensorsInternalEvent *evt = (struct SensorsInternalEvent*)slabAllocatorAlloc(mInternalEvent… in sensorCallFuncPower() local
227 if (!evt) in sensorCallFuncPower()
230 evt->externalPowerEvt.on = on; in sensorCallFuncPower()
231 evt->externalPowerEvt.callData = s->callData; in sensorCallFuncPower()
233 if (osEnqueuePrivateEvt(EVT_APP_SENSOR_POWER, &evt->externalPowerEvt, in sensorCallFuncPower()
237 slabAllocatorFree(mInternalEvents, evt); in sensorCallFuncPower()
266 …struct SensorsInternalEvent *evt = (struct SensorsInternalEvent*)slabAllocatorAlloc(mInternalEvent… in sensorCallFuncSetRate() local
268 if (!evt) in sensorCallFuncSetRate()
271 evt->externalSetRateEvt.latency = latency; in sensorCallFuncSetRate()
272 evt->externalSetRateEvt.rate = rate; in sensorCallFuncSetRate()
[all …]
Dtimer.c73 struct TimerEvent *evt; in timCallFunc() local
81 if ((evt = slabAllocatorAlloc(mInternalEvents)) != 0) { in timCallFunc()
82 evt->timerId = tim->id; in timCallFunc()
83 evt->data = tim->callData; in timCallFunc()
84 if (!osEnqueuePrivateEvt(EVT_APP_TIMER, evt, timerCallFuncFreeF, tim->tid)) in timCallFunc()
85 slabAllocatorFree(mInternalEvents, evt); in timCallFunc()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c87 mm_stream_evt_type_t evt,
91 mm_stream_evt_type_t evt,
95 mm_stream_evt_type_t evt,
99 mm_stream_evt_type_t evt,
103 mm_stream_evt_type_t evt,
107 mm_stream_evt_type_t evt,
111 mm_stream_evt_type_t evt,
368 mm_stream_evt_type_t evt, in mm_stream_fsm_fn() argument
377 my_obj->ext_image_mode, my_obj->fd, my_obj->state, evt); in mm_stream_fsm_fn()
383 rc = mm_stream_fsm_inited(my_obj, evt, in_val, out_val); in mm_stream_fsm_fn()
[all …]
Dmm_camera.c91 mm_camera_event_type_t evt_type = cmd_cb->u.evt.event_type; in mm_camera_dispatch_app_event()
92 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
98 if(my_obj->evt[evt_type].evt[i].evt_cb) { in mm_camera_dispatch_app_event()
99 my_obj->evt[evt_type].evt[i].evt_cb( in mm_camera_dispatch_app_event()
102 my_obj->evt[evt_type].evt[i].user_data); in mm_camera_dispatch_app_event()
136 mm_camera_event_t *evt = NULL; in mm_camera_event_notify() local
144 evt = (mm_camera_event_t *)ev.u.data; in mm_camera_event_notify()
148 evt->event_type = MM_CAMERA_EVT_TYPE_CTRL; in mm_camera_event_notify()
149 evt->e.ctrl.evt = MM_CAMERA_CTRL_EVT_ERROR; in mm_camera_event_notify()
154 memcpy(&node->u.evt, evt, sizeof(mm_camera_event_t)); in mm_camera_event_notify()
[all …]
Dmm_camera_channel.c126 mm_channel_evt_type_t evt,
130 mm_channel_evt_type_t evt,
134 mm_channel_evt_type_t evt,
138 mm_channel_evt_type_t evt,
285 mm_channel_evt_type_t evt, in mm_channel_fsm_fn() argument
294 rc = mm_channel_fsm_fn_notused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
297 rc = mm_channel_fsm_fn_stopped(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
300 rc = mm_channel_fsm_fn_active(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
303 rc = mm_channel_fsm_fn_paused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
317 mm_channel_evt_type_t evt, in mm_channel_fsm_fn_notused() argument
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c119 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
124 if(my_obj->evt.evt[i].evt_cb) { in mm_camera_dispatch_app_event()
125 my_obj->evt.evt[i].evt_cb( in mm_camera_dispatch_app_event()
128 my_obj->evt.evt[i].user_data); in mm_camera_dispatch_app_event()
151 mm_camera_event_t evt; in mm_camera_event_notify() local
152 memset(&evt, 0, sizeof(mm_camera_event_t)); in mm_camera_event_notify()
164 evt.server_event_type = CAM_EVENT_TYPE_DAEMON_PULL_REQ; in mm_camera_event_notify()
165 mm_camera_enqueue_evt(my_obj, &evt); in mm_camera_event_notify()
176 evt.server_event_type = CAM_EVENT_TYPE_DAEMON_DIED; in mm_camera_event_notify()
177 mm_camera_enqueue_evt(my_obj, &evt); in mm_camera_event_notify()
[all …]
Dmm_camera_channel.c88 mm_channel_evt_type_t evt,
92 mm_channel_evt_type_t evt,
96 mm_channel_evt_type_t evt,
100 mm_channel_evt_type_t evt,
437 mm_channel_evt_type_t evt, in mm_channel_fsm_fn() argument
446 rc = mm_channel_fsm_fn_notused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
449 rc = mm_channel_fsm_fn_stopped(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
452 rc = mm_channel_fsm_fn_active(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
455 rc = mm_channel_fsm_fn_paused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
485 mm_channel_evt_type_t evt, in mm_channel_fsm_fn_notused() argument
[all …]
Dmm_camera_stream.c78 mm_stream_evt_type_t evt,
82 mm_stream_evt_type_t evt,
86 mm_stream_evt_type_t evt,
90 mm_stream_evt_type_t evt,
94 mm_stream_evt_type_t evt,
98 mm_stream_evt_type_t evt,
318 mm_stream_evt_type_t evt, in mm_stream_fsm_fn() argument
331 rc = mm_stream_fsm_inited(my_obj, evt, in_val, out_val); in mm_stream_fsm_fn()
334 rc = mm_stream_fsm_acquired(my_obj, evt, in_val, out_val); in mm_stream_fsm_fn()
337 rc = mm_stream_fsm_cfg(my_obj, evt, in_val, out_val); in mm_stream_fsm_fn()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c123 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
128 if(my_obj->evt.evt[i].evt_cb) { in mm_camera_dispatch_app_event()
129 my_obj->evt.evt[i].evt_cb( in mm_camera_dispatch_app_event()
132 my_obj->evt.evt[i].user_data); in mm_camera_dispatch_app_event()
155 mm_camera_event_t evt; in mm_camera_event_notify() local
156 memset(&evt, 0, sizeof(mm_camera_event_t)); in mm_camera_event_notify()
168 evt.server_event_type = CAM_EVENT_TYPE_DAEMON_PULL_REQ; in mm_camera_event_notify()
169 mm_camera_enqueue_evt(my_obj, &evt); in mm_camera_event_notify()
181 evt.server_event_type = msm_evt->command; in mm_camera_event_notify()
182 mm_camera_enqueue_evt(my_obj, &evt); in mm_camera_event_notify()
[all …]
Dmm_camera_channel.c94 mm_channel_evt_type_t evt,
98 mm_channel_evt_type_t evt,
102 mm_channel_evt_type_t evt,
106 mm_channel_evt_type_t evt,
484 mm_channel_evt_type_t evt, in mm_channel_fsm_fn() argument
493 rc = mm_channel_fsm_fn_notused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
496 rc = mm_channel_fsm_fn_stopped(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
499 rc = mm_channel_fsm_fn_active(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
502 rc = mm_channel_fsm_fn_paused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
532 mm_channel_evt_type_t evt, in mm_channel_fsm_fn_notused() argument
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c123 mm_camera_event_t *event = &cmd_cb->u.evt; in mm_camera_dispatch_app_event()
128 if(my_obj->evt.evt[i].evt_cb) { in mm_camera_dispatch_app_event()
129 my_obj->evt.evt[i].evt_cb( in mm_camera_dispatch_app_event()
132 my_obj->evt.evt[i].user_data); in mm_camera_dispatch_app_event()
155 mm_camera_event_t evt; in mm_camera_event_notify() local
156 memset(&evt, 0, sizeof(mm_camera_event_t)); in mm_camera_event_notify()
168 evt.server_event_type = CAM_EVENT_TYPE_DAEMON_PULL_REQ; in mm_camera_event_notify()
169 mm_camera_enqueue_evt(my_obj, &evt); in mm_camera_event_notify()
181 evt.server_event_type = msm_evt->command; in mm_camera_event_notify()
182 mm_camera_enqueue_evt(my_obj, &evt); in mm_camera_event_notify()
[all …]
Dmm_camera_channel.c94 mm_channel_evt_type_t evt,
98 mm_channel_evt_type_t evt,
102 mm_channel_evt_type_t evt,
106 mm_channel_evt_type_t evt,
484 mm_channel_evt_type_t evt, in mm_channel_fsm_fn() argument
493 rc = mm_channel_fsm_fn_notused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
496 rc = mm_channel_fsm_fn_stopped(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
499 rc = mm_channel_fsm_fn_active(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
502 rc = mm_channel_fsm_fn_paused(my_obj, evt, in_val, out_val); in mm_channel_fsm_fn()
532 mm_channel_evt_type_t evt, in mm_channel_fsm_fn_notused() argument
[all …]
/device/moto/shamu/location/loc_api/ds_api/
Dds_client.c76 dsi_net_evt_t evt; member
106 dsi_net_evt_t evt, dsi_evt_payload_t *payload_ptr) in net_ev_cb() argument
115 if(evt > DSI_EVT_INVALID && evt < DSI_EVT_MAX) in net_ev_cb()
119 if(event_string_tbl[i].evt == evt) in net_ev_cb()
123 switch(evt) { in net_ev_cb()
/device/huawei/angler/location/loc_api/ds_api/
Dds_client.c76 dsi_net_evt_t evt; member
104 dsi_net_evt_t evt, dsi_evt_payload_t *payload_ptr) in net_ev_cb() argument
113 if(evt > DSI_EVT_INVALID && evt < DSI_EVT_MAX) in net_ev_cb()
117 if(event_string_tbl[i].evt == evt) in net_ev_cb()
121 switch(evt) { in net_ev_cb()
/device/lge/bullhead/location/loc_api/ds_api/
Dds_client.c76 dsi_net_evt_t evt; member
104 dsi_net_evt_t evt, dsi_evt_payload_t *payload_ptr) in net_ev_cb() argument
113 if(evt > DSI_EVT_INVALID && evt < DSI_EVT_MAX) in net_ev_cb()
117 if(event_string_tbl[i].evt == evt) in net_ev_cb()
121 switch(evt) { in net_ev_cb()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h114 mm_camera_event_t evt; /* evt if evtCB */ member
425 mm_camera_evt_entry_t evt[MM_CAMERA_EVT_ENTRY_MAX]; member
441 mm_camera_evt_obj_t evt[MM_CAMERA_EVT_TYPE_MAX]; member
589 mm_camera_ch_event_type_t evt);
630 mm_channel_evt_type_t evt,
652 mm_stream_evt_type_t evt,
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_app.c199 mm_camera_event_t *evt,void *user_data) in notify_evt_cb() argument
201 CDBG("%s:E evt = %d",__func__,evt->event_type); in notify_evt_cb()
203 switch(evt->event_type) in notify_evt_cb()
214 CDBG("%s: private evt (%s)", __func__, (char *)evt->e.pri_evt.evt_data); in notify_evt_cb()
227 mm_camera_event_type_t evt; in mm_app_open() local
259 evt = (mm_camera_event_type_t) i; in mm_app_open()
260 pme->cam->ops->register_event_notify(pme->cam->camera_handle, notify_evt_cb, pme,evt); in mm_app_open()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h108 mm_camera_event_t evt; /* evt if evtCB */ member
411 mm_camera_evt_entry_t evt[MM_CAMERA_EVT_ENTRY_MAX]; member
425 mm_camera_evt_obj_t evt; member
568 mm_channel_evt_type_t evt,
583 mm_stream_evt_type_t evt,
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h115 mm_camera_event_t evt; /* evt if evtCB */ member
460 mm_camera_evt_entry_t evt[MM_CAMERA_EVT_ENTRY_MAX]; member
474 mm_camera_evt_obj_t evt; member
623 mm_channel_evt_type_t evt,
637 mm_stream_evt_type_t evt,

123