Home
last modified time | relevance | path

Searched refs:ScopedWakelock (Results 1 – 17 of 17) sorted by relevance

/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_0/
DScopedWakelock.h82 class ScopedWakelock {
84 ScopedWakelock(ScopedWakelock&& other);
85 ScopedWakelock& operator=(ScopedWakelock&& other);
86 virtual ~ScopedWakelock();
96 ScopedWakelock(IScopedWakelockRefCounter* refCounter, bool locked);
97 ScopedWakelock(const ScopedWakelock&) = delete;
98 ScopedWakelock& operator=(const ScopedWakelock&) = delete;
DSubHal.h74 virtual void postEvents(const std::vector<Event>& events, ScopedWakelock wakelock) = 0;
84 virtual ScopedWakelock createScopedWakelock(bool lock) = 0;
/hardware/interfaces/sensors/common/default/2.X/multihal/
DScopedWakelock.cpp31 ScopedWakelock::ScopedWakelock(ScopedWakelock&& other) { in ScopedWakelock() function in android::hardware::sensors::V2_0::implementation::ScopedWakelock
35 ScopedWakelock& ScopedWakelock::operator=(ScopedWakelock&& other) { in operator =()
46 ScopedWakelock::ScopedWakelock(IScopedWakelockRefCounter* refCounter, bool locked) in ScopedWakelock() function in android::hardware::sensors::V2_0::implementation::ScopedWakelock
53 ScopedWakelock::~ScopedWakelock() { in ~ScopedWakelock()
DHalProxyCallback.cpp42 ScopedWakelock wakelock) { in postEvents()
60 ScopedWakelock HalProxyCallbackBase::createScopedWakelock(bool lock) { in createScopedWakelock()
61 ScopedWakelock wakelock(mRefCounter, lock); in createScopedWakelock()
DAndroid.bp87 name: "android.hardware.sensors@2.0-ScopedWakelock",
93 "ScopedWakelock.cpp",
105 name: "android.hardware.sensors@2.0-ScopedWakelock.testlib",
111 "ScopedWakelock.cpp",
DHalProxy.cpp648 V2_0::implementation::ScopedWakelock wakelock) { in postEventsToMessageQueue()
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DScopedWakelock_test.cpp45 ScopedWakelock createScopedWakelock(bool locked) { in createScopedWakelock()
46 return ScopedWakelock(&mRefCounter, locked); in createScopedWakelock()
53 ScopedWakelock wakelock = createScopedWakelock(false /* locked */); in TEST_F()
55 ScopedWakelock movedWakelock(std::move(wakelock)); in TEST_F()
62 ScopedWakelock wakelock = createScopedWakelock(true /* locked */); in TEST_F()
64 ScopedWakelock movedWakelock(std::move(wakelock)); in TEST_F()
71 ScopedWakelock wakelock = createScopedWakelock(true /* locked */); in TEST_F()
77 ScopedWakelock wakelock = createScopedWakelock(false /* locked */); in TEST_F()
98 ScopedWakelock wakelock = createScopedWakelock(true /* locked */); in TEST_F()
99 ScopedWakelock movedWakelock(std::move(wakelock)); in TEST_F()
DAndroid.bp38 "android.hardware.sensors@2.0-ScopedWakelock",
112 "android.hardware.sensors@2.0-ScopedWakelock.testlib",
DHalProxy_test.cpp46 using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DIHalProxyCallbackWrapper.h38 using ScopedWakelock = V2_0::implementation::ScopedWakelock;
48 virtual void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) = 0;
50 virtual ScopedWakelock createScopedWakelock(bool lock) = 0;
62 ScopedWakelock createScopedWakelock(bool lock) override { in createScopedWakelock()
81 void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) override { in postEvents()
97 void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) { in postEvents()
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxyCallback.h63 V2_0::implementation::ScopedWakelock wakelock) = 0;
89 V2_0::implementation::ScopedWakelock wakelock);
91 V2_0::implementation::ScopedWakelock createScopedWakelock(bool lock);
123 V2_0::implementation::ScopedWakelock wakelock) override { in postEvents()
128 V2_0::implementation::ScopedWakelock createScopedWakelock(bool lock) override { in createScopedWakelock()
158 V2_0::implementation::ScopedWakelock wakelock) override { in postEvents()
162 V2_0::implementation::ScopedWakelock createScopedWakelock(bool lock) override { in createScopedWakelock()
DHalProxy.h130 V2_0::implementation::ScopedWakelock wakelock) override;
/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_1/
DSubHal.h44 using ScopedWakelock = V2_0::implementation::ScopedWakelock;
72 virtual void postEvents(const std::vector<V2_1::Event>& events, ScopedWakelock wakelock) = 0;
82 virtual ScopedWakelock createScopedWakelock(bool lock) = 0;
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorsSubHal.cpp28 using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
199 ScopedWakelock wakelock = mHalProxyCallback->createScopedWakelock(wakeup); in submitEvent()
DAndroid.bp117 "android.hardware.sensors@2.0-ScopedWakelock",
/hardware/interfaces/sensors/2.0/multihal/
DAndroid.bp42 "android.hardware.sensors@2.0-ScopedWakelock",
/hardware/interfaces/sensors/2.1/multihal/
DAndroid.bp42 "android.hardware.sensors@2.0-ScopedWakelock",