Home
last modified time | relevance | path

Searched refs:AVAILABLE (Results 1 – 25 of 619) sorted by relevance

12345678910>>...25

/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DBasePreferenceControllerTest.java18 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
67 return AVAILABLE; in newController_noKey_shouldCrash()
74 mPreferenceController.setAvailability(AVAILABLE); in isAvailable_availableStatusAvailable_returnsTrue()
117 mPreferenceController.setAvailability(AVAILABLE); in isSupported_availableStatusAvailable_returnsTrue()
201 mPreferenceController.setAvailability(AVAILABLE); in updateNonIndexableKeys_controllerAvailable_shouldNotAddKey()
214 mAvailable = AVAILABLE; in FakeBasePreferenceController()
DPreferenceControllerListHelperTest.java77 return AVAILABLE; in filterControllers_noFilter_shouldReturnSameList()
91 return AVAILABLE; in filterControllers_noDuplicationFromFilter_shouldReturnSameList()
98 return AVAILABLE; in filterControllers_noDuplicationFromFilter_shouldReturnSameList()
112 return AVAILABLE; in filterControllers_hasDuplicationFromFilter_shouldReturnSameList()
119 return AVAILABLE; in filterControllers_hasDuplicationFromFilter_shouldReturnSameList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcForegroundPreferenceControllerTest.java79 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noNFC_DISABLED()
87 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentBackend_DISABLED()
97 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
102 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
118 .isEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_hasPaymentApps_AVAILABLE()
DNfcPaymentPreferenceControllerTest.java74 .isNotEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_noNFC_DISABLED()
84 .isNotEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
89 .isNotEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
101 .isEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_hasPaymentApps_AVAILABLE()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java97 @IntDef({AVAILABLE, CONDITIONALLY_UNAVAILABLE, UNSUPPORTED_ON_DEVICE, DISABLED_FOR_USER})
104 public static final int AVAILABLE = 0; field in PreferenceController
239 if (getAvailabilityStatus() == AVAILABLE) { in refreshUi()
354 return AVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
91 .isNotEqualTo(CrossProfileCalendarPreferenceController.AVAILABLE); in getAvailabilityStatus_noManagedUser_shouldBeDisabled()
107 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable()
115 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactNotificationPreferenceControllerTest.java24 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
141 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_noWorkProfile()
209 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_workProfileLocked()
224 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_show()
225 assertThat(mWorkController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_show()
DAssistantCapabilityPreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
86 .isEqualTo(AVAILABLE); in getAvailabilityStatus_NAS()
88 .isEqualTo(AVAILABLE); in getAvailabilityStatus_NAS()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DLocationScanningPreferenceControllerTest.java19 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
63 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_available_wifiOrBluetooth()
69 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_available_wifiOrBluetooth()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetEsimPreferenceControllerTest.java19 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
82 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_euiccNotProvisioned_developer_available()
90 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_euiccProvisioned_available()
DMasterClearEntryPreferenceControllerTest.java21 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
86 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_adminUser_available()
105 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_demoMode_demoUser_available()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java121 PreferenceController.AVAILABLE); in getAvailabilityStatus_differentComponents_returnsAvailable()
128 PreferenceController.AVAILABLE); in getAvailabilityStatus_assistNull_returnsAvailable()
135 PreferenceController.AVAILABLE); in getAvailabilityStatus_voiceInputNull_returnsAvailable()
160 assertThat(mController.getAvailabilityStatus()).isEqualTo(PreferenceController.AVAILABLE); in onChange_changeRegisteredSetting_callsRefreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DSavedDeviceGroupControllerTest.java18 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
109 AVAILABLE); in testGetAvailabilityStatus_BluetoothFeature_returnSupported()
117 AVAILABLE); in getAvailabilityStatus_haveDockFeature_returnSupported()
DPreviouslyConnectedDevicePreferenceControllerTest.java18 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
112 AVAILABLE); in getAvailabilityStatus_hasBluetoothFeature_returnSupported()
120 AVAILABLE); in getAvailabilityStatus_haveDockFeature_returnSupported()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DBasePreferenceController.java52 @IntDef({AVAILABLE, AVAILABLE_UNSEARCHABLE, UNSUPPORTED_ON_DEVICE, DISABLED_FOR_USER,
60 public static final int AVAILABLE = 0; field in BasePreferenceController
191 return (availabilityStatus == AVAILABLE in isAvailable()
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java52 @IntDef({AVAILABLE, AVAILABLE_UNSEARCHABLE, UNSUPPORTED_ON_DEVICE, DISABLED_FOR_USER,
60 public static final int AVAILABLE = 0; field in BasePreferenceController
191 return (availabilityStatus == AVAILABLE in isAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppDataUsagePreferenceControllerTest.java77 .isEqualTo(BasePreferenceController.AVAILABLE); in getAvailabilityStatus_bandwidthControlEnabled_shouldReturnAvailable()
106 doReturn(BasePreferenceController.AVAILABLE).when(mController).getAvailabilityStatus(); in onResume_isAvailable_shouldRestartDataLoader()
119 doReturn(BasePreferenceController.AVAILABLE).when(mController).getAvailabilityStatus(); in onPause_shouldDestroyDataLoader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DMagnificationNavbarPreferenceControllerTest.java21 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
74 .isNotEqualTo(AVAILABLE); in isAvailable_unsupported_shouldNotBeAvailable()
83 .isEqualTo(AVAILABLE); in isAvailable_supported_shouldBeAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DAirplaneModePreferenceControllerTest.java92 .isNotEqualTo(BasePreferenceController.AVAILABLE); in airplaneModePreference_shouldNotBeAvailable_ifSetToNotVisible()
105 .isNotEqualTo(BasePreferenceController.AVAILABLE); in airplaneModePreference_shouldNotBeAvailable_ifHasLeanbackFeature()
118 .isEqualTo(BasePreferenceController.AVAILABLE); in airplaneModePreference_shouldBeAvailable_ifNoLeanbackFeature()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DApnPreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
105 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable()
115 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_apnSettingsSupportedWithGsm_returnAvailable()
DCarrierPreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
108 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable()
118 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DMasterClearResetEsimPreferenceController.java45 if (status == AVAILABLE) { in getAvailabilityStatus()
47 Boolean.FALSE.toString()).equals(Boolean.TRUE.toString()) ? AVAILABLE in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsScreenPreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
50 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailability_byDefault_shouldBeShown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/aboutphone/
DTopLevelAboutDevicePreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
47 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityState_shouldBeAvailable()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicePreferenceController.java77 if (availabilityStatus == AVAILABLE) { in getAvailabilityStatus()
79 DISALLOW_CONFIG_BLUETOOTH) ? DISABLED_FOR_USER : AVAILABLE; in getAvailabilityStatus()

12345678910>>...25