Home
last modified time | relevance | path

Searched refs:remainingAttempts (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModelTest.kt118 val remainingAttempts = mutableListOf<RemainingAttempts?>() in <lambda>() constant
122 launch { viewModel.remainingAttempts.toList(remainingAttempts) } in <lambda>()
132 assertThat(remainingAttempts).containsExactly(RemainingAttempts()) in <lambda>()
146 val remainingAttempts = mutableListOf<RemainingAttempts?>() in <lambda>() constant
150 launch { viewModel.remainingAttempts.toList(remainingAttempts) } in <lambda>()
159 val attemptInfo = remainingAttempts.removeLastOrNull() in <lambda>()
163 assertThat(remainingAttempts).containsExactly(RemainingAttempts()) // initial value in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSimResponse.java87 public void changeIccPin2ForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in changeIccPin2ForAppResponse() argument
88 RadioResponse.responseInts(HAL_SERVICE_SIM, mRil, responseInfo, remainingAttempts); in changeIccPin2ForAppResponse()
95 public void changeIccPinForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in changeIccPinForAppResponse() argument
96 RadioResponse.responseInts(HAL_SERVICE_SIM, mRil, responseInfo, remainingAttempts); in changeIccPinForAppResponse()
402 public void supplyIccPin2ForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in supplyIccPin2ForAppResponse() argument
403 RadioResponse.responseInts(HAL_SERVICE_SIM, mRil, responseInfo, remainingAttempts); in supplyIccPin2ForAppResponse()
410 public void supplyIccPinForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in supplyIccPinForAppResponse() argument
411 RadioResponse.responseInts(HAL_SERVICE_SIM, mRil, responseInfo, remainingAttempts); in supplyIccPinForAppResponse()
418 public void supplyIccPuk2ForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in supplyIccPuk2ForAppResponse() argument
419 RadioResponse.responseInts(HAL_SERVICE_SIM, mRil, responseInfo, remainingAttempts); in supplyIccPuk2ForAppResponse()
[all …]
DRadioResponse.java138 public void supplyIccPinForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in supplyIccPinForAppResponse() argument
139 responseInts(responseInfo, remainingAttempts); in supplyIccPinForAppResponse()
146 public void supplyIccPukForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in supplyIccPukForAppResponse() argument
147 responseInts(responseInfo, remainingAttempts); in supplyIccPukForAppResponse()
154 public void supplyIccPin2ForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in supplyIccPin2ForAppResponse() argument
155 responseInts(responseInfo, remainingAttempts); in supplyIccPin2ForAppResponse()
162 public void supplyIccPuk2ForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in supplyIccPuk2ForAppResponse() argument
163 responseInts(responseInfo, remainingAttempts); in supplyIccPuk2ForAppResponse()
170 public void changeIccPinForAppResponse(RadioResponseInfo responseInfo, int remainingAttempts) { in changeIccPinForAppResponse() argument
171 responseInts(responseInfo, remainingAttempts); in changeIccPinForAppResponse()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DCredentialInteractor.kt126 val remainingAttempts = (maxAttempts - numAttempts).coerceAtLeast(0) in isStealthModeActive() constant
134 remainingAttempts, in isStealthModeActive()
135 fetchFinalAttemptMessageOrNull(request, remainingAttempts) in isStealthModeActive()
145 remainingAttempts: Int?, in isStealthModeActive()
147 if (remainingAttempts != null && remainingAttempts <= 1) { in isStealthModeActive()
155 remainingAttempts in isStealthModeActive()
DCredentialStatus.kt17 val remainingAttempts: Int? = null, constant in com.android.systemui.biometrics.domain.interactor.CredentialStatus.Fail.Error
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DPromptCredentialInteractorTest.kt263 val remainingAttempts = 12 in <lambda>() constant
265 flowOf(error(errorMessage, remainingAttempts)) in <lambda>()
277 assertThat(checked!!.remainingAttempts).isEqualTo(remainingAttempts) in <lambda>()
317 val remainingAttempts = 3 in <lambda>() constant
326 emit(error(error, remainingAttempts, urgentMessage)) in <lambda>()
338 assertThat(checked!!.remainingAttempts).isEqualTo(remainingAttempts) in <lambda>()
DCredentialInteractorImplTest.kt149 assertThat(failedResult!!.remainingAttempts) in pinCredentialWhenGood()
185 assertThat(result!!.remainingAttempts).isEqualTo(1) in <lambda>()
207 assertThat(result!!.remainingAttempts).isEqualTo(0) in <lambda>()
/frameworks/base/core/java/android/app/
DRemoteLockscreenValidationSession.java90 public @NonNull Builder setRemainingAttempts(int remainingAttempts) { in setRemainingAttempts() argument
91 mInstance.mRemainingAttempts = remainingAttempts; in setRemainingAttempts()
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/shared/model/
DAuthenticationWipeModel.kt38 val remainingAttempts: Int, constant in com.android.systemui.authentication.shared.model.AuthenticationWipeModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModel.kt99 val remainingAttempts: Flow<RemainingAttempts> = _remainingAttempts.asStateFlow() in <lambda>() constant in com.android.systemui.biometrics.ui.viewmodel.CredentialViewModel
141 RemainingAttempts(result.remainingAttempts, result.urgentMessage ?: "") in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt322 remainingAttempts, in <lambda>()
330 remainingAttempts, in <lambda>()
357 get() = if (remainingAttempts > 0) getAlmostAtWipeMessage() else getWipeMessage() in <lambda>()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaApi.java254 int remainingAttempts, in respondToEapAkaChallenge() argument
292 if (remainingAttempts > 0) { in respondToEapAkaChallenge()
297 remainingAttempts - 1, in respondToEapAkaChallenge()
323 if (remainingAttempts > 0) { in respondToEapAkaChallenge()
328 remainingAttempts - 1, in respondToEapAkaChallenge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DCredentialViewBinder.kt137 viewModel.remainingAttempts in <lambda>()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java1031 int remainingAttempts = Math.max(INVALID_REMOTE_GUESS_LIMIT - badGuesses, 0); in startRemoteLockscreenValidation() local
1035 .setRemainingAttempts(remainingAttempts) in startRemoteLockscreenValidation()
1051 int remainingAttempts = INVALID_REMOTE_GUESS_LIMIT - badGuesses; in validateRemoteLockscreen() local
1052 if (remainingAttempts <= 0) { in validateRemoteLockscreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/domain/interactor/
DAuthenticationInteractor.kt185 remainingAttempts = remainingAttemptsBeforeWipe, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/domain/interactor/
DAuthenticationInteractorTest.kt458 remainingAttempts = remainingFailedAttempts in <lambda>()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp785 int32_t remainingAttempts = kMaxCreateAttempts; in createRecord_l() local
854 if (status != FAILED_TRANSACTION || --remainingAttempts <= 0) { in createRecord_l()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java5417 final int remainingAttempts, final long delayMs) {
5419 if (remainingAttempts <= 0 || js.isConstraintsSatisfied()) {
5425 handler, js, latch, remainingAttempts - 1, delayMs),