Home
last modified time | relevance | path

Searched refs:PromptInfo (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DUtilsTest.java29 import android.hardware.biometrics.PromptInfo;
45 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
59 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
71 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andNoKeyAuthenticators()
83 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andNoKeyAuthenticators()
105 PromptInfo promptInfo = new PromptInfo(); in testIsDeviceCredentialAllowed_withBundle()
130 PromptInfo promptInfo = new PromptInfo(); in testGetBiometricStrength_removeUnrelatedBits()
139 PromptInfo promptInfo = new PromptInfo(); in testIsBiometricAllowed()
DPreAuthInfoTest.java37 import android.hardware.biometrics.PromptInfo;
101 PromptInfo promptInfo = new PromptInfo(); in testFaceAuthentication_whenCameraPrivacyIsEnabled()
117 PromptInfo promptInfo = new PromptInfo(); in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable()
134 PromptInfo promptInfo = new PromptInfo(); in testFaceAuthentication_whenCameraIsUnavailable()
154 PromptInfo promptInfo = new PromptInfo(); in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled()
174 PromptInfo promptInfo = new PromptInfo(); in testFingerprintAuthentication_whenCameraIsUnavailable()
DAuthServiceTest.java51 import android.hardware.biometrics.PromptInfo;
258 final PromptInfo promptInfo = new PromptInfo(); in testAuthenticate_appOpsOk_callsBiometricServiceAuthenticate()
287 final PromptInfo promptInfo = new PromptInfo(); in testAuthenticate_appOpsDenied_doesNotCallBiometricService()
314 final PromptInfo promptInfo = new PromptInfo(); in testAuthenticate_missingRequiredParam()
344 new PromptInfo()); in testAuthenticate_noVdmInternalService_noCrash()
362 new PromptInfo()); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()
372 final PromptInfo promptInfo = mock(PromptInfo.class); in testAuthenticate_throwsWhenUsingTestApis()
381 final PromptInfo promptInfo = mock(PromptInfo.class); in testAuthenticate_throwsWhenUsingPrivateApis()
390 final PromptInfo promptInfo = mock(PromptInfo.class); in testAuthenticate_throwsWhenUsingAdvancedApis()
396 private void testAuthenticate_throwsSecurityException(PromptInfo promptInfo) { in testAuthenticate_throwsSecurityException()
DBiometricServiceTest.java72 import android.hardware.biometrics.PromptInfo;
870 any(PromptInfo.class), in testErrorHalTimeout_whenAuthenticating_entersPausedState()
1111 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
1125 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
1137 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andNoKeyAuthenticators()
1149 final PromptInfo promptInfo = new PromptInfo(); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andNoKeyAuthenticators()
1993 private static PromptInfo createTestPromptInfo( in createTestPromptInfo()
1999 final PromptInfo promptInfo = new PromptInfo(); in createTestPromptInfo()
DAuthSessionTest.java64 import android.hardware.biometrics.PromptInfo;
838 PromptInfo promptInfo, boolean checkDevicePolicyManager) throws RemoteException { in createPreAuthInfo()
855 final PromptInfo promptInfo = createPromptInfo(authenticators); in createAuthSession()
866 private PromptInfo createPromptInfo(@Authenticators.Types int authenticators) { in createPromptInfo()
867 PromptInfo promptInfo = new PromptInfo(); in createPromptInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/model/
DBiometricPromptRequest.kt6 import android.hardware.biometrics.PromptInfo
28 info: PromptInfo,
53 info: PromptInfo,
69 info: PromptInfo,
76 info: PromptInfo,
83 info: PromptInfo,
/frameworks/base/core/java/android/hardware/biometrics/
DPromptInfo.java34 public class PromptInfo implements Parcelable { class
62 public PromptInfo() { in PromptInfo() method in PromptInfo
66 PromptInfo(Parcel in) { in PromptInfo() method in PromptInfo
96 public static final Creator<PromptInfo> CREATOR = new Creator<PromptInfo>() {
98 public PromptInfo createFromParcel(Parcel in) {
99 return new PromptInfo(in);
103 public PromptInfo[] newArray(int size) {
104 return new PromptInfo[size];
DIAuthService.aidl25 import android.hardware.biometrics.PromptInfo;
52 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate()
DIBiometricService.aidl25 import android.hardware.biometrics.PromptInfo;
46 IBiometricServiceReceiver receiver, String opPackageName, in PromptInfo promptInfo); in authenticate()
DPromptInfo.aidl18 parcelable PromptInfo;
DBiometricPrompt.java168 private PromptInfo mPromptInfo;
180 mPromptInfo = new PromptInfo(); in Builder()
711 private final PromptInfo mPromptInfo;
825 private BiometricPrompt(Context context, PromptInfo promptInfo, ButtonInfo negativeButtonInfo, in BiometricPrompt()
1499 final PromptInfo promptInfo; in authenticateInternal()
1508 promptInfo = new PromptInfo(parcel); in authenticateInternal()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakePromptRepository.kt3 import android.hardware.biometrics.PromptInfo
14 private val _promptInfo = MutableStateFlow<PromptInfo?>(null)
36 promptInfo: PromptInfo, in setPrompt()
54 promptInfo: PromptInfo, in setPrompt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DPromptRepository.kt19 import android.hardware.biometrics.PromptInfo in <lambda>()
48 val promptInfo: StateFlow<PromptInfo?> in <lambda>()
74 promptInfo: PromptInfo, in <lambda>()
108 private val _promptInfo: MutableStateFlow<PromptInfo?> = MutableStateFlow(null)
141 promptInfo: PromptInfo, in appRequiresConfirmation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DPromptRepositoryImplTest.kt19 import android.hardware.biometrics.PromptInfo
108 PromptInfo().apply { isConfirmationRequested = case }, in isConfirmationRequired_whenNotForced()
128 PromptInfo().apply { isConfirmationRequested = case }, in isConfirmationRequired_whenForced()
144 val promptInfo = PromptInfo() in setsAndUnsetsPrompt_whenRequestIdMatches()
166 val promptInfo = PromptInfo() in setsAndUnsetsPrompt_whenRequestIdDoesNotMatch()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DBiometricTestExtensions.kt23 import android.hardware.biometrics.PromptInfo in <lambda>()
132 ): PromptInfo { in promptInfo()
133 val info = PromptInfo() in promptInfo()
DAuthControllerTest.java58 import android.hardware.biometrics.PromptInfo;
969 PromptInfo promptInfo = createTestPromptInfo(); in testShowDialog_whenOwnerNotInForeground()
1008 private PromptInfo createTestPromptInfo() { in createTestPromptInfo()
1009 PromptInfo promptInfo = new PromptInfo(); in createTestPromptInfo()
1070 protected AuthDialog buildDialog(DelayableExecutor bgExecutor, PromptInfo promptInfo, in buildDialog()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUtils.kt34 import android.hardware.biometrics.PromptInfo
84 fun isDeviceCredentialAllowed(promptInfo: PromptInfo): Boolean = in isDeviceCredentialAllowed()
88 fun isBiometricAllowed(promptInfo: PromptInfo): Boolean = in isDeviceCredentialAllowed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DPromptCredentialInteractorTest.kt4 import android.hardware.biometrics.PromptInfo in <lambda>()
109 PromptInfo().also { in <lambda>()
134 PromptInfo().also { in <lambda>()
163 PromptInfo().also { in <lambda>()
197 PromptInfo().also { in <lambda>()
351 promptInfo: PromptInfo, in <lambda>()
DPromptSelectorInteractorImplTest.kt23 import android.hardware.biometrics.PromptInfo in <lambda>()
108 PromptInfo().apply { in <lambda>()
359 info: PromptInfo = basicPromptInfo(), in <lambda>()
383 PromptInfo().apply { in <lambda>()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java52 import android.hardware.biometrics.PromptInfo;
115 static void combineAuthenticatorBundles(PromptInfo promptInfo) { in combineAuthenticatorBundles()
147 static boolean isCredentialRequested(PromptInfo promptInfo) { in isCredentialRequested()
169 static int getPublicBiometricStrength(PromptInfo promptInfo) { in getPublicBiometricStrength()
190 static boolean isBiometricRequested(PromptInfo promptInfo) { in isBiometricRequested()
226 static boolean isValidAuthenticatorConfig(PromptInfo promptInfo) { in isValidAuthenticatorConfig()
DAuthSession.java53 import android.hardware.biometrics.PromptInfo;
124 @VisibleForTesting final PromptInfo mPromptInfo;
174 @NonNull PromptInfo promptInfo, in AuthSession()
199 @NonNull PromptInfo promptInfo, in AuthSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DPromptSelectorInteractor.kt20 import android.hardware.biometrics.PromptInfo in <lambda>()
87 promptInfo: PromptInfo, in <lambda>()
178 promptInfo: PromptInfo, in setPrompt()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl25 import android.hardware.biometrics.PromptInfo;
182 void showAuthenticationDialog(in PromptInfo promptInfo, IBiometricSysuiReceiver sysuiReceiver, in showAuthenticationDialog()
DIStatusBarService.aidl25 import android.hardware.biometrics.PromptInfo;
124 void showAuthenticationDialog(in PromptInfo promptInfo, IBiometricSysuiReceiver sysuiReceiver, in showAuthenticationDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java33 import android.hardware.biometrics.PromptInfo;
476 PromptInfo promptInfo = new PromptInfo(); in testShowAuthenticationDialog()

12