Home
last modified time | relevance | path

Searched refs:mAcquired (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DWakeLockFake.java25 private int mAcquired = 0; field in WakeLockFake
29 mAcquired++; in acquire()
34 Preconditions.checkState(mAcquired > 0); in release()
35 mAcquired--; in release()
51 return mAcquired > 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DSettableWakeLock.java26 private boolean mAcquired; field in SettableWakeLock
36 return mAcquired; in isAcquired()
40 if (mAcquired != acquired) { in setAcquired()
46 mAcquired = acquired; in setAcquired()
/frameworks/base/core/java/android/os/
DTokenWatcher.java97 if (oldSize == 0 && !mAcquired) { in acquire()
99 mAcquired = true; in acquire()
113 if (mTokens.size() == 0 && mAcquired) { in cleanup()
115 mAcquired = false; in cleanup()
128 return mAcquired; in isAcquired()
228 private volatile boolean mAcquired = false; field in TokenWatcher
/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp27 mManager{manager}, mAutoLock{manager->mMutex}, mAcquired(false) {} in AutoConditionLock()
32 if (mAcquired) { in ~AutoConditionLock()
64 scopedLock->mAcquired = true; in waitAndAcquire()
90 scopedLock->mAcquired = true; in waitAndAcquire()
DAutoConditionLock.h95 bool mAcquired; variable