Home
last modified time | relevance | path

Searched refs:Event (Results 1 – 25 of 32) sorted by relevance

12

/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dkernel_log_server.cc32 using monitor::Event;
51 Event event; // emitted when the stage is encountered
54 {cuttlefish::kBootStartedMessage, Event::BootStarted, kBare},
55 {cuttlefish::kBootPendingMessage, Event::BootPending, kPrefix},
56 {cuttlefish::kBootCompletedMessage, Event::BootCompleted, kBare},
57 {cuttlefish::kBootFailedMessage, Event::BootFailed, kPrefix},
58 {cuttlefish::kMobileNetworkConnectedMessage, Event::MobileNetworkConnected,
60 {cuttlefish::kWifiConnectedMessage, Event::WifiNetworkConnected, kBare},
61 {cuttlefish::kEthernetConnectedMessage, Event::EthernetNetworkConnected,
63 {cuttlefish::kAdbdStartedMessage, Event::AdbdStarted, kBare},
[all …]
Dutils.h27 Event event;
Dkernel_log_server.h31 enum Event : int32_t { enum
Dutils.cc49 static_cast<monitor::Event>(message["event"].asInt()), in ReadEvent()
/device/google/cuttlefish/guest/commands/sensor_injection/
Dmain.cpp28 using aidl::android::hardware::sensors::Event;
82 Event event; in InjectOrientation()
85 Event::EventPayload::Vec3 vec3; in InjectOrientation()
93 event.payload.set<Event::EventPayload::Tag::vec3>(vec3); in InjectOrientation()
113 Event event; in InjectAccelerometer()
117 Event::EventPayload::Vec3 vec3; in InjectAccelerometer()
122 event.payload.set<Event::EventPayload::Tag::vec3>(vec3); in InjectAccelerometer()
133 Event event; in InjectMagnetometer()
137 Event::EventPayload::Vec3 vec3; in InjectMagnetometer()
142 event.payload.set<Event::EventPayload::Tag::vec3>(vec3); in InjectMagnetometer()
[all …]
/device/generic/goldfish/sensors/include/
Dmultihal_sensors.h38 using ahs21::Event;
66 Return<Result> injectSensorData_2_1(const Event& event) override;
103 Event activationOnChangeSensorEvent(int32_t sensorHandle, const SensorInfo& sensor) const;
110 void postSensorEventLocked(const Event& event);
111 void doPostSensorEventLocked(const SensorInfo& sensor, const Event& event);
154 Event event;
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dsocket_vsock_proxy.cpp155 const monitor::Event start, const monitor::Event stop, in ListenEventsAndProxy()
222 const monitor::Event start_event = static_cast<monitor::Event>(FLAGS_start_event_id); in Main()
223 const monitor::Event stop_event = static_cast<monitor::Event>(FLAGS_stop_event_id); in Main()
/device/google/cuttlefish/host/frontend/webrtc/
Dkernel_log_events_handler.cpp33 eventfd_(SharedFD::Event()), in KernelLogEventsHandler()
73 if (read_result->event == monitor::Event::BootStarted) { in ReadLoop()
78 if (read_result->event == monitor::Event::BootCompleted) { in ReadLoop()
83 if (read_result->event == monitor::Event::ScreenChanged) { in ReadLoop()
89 if (read_result->event == monitor::Event::DisplayPowerModeChanged) { in ReadLoop()
Dbluetooth_handler.cpp34 shutdown_(SharedFD::Event(0, 0)) { in BluetoothHandler()
Dadb_handler.cpp62 shutdown_(SharedFD::Event(0,0)) in AdbHandler()
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp179 Event MultihalSensors::activationOnChangeSensorEvent(const int32_t sensorHandle, in activationOnChangeSensorEvent()
181 Event event; in activationOnChangeSensorEvent()
298 Event event; in flush()
309 Return<Result> MultihalSensors::injectSensorData_2_1(const Event& event) { in injectSensorData_2_1()
338 void MultihalSensors::postSensorEventLocked(const Event& event) { in postSensorEventLocked()
352 const Event& event) { in doPostSensorEventLocked()
386 std::vector<Event> events; in sendAdditionalInfoReport()
389 events.emplace_back(Event{ in sendAdditionalInfoReport()
/device/google/cuttlefish/host/commands/modem_simulator/
Dthread_looper.h71 struct Event { struct
76 bool operator<=(const Event &other) const; argument
84 std::deque<Event> queue_;
89 void Insert(const Event &event);
Dthread_looper.cpp29 bool ThreadLooper::Event::operator<=(const Event &other) const { in operator <=()
72 void ThreadLooper::Insert(const Event &event) { in Insert()
/device/google/trout/hal/sensors/2.1/
DSensorsSubHal.h44 using Event = ::android::hardware::sensors::V2_1::Event; variable
66 Return<Result> injectSensorData_2_1(const Event& event) override;
84 void postEvents(const std::vector<Event>& events, ScopedWakelock wakelock) override;
DSensor.h40 using ::android::hardware::sensors::V2_1::Event;
68 virtual void postEvents(const std::vector<Event>& events, ScopedWakelock wakelock) = 0;
83 Result injectEvent(const Event& event);
144 void processScanData(uint8_t* data, Event* evt);
DSensor.cpp106 std::vector<Event> events; in sendAdditionalInfoReport()
109 events.emplace_back(Event{ in sendAdditionalInfoReport()
141 Event ev; in flush()
145 std::vector<Event> evs{ev}; in flush()
162 void HWSensorBase::processScanData(uint8_t* data, Event* evt) { in processScanData()
201 Event evt; in pollForEvents()
237 Result SensorBase::injectEvent(const Event& event) { in injectEvent()
DSensorsSubHal.cpp43 using ::android::hardware::sensors::V2_1::Event;
188 Return<Result> SensorsSubHal::injectSensorData_2_1(const Event& /* event */) { in injectSensorData_2_1() argument
249 void SensorsSubHal::postEvents(const std::vector<Event>& events, ScopedWakelock wakelock) { in postEvents()
/device/google/cuttlefish/host/libs/config/fastboot/
Dlaunch.cpp45 tunnel.AddParameter("--start_event_id=", monitor::Event::FastbootStarted); in Commands()
46 tunnel.AddParameter("--stop_event_id=", monitor::Event::AdbdStarted); in Commands()
/device/google/contexthub/util/nanotool/
Dnanomessage.h93 struct Event { struct
185 struct Configuration : public Event {
Dnanomessage.cpp132 if (buffer.size() < sizeof(Event)) { in Populate()
241 struct VersionInfoRequestEvent : public Event { in GetBytes()
Dsensorevent.h78 struct SensorEventHeader : public Event {
/device/google/cuttlefish/host/libs/config/adb/
Dlaunch.cpp147 adb_tunnel.AddParameter("--start_event_id=", monitor::Event::AdbdStarted); in Commands()
149 monitor::Event::FastbootStarted); in Commands()
/device/google/cuttlefish/common/libs/utils/
Dsocket2socket_proxy.cpp40 : stop_fd_(SharedFD::Event()) { in ProxyPair()
115 : stop_fd_(SharedFD::Event()) { in ProxyServer()
/device/google/cuttlefish/host/commands/run_cvd/
Dboot_state_machine.cc379 if (read_result->event == monitor::Event::BootCompleted) { in OnBootEvtReceived()
382 } else if (read_result->event == monitor::Event::BootFailed) { in OnBootEvtReceived()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h153 static SharedFD Event(int initval = 0, int flags = 0);

12