Home
last modified time | relevance | path

Searched refs:postEvents (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DIHalProxyCallbackWrapper.h48 virtual void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) = 0;
81 void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) override { in postEvents() function
82 return mCallback->postEvents(V2_1::implementation::convertToOldEvents(events), in postEvents()
97 void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) { in postEvents() function
98 return mCallback->postEvents(events, std::move(wakelock)); in postEvents()
DSensor.cpp108 mCallback->postEvents(evs, isWakeUpSensor()); in flush()
135 mCallback->postEvents(readEvents(), isWakeUpSensor()); in run()
181 mCallback->postEvents(std::vector<Event>{event}, isWakeUpSensor()); in injectEvent()
DSensor.h43 virtual void postEvents(const std::vector<Event>& events, bool wakeup) = 0;
DSensorsSubHal.h86 void postEvents(const std::vector<Event>& events, bool wakeup) override;
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxyCallback.h88 void postEvents(const std::vector<V2_1::Event>& events,
122 void postEvents(const std::vector<V1_0::Event>& events, in postEvents() function
124 HalProxyCallbackBase::postEvents(V2_1::implementation::convertToNewEvents(events), in postEvents()
157 void postEvents(const std::vector<V2_1::Event>& events, in postEvents() function
159 return HalProxyCallbackBase::postEvents(events, std::move(wakelock)); in postEvents()
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DHalProxy_test.cpp324 subHal.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
341 subHal.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
363 subHal.postEvents(convertToNewEvents(events), true /* wakeup */); in TEST()
389 subHal.postEvents(convertToNewEvents(events), true /* wakeup */); in TEST()
409 subHal1.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
413 subHal2.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
433 subHal1.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
459 std::thread t1(&AllSensorsSubHal<SensorsSubHalV2_0>::postEvents, &subHal1, in TEST()
461 std::thread t2(&AllSensorsSubHal<SensorsSubHalV2_0>::postEvents, &subHal2, in TEST()
483 subHal.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
[all …]
/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_0/
DSubHal.h74 virtual void postEvents(const std::vector<Event>& events, ScopedWakelock wakelock) = 0;
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxyCallback.cpp41 void HalProxyCallbackBase::postEvents(const std::vector<V2_1::Event>& events, in postEvents() function in android::hardware::sensors::V2_0::implementation::HalProxyCallbackBase
/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_1/
DSubHal.h72 virtual void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) = 0;
/hardware/interfaces/sensors/common/default/2.X/
DSensor.cpp97 mCallback->postEvents(evs, isWakeUpSensor()); in flush()
124 mCallback->postEvents(readEvents(), isWakeUpSensor()); in run()
168 mCallback->postEvents(std::vector<Event>{event}, isWakeUpSensor()); in injectEvent()
DSensor.h42 virtual void postEvents(const std::vector<Event>& events, bool wakeup) = 0;
DSensors.h200 void postEvents(const std::vector<V2_1::Event>& events, bool wakeup) override { in postEvents() function
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorsSubHal.cpp200 mHalProxyCallback->postEvents(events, std::move(wakelock)); in submitEvent()