/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceControllerTest.java | 20 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()
|
D | MmsMessagePreferenceControllerTest.java | 20 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()
|
D | ApnPreferenceControllerTest.java | 20 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()
|
D | DataServiceSetupPreferenceControllerTest.java | 20 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()
|
D | EnabledNetworkModePreferenceControllerTest.java | 22 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/ |
D | GameDriverFooterPreferenceControllerTest.java | 20 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()
|
D | GameDriverEnableForAllAppsPreferenceControllerTest.java | 20 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/ |
D | GameControllerPreferenceControllerTest.java | 20 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/ |
D | DeveloperOptionsEntryPreferenceControllerTest.java | 20 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/ |
D | DefaultVoiceInputPickerEntryPreferenceControllerTest.java | 19 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/ |
D | DataDuringCallsPreferenceControllerTest.java | 22 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/ |
D | RedactNotificationPreferenceControllerTest.java | 25 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/ |
D | DisableSimFooterPreferenceController.java | 42 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 47 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
D | NrDisabledInDsdsFooterPreferenceController.java | 79 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 95 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | AudioOutputSwitchPreferenceControllerTest.java | 23 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/ |
D | AppSettingPreferenceController.java | 45 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 49 return intent != null ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppSettingPreferenceController.java | 45 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 49 return intent != null ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 165 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/ |
D | SecurityPatchLevelPreferenceControllerTest.java | 20 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/ |
D | RedactNotificationPreferenceController.java | 80 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 91 return CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerTest.java | 21 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/ |
D | BasePreferenceController.java | 53 DISABLED_DEPENDENT_SETTING, CONDITIONALLY_UNAVAILABLE}) 72 public static final int CONDITIONALLY_UNAVAILABLE = 2; field in BasePreferenceController
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | BasePreferenceController.java | 53 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/ |
D | AppDataUsagePreferenceControllerTest.java | 85 .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/ |
D | PreviouslyConnectedDevicePreferenceControllerTest.java | 19 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE; 103 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noBluetoothDockFeature_returnUnSupported()
|