/device/linaro/bootloader/arm-trusted-firmware/include/lib/el3_runtime/ |
D | pubsub.h | 10 #define __pubsub_start_sym(event) __pubsub_##event##_start argument 11 #define __pubsub_end_sym(event) __pubsub_##event##_end argument 17 #define __pubsub_section(event) __pubsub_##event argument 24 #define REGISTER_PUBSUB_EVENT(event) \ argument 25 __pubsub_start_sym(event) = .; \ 26 KEEP(*(__pubsub_section(event))); \ 27 __pubsub_end_sym(event) = . 38 #define __pubsub_section(event) __section("__pubsub_" #event) argument 44 #define REGISTER_PUBSUB_EVENT(event) \ argument 45 extern pubsub_cb_t __pubsub_start_sym(event)[]; \ [all …]
|
/device/generic/goldfish/sensors/ |
D | multihal_sensors_qemu.cpp | 97 Event event; in parseQemuSensorEvent() local 98 EventPayload* payload = &event.u; in parseQemuSensorEvent() 106 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEvent() 107 event.sensorHandle = kSensorHandleAccelerometer; in parseQemuSensorEvent() 108 event.sensorType = SensorType::ACCELEROMETER; in parseQemuSensorEvent() 109 postSensorEvent(event); in parseQemuSensorEvent() 116 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEvent() 117 event.sensorHandle = kSensorHandleGyroscope; in parseQemuSensorEvent() 118 event.sensorType = SensorType::GYROSCOPE; in parseQemuSensorEvent() 119 postSensorEvent(event); in parseQemuSensorEvent() [all …]
|
D | multihal_sensors.cpp | 199 Event event; in flush() local 200 event.sensorHandle = sensorHandle; in flush() 201 event.sensorType = SensorType::META_DATA; in flush() 202 event.u.meta.what = MetaDataEventType::META_DATA_FLUSH_COMPLETE; in flush() 204 doPostSensorEventLocked(*sensor, event); in flush() 208 Return<Result> MultihalSensors::injectSensorData_2_1(const Event& event) { in injectSensorData_2_1() argument 209 if (!isSensorHandleValid(event.sensorHandle)) { in injectSensorData_2_1() 212 if (event.sensorType == SensorType::ADDITIONAL_INFO) { in injectSensorData_2_1() 220 const SensorInfo* sensor = getSensorInfoByHandle(event.sensorHandle); in injectSensorData_2_1() 222 if (sensor->type != event.sensorType) { in injectSensorData_2_1() [all …]
|
/device/google/cuttlefish/guest/commands/vsoc_input_service/ |
D | vsoc_input_service.cpp | 47 InputEvent event = next_event(); in EventLoop() local 48 device->EmitEvent(event.type, event.code, event.value); in EventLoop() 103 struct virtio_input_event event; in ProcessEvents() local 104 if (touch_fd->Read(&event, sizeof(event)) != sizeof(event)) { in ProcessEvents() 108 .type = event.type, in ProcessEvents() 109 .code = event.code, in ProcessEvents() 110 .value = event.value, in ProcessEvents() 116 struct virtio_input_event event; in ProcessEvents() local 117 if (keyboard_fd->Read(&event, sizeof(event)) != sizeof(event)) { in ProcessEvents() 121 .type = event.type, in ProcessEvents() [all …]
|
D | virtual_device_base.cpp | 115 struct input_event event {}; in EmitEvent() struct 116 event.type = type; in EmitEvent() 117 event.code = code; in EmitEvent() 118 event.value = value; in EmitEvent() 120 if (write(fd_, &event, sizeof(event)) < static_cast<ssize_t>(sizeof(event))) { in EmitEvent()
|
/device/google/contexthub/util/nanotool/ |
D | contexthub.cpp | 274 auto event_printer = [&limit, continuous](const SensorEvent& event) -> bool { in PrintAllEvents() argument 275 printf("%s", event.ToString().c_str()); in PrintAllEvents() 291 auto event_handler = [&success](const AppToHostEvent &event) -> bool { in PrintBridgeVersion() argument 293 auto rsp = reinterpret_cast<const BrHostEventData *>(event.GetDataPtr()); in PrintBridgeVersion() 294 if (event.GetAppId() != kAppIdBridge) { in PrintBridgeVersion() 296 } else if (event.GetDataLen() < sizeof(BrHostEventData)) { in PrintBridgeVersion() 298 "at least %zu", event.GetDataLen(), sizeof(BrHostEventData)); in PrintBridgeVersion() 304 } else if (event.GetDataLen() < (sizeof(BrHostEventData) + in PrintBridgeVersion() 307 "length %u, expected at least %zu", event.GetDataLen(), in PrintBridgeVersion() 332 auto event_printer = [type, &limit, continuous](const SensorEvent& event) -> bool { in PrintSensorEvents() argument [all …]
|
D | resetreasonevent.cpp | 28 auto event = std::unique_ptr<ResetReasonEvent>(new ResetReasonEvent()); in FromBytes() local 29 event->Populate(buffer); in FromBytes() 31 return event; in FromBytes()
|
D | logevent.cpp | 26 auto event = std::unique_ptr<LogEvent>(new LogEvent()); in FromBytes() local 27 event->Populate(buffer); in FromBytes() 29 return event; in FromBytes()
|
D | apptohostevent.cpp | 28 auto event = std::unique_ptr<AppToHostEvent>(new AppToHostEvent()); in FromBytes() local 29 event->Populate(buffer); in FromBytes() 30 if (!event->IsValid()) { in FromBytes() 34 return event; in FromBytes()
|
/device/amlogic/yukawa/services/src/com/google/android/yukawaservice/ |
D | RemoteSyncReceiver.java | 36 private static void sendPairingIntent(Context context, KeyEvent event) { in sendPairingIntent() argument 40 if (event != null) { in sendPairingIntent() 42 .putExtra(Intent.EXTRA_KEY_EVENT, event); in sendPairingIntent() 50 KeyEvent event = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onReceive() local 51 int keyCode = event.getKeyCode(); in onReceive() 52 int keyAction = event.getAction(); in onReceive() 56 sendPairingIntent(context, event); in onReceive()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | sched.py | 53 event = Event(time, priority, action, argument) 54 heapq.heappush(self._queue, event) 55 return event # The ID 66 def cancel(self, event): argument 73 self._queue.remove(event) 113 event = pop(q) 116 if event is checked_event: 120 heapq.heappush(q, event)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
D | bdist_msi.py | 471 c.event("EndDialog", "Exit") 484 c.event("EndDialog", "Exit") 494 c.event("EndDialog", "Return") 512 c.event("EndDialog", "Exit") 514 c.event("EndDialog", "Ignore") 516 c.event("EndDialog","Retry") 526 error.pushbutton("N",120,72,81,21,3,"No",None).event("EndDialog","ErrorNo") 527 error.pushbutton("Y",240,72,81,21,3,"Yes",None).event("EndDialog","ErrorYes") 528 error.pushbutton("A",0,72,81,21,3,"Abort",None).event("EndDialog","ErrorAbort") 529 error.pushbutton("C",42,72,81,21,3,"Cancel",None).event("EndDialog","ErrorCancel") [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_asynchat.py | 21 def __init__(self, event): argument 23 self.event = event 32 self.event.set() 90 event = threading.Event() 91 s = echo_server(event) 93 event.wait() 94 event.clear() 96 return s, event 110 event = threading.Event() 111 s = echo_server(event) [all …]
|
D | test_sys_setprofile.py | 30 def callback(self, frame, event, arg): argument 31 if (event == "call" 32 or event == "return" 33 or event == "exception"): 34 self.add_event(event, frame) 36 def add_event(self, event, frame=None): argument 47 self.events.append((frameno, event, ident(frame))) 63 def callback(self, frame, event, arg): argument 65 self.dispatch[event](self, frame)
|
/device/google/cuttlefish/host/frontend/adb_connector/ |
D | main.cpp | 62 monitor::BootEvent event; in WaitForAdbdToBeStarted() local 63 auto bytes_read = evt_shared_fd->Read(&event, sizeof(event)); in WaitForAdbdToBeStarted() 64 if (bytes_read != sizeof(event)) { in WaitForAdbdToBeStarted() 66 << " bytes only instead of the expected " << sizeof(event); in WaitForAdbdToBeStarted() 71 if (event == monitor::BootEvent::AdbdStarted) { in WaitForAdbdToBeStarted()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/ |
D | msi.py | 481 c.event("EndDialog", "Exit") 494 c.event("EndDialog", "Exit") 515 c.event("EndDialog", "Return") 533 c.event("EndDialog", "Exit") 535 c.event("EndDialog", "Ignore") 537 c.event("EndDialog","Retry") 548 error.pushbutton("N",120,72,81,21,3,"No",None).event("EndDialog","ErrorNo") 549 error.pushbutton("Y",240,72,81,21,3,"Yes",None).event("EndDialog","ErrorYes") 550 error.pushbutton("A",0,72,81,21,3,"Abort",None).event("EndDialog","ErrorAbort") 551 error.pushbutton("C",42,72,81,21,3,"Cancel",None).event("EndDialog","ErrorCancel") [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | ltm.c | 52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm() argument 54 lua_assert(event <= TM_EQ); in luaT_gettm() 56 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm() 63 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj() argument 75 return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject); in luaT_gettmbyobj()
|
/device/amlogic/yukawa/gralloc/ |
D | gralloc_vsync_report.h | 34 inline void gralloc_mali_vsync_report(mali_vsync_event event) in gralloc_mali_vsync_report() argument 37 _mali_base_arch_vsync_event_report(event); in gralloc_mali_vsync_report() 39 GRALLOC_UNUSED(event); in gralloc_mali_vsync_report()
|
/device/linaro/hikey/gralloc960/ |
D | gralloc_vsync_report.h | 34 inline void gralloc_mali_vsync_report(mali_vsync_event event) in gralloc_mali_vsync_report() argument 37 _mali_base_arch_vsync_event_report(event); in gralloc_mali_vsync_report() 39 GRALLOC_UNUSED(event); in gralloc_mali_vsync_report()
|
/device/linaro/poplar/wifi/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()
|
/device/amlogic/yukawa/hdmicec/ |
D | hdmi_cec.c | 301 hdmi_event_t event = { }; in event_thread() local 308 if (ev.event == CEC_EVENT_STATE_CHANGE) { in event_thread() 309 event.type = HDMI_EVENT_HOT_PLUG; in event_thread() 310 event.dev = &ctx->device; in event_thread() 311 event.hotplug.port_id = 1; in event_thread() 313 event.hotplug.connected = false; in event_thread() 315 event.hotplug.connected = true; in event_thread() 318 ctx->p_event_cb(&event, ctx->cb_arg); in event_thread() 327 hdmi_event_t event = { }; in event_thread() local 341 event.type = HDMI_EVENT_CEC_MESSAGE; in event_thread() [all …]
|
/device/generic/goldfish/camera/ |
D | EmulatedCameraHotplugThread.cpp | 153 inotify_event* event = (inotify_event*) &buffer[i]; in threadLoop() local 155 if (event->mask & IN_IGNORED) { in threadLoop() 166 } else if (event->mask & IN_CLOSE_WRITE) { in threadLoop() 167 int cameraId = getCameraId(event->wd); in threadLoop() 171 __FUNCTION__, event->wd); in threadLoop() 196 __FUNCTION__, event->mask); in threadLoop() 199 i += EVENT_SIZE + event->len; in threadLoop()
|
/device/linaro/hikey/gralloc/ |
D | gralloc_vsync_report.h | 33 inline void gralloc_mali_vsync_report(mali_vsync_event event) in gralloc_mali_vsync_report() argument 35 _mali_base_arch_vsync_event_report(event); in gralloc_mali_vsync_report()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | EmulatedCameraHotplugThread.cpp | 152 inotify_event* event = (inotify_event*)&buffer[i]; in threadLoop() local 154 if (event->mask & IN_IGNORED) { in threadLoop() 164 } else if (event->mask & IN_CLOSE_WRITE) { in threadLoop() 165 int cameraId = getCameraId(event->wd); in threadLoop() 168 ALOGE("%s: Got bad camera ID from WD '%d", __FUNCTION__, event->wd); in threadLoop() 191 ALOGW("%s: Unknown mask 0x%x", __FUNCTION__, event->mask); in threadLoop() 194 i += EVENT_SIZE + event->len; in threadLoop()
|
/device/google/contexthub/sensorhal/ |
D | sensors.cpp | 208 int SensorContext::inject_sensor_data(const sensors_event_t *event) { in inject_sensor_data() argument 212 if (event == nullptr || event->type != SENSOR_TYPE_ADDITIONAL_INFO) { in inject_sensor_data() 216 if (event->sensor != SENSORS_HANDLE_BASE - 1) { in inject_sensor_data() 220 if (event->additional_info.type == AINFO_BEGIN in inject_sensor_data() 221 || event->additional_info.type == AINFO_END) { in inject_sensor_data() 225 mHubConnection->setOperationParameter(event->additional_info); in inject_sensor_data() 231 const struct sensors_event_t *event) { in InjectSensorDataWrapper() argument 232 return reinterpret_cast<SensorContext *>(dev)->inject_sensor_data(event); in InjectSensorDataWrapper()
|