/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | nan_ind.cpp | 251 int NanCommand::getNanPublishReplied(NanPublishRepliedInd *event) in getNanPublishReplied() argument 253 if (event == NULL || mNanVendorEvent == NULL) { in getNanPublishReplied() 255 __func__, event, mNanVendorEvent); in getNanPublishReplied() 260 event->requestor_instance_id = pRsp->publishRepliedIndParams.matchHandle; in getNanPublishReplied() 262 event->rssi_value = 0; in getNanPublishReplied() 277 if (outputTlv.length > sizeof(event->addr)) { in getNanPublishReplied() 278 outputTlv.length = sizeof(event->addr); in getNanPublishReplied() 280 memcpy(event->addr, outputTlv.value, outputTlv.length); in getNanPublishReplied() 283 if (outputTlv.length > sizeof(event->rssi_value)) { in getNanPublishReplied() 284 outputTlv.length = sizeof(event->rssi_value); in getNanPublishReplied() [all …]
|
D | nancommand.h | 125 int getNanPublishReplied(NanPublishRepliedInd *event); 126 int getNanPublishTerminated(NanPublishTerminatedInd *event); 127 int getNanMatch(NanMatchInd *event); 128 int getNanMatchExpired(NanMatchExpiredInd *event); 129 int getNanSubscribeTerminated(NanSubscribeTerminatedInd *event); 130 int getNanFollowup(NanFollowupInd *event); 131 int getNanDiscEngEvent(NanDiscEngEventInd *event); 132 int getNanDisabled(NanDisabledInd *event); 133 int getNanTca(NanTCAInd *event); 134 int getNanBeaconSdfPayload(NanBeaconSdfPayloadInd *event); [all …]
|
/hardware/google/gfxstream/host/testlibs/ |
D | OSWindow.cpp | 149 static std::string KeyState(const Event::KeyEvent &event) in KeyState() argument 151 if (event.Shift || event.Control || event.Alt || event.System) in KeyState() 156 if (event.Shift) in KeyState() 160 if (event.Control) in KeyState() 164 if (event.Alt) in KeyState() 168 if (event.System) in KeyState() 179 static void PrintEvent(const Event& event) in PrintEvent() argument 181 switch (event.Type) in PrintEvent() 187 std::cout << "Event: Window Moved (" << event.Move.X in PrintEvent() 188 << ", " << event.Move.Y << ")" << std::endl; in PrintEvent() [all …]
|
/hardware/interfaces/input/classifier/1.0/vts/functional/ |
D | VtsHalInputClassifierV1_0TargetTest.cpp | 44 MotionEvent event; in getSimpleMotionEvent() local 45 event.action = Action::DOWN; in getSimpleMotionEvent() 46 event.actionButton = Button::NONE; in getSimpleMotionEvent() 47 event.actionIndex = 0; in getSimpleMotionEvent() 48 event.buttonState = 0; in getSimpleMotionEvent() 49 event.deviceId = 0; in getSimpleMotionEvent() 50 event.deviceTimestamp = 0; in getSimpleMotionEvent() 51 event.displayId = 1; in getSimpleMotionEvent() 52 event.downTime = 2; in getSimpleMotionEvent() 53 event.edgeFlags = 0; in getSimpleMotionEvent() [all …]
|
/hardware/google/gfxstream/host/testlibs/x11/ |
D | X11Window.cpp | 17 Bool WaitForMapNotify(Display *dpy, XEvent *event, XPointer window) in WaitForMapNotify() argument 19 return event->type == MapNotify && event->xmap.window == reinterpret_cast<Window>(window); in WaitForMapNotify() 144 static void AddX11KeyStateToEvent(Event *event, unsigned int state) in AddX11KeyStateToEvent() argument 146 event->key.shift = state & ShiftMask; in AddX11KeyStateToEvent() 147 event->key.control = state & ControlMask; in AddX11KeyStateToEvent() 148 event->key.alt = state & Mod1Mask; in AddX11KeyStateToEvent() 149 event->key.system = state & Mod4Mask; in AddX11KeyStateToEvent() 312 XEvent event; in messageLoop() local 313 XNextEvent(mDisplay, &event); in messageLoop() 314 processEvent(event); in messageLoop() [all …]
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | nan_ind.cpp | 207 int NanCommand::getNanPublishReplied(NanPublishRepliedInd *event) in getNanPublishReplied() argument 209 if (event == NULL || mNanVendorEvent == NULL) { in getNanPublishReplied() 211 __func__, event, mNanVendorEvent); in getNanPublishReplied() 216 event->requestor_instance_id = pRsp->publishRepliedIndParams.matchHandle; in getNanPublishReplied() 218 event->rssi_value = 0; in getNanPublishReplied() 233 if (outputTlv.length > sizeof(event->addr)) { in getNanPublishReplied() 234 outputTlv.length = sizeof(event->addr); in getNanPublishReplied() 236 memcpy(event->addr, outputTlv.value, outputTlv.length); in getNanPublishReplied() 239 if (outputTlv.length > sizeof(event->rssi_value)) { in getNanPublishReplied() 240 outputTlv.length = sizeof(event->rssi_value); in getNanPublishReplied() [all …]
|
D | nancommand.h | 48 int getNanPublishReplied(NanPublishRepliedInd *event); 49 int getNanPublishTerminated(NanPublishTerminatedInd *event); 50 int getNanMatch(NanMatchInd *event); 51 int getNanMatchExpired(NanMatchExpiredInd *event); 52 int getNanSubscribeTerminated(NanSubscribeTerminatedInd *event); 53 int getNanFollowup(NanFollowupInd *event); 54 int getNanDiscEngEvent(NanDiscEngEventInd *event); 55 int getNanDisabled(NanDisabledInd *event); 56 int getNanTca(NanTCAInd *event); 57 int getNanBeaconSdfPayload(NanBeaconSdfPayloadInd *event); [all …]
|
/hardware/google/gfxstream/host/testlibs/windows/win32/ |
D | Win32Window.cpp | 250 Event event; in WndProc() local 251 event.type = Event::EVENT_CLOSED; in WndProc() 252 window->pushEvent(event); in WndProc() 266 Event event; in WndProc() local 267 event.type = Event::EVENT_MOVED; in WndProc() 268 event.move.x = topLeft.x; in WndProc() 269 event.move.y = topLeft.y; in WndProc() 270 window->pushEvent(event); in WndProc() 290 Event event; in WndProc() local 291 event.type = Event::EVENT_RESIZED; in WndProc() [all …]
|
/hardware/google/aemu/base/ |
D | HealthMonitor.cpp | 50 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::EndMonitoring{}); in ~HealthMonitor() local 53 mEventQueue.push(std::move(event)); in ~HealthMonitor() 73 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Start{ in startMonitoringTask() local 80 mEventQueue.push(std::move(event)); in startMonitoringTask() 86 auto event = std::make_unique<MonitoredEvent>( in touchMonitoredTask() local 89 mEventQueue.push(std::move(event)); in touchMonitoredTask() 94 auto event = std::make_unique<MonitoredEvent>( in stopMonitoringTask() local 97 mEventQueue.push(std::move(event)); in stopMonitoringTask() 102 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Poll{}); in poll() local 104 std::get<typename MonitoredEventType::Poll>(*event).complete.get_future(); in poll() [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/ |
D | AndroidHealthMonitor.cpp | 42 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::EndMonitoring{}); in ~HealthMonitor() local 45 mEventQueue.push(std::move(event)); in ~HealthMonitor() 66 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Start{ in startMonitoringTask() local 73 mEventQueue.push(std::move(event)); in startMonitoringTask() 79 auto event = std::make_unique<MonitoredEvent>( in touchMonitoredTask() local 82 mEventQueue.push(std::move(event)); in touchMonitoredTask() 87 auto event = std::make_unique<MonitoredEvent>( in stopMonitoringTask() local 90 mEventQueue.push(std::move(event)); in stopMonitoringTask() 95 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Poll{}); in poll() local 97 std::get<typename MonitoredEventType::Poll>(*event).complete.get_future(); in poll() [all …]
|
/hardware/interfaces/bluetooth/1.0/vts/functional/ |
D | VtsHalBluetoothV1_0TargetTest.cpp | 275 const ::android::hardware::hidl_vec<uint8_t>& event) override { in hciEventReceived() 277 parent_.event_queue.push(event); in hciEventReceived() 279 ALOGV("Event received (length = %d)", static_cast<int>(event.size())); in hciEventReceived() 322 hidl_vec<uint8_t> event = event_queue.front(); in handle_no_ops() local 323 ASSERT_GE(event.size(), in handle_no_ops() 326 (event[EVENT_CODE_BYTE] == EVENT_COMMAND_COMPLETE) && in handle_no_ops() 327 (event[EVENT_COMMAND_COMPLETE_OPCODE_LSBYTE] == 0x00) && in handle_no_ops() 328 (event[EVENT_COMMAND_COMPLETE_OPCODE_LSBYTE + 1] == 0x00); in handle_no_ops() 329 event_is_no_op |= (event[EVENT_CODE_BYTE] == EVENT_COMMAND_STATUS) && in handle_no_ops() 330 (event[EVENT_COMMAND_STATUS_OPCODE_LSBYTE] == 0x00) && in handle_no_ops() [all …]
|
/hardware/interfaces/bluetooth/1.1/vts/functional/ |
D | VtsHalBluetoothV1_1TargetTest.cpp | 277 const ::android::hardware::hidl_vec<uint8_t>& event) override { in hciEventReceived() 279 parent_.event_queue.push(event); in hciEventReceived() 281 ALOGV("Event received (length = %d)", static_cast<int>(event.size())); in hciEventReceived() 334 hidl_vec<uint8_t> event = event_queue.front(); in handle_no_ops() local 335 EXPECT_GE(event.size(), in handle_no_ops() 338 (event[EVENT_CODE_BYTE] == EVENT_COMMAND_COMPLETE) && in handle_no_ops() 339 (event[EVENT_COMMAND_COMPLETE_OPCODE_LSBYTE] == 0x00) && in handle_no_ops() 340 (event[EVENT_COMMAND_COMPLETE_OPCODE_LSBYTE + 1] == 0x00); in handle_no_ops() 341 event_is_no_op |= (event[EVENT_CODE_BYTE] == EVENT_COMMAND_STATUS) && in handle_no_ops() 342 (event[EVENT_COMMAND_STATUS_OPCODE_LSBYTE] == 0x00) && in handle_no_ops() [all …]
|
/hardware/google/gfxstream/host/testlibs/osx/ |
D | OSXWindow.mm | 23 // all the windows in order to forward the event to each of them. However this and calling pushEvent 39 Event event; 40 event.type = Event::EVENT_TEST; 41 window->pushEvent(event); 56 Event event; 57 event.type = Event::EVENT_CLOSED; 60 window->pushEvent(event); 80 // Register our global event handler 120 Event event; 121 event.type = Event::EVENT_CLOSED; [all …]
|
/hardware/google/gfxstream/host/testlibs/qnx/ |
D | QNXWindow.cpp | 475 Event event; in processMouseEvent() local 477 event.Type = Event::EVENT_TEST; in processMouseEvent() 478 pushEvent(event); in processMouseEvent() 488 event.Type = Event::EVENT_MOUSE_WHEEL_MOVED; in processMouseEvent() 490 event.Type = Event::EVENT_MOUSE_MOVED; in processMouseEvent() 492 event.Type = Event::EVENT_MOUSE_BUTTON_PRESSED; in processMouseEvent() 494 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in processMouseEvent() 496 switch (event.Type) { in processMouseEvent() 498 event.MouseWheel.Delta = wheel_ticks; in processMouseEvent() 499 pushEvent(event); in processMouseEvent() [all …]
|
/hardware/qcom/gps/msm8994/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/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/msm8084/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/msm8996/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/msm8909/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/google/camera/common/sensor_listener/ |
D | goog_sensor_sync.cc | 77 const ExtendedSensorEvent& event, int64_t* frame_id, in ExtractFrameIdAndBoottimeTimestamp() argument 80 float* data = const_cast<float*>(&event.sensor_event.u.data[0]); in ExtractFrameIdAndBoottimeTimestamp() 89 uint64_t GoogSensorSync::ExtractAocEventCounter(const ExtendedSensorEvent& event) { in ExtractAocEventCounter() argument 92 return event.sensor_event.u.stepCount; in ExtractAocEventCounter() 116 auto event = event_buffer_.begin(); in GetLatestNSamples() local 117 std::advance(event, start_index); in GetLatestNSamples() 118 for (; event != event_buffer_.end(); ++event) { in GetLatestNSamples() 119 latest_n_vsync_timestamps->push_back(event->sensor_event.timestamp); in GetLatestNSamples() 120 latest_n_arrival_timestamps->push_back(event->event_arrival_time_ns); in GetLatestNSamples() 122 ExtractFrameIdAndBoottimeTimestamp(*event, &frame_id, &boottime_timestamp); in GetLatestNSamples() [all …]
|
/hardware/qcom/audio/hal/audio_extn/ |
D | soundtrigger.c | 220 int audio_hw_call_back(sound_trigger_event_type_t event, in audio_hw_call_back() argument 230 switch (event) { in audio_hw_call_back() 267 ALOGW("%s: Unknown event %d", __func__, event); in audio_hw_call_back() 279 struct audio_event_info event; in audio_extn_sound_trigger_read() local 295 event.u.aud_info.ses_info = &st_info->st_ses; in audio_extn_sound_trigger_read() 296 event.u.aud_info.buf = buffer; in audio_extn_sound_trigger_read() 297 event.u.aud_info.num_bytes = bytes; in audio_extn_sound_trigger_read() 298 ret = st_dev->st_callback(AUDIO_EVENT_READ_SAMPLES, &event); in audio_extn_sound_trigger_read() 316 struct audio_event_info event; in audio_extn_sound_trigger_stop_lab() local 325 event.u.ses_info = st_ses_info->st_ses; in audio_extn_sound_trigger_stop_lab() [all …]
|
/hardware/google/graphics/common/libhwc2.1/libvrr/ |
D | EventQueue.h | 30 VrrControllerEvent event; in postEvent() local 31 event.mEventType = type; in postEvent() 33 event.mWhenNs = timedEvent.mWhenNs; in postEvent() 34 event.mFunctor = std::move(timedEvent.mFunctor); in postEvent() 35 mPriorityQueue.emplace(event); in postEvent() 39 VrrControllerEvent event; in postEvent() local 40 event.mEventType = type; in postEvent() 41 event.mWhenNs = when; in postEvent() 42 mPriorityQueue.emplace(event); in postEvent()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | DynamicSensorManager.cpp | 113 static const sensors_event_t event = { in flush() local 119 submitEvent(nullptr, event); in flush() 177 sensors_event_t event; in unregisterSensor() local 178 ConnectionReport::fillDisconnectionEvent(&event, mHandleRange.first, handle); in unregisterSensor() 179 submitEvent(nullptr, event); in unregisterSensor() 197 sensors_event_t event = e; in submitEvent() local 198 event.version = sizeof(event); in submitEvent() 201 if (event.type == SENSOR_TYPE_META_DATA) { in submitEvent() 202 event.sensor = 0; in submitEvent() 203 event.meta_data.sensor = handle; in submitEvent() [all …]
|
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/ |
D | Sensor.cpp | 150 Event event; in readEvents() local 151 event.sensorHandle = mSensorInfo.sensorHandle; in readEvents() 152 event.sensorType = mSensorInfo.type; in readEvents() 153 event.timestamp = ::android::elapsedRealtimeNano(); in readEvents() 154 event.u.vec3.x = 0; in readEvents() 155 event.u.vec3.y = 0; in readEvents() 156 event.u.vec3.z = 0; in readEvents() 157 event.u.vec3.status = SensorStatus::ACCURACY_HIGH; in readEvents() 158 events.push_back(event); in readEvents() 174 Result Sensor::injectEvent(const Event& event) { in injectEvent() argument [all …]
|