Home
last modified time | relevance | path

Searched refs:containsFlag (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DAuthenticationFlags.kt24 containsFlag(
30 containsFlag(flag, LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_BOOT)
33 containsFlag(flag, LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_TIMEOUT)
36 containsFlag(flag, LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_LOCKOUT)
39 containsFlag(
45 containsFlag(flag, LockPatternUtils.StrongAuthTracker.SOME_AUTH_REQUIRED_AFTER_USER_REQUEST)
48 containsFlag(
54 containsFlag(
61 containsFlag(
68 containsFlag(
[all …]
/frameworks/base/core/java/android/hardware/biometrics/
DParentalControlsUtilsInternal.java79 final boolean dpmFpDisabled = containsFlag(keyguardDisabledFeatures, in parentConsentRequired()
81 final boolean dpmFaceDisabled = containsFlag(keyguardDisabledFeatures, in parentConsentRequired()
83 final boolean dpmIrisDisabled = containsFlag(keyguardDisabledFeatures, in parentConsentRequired()
87 if (containsFlag(modality, BiometricAuthenticator.TYPE_FINGERPRINT) && dpmFpDisabled) { in parentConsentRequired()
89 } else if (containsFlag(modality, BiometricAuthenticator.TYPE_FACE) && dpmFaceDisabled) { in parentConsentRequired()
91 } else if (containsFlag(modality, BiometricAuthenticator.TYPE_IRIS) && dpmIrisDisabled) { in parentConsentRequired()
106 private static boolean containsFlag(int haystack, int needle) { in containsFlag() method in ParentalControlsUtilsInternal
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardBiometricLockoutLogger.kt112 ) = containsFlag(flags, STRONG_AUTH_REQUIRED_FOR_UNATTENDED_UPDATE) in isUnattendedUpdate()
116 ) = containsFlag(flags, STRONG_AUTH_REQUIRED_AFTER_TIMEOUT) || in isUnattendedUpdate()
117 containsFlag(flags, STRONG_AUTH_REQUIRED_AFTER_NON_STRONG_BIOMETRICS_TIMEOUT) in isUnattendedUpdate()
168 private fun containsFlag(strongAuthFlags: Int, flagCheck: Int): Boolean { in containsFlag() method
DKeyguardUpdateMonitor.java1564 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isUserInLockdown()
1575 containsFlag(strongAuth, STRONG_AUTH_REQUIRED_AFTER_DPM_LOCK_NOW) in isEncryptedOrLockdown()
1576 || containsFlag(strongAuth, STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN); in isEncryptedOrLockdown()
1577 final boolean isEncrypted = containsFlag(strongAuth, STRONG_AUTH_REQUIRED_AFTER_BOOT); in isEncryptedOrLockdown()
1586 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isDeviceLockedByAdaptiveAuth()
1590 private boolean containsFlag(int haystack, int needle) { in containsFlag() method in KeyguardUpdateMonitor
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java511 private static boolean containsFlag(int haystack, int needle) { in containsFlag() method in Utils
517 final boolean isEncrypted = containsFlag(strongAuth, STRONG_AUTH_REQUIRED_AFTER_BOOT); in isUserEncryptedOrLockdown()
518 final boolean isLockDown = containsFlag(strongAuth, STRONG_AUTH_REQUIRED_AFTER_DPM_LOCK_NOW) in isUserEncryptedOrLockdown()
519 || containsFlag(strongAuth, STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN); in isUserEncryptedOrLockdown()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStrongAuthTest.java251 assertTrue(containsFlag(flags, reason)); in verifyStrongAuthFlags()
276 private static boolean containsFlag(int haystack, int needle) { in containsFlag() method in LockSettingsStrongAuthTest
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java209 containsFlag(PackageManager.MATCH_DEFAULT_ONLY), any()); in getResolversForIntent_shouldGetOnlyDefaultActivitiesTrue_addsFlag()
263 private int containsFlag(int flag) { in containsFlag() method in ResolverListControllerTest
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2216 private boolean containsFlag(int haystack, int needle) { in containsFlag() method in NotificationManagerService.StrongAuthTracker
2228 boolean userInLockDownModeNext = containsFlag(getStrongAuthForUser(userId), in onStrongAuthRequiredChanged()
/frameworks/base/services/
Dart-wear-profile16040 PLcom/android/server/notification/NotificationManagerService$StrongAuthTracker;->containsFlag(II)Z