Home
last modified time | relevance | path

Searched refs:CONDITIONALLY_UNAVAILABLE (Results 1 – 25 of 126) sorted by relevance

123456

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DPreferredNetworkModePreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
95 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
115 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hidePreferredNetworkType_returnUnavailable()
121 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hidePreferredNetworkType_returnUnavailable()
124 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hidePreferredNetworkType_returnUnavailable()
DMmsMessagePreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
80 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_invalidSubscription_returnUnavailable()
87 assertThat(mController.getAvailabilityStatus(SUB_ID)).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_mobileDataOn_returnUnavailable()
94 assertThat(mController.getAvailabilityStatus(SUB_ID)).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_meteredOff_returnUnavailable()
DApnPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
93 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable()
121 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_carrierConfigNull_returnUnavailable()
133 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
DDataServiceSetupPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
111 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_missUrl_returnUnavailable()
120 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_notCdma_returnUnavailable()
DEnabledNetworkModePreferenceControllerTest.java22 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
109 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
120 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hidePreferredNetworkType_returnUnavailable()
126 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hidePreferredNetworkType_returnUnavailable()
129 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hidePreferredNetworkType_returnUnavailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/
DGameDriverFooterPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
81 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_gameDriverDefault_conditionallyUnavailable()
89 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_gameDriverAllApps_conditionallyUnavailable()
118 when(mController.getAvailabilityStatus()).thenReturn(CONDITIONALLY_UNAVAILABLE); in updateState_unavailable_invisible()
DGameDriverEnableForAllAppsPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
101 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailability_developmentSettingsDisabled_conditionallyUnavailable()
108 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailability_gameDriverOff_conditionallyUnavailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DGameControllerPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
94 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hasNoVibratingDevice_shouldReturnDisabled()
103 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hasNoPhysicalDevice_shouldReturnDisabled()
110 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hasNoDevice_shouldReturnDisabled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DDeveloperOptionsEntryPreferenceControllerTest.java20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE;
91 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable()
100 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsEnabled_hasUserRestriction_isUnavailable()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java19 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE;
106 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable()
112 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable()
169 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onChange_changeRegisteredSetting_callsRefreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DDataDuringCallsPreferenceControllerTest.java22 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
89 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noInit_notAvailable()
143 .isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_mobileDataChangWithDefaultDataSubId_returnUnavailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactNotificationPreferenceControllerTest.java25 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
122 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noSecureLockscreen()
123 assertThat(mWorkController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noSecureLockscreen()
142 assertThat(mWorkController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noWorkProfile()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDisableSimFooterPreferenceController.java42 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
47 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
DNrDisabledInDsdsFooterPreferenceController.java79 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
95 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DAudioOutputSwitchPreferenceControllerTest.java23 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
189 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_disableFlagNoBluetoothFeature_returnUnavailable()
198 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_disableFlagWithBluetoothFeature_returnUnavailable()
214 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_enableFlagNoBluetoothFeature_returnUnavailable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppSettingPreferenceController.java45 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
49 return intent != null ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppSettingPreferenceController.java45 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
49 return intent != null ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderControllerTest.java165 BasePreferenceController.CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_untetheredHeadsetWithConfigOff_returnUnavailable()
176 BasePreferenceController.CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_notUntetheredHeadsetWithConfigOn_returnUnavailable()
187 BasePreferenceController.CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_notUntetheredHeadsetWithConfigOff_returnUnavailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
DSecurityPatchLevelPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
69 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noPatchInfo_unavailable()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactNotificationPreferenceController.java80 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
91 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE;
274 mController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in refreshUi_created_notAvailable_preferenceHidden()
296 mController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in refreshUi_created_notAvailable_doesNotUpdateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DBasePreferenceController.java53 DISABLED_DEPENDENT_SETTING, CONDITIONALLY_UNAVAILABLE})
72 public static final int CONDITIONALLY_UNAVAILABLE = 2; field in BasePreferenceController
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java53 DISABLED_DEPENDENT_SETTING, CONDITIONALLY_UNAVAILABLE})
72 public static final int CONDITIONALLY_UNAVAILABLE = 2; field in BasePreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppDataUsagePreferenceControllerTest.java85 .isEqualTo(BasePreferenceController.CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_bandwidthControlDisabled_shouldReturnDisabled()
91 …doReturn(BasePreferenceController.CONDITIONALLY_UNAVAILABLE).when(mController).getAvailabilityStat… in onResume_notAvailable_shouldNotRestartDataLoader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DPreviouslyConnectedDevicePreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE;
103 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noBluetoothDockFeature_returnUnSupported()

123456