/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_0/ |
D | ScopedWakelock.h | 82 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;
|
D | SubHal.h | 74 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/ |
D | ScopedWakelock.cpp | 31 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()
|
D | HalProxyCallback.cpp | 42 ScopedWakelock wakelock) { in postEvents() 60 ScopedWakelock HalProxyCallbackBase::createScopedWakelock(bool lock) { in createScopedWakelock() 61 ScopedWakelock wakelock(mRefCounter, lock); in createScopedWakelock()
|
D | Android.bp | 87 name: "android.hardware.sensors@2.0-ScopedWakelock", 93 "ScopedWakelock.cpp", 105 name: "android.hardware.sensors@2.0-ScopedWakelock.testlib", 111 "ScopedWakelock.cpp",
|
D | HalProxy.cpp | 648 V2_0::implementation::ScopedWakelock wakelock) { in postEventsToMessageQueue()
|
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/ |
D | ScopedWakelock_test.cpp | 45 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()
|
D | Android.bp | 38 "android.hardware.sensors@2.0-ScopedWakelock", 112 "android.hardware.sensors@2.0-ScopedWakelock.testlib",
|
D | HalProxy_test.cpp | 46 using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
|
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/ |
D | IHalProxyCallbackWrapper.h | 38 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/ |
D | HalProxyCallback.h | 63 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()
|
D | HalProxy.h | 130 V2_0::implementation::ScopedWakelock wakelock) override;
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_1/ |
D | SubHal.h | 44 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/ |
D | DynamicSensorsSubHal.cpp | 28 using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock; 199 ScopedWakelock wakelock = mHalProxyCallback->createScopedWakelock(wakeup); in submitEvent()
|
D | Android.bp | 117 "android.hardware.sensors@2.0-ScopedWakelock",
|
/hardware/interfaces/sensors/2.0/multihal/ |
D | Android.bp | 42 "android.hardware.sensors@2.0-ScopedWakelock",
|
/hardware/interfaces/sensors/2.1/multihal/ |
D | Android.bp | 42 "android.hardware.sensors@2.0-ScopedWakelock",
|