Searched refs:mRefCounter (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/ |
D | ScopedWakelock_test.cpp | 46 return ScopedWakelock(&mRefCounter, locked); in createScopedWakelock() 49 RefCounter mRefCounter; member in android::hardware::sensors::V2_0::implementation::ScopedWakelockTest 85 EXPECT_EQ(mRefCounter.incCount, 1); in TEST_F() 86 EXPECT_EQ(mRefCounter.decCount, 1); in TEST_F() 92 EXPECT_EQ(mRefCounter.incCount, 0); in TEST_F() 93 EXPECT_EQ(mRefCounter.decCount, 0); in TEST_F() 102 EXPECT_EQ(mRefCounter.incCount, 1); in TEST_F() 103 EXPECT_EQ(mRefCounter.decCount, 1); in TEST_F()
|
/hardware/interfaces/sensors/common/default/2.X/multihal/ |
D | ScopedWakelock.cpp | 36 mRefCounter = other.mRefCounter; in operator =() 40 other.mRefCounter = nullptr; in operator =() 47 : mRefCounter(refCounter), mLocked(locked) { in ScopedWakelock() 49 mLocked = mRefCounter->incrementRefCountAndMaybeAcquireWakelock(1, &mCreatedAtTimeNs); in ScopedWakelock() 55 mRefCounter->decrementRefCountAndMaybeReleaseWakelock(1, mCreatedAtTimeNs); in ~ScopedWakelock()
|
D | HalProxyCallback.cpp | 61 ScopedWakelock wakelock(mRefCounter, lock); in createScopedWakelock()
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/ |
D | HalProxyCallback.h | 86 : mCallback(callback), mRefCounter(refCounter), mSubHalIndex(subHalIndex) {} in HalProxyCallbackBase() 95 V2_0::implementation::IScopedWakelockRefCounter* mRefCounter; variable
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_0/ |
D | ScopedWakelock.h | 93 IScopedWakelockRefCounter* mRefCounter; variable
|