/frameworks/base/core/tests/coretests/src/android/app/ |
D | KeyguardManagerTest.java | 80 when(mKeyguardManager.isDeviceSecure(USER_ID)).thenReturn(true); in createConfirmDeviceCredentialIntent_deviceSecure() 95 when(mKeyguardManager.isDeviceSecure(USER_ID)).thenReturn(false); in createConfirmDeviceCredentialIntent_deviceNotSecure() 105 when(mKeyguardManager.isDeviceSecure(USER_ID)).thenReturn(true); in createConfirmDeviceCredentialIntent() 159 assertFalse(mKeyguardManager.isDeviceSecure()); in setLock_setInitialLockPermissionGranted_invalidPassword() 173 assertFalse(mKeyguardManager.isDeviceSecure()); in setLock_setInitialLockPermissionDenied() 185 assertFalse(mKeyguardManager.isDeviceSecure()); in setLock_validatesCredential() 188 assertTrue(mKeyguardManager.isDeviceSecure()); in setLock_validatesCredential() 267 assertTrue(mKeyguardManager.isDeviceSecure()); in verifyDeviceLockedAndRemoveLock()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 271 if (!isDeviceSecure()) return null; in createConfirmDeviceCredentialIntent() 293 if (!isDeviceSecure(userId)) return null; in createConfirmDeviceCredentialIntent() 793 public boolean isDeviceSecure() { in isDeviceSecure() method in KeyguardManager 794 return isDeviceSecure(mContext.getUserId(), mContext.getDeviceId()); in isDeviceSecure() 803 public boolean isDeviceSecure(int userId) { in isDeviceSecure() method in KeyguardManager 804 return isDeviceSecure(userId, mContext.getDeviceId()); in isDeviceSecure() 812 public boolean isDeviceSecure(@UserIdInt int userId, int deviceId) { in isDeviceSecure() method in KeyguardManager 814 return mTrustManager.isDeviceSecure(userId, deviceId); in isDeviceSecure() 1026 if (isDeviceSecure(userId)) { in setLock()
|
/frameworks/base/core/java/android/app/trust/ |
D | ITrustManager.aidl | 38 boolean isDeviceSecure(int userId, int deviceId); in isDeviceSecure() method
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManager.java | 452 if (!isDeviceSecure(userId)) { in generateAndLoadKey() 491 private boolean isDeviceSecure(int userId) { in isDeviceSecure() method in PlatformKeyManager 492 return mContext.getSystemService(KeyguardManager.class).isDeviceSecure(userId); in isDeviceSecure()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 324 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential() 345 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testAuthenticate_credentialAllowedAndSetup_callsSystemUI() 691 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testAuthenticate_noBiometrics_credentialAllowed() 761 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testAuthenticate_no_Biometrics_noCredential() 1078 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())).thenReturn(true); in testBiometricOrCredentialAuth_whenBiometricLockout_showsCredential() 1395 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength() 1402 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength() 1415 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testCanAuthenticate_onlyCredentialRequested() 1421 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())) in testCanAuthenticate_onlyCredentialRequested() 1430 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())).thenReturn(true); in testCanAuthenticate_whenNoBiometricsEnrolled() [all …]
|
D | PreAuthInfoTest.java | 79 when(mTrustManager.isDeviceSecure(anyInt(), anyInt())).thenReturn(true); in setup()
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 317 if (isDeviceSecure()) { in onCommand() 339 private boolean isDeviceSecure() { in isDeviceSecure() method in TestHarnessModeService.TestHarnessModeShellCommand 341 return keyguardManager.isDeviceSecure(getMainUserId()); in isDeviceSecure()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | PinStorage.java | 184 mIsDeviceSecure = isDeviceSecure(); in PinStorage() 616 private boolean isDeviceSecure() { in isDeviceSecure() method in PinStorage 618 return keyguardManager != null ? keyguardManager.isDeviceSecure() : false; in isDeviceSecure() 625 ? keyguardManager.isDeviceSecure() && keyguardManager.isDeviceLocked() in isDeviceLocked() 1055 !KEYSTORE_ALIAS_LONG_TERM_ALWAYS.equals(alias) && isDeviceSecure(); in initializeSecretKey()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SetScreenLockDialogActivity.java | 98 if (km.isDeviceSecure()) { in onCreate()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | PinStorageTest.java | 114 when(mKeyguardManager.isDeviceSecure()).thenReturn(false); in setUp() 183 when(mKeyguardManager.isDeviceSecure()).thenReturn(true); in storePin_unattendedReboot_deviceIsLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManagerTest.java | 114 when(mKeyguardManager.isDeviceSecure(USER_ID_FIXTURE)).thenReturn(true); in setUp() 399 when(mKeyguardManager.isDeviceSecure(USER_ID_FIXTURE)).thenReturn(false); in getEncryptKey_noScreenlock()
|
D | RecoverableKeyStoreManagerTest.java | 202 when(mKeyguardManager.isDeviceSecure(TEST_USER_ID)).thenReturn(true); in setUp()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryController.java | 308 return keyguardManager != null && keyguardManager.isDeviceSecure(); in isRecoverableKeyStoreEnabled()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | PreAuthInfo.java | 110 final boolean credentialAvailable = trustManager.isDeviceSecure(userId, in create()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 501 when(mInjector.mKeyguardManagerMock.isDeviceSecure(anyInt())).thenReturn(false); in testContinueUserSwitchDismissKeyguard() 1424 when(mInjector.mKeyguardManagerMock.isDeviceSecure(anyInt())).thenReturn(true); in testStallUserSwitchUntilTheKeyguardIsShown() 1461 when(mInjector.mKeyguardManagerMock.isDeviceSecure(anyInt())).thenReturn(true); in testRuntimeExceptionIsThrownIfTheKeyguardIsNotShown() 1660 when(mKeyguardManagerMock.isDeviceSecure(anyInt())).thenReturn(true); in TestInjector()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 1832 boolean isDeviceSecure = km != null && km.isDeviceSecure(userId); in switchUser() 1833 switchWallpaper(isDeviceSecure ? lockWallpaper : systemWallpaper, reply); in switchUser() 1834 switchWallpaper(isDeviceSecure ? systemWallpaper : lockWallpaper, null); in switchUser()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 708 if (keyguardManager == null || !keyguardManager.isDeviceSecure()) { in prepareForUnattendedUpdate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 2526 if (mInjector.getKeyguardManager().isDeviceSecure(newUserId)) { 3284 return km.isDeviceLocked(userId) && km.isDeviceSecure(userId);
|
D | ActivityManagerShellCommand.java | 2925 kgm.isDeviceSecure()); 2931 pw.print("has-secure-screen-lock: "); pw.println(kgm.isDeviceSecure());
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 1852 public boolean isDeviceSecure(int userId, int deviceId) throws RemoteException {
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 289 .isDeviceSecure(userHandle); in onKeyguardStateChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1775 if (km != null && km.isDeviceSecure(parentUserId)) { in requestQuietModeEnabled() 1778 } else if (km != null && !km.isDeviceSecure(parentUserId) in requestQuietModeEnabled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 1381 && mContext.getSystemService(KeyguardManager.class).isDeviceSecure(mCurrentUserId); in onKeyguardStateChanged()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2030 HSPLandroid/app/KeyguardManager;->isDeviceSecure()Z 2031 HSPLandroid/app/KeyguardManager;->isDeviceSecure(I)Z 3398 HSPLandroid/app/trust/ITrustManager$Stub$Proxy;->isDeviceSecure(II)Z
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2030 HSPLandroid/app/KeyguardManager;->isDeviceSecure()Z 2031 HSPLandroid/app/KeyguardManager;->isDeviceSecure(I)Z 3398 HSPLandroid/app/trust/ITrustManager$Stub$Proxy;->isDeviceSecure(II)Z
|