Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/tests/TrustTests/src/android/trust/test/lib/
DLockStateTrackingRule.kt41 lockState = LockState(locked = windowManager.isKeyguardLocked) in apply()
55 wait("un-locked per TrustListener") { lockState.locked == true } in assertLocked()
60 wait("locked per TrustListener") { lockState.locked == false } in assertUnlocked()
72 lockState = lockState.copy(locked = !enabled) in onTrustChanged()
83 val locked: Boolean? = null constant in android.trust.test.lib.LockStateTrackingRule.LockState
/frameworks/native/services/surfaceflinger/
DMutexUtils.h40 ALOGE_IF(!locked(), "%s timed out locking: %s (%d)", whence, strerror(-status), status); in TimedLock()
44 if (locked()) mutex.unlock(); in RELEASE()
47 bool locked() const { return status == NO_ERROR; } in locked() function
/frameworks/av/services/medialog/
DMediaLogService.cpp87 bool locked = false; in dumpTryLock() local
90 locked = true; in dumpTryLock()
95 return locked; in dumpTryLock()
112 bool locked = dumpTryLock(mLock); in dump() local
115 if (!locked) { in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRotationLockControllerImpl.java96 public void setRotationLocked(boolean locked) { in setRotationLocked() argument
97 mRotationPolicy.setRotationLock(locked); in setRotationLocked()
100 public void setRotationLockedAtAngle(boolean locked, int rotation) { in setRotationLockedAtAngle() argument
101 mRotationPolicy.setRotationLockAtAngle(locked, rotation); in setRotationLockedAtAngle()
DRotationLockController.java27 void setRotationLocked(boolean locked); in setRotationLocked() argument
28 void setRotationLockedAtAngle(boolean locked, int rotation); in setRotationLockedAtAngle() argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java137 public synchronized void onAutoFocusSuccess(CaptureResult result, boolean locked) { in onAutoFocusSuccess() argument
139 mLocked = locked; in onAutoFocusSuccess()
141 if (locked) { in onAutoFocusSuccess()
147 public synchronized void onAutoFocusFail(CaptureResult result, boolean locked) { in onAutoFocusFail() argument
149 mLocked = locked; in onAutoFocusFail()
151 if (locked) { in onAutoFocusFail()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraSettings.java165 /*package*/ void setSizesLocked(boolean locked) { in setSizesLocked() argument
166 mSizesLocked = locked; in setSizesLocked()
353 public void setAutoExposureLock(boolean locked) { in setAutoExposureLock() argument
354 mAutoExposureLocked = locked; in setAutoExposureLock()
436 public void setAutoWhiteBalanceLock(boolean locked) { in setAutoWhiteBalanceLock() argument
437 mAutoWhiteBalanceLocked = locked; in setAutoWhiteBalanceLock()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeRotationLockController.java49 public void setRotationLocked(boolean locked) { in setRotationLocked() argument
59 public void setRotationLockedAtAngle(boolean locked, int rotation) { in setRotationLockedAtAngle() argument
/frameworks/base/keystore/java/android/security/
DAuthorization.java82 public static int onLockScreenEvent(@NonNull boolean locked, @NonNull int userId, in onLockScreenEvent() argument
85 if (locked) { in onLockScreenEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHanded.java54 void setLockedDisabled(boolean locked, boolean enabled); in setLockedDisabled() argument
DOneHandedController.java612 void setLockedDisabled(boolean locked, boolean enabled) {
619 mLockedDisabled = locked && !enabled;
742 public void setLockedDisabled(boolean locked, boolean enabled) {
744 OneHandedController.this.setLockedDisabled(locked, enabled);
/frameworks/base/core/java/android/app/trust/
DITrustManager.aidl36 void setDeviceLockedForUser(int userId, boolean locked); in setDeviceLockedForUser() argument
DTrustManager.java69 public void setDeviceLockedForUser(int userId, boolean locked) { in setDeviceLockedForUser() argument
71 mService.setDeviceLockedForUser(userId, locked); in setDeviceLockedForUser()
/frameworks/av/services/audioflinger/
DDeviceEffectManager.cpp155 const bool locked = dumpTryLock(mLock); in dump() local
156 if (!locked) { in dump()
171 if (locked) { in dump()
/frameworks/native/cmds/flatland/
DREADME.txt20 Additionally, all relevant hardware clocks should be locked at a particular
26 If running the benchmark with the clocks locked causes thermal issues, the -s
73 locked and that no heavy-weight services / daemons are running in the
/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java218 String locked = SystemProperties.get(FLASH_LOCK_PROP);
219 switch (locked) {
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DGlobalActionsPanelPlugin.java102 void onDeviceLockStateChanged(boolean locked); in onDeviceLockStateChanged() argument
/frameworks/base/packages/SystemUI/docs/
Dcamera.md11 3. whether the device is locked (defined as "keyguard is showing").
21 * If the keyguard is showing (device is locked)
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
DAutoFocusStateMachine.java44 void onAutoFocusSuccess(CaptureResult result, boolean locked); in onAutoFocusSuccess() argument
51 void onAutoFocusFail(CaptureResult result, boolean locked); in onAutoFocusFail() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBaseUserSwitcherAdapterTest.kt103 fun `count - ignores restricted users when device is locked`() { in <lambda>()
134 fun `count - does not ignore restricted users when device is not locked`() { in <lambda>()
/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java564 long locked, long pressed, long released, long used) { in press() argument
568 state = (state &~ mask) | what | locked; in press()
571 } else if ((state & locked) != 0) { in press()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp535 int locked = (mPhaseIncrement << (sizeof(mPhaseIncrement)*8 - c.mShift)) == 0; in setSampleRate() local
536 if (locked) { in setSampleRate()
561 if (locked) { in setSampleRate()
620 mChannelCount, locked ? "locked" : "interpolated", in setSampleRate()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java115 private void launchNextStage(boolean locked) { in launchNextStage() argument
144 Log.v(TAG, "Saving egg unlock=" + locked); in launchNextStage()
148 locked ? 0 : System.currentTimeMillis()); in launchNextStage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/
DCameraGestureHelperTest.kt180 fun `canCameraGestureBeLaunched - state is shade-locked - returns true`() { in canCameraGestureBeLaunched - state is shade-locked - returns true()
192 fun `canCameraGestureBeLaunched - state is shade-locked - camera activity on top - true`() { in canCameraGestureBeLaunched - state is shade-locked - camera activity on top - true()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java943 private void setDeviceLockedForUser(@UserIdInt int userId, boolean locked) { in setDeviceLockedForUser() argument
946 changed = isDeviceLockedInner(userId) != locked; in setDeviceLockedForUser()
947 mDeviceLockedForUser.put(userId, locked); in setDeviceLockedForUser()
950 dispatchDeviceLocked(userId, locked); in setDeviceLockedForUser()
951 Authorization.onLockScreenEvent(locked, userId, null, in setDeviceLockedForUser()
957 Authorization.onLockScreenEvent(locked, profileHandle, null, in setDeviceLockedForUser()
1729 public void setDeviceLockedForUser(int userId, boolean locked) {
1736 mDeviceLockedForUser.put(userId, locked);
1739 Authorization.onLockScreenEvent(locked, userId, null,
1742 if (locked) {

123