/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 194 …struct SensorsInternalEvent *evt = (struct SensorsInternalEvent*)slabAllocatorAlloc(mInternalEvent… in sensorCallFuncPower() local 196 if (!evt) in sensorCallFuncPower() 199 evt->externalPowerEvt.on = on; in sensorCallFuncPower() 200 evt->externalPowerEvt.callData = s->callData; in sensorCallFuncPower() 202 if (osEnqueuePrivateEvt(EVT_APP_SENSOR_POWER, &evt->externalPowerEvt, in sensorCallFuncPower() 206 slabAllocatorFree(mInternalEvents, evt); in sensorCallFuncPower() 235 …struct SensorsInternalEvent *evt = (struct SensorsInternalEvent*)slabAllocatorAlloc(mInternalEvent… in sensorCallFuncSetRate() local 237 if (!evt) in sensorCallFuncSetRate() 240 evt->externalSetRateEvt.latency = latency; in sensorCallFuncSetRate() 241 evt->externalSetRateEvt.rate = rate; in sensorCallFuncSetRate() [all …]
|
D | timer.c | 91 struct TimerEvent *evt; in timCallFunc() local 99 if ((evt = slabAllocatorAlloc(mInternalEvents)) != 0) { in timCallFunc() 100 evt->timerId = tim->id; in timCallFunc() 101 evt->data = tim->callData; in timCallFunc() 102 if (!osEnqueuePrivateEvt(EVT_APP_TIMER, evt, timerCallFuncFreeF, tim->tid)) { in timCallFunc() 104 slabAllocatorFree(mInternalEvents, evt); in timCallFunc() 230 struct TimerEvent *evt; in timerEventMatch() local 235 evt = (struct TimerEvent *)da->privateEvt.evtData; in timerEventMatch() 237 return evt->timerId == t->id; in timerEventMatch()
|
D | seos.c | 1045 uint16_t evt = EVENT_GET_EVENT(evtType), newEvt; in osInternalEvtHandle() local 1050 switch (evt) { in osInternalEvtHandle() 1063 if (evt == EVT_UNSUBSCRIBE_TO_EVT && i != task->subbedEvtCount) in osInternalEvtHandle() 1066 else if (evt == EVT_SUBSCRIBE_TO_EVT && i == task->subbedEvtCount) { in osInternalEvtHandle() 1091 if (evt == EVT_APP_BEGIN) { in osInternalEvtHandle() 1180 uint16_t tid, evt; in osMainDequeueLoop() local 1189 evt = EVENT_GET_EVENT(evtType); in osMainDequeueLoop() 1191 if (evt < EVT_NO_FIRST_USER_EVENT) { in osMainDequeueLoop() 1198 if (task->subbedEvents[j] == evt) { in osMainDequeueLoop() 1199 osTaskHandle(task, evt, tid, evtData); in osMainDequeueLoop() [all …]
|
D | osApi.c | 298 static void osExpApiI2cInternalEvtFreeF(void *evt) in osExpApiI2cInternalEvtFreeF() argument 300 slabAllocatorFree(mSlabAllocator, evt); in osExpApiI2cInternalEvtFreeF()
|
/device/google/contexthub/firmware/app/chre/common/ |
D | chre_app.c | 170 static void chreappProcessSensorData(uint16_t evt, const void *eventData) in chreappProcessSensorData() argument 178 si = eOsSensorFind(SENSOR_TYPE(evt), 0, &sensorHandle); in chreappProcessSensorData() 182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData() 185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData() 188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData() 192 if (SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_INSTANT_MOTION_DETECT in chreappProcessSensorData() 193 || SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_STATIONARY_DETECT) { in chreappProcessSensorData() 200 static void chreappProcessConfigEvt(uint16_t evt, const void *eventData) in chreappProcessConfigEvt() argument 230 uint16_t evt = eventTypeAndTid; in chreappHandle() local 239 switch(evt) { in chreappHandle() [all …]
|
D | chre10_app.c | 170 static void chreappProcessSensorData(uint16_t evt, const void *eventData) in chreappProcessSensorData() argument 178 si = eOsSensorFind(SENSOR_TYPE(evt), 0, &sensorHandle); in chreappProcessSensorData() 182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData() 185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData() 188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData() 192 if (SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_INSTANT_MOTION_DETECT in chreappProcessSensorData() 193 || SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_STATIONARY_DETECT) { in chreappProcessSensorData() 200 static void chreappProcessConfigEvt(uint16_t evt, const void *eventData) in chreappProcessConfigEvt() argument 230 uint16_t evt = eventTypeAndTid; in chreappHandle() local 238 switch(evt) { in chreappHandle() [all …]
|
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/js/ |
D | cf_webrtc.js | 97 _sendJsonInput(evt) { argument 98 this._inputChannel.send(JSON.stringify(evt)); 168 ws.onerror = evt => { argument 169 console.error('WebSocket error:', evt); 170 reject(evt); 172 this._wsPromise = Promise.reject(new Error(evt)); 291 pc.addEventListener('icecandidate', evt => { 292 console.log('Local ICE Candidate: ', evt.candidate); 294 pc.addEventListener('iceconnectionstatechange', evt => { 299 evt => [all …]
|
D | app.js | 235 document.getElementById('refresh_list').onclick = evt => UpdateDeviceList(); argument
|
/device/google/cuttlefish/host/frontend/webrtc/lib/ |
D | client_handler.cpp | 160 Json::Value evt; in OnMessage() local 163 if (!json_reader.parse(str, str + size, evt) < 0) { in OnMessage() 167 if (!evt.isMember("type") || !evt["type"].isString()) { in OnMessage() 169 << evt.toStyledString(); in OnMessage() 172 auto event_type = evt["type"].asString(); in OnMessage() 175 validateJsonObject(evt, "mouse", in OnMessage() 184 auto label = evt["display_label"].asString(); in OnMessage() 185 int32_t down = evt["down"].asInt(); in OnMessage() 186 int32_t x = evt["x"].asInt(); in OnMessage() 187 int32_t y = evt["y"].asInt(); in OnMessage() [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | seos_priv.h | 39 #define EVENT_WITH_ORIGIN(evt, origin) (((evt) & EVT_MASK) | ((origin) << (32 - TASK_TID_BITS… argument 40 #define EVENT_GET_ORIGIN(evt) ((evt) >> (32 - TASK_TID_BITS)) argument 41 #define EVENT_GET_EVENT(evt) ((evt) & (EVT_MASK & ~EVENT_TYPE_BIT_DISCARDABLE)) argument
|
/device/google/crosshatch/blueline/ |
D | init.blueline.rc | 20 setprop vendor.thermal.hw_mode "-evt" 25 setprop vendor.thermal.hw_mode "-evt" 30 setprop vendor.thermal.hw_mode "-evt" 35 setprop vendor.thermal.hw_mode "-evt" 40 setprop vendor.thermal.hw_mode "-evt" 45 setprop vendor.thermal.hw_mode "-evt" 50 setprop vendor.thermal.hw_mode "-evt"
|
/device/google/crosshatch/crosshatch/ |
D | init.crosshatch.rc | 20 setprop vendor.thermal.hw_mode "-evt" 25 setprop vendor.thermal.hw_mode "-evt" 30 setprop vendor.thermal.hw_mode "-evt" 35 setprop vendor.thermal.hw_mode "-evt" 40 setprop vendor.thermal.hw_mode "-evt"
|
/device/google/cuttlefish/host/commands/kernel_log_monitor/ |
D | main.cc | 100 klog.SubscribeToBootEvents([subscriber_fd](monitor::BootEvent evt) { in main() argument 101 int retval = subscriber_fd->Write(&evt, sizeof(evt)); in main()
|
D | kernel_log_server.cc | 47 monitor::BootEvent evt, in ProcessSubscriptions() argument 53 auto action = (*subscribers)[idx](evt); in ProcessSubscriptions()
|
/device/google/cuttlefish/host/commands/run_cvd/ |
D | main.cc | 87 monitor::BootEvent evt; in OnBootEvtReceived() local 88 auto bytes_read = boot_events_pipe->Read(&evt, sizeof(evt)); in OnBootEvtReceived() 89 if (bytes_read != sizeof(evt)) { in OnBootEvtReceived() 91 << " bytes only instead of the expected " << sizeof(evt); in OnBootEvtReceived() 93 } else if (evt == monitor::BootEvent::BootCompleted) { in OnBootEvtReceived() 96 } else if (evt == monitor::BootEvent::BootFailed) { in OnBootEvtReceived()
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | virtual_inputs.cpp | 240 void InitInputEvent(struct input_event* evt, uint16_t type, uint16_t code, in InitInputEvent() argument 242 evt->type = type; in InitInputEvent() 243 evt->code = code; in InitInputEvent() 244 evt->value = value; in InitInputEvent()
|
/device/linaro/hikey/wpan/uim/ |
D | uim.h | 102 uint8_t evt; member
|
D | uim.c | 169 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) { in read_command_complete() 172 resp.hci_hdr.evt); in read_command_complete()
|
/device/google/crosshatch/ |
D | init.hardware.chamber.rc.userdebug | 21 on property:persist.vendor.disable.thermal.control=1 && property:vendor.thermal.hw_mode=-evt
|
D | device.mk | 98 …al-engine-$(PRODUCT_HARDWARE)-novr-evt.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-$(PRODUCT… 99 …ermal-engine-$(PRODUCT_HARDWARE)-vr-evt.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-$(PRODUC…
|
/device/google/coral-kernel/sm8150/original-kernel-headers/media/ |
D | radio-iris.h | 117 __u8 evt; member
|
/device/google/coral-kernel/sm8150/kernel-headers/media/ |
D | radio-iris.h | 117 __u8 evt; member
|
/device/google/crosshatch/sdm845/original-kernel-headers/media/ |
D | msm_camera.h | 234 struct v4l2_event evt; member
|
/device/google/crosshatch/sdm845/kernel-headers/media/ |
D | msm_camera.h | 98 struct v4l2_event evt; member
|
/device/google/bonito/sdm710/original-kernel-headers/media/ |
D | msm_camera.h | 234 struct v4l2_event evt; member
|