/device/google/contexthub/util/nanotool/ |
H A D | resetreasonevent.cpp | 28 auto event = std::unique_ptr<ResetReasonEvent>(new ResetReasonEvent()); local 29 event->Populate(buffer); 31 return event; 35 // After the event type header (uint32_t), we should have the reset reason, 38 LOGW("Invalid/short ResetReason event of size %zu", event_data.size());
|
H A D | logevent.cpp | 26 auto event = std::unique_ptr<LogEvent>(new LogEvent()); local 27 event->Populate(buffer); 29 return event; 38 LOGW("Invalid/short LogEvent event of size %zu", event_data.size());
|
H A D | apptohostevent.cpp | 28 auto event = std::unique_ptr<AppToHostEvent>(new AppToHostEvent()); local 29 event->Populate(buffer); 30 if (!event->IsValid()) { 34 return event; 127 // dataLen should specify the amount of data that follows the event type 131 LOGW("Invalid/short AppToHost event of size %zu", event_data.size()); 139 // After the event type header (uint32_t), we should have struct 142 LOGW("Invalid/short AppToHost event of size %zu", event_data.size());
|
H A D | nanomessage.cpp | 64 const char format_string[] = "Write event accepted: %s\n"; 96 const char format_string[] = "Read event at time: %" PRIx64 "\n"; 114 // The first 4 bytes of any event must be the event type - use it to figure 126 LOGW("Received unexpected/unsupported event type %u", event_type); 180 LOGW("Invalid/short event of size %zu", buffer.size()); 248 auto event = reinterpret_cast<VersionInfoRequestEvent *>(buffer.data()); local 249 event->event_type = static_cast<uint32_t>(EventType::AppFromHostEvent); 250 event->event_data.hdr.appId = kAppIdBridge; 251 event [all...] |
/device/linaro/hikey/gralloc/ |
H A D | gralloc_vsync_report.h | 33 inline void gralloc_mali_vsync_report(mali_vsync_event event) argument 35 _mali_base_arch_vsync_event_report(event);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
H A D | ltm.c | 52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { argument 54 lua_assert(event <= TM_EQ); 56 events->flags |= cast_byte(1u<<event); /* cache this fact */ 63 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { argument 75 return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject);
|
H A D | ldo.c | 217 void luaD_hook (lua_State *L, int event, int line) { argument 224 ar.event = event;
|
H A D | lvm.c | 176 StkId res, TMS event) { 177 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ 179 tm = luaT_gettmbyobj(L, p2, event); /* try second operand */ 187 TMS event) { 188 const TValue *tm1 = fasttm(L, mt1, event); 192 tm2 = fasttm(L, mt2, event); 201 TMS event) { 202 if (!call_binTM(L, p1, p2, L->top, event)) 175 call_binTM(lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event) argument 186 get_equalTM(lua_State *L, Table *mt1, Table *mt2, TMS event) argument 200 call_orderTM(lua_State *L, const TValue *p1, const TValue *p2, TMS event) argument
|
/device/asus/fugu/kernel-headers/linux/ |
H A D | kct.h | 80 struct ct_event event; member in struct:kct_packet
|
/device/asus/fugu/libaudio/ |
H A D | AudioHotplugThread.cpp | 335 struct inotify_event *event = local 338 if ((ret - i) < (int)(sizeof(struct inotify_event) + event->len)) { 343 char *name = ((char *) event) + 348 if (event->mask & IN_CREATE) { 350 // inotify event occurs. Add a delay to avoid these 366 } else if (event->mask & IN_DELETE) { 371 i += sizeof(struct inotify_event) + event->len;
|
/device/asus/fugu/original-kernel-headers/linux/ |
H A D | kct.h | 71 struct ct_event event; member in struct:kct_packet
|
/device/generic/goldfish/camera/ |
H A D | EmulatedCameraHotplugThread.cpp | 164 inotify_event* event = (inotify_event*) &buffer[i]; local 166 if (event->mask & IN_IGNORED) { 177 } else if (event->mask & IN_CLOSE_WRITE) { 178 int cameraId = getCameraId(event->wd); 182 __FUNCTION__, event->wd); 184 // Check the file for the new hotplug event 207 __FUNCTION__, event->mask); 210 i += EVENT_SIZE + event->len;
|
/device/generic/goldfish/hwcomposer/ |
H A D | hwcomposer.cpp | 133 int event, int enabled) { 140 if (event == HWC_EVENT_VSYNC) { 132 hwc_event_control(struct hwc_composer_device_1* dev, int dpy __unused, int event, int enabled) argument
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
H A D | ColorWheel.java | 184 public boolean onTouchEvent(MotionEvent event) { argument 185 float x = event.getX() - CENTER_X; 186 float y = event.getY() - CENTER_Y; 189 switch (event.getAction()) {
|
/device/google/contexthub/firmware/os/core/ |
H A D | timer.c | 73 static void timerCallFuncFreeF(void* event) argument 75 slabAllocatorFree(mInternalEvents, event); 92 ERROR_PRINT("Could not enqueue private timer event\n"); 96 ERROR_PRINT("Could not allocate an internal event\n");
|
H A D | sensors.c | 174 static void sensorCallFuncPowerEvtFreeF(void* event) argument 176 slabAllocatorFree(mInternalEvents, event); 225 static void sensorCallFuncExternalEvtFreeF(void* event) argument 227 slabAllocatorFree(mInternalEvents, event);
|
/device/google/contexthub/sensorhal/ |
H A D | activity.cpp | 156 const ActivityEvent *event = &mUnpublishedEvents[i]; local 157 if (event->eventIndex == (uint8_t)(mNewestPublishedEventIndex + 1)) { 158 PublishEvent(*event); 172 void ActivityContext::PublishEvent(const ActivityEvent& event) { argument 176 int64_t timestampDelta = event.whenNs - mNewestPublishedTimestamp; 178 mNewestPublishedTimestamp = event.whenNs; 181 halEvent.activity = GetActivityHandleFromSensorIndex(event.sensorIndex); 184 if (event.sensorIndex == COMMS_SENSOR_ACTIVITY_TILTING) { 185 ALOGD("Publishing tilt event (enter/exit)"); 193 ALOGD("Publishing event 210 const ActivityEvent *event = &mUnpublishedEvents[i]; local 252 ActivityEvent event = { local [all...] |
H A D | sensors.cpp | 225 int SensorContext::inject_sensor_data(const sensors_event_t *event) { argument 229 if (event == nullptr || event->type != SENSOR_TYPE_ADDITIONAL_INFO) { 233 if (event->sensor != SENSORS_HANDLE_BASE - 1) { 237 if (event->additional_info.type == AINFO_BEGIN 238 || event->additional_info.type == AINFO_END) { 242 mHubConnection->setOperationParameter(event->additional_info); 248 const struct sensors_event_t *event) { 249 return reinterpret_cast<SensorContext *>(dev)->inject_sensor_data(event); 247 InjectSensorDataWrapper(struct sensors_poll_device_1 *dev, const struct sensors_event_t *event) argument
|
/device/google/dragon/sensor_hub/ |
H A D | cros_ec_sensors.cpp | 223 * We have to report an event as soon as available. 262 ALOGE("Incomplete event while reading ring: %d\n", rc); 282 * Internal function to translate an event from the iio ring 285 * Support flush meta event and regular events. 287 int CrosECSensor::processEvent(sensors_event_t* data, const cros_ec_event *event) argument 289 if (event->flags & CROS_EC_EVENT_FLUSH_FLAG) { 296 data->meta_data.sensor = event->sensor_id; 300 if (event->sensor_id >= mSensorNb) { 303 struct cros_ec_sensor_info *info = &mSensorInfo[event->sensor_id]; 306 ALOGI("Activity: %d - state: %d\n", event [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_thread.c | 66 mm_camera_event_t event; member in struct:__anon1156 400 * 0 if event polling thread 451 * 0 if event polling thread
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_thread.c | 65 mm_camera_event_t event; member in struct:__anon1720 399 * 0 if event polling thread 451 * 0 if event polling thread
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_thread.c | 65 mm_camera_event_t event; member in struct:__anon2272 399 * 0 if event polling thread 451 * 0 if event polling thread
|
/device/generic/goldfish/sensors/ |
H A D | sensors_qemu.c | 206 /* Pick up one pending sensor event. On success, this returns the sensor 207 * id, and sets |*event| accordingly. On failure, i.e. if there are no 213 sensors_event_t* event) 220 *event = d->sensors[i]; 230 event->sensor = i; 231 event->version = sizeof(*event); 236 event->data[0], 237 event->data[1], 238 event 212 sensor_device_pick_pending_event_locked(SensorDevice* d, sensors_event_t* event) argument [all...] |
/device/google/dragon/audio/soundtrigger/ |
H A D | sound_trigger_hw.c | 164 struct sound_trigger_phrase_recognition_event *event; local 171 event = (struct sound_trigger_phrase_recognition_event *)data; 172 event->common.status = RECOGNITION_STATUS_SUCCESS; 173 event->common.type = SOUND_MODEL_TYPE_KEYPHRASE; 174 event->common.model = stdev->model_handle; 179 event->num_phrases = stdev->config->num_phrases; 180 if (event->num_phrases > SOUND_TRIGGER_MAX_PHRASES) 181 event->num_phrases = SOUND_TRIGGER_MAX_PHRASES; 182 for (i=0; i < event->num_phrases; i++) 183 memcpy(&event 274 struct sound_trigger_phrase_recognition_event *event; local [all...] |
/device/google/marlin/camera/usbcamcore/src/ |
H A D | QCameraMjpegDecode.cpp | 116 jpeg_event_t event, 549 jpeg_event_t event, 556 ALOGD("%s: Event: %s\n", __func__, event_to_string[event]); 557 if (event == JPEG_EVENT_DONE) 562 // If it is not a warning event, decoder has stopped; Signal 564 if (event != JPEG_EVENT_WARNING) 548 decoder_event_handler(void *p_user_data, jpeg_event_t event, void *p_arg) argument
|