/hardware/intel/img/libdrm/libdrm/radeon/ |
D | radeon_track.c | 41 struct radeon_track_event *event; in radeon_track_add_event() local 46 event = (void*)calloc(1,sizeof(struct radeon_track_event)); in radeon_track_add_event() 47 if (event == NULL) { in radeon_track_add_event() 50 event->line = line; in radeon_track_add_event() 51 event->file = strdup(file); in radeon_track_add_event() 52 event->func = strdup(func); in radeon_track_add_event() 53 event->op = strdup(op); in radeon_track_add_event() 54 if (event->file == NULL || event->func == NULL || event->op == NULL) { in radeon_track_add_event() 55 free(event->file); in radeon_track_add_event() 56 free(event->func); in radeon_track_add_event() [all …]
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
D | Exynos_OSAL_Event.c | 46 Exynos_OSAL_THREADEVENT *event; in Exynos_OSAL_SignalCreate() local 49 event = (Exynos_OSAL_THREADEVENT *)Exynos_OSAL_Malloc(sizeof(Exynos_OSAL_THREADEVENT)); in Exynos_OSAL_SignalCreate() 50 if (!event) { in Exynos_OSAL_SignalCreate() 55 Exynos_OSAL_Memset(event, 0, sizeof(Exynos_OSAL_THREADEVENT)); in Exynos_OSAL_SignalCreate() 56 event->signal = OMX_FALSE; in Exynos_OSAL_SignalCreate() 58 ret = Exynos_OSAL_MutexCreate(&event->mutex); in Exynos_OSAL_SignalCreate() 60 Exynos_OSAL_Free(event); in Exynos_OSAL_SignalCreate() 64 if (pthread_cond_init(&event->condition, NULL)) { in Exynos_OSAL_SignalCreate() 65 Exynos_OSAL_MutexTerminate(event->mutex); in Exynos_OSAL_SignalCreate() 66 Exynos_OSAL_Free(event); in Exynos_OSAL_SignalCreate() [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_agps.cpp | 254 virtual AgpsState* onRsrcEvent(AgpsRsrcStatus event, void* data); 258 AgpsState* AgpsReleasedState::onRsrcEvent(AgpsRsrcStatus event, void* data) in onRsrcEvent() argument 260 LOC_LOGD("AgpsReleasedState::onRsrcEvent; event:%d\n", (int)event); in onRsrcEvent() 268 switch (event) in onRsrcEvent() 292 Notification notification(subscriber, event, false); in onRsrcEvent() 300 LOC_LOGW("%s: unrecognized event %d", whoami(), event); in onRsrcEvent() 306 whoami(), nextState->whoami(), event); in onRsrcEvent() 321 virtual AgpsState* onRsrcEvent(AgpsRsrcStatus event, void* data); 325 AgpsState* AgpsPendingState::onRsrcEvent(AgpsRsrcStatus event, void* data) in onRsrcEvent() argument 328 LOC_LOGD("AgpsPendingState::onRsrcEvent; event:%d\n", (int)event); in onRsrcEvent() [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_agps.cpp | 254 virtual AgpsState* onRsrcEvent(AgpsRsrcStatus event, void* data); 258 AgpsState* AgpsReleasedState::onRsrcEvent(AgpsRsrcStatus event, void* data) in onRsrcEvent() argument 260 LOC_LOGD("AgpsReleasedState::onRsrcEvent; event:%d\n", (int)event); in onRsrcEvent() 268 switch (event) in onRsrcEvent() 292 Notification notification(subscriber, event, false); in onRsrcEvent() 300 LOC_LOGW("%s: unrecognized event %d", whoami(), event); in onRsrcEvent() 306 whoami(), nextState->whoami(), event); in onRsrcEvent() 321 virtual AgpsState* onRsrcEvent(AgpsRsrcStatus event, void* data); 325 AgpsState* AgpsPendingState::onRsrcEvent(AgpsRsrcStatus event, void* data) in onRsrcEvent() argument 328 LOC_LOGD("AgpsPendingState::onRsrcEvent; event:%d\n", (int)event); in onRsrcEvent() [all …]
|
/hardware/akm/AK8975_FS/libsensors/ |
D | KionixSensor.cpp | 173 input_event const* event; in readEvents() local 175 while (count && mInputReader.readEvent(&event)) { in readEvents() 176 int type = event->type; in readEvents() 178 float value = event->value; in readEvents() 179 if (event->code == EVENT_TYPE_ACCEL_X) { in readEvents() 181 } else if (event->code == EVENT_TYPE_ACCEL_Y) { in readEvents() 183 } else if (event->code == EVENT_TYPE_ACCEL_Z) { in readEvents() 187 mPendingEvent.timestamp = timevalToNano(event->time); in readEvents() 195 type, event->code); in readEvents()
|
D | AdxlSensor.cpp | 195 input_event const* event; in readEvents() local 197 while (count && mInputReader.readEvent(&event)) { in readEvents() 198 int type = event->type; in readEvents() 200 float value = event->value; in readEvents() 201 if (event->code == EVENT_TYPE_ACCEL_X) { in readEvents() 203 } else if (event->code == EVENT_TYPE_ACCEL_Y) { in readEvents() 205 } else if (event->code == EVENT_TYPE_ACCEL_Z) { in readEvents() 209 mPendingEvent.timestamp = timevalToNano(event->time); in readEvents() 217 type, event->code); in readEvents()
|
D | AkmSensor.cpp | 204 input_event const* event; in readEvents() local 206 while (count && mInputReader.readEvent(&event)) { in readEvents() 207 int type = event->type; in readEvents() 209 processEvent(event->code, event->value); in readEvents() 212 int64_t time = timevalToNano(event->time); in readEvents() 233 type, event->code); in readEvents()
|
/hardware/libhardware/modules/soundtrigger/ |
D | sound_trigger_hw.c | 76 struct sound_trigger_phrase_recognition_event *event = in callback_thread_loop() local 78 event->common.status = RECOGNITION_STATUS_SUCCESS; in callback_thread_loop() 79 event->common.type = SOUND_MODEL_TYPE_KEYPHRASE; in callback_thread_loop() 80 event->common.model = stdev->model_handle; in callback_thread_loop() 81 event->num_phrases = 1; in callback_thread_loop() 82 event->phrase_extras[0].recognition_modes = RECOGNITION_MODE_VOICE_TRIGGER; in callback_thread_loop() 83 event->phrase_extras[0].confidence_level = 100; in callback_thread_loop() 84 event->phrase_extras[0].num_levels = 1; in callback_thread_loop() 85 event->phrase_extras[0].levels[0].level = 100; in callback_thread_loop() 86 event->phrase_extras[0].levels[0].user_id = 0; in callback_thread_loop() [all …]
|
/hardware/invensense/60xx/libsensors_iio/ |
D | CompassSensor.IIO.9150.cpp | 190 void CompassSensor::processCompassEvent(const input_event *event) in processCompassEvent() argument 194 switch (event->code) { in processCompassEvent() 197 mCachedCompassData[0] = event->value; in processCompassEvent() 201 mCachedCompassData[1] = event->value; in processCompassEvent() 205 mCachedCompassData[2] = event->value; in processCompassEvent() 210 (int64_t)event->time.tv_sec * 1000000000L + event->time.tv_usec * 1000L; in processCompassEvent() 250 input_event const* event; in readSample() local 252 while (done == 0 && mCompassInputReader.readEvent(&event)) { in readSample() 253 int type = event->type; in readSample() 255 processCompassEvent(event); in readSample() [all …]
|
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
D | driver_cmd_nl80211.c | 43 union wpa_event_data event; in wpa_driver_notify_country_change() local 45 os_memset(&event, 0, sizeof(event)); in wpa_driver_notify_country_change() 46 event.channel_list_changed.initiator = REGDOM_SET_BY_USER; in wpa_driver_notify_country_change() 48 event.channel_list_changed.type = REGDOM_TYPE_COUNTRY; in wpa_driver_notify_country_change() 50 event.channel_list_changed.alpha2[0] = cmd[8]; in wpa_driver_notify_country_change() 51 event.channel_list_changed.alpha2[1] = cmd[9]; in wpa_driver_notify_country_change() 54 event.channel_list_changed.type = REGDOM_TYPE_UNKNOWN; in wpa_driver_notify_country_change() 56 wpa_supplicant_event(ctx, EVENT_CHANNEL_LIST_CHANGED, &event); in wpa_driver_notify_country_change()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/inc/ |
D | OMX_AmrDec_Utils.h | 134 OMX_ERRORTYPE NBAMRDECLCML_Callback (TUsnCodecEvent event,void * args [10]); 167 HANDLE event; member 170 int OMX_CreateEvent(OMX_Event *event); 171 int OMX_SignalEvent(OMX_Event *event); 172 int OMX_WaitForEvent(OMX_Event *event); 173 int OMX_DestroyEvent(OMX_Event *event);
|
/hardware/invensense/65xx/libsensors_iio/ |
D | CompassSensor.IIO.9150.cpp | 198 void CompassSensor::processCompassEvent(const input_event *event) in processCompassEvent() argument 202 switch (event->code) { in processCompassEvent() 205 mCachedCompassData[0] = event->value; in processCompassEvent() 209 mCachedCompassData[1] = event->value; in processCompassEvent() 213 mCachedCompassData[2] = event->value; in processCompassEvent() 218 (int64_t)event->time.tv_sec * 1000000000L + event->time.tv_usec * 1000L; in processCompassEvent() 258 input_event const* event; in readSample() local 260 while (done == 0 && mCompassInputReader.readEvent(&event)) { in readSample() 261 int type = event->type; in readSample() 263 processCompassEvent(event); in readSample() [all …]
|
D | CompassSensor.IIO.primary.cpp | 315 void CompassSensor::processCompassEvent(const input_event *event) in processCompassEvent() argument 319 switch (event->code) { in processCompassEvent() 322 mCachedCompassData[0] = event->value; in processCompassEvent() 326 mCachedCompassData[1] = event->value; in processCompassEvent() 330 mCachedCompassData[2] = event->value; in processCompassEvent() 335 (int64_t)event->time.tv_sec * 1000000000L + event->time.tv_usec * 1000L; in processCompassEvent()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/inc/ |
D | OMX_WbAmrDec_Utils.h | 208 OMX_ERRORTYPE WBAMR_DEC_LCML_Callback (TUsnCodecEvent event,void * args [10]); 384 HANDLE event; member 387 int OMX_CreateEvent(OMX_Event *event); 388 int OMX_SignalEvent(OMX_Event *event); 389 int OMX_WaitForEvent(OMX_Event *event); 390 int OMX_DestroyEvent(OMX_Event *event);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
D | driver_cmd_nl80211.c | 47 union wpa_event_data event; in wpa_driver_notify_country_change() local 49 os_memset(&event, 0, sizeof(event)); in wpa_driver_notify_country_change() 50 event.channel_list_changed.initiator = REGDOM_SET_BY_USER; in wpa_driver_notify_country_change() 52 event.channel_list_changed.type = REGDOM_TYPE_COUNTRY; in wpa_driver_notify_country_change() 54 event.channel_list_changed.alpha2[0] = cmd[8]; in wpa_driver_notify_country_change() 55 event.channel_list_changed.alpha2[1] = cmd[9]; in wpa_driver_notify_country_change() 58 event.channel_list_changed.type = REGDOM_TYPE_UNKNOWN; in wpa_driver_notify_country_change() 60 wpa_supplicant_event(ctx, EVENT_CHANNEL_LIST_CHANGED, &event); in wpa_driver_notify_country_change()
|
/hardware/invensense/6515/libsensors_iio/ |
D | CompassSensor.IIO.9150.cpp | 200 void CompassSensor::processCompassEvent(const input_event *event) in processCompassEvent() argument 204 switch (event->code) { in processCompassEvent() 207 mCachedCompassData[0] = event->value; in processCompassEvent() 211 mCachedCompassData[1] = event->value; in processCompassEvent() 215 mCachedCompassData[2] = event->value; in processCompassEvent() 220 (int64_t)event->time.tv_sec * 1000000000L + event->time.tv_usec * 1000L; in processCompassEvent() 260 input_event const* event; in readSample() local 262 while (done == 0 && mCompassInputReader.readEvent(&event)) { in readSample() 263 int type = event->type; in readSample() 265 processCompassEvent(event); in readSample() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_vsync.cpp | 89 struct event { struct 94 struct event event_list[] = { 205 for( size_t event = 0; event < num_events; event++) { in vsync_loop() local 206 if(pfd[dpy][event].fd >= 0) in vsync_loop() 207 close (pfd[dpy][event].fd); in vsync_loop()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_vsync.cpp | 79 struct event { struct 84 struct event event_list[] = { 206 for( size_t event = 0; event < num_events; event++) { in vsync_loop() local 207 if(pfd[dpy][event].fd >= 0) in vsync_loop() 208 close (pfd[dpy][event].fd); in vsync_loop()
|
/hardware/intel/common/libva/test/putsurface/ |
D | putsurface_x11.c | 138 XEvent event; in check_window_event() local 147 is_event = XCheckWindowEvent(x11_display, win, StructureNotifyMask|KeyPressMask,&event); in check_window_event() 154 if(event.type == KeyPress) { in check_window_event() 161 if(event.type == ConfigureNotify) { in check_window_event() 162 *width = event.xconfigure.width; in check_window_event() 163 *height = event.xconfigure.height; in check_window_event()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | threading.h | 97 HEV event; 105 DosCreateEventSem(NULL, &sem->event, pshared ? DC_SEM_SHARED : 0, 119 DosWaitEventSem(sem->event, -1); 128 DosResetEventSem(sem->event, &post_count); 145 DosPostEventSem(sem->event); 155 DosCloseEventSem(sem->event);
|
/hardware/intel/img/hwcomposer/common/observers/ |
D | UeventObserver.cpp | 128 void UeventObserver::registerListener(const char *event, UeventListenerFunc func, void *data) in registerListener() argument 130 if (!event || !func) { in registerListener() 135 String8 key(event); in registerListener() 137 ELOGTRACE("listener for uevent %s exists", event); in registerListener()
|
/hardware/intel/common/libwsbm/src/ |
D | wsbm_ttmpool.c | 64 struct _WsbmCond event; member 130 ret = WSBM_COND_INIT(&dBuf->event); in pool_create() 154 WSBM_COND_FREE(&dBuf->event); in pool_create() 177 ret = WSBM_COND_INIT(&dBuf->event); in pool_reference() 199 WSBM_COND_FREE(&dBuf->event); in pool_reference() 224 WSBM_COND_FREE(&dBuf->event); in pool_destroy() 240 WSBM_COND_WAIT(&dBuf->event, &buf->mutex); in syncforcpu_locked() 275 WSBM_COND_BROADCAST(&dBuf->event); in syncforcpu_locked() 295 WSBM_COND_WAIT(&dBuf->event, &buf->mutex); in releasefromcpu_locked() 551 ret = WSBM_COND_INIT(&dBuf->event); in ttm_pool_ub_create() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifi_hal.cpp | 334 WifiEvent event(msg); in internal_valid_message_handler() local 335 int res = event.parse(); in internal_valid_message_handler() 341 int cmd = event.get_cmd(); in internal_valid_message_handler() 346 vendor_id = event.get_u32(NL80211_ATTR_VENDOR_ID); in internal_valid_message_handler() 347 subcmd = event.get_u32(NL80211_ATTR_VENDOR_SUBCMD); in internal_valid_message_handler() 349 event.get_cmdString(), vendor_id, subcmd); in internal_valid_message_handler() 351 ALOGI("event received %s", event.get_cmdString()); in internal_valid_message_handler() 354 ALOGI("event received %s, vendor_id = 0x%0x", event.get_cmdString(), vendor_id); in internal_valid_message_handler()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | gscan.cpp | 368 virtual int handleEvent(WifiEvent& event) { in handleEvent() argument 373 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent() 374 unsigned int len = event.get_vendor_data_len(); in handleEvent() 381 wifi_scan_result *result = (wifi_scan_result *)event.get_vendor_data(); in handleEvent() 649 virtual int handleEvent(WifiEvent& event) { in handleEvent() argument 654 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent() 655 int len = event.get_vendor_data_len(); in handleEvent() 656 int event_id = event.get_vendor_subcmd(); in handleEvent() 665 evt_type = (wifi_scan_event) event.get_u32(NL80211_ATTR_VENDOR_DATA); in handleEvent() 676 int num = event.get_u32(NL80211_ATTR_VENDOR_DATA); in handleEvent() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/inc/ |
D | OMX_G722Dec_Utils.h | 352 HANDLE event; member 355 int OMX_CreateEvent(OMX_Event *event); 356 int OMX_SignalEvent(OMX_Event *event); 357 int OMX_WaitForEvent(OMX_Event *event); 358 int OMX_DestroyEvent(OMX_Event *event); 685 OMX_ERRORTYPE G722DEC_LCML_Callback (TUsnCodecEvent event,void * args [10]);
|