/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | BasePreferenceControllerTest.java | 18 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()
|
D | PreferenceControllerListHelperTest.java | 77 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/ |
D | NfcForegroundPreferenceControllerTest.java | 79 .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()
|
D | NfcPaymentPreferenceControllerTest.java | 74 .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/ |
D | PreferenceController.java | 97 @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/ |
D | CrossProfileCalendarPreferenceControllerTest.java | 20 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/ |
D | RedactNotificationPreferenceControllerTest.java | 24 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()
|
D | AssistantCapabilityPreferenceControllerTest.java | 19 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/ |
D | LocationScanningPreferenceControllerTest.java | 19 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/ |
D | ResetEsimPreferenceControllerTest.java | 19 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()
|
D | MasterClearEntryPreferenceControllerTest.java | 21 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/ |
D | DefaultVoiceInputPickerEntryPreferenceControllerTest.java | 121 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/ |
D | SavedDeviceGroupControllerTest.java | 18 import static com.android.settings.core.BasePreferenceController.AVAILABLE; 109 AVAILABLE); in testGetAvailabilityStatus_BluetoothFeature_returnSupported() 117 AVAILABLE); in getAvailabilityStatus_haveDockFeature_returnSupported()
|
D | PreviouslyConnectedDevicePreferenceControllerTest.java | 18 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/ |
D | BasePreferenceController.java | 52 @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/ |
D | BasePreferenceController.java | 52 @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/ |
D | AppDataUsagePreferenceControllerTest.java | 77 .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/ |
D | MagnificationNavbarPreferenceControllerTest.java | 21 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/ |
D | AirplaneModePreferenceControllerTest.java | 92 .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/ |
D | ApnPreferenceControllerTest.java | 19 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()
|
D | CarrierPreferenceControllerTest.java | 19 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/ |
D | MasterClearResetEsimPreferenceController.java | 45 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/ |
D | PremiumSmsScreenPreferenceControllerTest.java | 19 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/ |
D | TopLevelAboutDevicePreferenceControllerTest.java | 19 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/ |
D | BluetoothDevicePreferenceController.java | 77 if (availabilityStatus == AVAILABLE) { in getAvailabilityStatus() 79 DISALLOW_CONFIG_BLUETOOTH) ? DISABLED_FOR_USER : AVAILABLE; in getAvailabilityStatus()
|