Home
last modified time | relevance | path

Searched refs:mActiveUnlockStatusUtils (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusUtilsTest.java61 private ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in ActiveUnlockStatusUtilsTest
75 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(mApplicationContext); in setUp()
87 assertThat(mActiveUnlockStatusUtils.getAvailability()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in isAvailable_featureFlagDisabled_returnsConditionallyUnavailable()
95 assertThat(mActiveUnlockStatusUtils.getAvailability()).isEqualTo(UNSUPPORTED_ON_DEVICE); in isAvailable_withoutFingerprint_withoutFace_returnsUnsupported()
103 assertThat(mActiveUnlockStatusUtils.getAvailability()).isEqualTo(AVAILABLE); in isAvailable_withoutFingerprint_withFace_returnsAvailable()
111 assertThat(mActiveUnlockStatusUtils.getAvailability()).isEqualTo(AVAILABLE); in isAvailable_withFingerprint_withoutFace_returnsAvailable()
119 assertThat(mActiveUnlockStatusUtils.getAvailability()).isEqualTo(AVAILABLE); in isAvailable_withFingerprint_withFace_returnsAvailable()
127 assertThat(mActiveUnlockStatusUtils.useUnlockIntentLayout()).isTrue(); in configIsUnlockOnIntent_useUnlockIntentLayoutIsTrue()
128 assertThat(mActiveUnlockStatusUtils.useBiometricFailureLayout()).isFalse(); in configIsUnlockOnIntent_useUnlockIntentLayoutIsTrue()
136 assertThat(mActiveUnlockStatusUtils.getTitleForActiveUnlock()) in getTitle_faceEnabled_returnsFacePreferenceTitle()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/combination/
DCombinedBiometricSettings.java51 private ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in CombinedBiometricSettings
65 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(getActivity()); in onCreate()
67 if (mActiveUnlockStatusUtils.isAvailable()) { in onCreate()
85 introPreference.setTitle(mActiveUnlockStatusUtils.getIntroForActiveUnlock()); in updateUiForActiveUnlock()
90 mActiveUnlockStatusUtils.getUseBiometricTitleForActiveUnlock()); in updateUiForActiveUnlock()
92 getActivity().setTitle(mActiveUnlockStatusUtils.getTitleForActiveUnlock()); in updateUiForActiveUnlock()
140 if (!mActiveUnlockStatusUtils.isAvailable() in onRetryPreferenceTreeClick()
146 if (mActiveUnlockStatusUtils.useBiometricFailureLayout() in onRetryPreferenceTreeClick()
158 intent = mActiveUnlockStatusUtils.getIntent(); in onRetryPreferenceTreeClick()
174 return mActiveUnlockStatusUtils.getUnlockDeviceSummaryForActiveUnlock(); in getUseAnyBiometricSummary()
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusPreferenceController.java49 private final ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in ActiveUnlockStatusPreferenceController
62 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(context); in ActiveUnlockStatusPreferenceController()
63 mIsAvailable = mActiveUnlockStatusUtils.isAvailable(); in ActiveUnlockStatusPreferenceController()
128 return mActiveUnlockStatusUtils.getAvailability(); in getAvailabilityStatus()
149 if (mActiveUnlockStatusUtils.useBiometricFailureLayout() in getSummaryText()
153 mActiveUnlockStatusUtils.getSummaryWhenBiometricSetupRequired(); in getSummaryText()
DActiveUnlockRequireBiometricSetup.java55 private ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in ActiveUnlockRequireBiometricSetup
62 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(this); in onCreate()
138 Intent activeUnlockIntent = mActiveUnlockStatusUtils.getIntent(); in onActivityResult()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricStatusPreferenceController.java47 private final ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in BiometricStatusPreferenceController
79 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(context); in BiometricStatusPreferenceController()
84 if (mActiveUnlockStatusUtils.isAvailable()) { in getAvailabilityStatus()