Home
last modified time | relevance | path

Searched refs:getAvailability (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusUtilsTest.java87 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()
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusUtils.java67 return getAvailability() == BasePreferenceController.AVAILABLE; in isAvailable()
148 int getAvailability() { in getAvailability() method in ActiveUnlockStatusUtils
DActiveUnlockStatusPreferenceController.java128 return mActiveUnlockStatusUtils.getAvailability(); in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DTelephonyBasePreferenceController.java47 .getAvailability(mContext, mSubId, this::getAvailabilityStatus)); in getAvailabilityStatus()
DTelephonyTogglePreferenceController.java47 .getAvailability(mContext, mSubId, this::getAvailabilityStatus)); in getAvailabilityStatus()
DMobileNetworkUtils.java588 public static int getAvailability(Context context, int defSubId, in getAvailability() method in MobileNetworkUtils