Home
last modified time | relevance | path

Searched refs:EnrollmentRequest (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/model/
DEnrollmentRequestTest.kt36 Truth.assertThat(EnrollmentRequest(Intent(), context, true).isSuw).isFalse() in testIsSuw()
37 Truth.assertThat(EnrollmentRequest(Intent(), context, false).isSuw).isFalse() in testIsSuw()
40 Truth.assertThat(EnrollmentRequest(trueIntent, context, true).isSuw).isTrue() in testIsSuw()
41 Truth.assertThat(EnrollmentRequest(trueIntent, context, false).isSuw).isFalse() in testIsSuw()
44 Truth.assertThat(EnrollmentRequest(falseIntent, context, true).isSuw).isFalse() in testIsSuw()
45 Truth.assertThat(EnrollmentRequest(falseIntent, context, false).isSuw).isFalse() in testIsSuw()
52 EnrollmentRequest(Intent(), context, true) in testIsAfterSuwOrSuwSuggestedAction()
56 EnrollmentRequest(Intent(), context, false) in testIsAfterSuwOrSuwSuggestedAction()
62 EnrollmentRequest(deferredTrueIntent, context, true) in testIsAfterSuwOrSuwSuggestedAction()
66 EnrollmentRequest(deferredTrueIntent, context, false) in testIsAfterSuwOrSuwSuggestedAction()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/utils/
DEnrollmentRequestUtils.kt22 import com.android.settings.biometrics2.ui.model.EnrollmentRequest
27 fun newAllFalseRequest(context: Context): EnrollmentRequest { in newAllFalseRequest()
39 fun newIsSuwRequest(context: Context): EnrollmentRequest { in newIsSuwRequest()
51 fun newIsSuwDeferredRequest(context: Context): EnrollmentRequest { in newIsSuwDeferredRequest()
63 fun newIsSuwPortalRequest(context: Context): EnrollmentRequest { in newIsSuwPortalRequest()
77 ): EnrollmentRequest { in newIsSuwSuggestedActionFlowRequest()
97 ): EnrollmentRequest { in newRequest()
108 return EnrollmentRequest(i, context, true) in newRequest()
/packages/apps/Settings/src/com/android/settings/biometrics2/factory/
DBiometricsViewModelFactory.java32 import com.android.settings.biometrics2.ui.model.EnrollmentRequest;
56 public static final CreationExtras.Key<EnrollmentRequest> ENROLLMENT_REQUEST_KEY =
57 new CreationExtras.Key<EnrollmentRequest>() {};
91 final EnrollmentRequest request = extras.get(ENROLLMENT_REQUEST_KEY); in create()
97 final EnrollmentRequest request = extras.get(ENROLLMENT_REQUEST_KEY); in create()
105 final EnrollmentRequest request = extras.get(ENROLLMENT_REQUEST_KEY); in create()
125 final EnrollmentRequest request = extras.get(ENROLLMENT_REQUEST_KEY); in create()
133 final EnrollmentRequest request = extras.get(ENROLLMENT_REQUEST_KEY); in create()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollFinishViewModel.java29 import com.android.settings.biometrics2.ui.model.EnrollmentRequest;
60 @NonNull private final EnrollmentRequest mRequest;
66 @NonNull EnrollmentRequest request, in FingerprintEnrollFinishViewModel()
75 public EnrollmentRequest getRequest() { in getRequest()
DFingerprintEnrollIntroViewModel.kt22 import com.android.settings.biometrics2.ui.model.EnrollmentRequest in <lambda>()
41 val request: EnrollmentRequest, in <lambda>()
DFingerprintEnrollmentViewModel.kt30 import com.android.settings.biometrics2.ui.model.EnrollmentRequest
45 val request: EnrollmentRequest
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollFinishViewModelTest.java38 import com.android.settings.biometrics2.ui.model.EnrollmentRequest;
61 private EnrollmentRequest mRequest;
67 mRequest = new EnrollmentRequest(new Intent(), mApplication, true); in setUp()
DFingerprintEnrollIntroViewModelTest.kt25 import com.android.settings.biometrics2.ui.model.EnrollmentRequest
67 enrollmentRequest: EnrollmentRequest in newFingerprintEnrollIntroViewModel()
181 private fun TestScope.testOnStartToUpdateEnrollableStatusOk(request: EnrollmentRequest) { in TestScope()
196 private fun TestScope.testOnStartToUpdateEnrollableStatusReachMax(request: EnrollmentRequest) { in testOnStartToUpdateEnrollableStatusReachMax()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/model/
DEnrollmentRequest.kt36 class EnrollmentRequest( class
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollmentActivity.kt50 import com.android.settings.biometrics2.ui.model.EnrollmentRequest in <lambda>()
279 val request: EnrollmentRequest = viewModel.request in <lambda>()
595 EnrollmentRequest(intent, applicationContext, this is SetupActivity) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java72 import com.android.settings.biometrics2.ui.model.EnrollmentRequest;
813 intent.putExtra(EnrollmentRequest.EXTRA_SKIP_FIND_SENSOR, true); in onPreferenceTreeClick()