Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/multihal/include/
DScopedWakelock.h82 class ScopedWakelock {
84 ScopedWakelock(ScopedWakelock&&) = default;
85 ScopedWakelock& operator=(ScopedWakelock&&) = default;
86 virtual ~ScopedWakelock();
95 ScopedWakelock(IScopedWakelockRefCounter* refCounter, bool locked);
96 ScopedWakelock(const ScopedWakelock&) = delete;
97 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;
DHalProxy.h118 ScopedWakelock wakelock);
399 void postEvents(const std::vector<Event>& events, ScopedWakelock wakelock);
401 ScopedWakelock createScopedWakelock(bool lock);
/hardware/interfaces/sensors/2.0/multihal/
DScopedWakelock.cpp31 ScopedWakelock::ScopedWakelock(IScopedWakelockRefCounter* refCounter, bool locked) in ScopedWakelock() function in android::hardware::sensors::V2_0::implementation::ScopedWakelock
38 ScopedWakelock::~ScopedWakelock() { in ~ScopedWakelock()
DAndroid.bp49 shared_libs: ["android.hardware.sensors@2.0-ScopedWakelock"],
59 name: "android.hardware.sensors@2.0-ScopedWakelock",
65 "ScopedWakelock.cpp",
88 "android.hardware.sensors@2.0-ScopedWakelock",
92 "android.hardware.sensors@2.0-ScopedWakelock",
97 name: "android.hardware.sensors@2.0-ScopedWakelock.testlib",
103 "ScopedWakelock.cpp",
DHalProxy.cpp571 ScopedWakelock wakelock) { in postEventsToMessageQueue()
670 void HalProxyCallback::postEvents(const std::vector<Event>& events, ScopedWakelock wakelock) { in postEvents()
688 ScopedWakelock HalProxyCallback::createScopedWakelock(bool lock) { in createScopedWakelock()
689 ScopedWakelock wakelock(mHalProxy, lock); in createScopedWakelock()
/hardware/interfaces/sensors/2.0/multihal/tests/
DAndroid.bp28 "android.hardware.sensors@2.0-ScopedWakelock",
83 "android.hardware.sensors@2.0-ScopedWakelock.testlib",
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensorsSubHal.cpp52 using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
166 ScopedWakelock wakelock = mCallback->createScopedWakelock(wakeup); in postEvents()