Home
last modified time | relevance | path

Searched refs:Pin (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/shared/model/
DBouncerMessageStrings.kt22 import com.android.systemui.authentication.shared.model.AuthenticationMethodModel.Pin
43 Pin -> Pair(pinDefaultMessage(fpAuthIsAllowed), 0) in defaultMessage()
56 Pin -> Pair(R.string.kg_wrong_pin_try_again, secondaryMessage) in incorrectSecurityInput()
70 Pin -> Pair(primaryMessage, R.string.kg_bio_try_again_or_pin) in incorrectFingerprintInput()
85 Pin -> Pair(primaryMessage, R.string.kg_bio_try_again_or_pin) in incorrectFaceInput()
98 Pin -> Pair(pinDefaultMessage(true), secondaryMsg) in incorrectFaceInputWithFingerprintAllowed()
108 Pin -> Pair(pinDefaultMessage(false), R.string.kg_prompt_reason_restart_pin) in authRequiredAfterReboot()
120 Pin -> Pair(pinDefaultMessage(false), secondaryMsg) in authRequiredAfterAdminLockdown()
133 Pin -> Pair(pinDefaultMessage(fpAuthIsAllowed), secondaryMsg) in authRequiredAfterAdaptiveAuthRequest()
144 Pin -> Pair(pinDefaultMessage(false), R.string.kg_prompt_after_user_lockdown_pin) in authRequiredAfterUserLockdown()
[all …]
/frameworks/base/core/java/android/security/net/config/
DPin.java24 public final class Pin { class
30 public Pin(String digestAlgorithm, byte[] digest) { in Pin() method in Pin
65 if (!(obj instanceof Pin)) { in equals()
68 Pin other = (Pin) obj; in equals()
DPinSet.java26 new PinSet(Collections.<Pin>emptySet(), Long.MAX_VALUE);
28 public final Set<Pin> pins;
30 public PinSet(Set<Pin> pins, long expirationTime) { in PinSet()
41 for (Pin pin : pins) { in getPinAlgorithms()
DXmlConfigSource.java94 private Pin parsePin(XmlResourceParser parser) in parsePin()
97 if (!Pin.isSupportedDigestAlgorithm(digestAlgorithm)) { in parsePin()
111 int expectedLength = Pin.getDigestLength(digestAlgorithm); in parsePin()
120 return new Pin(digestAlgorithm, decodedDigest); in parsePin()
142 Set<Pin> pins = new ArraySet<>(); in parsePinSet()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/domain/interactor/
DAuthenticationInteractorTest.kt31 import com.android.systemui.authentication.shared.model.AuthenticationMethodModel.Pin in <lambda>()
68 assertThat(authMethod).isEqualTo(Pin) in <lambda>()
69 assertThat(underTest.getAuthenticationMethod()).isEqualTo(Pin) in <lambda>()
92 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
100 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
108 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
117 setAuthenticationMethod(Pin) in <lambda>()
133 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
182 setAuthenticationMethod(Pin) in <lambda>()
203 setAuthenticationMethod(Pin) in <lambda>()
[all …]
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java139 ArraySet<Pin> pins = new ArraySet<Pin>(); in testBadPin()
140 pins.add(new Pin("SHA-256", new byte[0])); in testBadPin()
157 ArraySet<Pin> pins = new ArraySet<Pin>(); in testGoodPin()
158 pins.add(new Pin("SHA-256", GTS_INTERMEDIATE_SPKI_SHA256)); in testGoodPin()
176 ArraySet<Pin> pins = new ArraySet<Pin>(); in testOverridePins()
177 pins.add(new Pin("SHA-256", new byte[0])); in testOverridePins()
243 ArraySet<Pin> pins = new ArraySet<Pin>(); in testWithUrlConnection()
244 pins.add(new Pin("SHA-256", GTS_INTERMEDIATE_SPKI_SHA256)); in testWithUrlConnection()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/shared/model/
DPromptKind.kt35 data object Pin : PromptKind object
48 fun isCredential() = (this is Pin) || (this is Pattern) || (this is Password)
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModelTest.kt33 import com.android.systemui.authentication.shared.model.AuthenticationMethodModel.Pin in <lambda>()
160 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
178 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
184 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
195 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(Pin) in <lambda>()
222 return listOf(None, Pin, Password, Pattern, Sim) in <lambda>()
DPinBouncerViewModelTest.kt77 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
92 assertThat(underTest.authenticationMethod).isEqualTo(AuthenticationMethodModel.Pin) in <lambda>()
332 AuthenticationMethodModel.Pin in <lambda>()
343 AuthenticationMethodModel.Pin in <lambda>()
355 AuthenticationMethodModel.Pin in <lambda>()
370 AuthenticationMethodModel.Pin in <lambda>()
381 AuthenticationMethodModel.Pin in <lambda>()
504 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(AuthenticationMethodModel.Pin) in <lambda>()
DAuthMethodBouncerViewModelTest.kt50 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
60 AuthenticationMethodModel.Pin in <lambda>()
/frameworks/native/libs/binder/rust/src/
Dbinder_async.rs18 use std::pin::Pin;
22 pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DPromptCredentialInteractorTest.kt114 kind = PromptKind.Pin, in <lambda>()
140 kind = PromptKind.Pin, in <lambda>()
169 kind = PromptKind.Pin, in <lambda>()
178 @Test fun usePinCredentialForPrompt() = useCredentialForPrompt(PromptKind.Pin) in <lambda>()
219 PromptKind.Pin -> BiometricPromptRequest.Credential.Pin::class.java in <lambda>()
374 private fun pinRequest(): BiometricPromptRequest.Credential.Pin =
375 BiometricPromptRequest.Credential.Pin(
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/
DSceneContainerStartableTest.kt123 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
179 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
231 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
247 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
268 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
298 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
336 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
392 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
541 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
559 authenticationMethod = AuthenticationMethodModel.Pin, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/domain/interactor/
DAuthenticationInteractor.kt28 import com.android.systemui.authentication.shared.model.AuthenticationMethodModel.Pin in <lambda>()
269 authenticationMethod == Pin && authenticationMethod.isInputTooShort(inputLength) -> in <lambda>()
281 Pin -> inputLength < repository.getPinLength() in <lambda>()
316 is Pin -> LockscreenCredential.createPin(input.joinToString("")) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DPromptCredentialInteractor.kt76 PromptKind.Pin -> in <lambda>()
77 BiometricPromptRequest.Credential.Pin( in <lambda>()
152 is BiometricPromptRequest.Credential.Pin -> in <lambda>()
DCredentialInteractor.kt212 is BiometricPromptRequest.Credential.Pin -> in Context()
228 is BiometricPromptRequest.Credential.Pin -> in Context()
238 is BiometricPromptRequest.Credential.Pin -> in Context()
256 is BiometricPromptRequest.Credential.Pin -> in Context()
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/shared/model/
DAuthenticationMethodModel.kt35 data object Pin : AuthenticationMethodModel(isSecure = true) object in com.android.systemui.authentication.shared.model.AuthenticationMethodModel
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModelTest.kt48 @Test fun setsPinInputFlags() = setsInputFlags(PromptKind.Pin, expectFlags = true) in <lambda>()
65 @Test fun isStealthIgnoredByPin() = isStealthMode(PromptKind.Pin, expectStealth = false) in <lambda>()
169 kind: PromptKind = PromptKind.Pin, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModelTest.kt118 AuthenticationMethodModel.Pin in <lambda>()
132 AuthenticationMethodModel.Pin in <lambda>()
200 AuthenticationMethodModel.Pin in <lambda>()
213 AuthenticationMethodModel.Pin in <lambda>()
225 AuthenticationMethodModel.Pin in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractorTest.kt99 AuthenticationMethodModel.Pin in <lambda>()
132 AuthenticationMethodModel.Pin in <lambda>()
231 AuthenticationMethodModel.Pin in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractor.kt26 import com.android.systemui.authentication.shared.model.AuthenticationMethodModel.Pin in <lambda>()
177 if (authenticationInteractor.getAuthenticationMethod() in setOf(Pin, Password, Pattern)) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryInteractorTest.kt211 AuthenticationMethodModel.Pin in <lambda>()
336 AuthenticationMethodModel.Pin in <lambda>()
392 AuthenticationMethodModel.Pin in <lambda>()
409 AuthenticationMethodModel.Pin in <lambda>()
431 AuthenticationMethodModel.Pin in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DPromptRepositoryImplTest.kt143 val kind = PromptKind.Pin in setsAndUnsetsPrompt_whenRequestIdMatches()
165 val kind = PromptKind.Pin in setsAndUnsetsPrompt_whenRequestIdDoesNotMatch()
/frameworks/base/proto/
DAndroid.bp18 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
/frameworks/opt/telephony/proto/
DAndroid.bp31 // Pin java_version until jarjar is certified to support later versions. http://b/72703434

123