/frameworks/base/tests/TrustTests/src/android/trust/test/lib/ |
D | LockStateTrackingRule.kt | 41 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/ |
D | MutexUtils.h | 40 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/ |
D | MediaLogService.cpp | 87 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/ |
D | RotationLockControllerImpl.java | 96 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()
|
D | RotationLockController.java | 27 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/ |
D | Camera2Focuser.java | 137 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/ |
D | CameraSettings.java | 165 /*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/ |
D | FakeRotationLockController.java | 49 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/ |
D | Authorization.java | 82 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/ |
D | OneHanded.java | 54 void setLockedDisabled(boolean locked, boolean enabled); in setLockedDisabled() argument
|
D | OneHandedController.java | 612 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/ |
D | ITrustManager.aidl | 36 void setDeviceLockedForUser(int userId, boolean locked); in setDeviceLockedForUser() argument
|
D | TrustManager.java | 69 public void setDeviceLockedForUser(int userId, boolean locked) { in setDeviceLockedForUser() argument 71 mService.setDeviceLockedForUser(userId, locked); in setDeviceLockedForUser()
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.cpp | 155 const bool locked = dumpTryLock(mLock); in dump() local 156 if (!locked) { in dump() 171 if (locked) { in dump()
|
/frameworks/native/cmds/flatland/ |
D | README.txt | 20 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/ |
D | OemLockService.java | 218 String locked = SystemProperties.get(FLASH_LOCK_PROP); 219 switch (locked) {
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | GlobalActionsPanelPlugin.java | 102 void onDeviceLockStateChanged(boolean locked); in onDeviceLockStateChanged() argument
|
/frameworks/base/packages/SystemUI/docs/ |
D | camera.md | 11 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/ |
D | AutoFocusStateMachine.java | 44 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/ |
D | BaseUserSwitcherAdapterTest.kt | 103 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/ |
D | MetaKeyKeyListener.java | 564 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/ |
D | AudioResamplerDyn.cpp | 535 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/ |
D | PlatLogoActivity.java | 115 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/ |
D | CameraGestureHelperTest.kt | 180 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/ |
D | TrustManagerService.java | 943 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) {
|