Home
last modified time | relevance | path

Searched refs:isAcquired (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DSettableWakeLockTest.java50 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_true_acquires()
58 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_false_releases()
68 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_true_multipleTimes_isIdempotent()
77 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_false_multipleTimes_idempotent()
87 assertEquals(mFake.isHeld(), mSettable.isAcquired()); in setAcquire_false_multipleTimes_idempotent_again()
/frameworks/base/services/core/java/com/android/server/utils/
DUserTokenWatcher.java98 public boolean isAcquired(@UserIdInt int userId) { in isAcquired() method in UserTokenWatcher
101 return watcher != null && watcher.isAcquired(); in isAcquired()
113 if (watcher.isAcquired()) { in dump()
160 if (watcher != null && !watcher.isAcquired()) { in released()
/frameworks/native/libs/gui/include/gui/
DBufferSlot.h88 return !isAcquired() && !isDequeued() && !isQueued(); in isFree()
99 inline bool isAcquired() const { in isAcquired() function
/frameworks/native/libs/gui/
DBufferSlot.cpp32 if (isAcquired()) { in string()
DBufferQueueConsumer.cpp69 if (mSlots[s].mBufferState.isAcquired()) { in acquireBuffer()
306 } else if (!mSlots[slot].mBufferState.isAcquired()) { in detachBuffer()
344 if (mSlots[s].mBufferState.isAcquired()) { in attachBuffer()
438 if (!mSlots[slot].mBufferState.isAcquired()) { in releaseBuffer()
645 if (mSlots[slot].mBufferState.isAcquired()) { in setMaxAcquiredBufferCount()
DBufferQueueCore.cpp149 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, in dumpState()
DBufferQueueProducer.cpp267 if (mSlots[s].mBufferState.isAcquired()) { in waitForFreeSlotThenRelock()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java580 final boolean[] isAcquired = new boolean[1]; in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
583 isAcquired[0] = false; in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
590 isAcquired[0] = true; in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
602 assertTrue(isAcquired[0]); in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
611 assertFalse(isAcquired[0]); in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
616 assertTrue(isAcquired[0]); in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java105 final boolean shouldBeDisabled = allowedFromApps && mAppTokenWatcher.isAcquired(userId) in shouldKeyguardBeEnabled()
106 || allowedFromSystem && mSystemTokenWatcher.isAcquired(userId); in shouldKeyguardBeEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DSettableWakeLock.java35 public synchronized boolean isAcquired() { in isAcquired() method in SettableWakeLock
/frameworks/native/opengl/libagl/
DTokenManager.cpp57 return mTokenizer.isAcquired(token); in isTokenValid()
DTokenizer.h39 bool isAcquired(uint32_t token) const;
DTokenizer.cpp55 bool Tokenizer::isAcquired(uint32_t token) const in isAcquired() function in android::Tokenizer
/frameworks/base/core/java/android/os/
DTokenWatcher.java125 public boolean isAcquired() in isAcquired() method in TokenWatcher
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp130 bool isAcquired() const { in isAcquired() function
1100 if (buffer->isAcquired()) { in discardBufferAtSlotIndex_l()
/frameworks/base/services/
Dart-profile14083 HSPLcom/android/server/utils/UserTokenWatcher;->isAcquired(I)Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22346 method public boolean isAcquired();
/frameworks/base/non-updatable-api/
Dcurrent.txt35539 method public boolean isAcquired();
/frameworks/base/api/
Dcurrent.txt35683 method public boolean isAcquired();