/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModel.kt | 88 val modalities: Flow<BiometricModalities> = in <lambda>() constant 90 .map { it?.modalities ?: BiometricModalities() } in <lambda>() 157 combine(modalities, udfpsOverlayInteractor.udfpsOverlayParams) { modalities, overlayParams in <lambda>() method 159 if (modalities.hasUdfps) { in <lambda>() 167 combine(modalities, udfpsOverlayInteractor.udfpsOverlayParams) { modalities, overlayParams in <lambda>() method 169 if (modalities.hasUdfps) { in <lambda>() 213 val hideSensorIcon: Flow<Boolean> = modalities.map { it.isEmpty }.distinctUntilChanged() in <lambda>() 227 private val isRetrySupported: Flow<Boolean> = modalities.map { it.hasFace } in <lambda>() 236 combine(biometricStatusInteractor.fingerprintAcquiredStatus, modalities) { in <lambda>() 238 modalities -> in <lambda>() method [all …]
|
D | PromptIconViewModel.kt | 64 promptViewModel.modalities.distinctUntilChanged(), in <lambda>() 66 ) { modalities, faceMode -> in <lambda>() method 67 if (modalities.hasFaceAndFingerprint && !faceMode) { in <lambda>() 69 } else if (modalities.hasFaceOnly || faceMode) { in <lambda>() 71 } else if (modalities.hasFingerprintOnly) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricViewBinder.kt | 158 val modalities = viewModel.modalities.first() in <lambda>() constant 160 if (modalities.hasFingerprint) { in <lambda>() 165 val rawResources = viewModel.iconViewModel.getRawAssets(modalities.hasSfps) in <lambda>() 201 adapter.attach(this, modalities, legacyCallback) in <lambda>() 359 isPending && modalities.hasFaceAndFingerprint -> in <lambda>() 535 private var modalities: BiometricModalities = BiometricModalities() variable in com.android.systemui.biometrics.ui.binder.Spaghetti 551 modalities = activeModalities in attach() 570 viewModel.showAuthenticating(modalities.asDefaultHelpMessage(applicationContext)) in onDialogAnimatedIn() 596 if (modalities.hasUdfps) { in getHelpForSuccessfulAuthentication() 599 if (modalities.hasSfps) { in getHelpForSuccessfulAuthentication() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | PromptSelectorInteractor.kt | 90 modalities: BiometricModalities, in <lambda>() 131 modalities = kind.activeModalities, in kind() 160 val modalities: BiometricModalities = in onSwitchToCredential() constant 168 modalities, in onSwitchToCredential() 181 modalities: BiometricModalities, in setPrompt() 215 modalities, in setPrompt() 219 PromptKind.Biometric(modalities) in setPrompt()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | PreAuthInfo.java | 455 @BiometricAuthenticator.Modality int modalities = 0; in getEligibleModalities() local 457 modalities |= sensor.modality; in getEligibleModalities() 461 modalities |= TYPE_CREDENTIAL; in getEligibleModalities() 463 return modalities; in getEligibleModalities()
|
D | AuthService.java | 923 final ArrayList<String> modalities = new ArrayList<>(); in generateRSdkCompatibleConfiguration() local 925 modalities.add(String.valueOf(BiometricAuthenticator.TYPE_FINGERPRINT)); in generateRSdkCompatibleConfiguration() 928 modalities.add(String.valueOf(BiometricAuthenticator.TYPE_FACE)); in generateRSdkCompatibleConfiguration() 931 final String[] configStrings = new String[modalities.size()]; in generateRSdkCompatibleConfiguration() 932 for (int i = 0; i < modalities.size(); ++i) { in generateRSdkCompatibleConfiguration() 934 final String modality = modalities.get(i); in generateRSdkCompatibleConfiguration()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModelTest.kt | 265 val modalities by collectLastValue(viewModel.modalities) in <lambda>() constant 271 with(modalities ?: throw Exception("missing modalities")) { in <lambda>() 1103 if (testCase.modalities.hasSfps) { in <lambda>() 1323 if (testCase.modalities.hasUdfps) { in <lambda>() 1497 if (testCase.modalities.hasUdfps) { in <lambda>() 1522 } else if (testCase.modalities.hasUdfps) { in <lambda>() 1538 if (!isSmall && testCase.modalities.hasUdfps) { in <lambda>() 1554 } else if (testCase.modalities.hasUdfps) { in <lambda>() 1570 if (!isSmall && testCase.modalities.hasUdfps) { in <lambda>() 1581 if (testCase.modalities.hasUdfps) { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | PromptSelectorInteractorImplTest.kt | 118 private val modalities = in <lambda>() constant 176 modalities, in <lambda>() 366 modalities, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/model/ |
D | BiometricPromptRequest.kt | 31 val modalities: BiometricModalities, constant
|
/frameworks/base/core/proto/android/server/ |
D | biometrics.proto | 55 * passive modalities such as Face or Iris should have this state. Note that for passive 56 * modalities, the HAL enters the idle state after onAuthenticated(false) which differs from
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 427 final int[] modalities = new int[] { in testAuthenticate_picksStrongIfAvailable() local 437 setupAuthForMultiple(modalities, strengths); in testAuthenticate_picksStrongIfAvailable() 522 final int[] modalities = new int[] { in testAuthenticateBothFpAndFace_shouldShowDefaultSubtitle() local 532 setupAuthForMultiple(modalities, strengths); in testAuthenticateBothFpAndFace_shouldShowDefaultSubtitle() 1051 final int[] modalities = new int[] { in testMultiBiometricAuth_whenLockout() local 1060 setupAuthForMultiple(modalities, strengths); in testMultiBiometricAuth_whenLockout() 1892 private void setupAuthForMultiple(int[] modalities, int[] strengths) throws RemoteException { in setupAuthForMultiple() argument 1898 assertEquals(modalities.length, strengths.length); in setupAuthForMultiple() 1900 for (int i = 0; i < modalities.length; i++) { in setupAuthForMultiple() 1901 final int modality = modalities[i]; in setupAuthForMultiple()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/model/ |
D | BiometricPromptRequestTest.kt | 71 assertThat(request.modalities) in <lambda>()
|