Searched refs:mActiveUnlockStatusUtils (Results 1 – 5 of 5) sorted by relevance
61 private ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in ActiveUnlockStatusUtilsTest75 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 …]
51 private ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in CombinedBiometricSettings65 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()
49 private final ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in ActiveUnlockStatusPreferenceController62 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()
55 private ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in ActiveUnlockRequireBiometricSetup62 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(this); in onCreate()138 Intent activeUnlockIntent = mActiveUnlockStatusUtils.getIntent(); in onActivityResult()
47 private final ActiveUnlockStatusUtils mActiveUnlockStatusUtils; field in BiometricStatusPreferenceController79 mActiveUnlockStatusUtils = new ActiveUnlockStatusUtils(context); in BiometricStatusPreferenceController()84 if (mActiveUnlockStatusUtils.isAvailable()) { in getAvailabilityStatus()