/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | DeviceAdminAddExplanationPreferenceControllerTest.java | 50 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin() 62 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneWrite() 74 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneRead() 86 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneHidden() 94 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_deviceOwner_noReason() 103 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_deviceOwner_noReason_zoneWrite() 112 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_deviceOwner_noReason_zoneRead() 121 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_deviceOwner_noReason_zoneHidden() 160 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_deviceOwner_withReason_zoneHidden() 168 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_profileOwner_noReason() [all …]
|
D | DeviceAdminAddSupportPreferenceControllerTest.java | 49 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin() 60 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneWrite() 71 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneRead() 82 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneHidden() 90 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_nullMessage() 99 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_nullMessage_zoneWrite() 108 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_nullMessage_zoneRead() 117 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_nullMessage_zoneHidden() 125 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_emptyMessage() 134 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_emptyMessage_zoneWrite() [all …]
|
D | BaseAdminGrantedPermissionsPreferenceControllerTestCase.java | 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 73 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted() local 92 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite() local 111 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted_zoneRead() local 130 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden() local 149 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted() local 169 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneWrite() local 189 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneRead() local 209 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneHidden() local 216 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneHidden() local
|
D | EnterpriseInstalledPackagesPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 63 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps() local 81 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps_zoneWrite() local 99 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps_zoneRead() local 117 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps_zoneHidden() local 135 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps() local 154 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneWrite() local 173 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneRead() local 192 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneHidden() local 199 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneHidden() local
|
D | EnterpriseInstalledPackagesListPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 71 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps() local 89 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps_zoneWrite() local 107 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps_zoneRead() local 125 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noInstalledApps_zoneHidden() local 143 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps() local 162 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneWrite() local 181 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneRead() local 200 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneHidden() local 207 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_withInstalledApps_zoneHidden() local
|
D | BaseAdminGrantedPermissionsApplicationListPreferenceControllerTestCase.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 92 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted() local 110 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite() local 128 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted_zoneRead() local 146 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden() local 164 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted() local 183 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneWrite() local 202 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneRead() local 221 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneHidden() local 228 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_permissionsGranted_zoneHidden() local
|
D | FailedPasswordWipeCurrentUserPreferenceControllerTest.java | 50 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_maxNotSet() 59 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_maxNotSet_zoneWrite() 68 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_maxNotSet_zoneRead() 77 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_maxNotSet_zoneHidden() 112 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_maxSet_zoneHidden()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | AllAppsPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 83 .isEqualTo(CONDITIONALLY_UNAVAILABLE); in onCreate_isUnavailableByDefault() 92 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onCreate_isUnavailableByDefault_zoneWrite() local 101 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onCreate_isUnavailableByDefault_zoneRead() local 110 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onCreate_isUnavailableByDefault_zoneHidden() local 153 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_empty_isAvailable_zoneHidden() local 164 .isEqualTo(CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_notEmpty_isUnavailable() 176 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_notEmpty_isUnavailable_zoneWrite() local 188 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_notEmpty_isUnavailable_zoneRead() local 200 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_notEmpty_isUnavailable_zoneHidden() local
|
D | RecentAppsGroupPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 109 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onCreate_isAvailableByDefault_zoneHidden() local 119 .isEqualTo(CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_empty_isUnavailable() 130 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_empty_isUnavailable_zoneWrite() local 141 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_empty_isUnavailable_zoneRead() local 152 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_empty_isUnavailable_zoneHidden() local 199 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onRecentAppsCallback_notEmpty_isUnavailable_zoneHidden() local
|
D | HibernatedAppsPreferenceControllerTest.java | 24 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 100 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_featureDisabled_shouldNotReturnAvailable_zoneWrite() local 110 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_featureDisabled_shouldNotReturnAvailable_zoneRead() local 120 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_featureDisabled_shouldNotReturnAvailable_zoneHidden() local 158 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_featureEnabled_shouldReturnAvailable_zoneHidden() local
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/ |
D | DefaultVoiceInputPickerEntryPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 127 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable() 139 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable_zoneWrite() local 151 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable_zoneRead() local 163 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable_zoneHidden() local 172 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable() 182 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable_zoneWrite() local 192 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable_zoneRead() local 202 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable_zoneHidden() local 229 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_differentComponents_returnsAvailable_zoneHidden() local [all …]
|
D | AssistConfigBasePreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 130 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_hasAssistComponent_isAvailable_zoneHidden() local 137 .isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noAssistComponent_conditionallyUnavailable() 145 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noAssistComponent_conditionallyUnavailable_zoneWrite() local 153 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noAssistComponent_conditionallyUnavailable_zoneRead() local 161 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noAssistComponent_conditionallyUnavailable_zoneHidden() local
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | DeveloperOptionsEntryPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 137 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsEnabled_isAvailable_zoneHidden() local 144 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable() 152 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneWrite() local 160 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneRead() local 168 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneHidden() local 177 CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsEnabled_restrictedByUm_isUnavailable() 187 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneWrite() local 197 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneRead() local 207 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneHidden() local [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/ |
D | ProfileDetailsEndSessionPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 137 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice() local 148 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneWrite() local 159 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneRead() local 170 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneHidden() local 180 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice() local 191 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice_zoneWrite() local 202 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice_zoneRead() local 213 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice_zoneHidden() local 256 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_logoutEnabled_hasLogoutUser_available_zoneHidden() local
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/ |
D | UnitsBasePreferenceControllerTest.java | 98 .isEqualTo(PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCreate_preferenceIsConditionallyUnavailable() 106 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCreate_preferenceIsConditionallyUnavailable_zoneWrite() 114 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCreate_preferenceIsConditionallyUnavailable_zoneRead() 122 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCreate_preferenceIsConditionallyUnavailable_zoneHidden() 160 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_availableUnitsExist_preferenceIsAvailable_zoneHidden() 170 .isEqualTo(PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_noAvailableUnits_preferenceIsConditionallyUnavailable() 182 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_preferenceIsConditionallyUnavailable_zoneWrite() 194 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_preferenceIsConditionallyUnavailable_zoneRead() 206 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_preferenceIsConditionallyUnavailable_zoneHidden()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/appinfo/ |
D | HibernationSwitchPreferenceControllerTest.java | 28 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 124 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable_zoneWrite() local 135 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable_zoneRead() local 146 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable_zoneHidden() local 162 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable_zoneWrite() local 171 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable_zoneRead() local 180 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable_zoneHidden() local 214 CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_validPackage_shouldReturnAvailable_zoneHidden() local
|
D | AppAllServicesPreferenceControllerTest.kt | 29 import com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE 90 CONDITIONALLY_UNAVAILABLE in getAvailabilityStatus_isNotLocationProvider_shouldReturnConditionallyUnavailable() 108 CONDITIONALLY_UNAVAILABLE in getAvailabilityStatus_canNotHandleIntent_shouldReturnConditionallyUnavailable() 125 CONDITIONALLY_UNAVAILABLE in getAvailabilityStatus_shouldReturnConditionallyUnavailable() 136 CONDITIONALLY_UNAVAILABLE in canPackageHandleIntent_nullPackageInfo_shouldNotCrash()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/ |
D | LocationStateListenerBasePreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 94 : CONDITIONALLY_UNAVAILABLE; in onAdasIntentReceived_refreshUi() 103 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onAdasIntentReceived_refreshUi() local 138 : CONDITIONALLY_UNAVAILABLE; in onLocationIntentReceived_refreshUi() 147 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onLocationIntentReceived_refreshUi() local 181 : CONDITIONALLY_UNAVAILABLE; in onPowerPolicyChange_refreshUi() 196 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in onPowerPolicyChange_refreshUi() local
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | MmsMessagePreferenceControllerTest.kt | 26 import com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE 71 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_invalidSubscription_unavailable() 82 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_mobileDataOn_unavailable() 93 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_meteredOff_unavailable() 108 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_isDefaultDataAndDataOnAndAutoDataSwitchOn_unavailable() 139 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_defaultDataOnAndAutoDataSwitchOn_unavailable()
|
D | DisableSimFooterPreferenceControllerTest.kt | 25 import com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE 56 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_invalidId_notAvailable() 67 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_eSim_notAvailable() 95 assertThat(availabilityStatus).isEqualTo(CONDITIONALLY_UNAVAILABLE) in getAvailabilityStatus_pSimAndCanDisable_notAvailable()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | PreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 229 mPreferenceController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in refreshUi_created_notAvailable_preferenceHidden() 253 mPreferenceController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in refreshUi_created_notAvailable_doesNotUpdateState() 327 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_available_zoneHidden() local 361 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_availableForViewing_zoneHidden() local 433 mPreferenceController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_conditionallyUnavailable_zoneWrite() 438 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_conditionallyUnavailable_zoneWrite() local 444 mPreferenceController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_conditionallyUnavailable_zoneRead() 449 mPreferenceController.getAvailabilityStatus(), CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_conditionallyUnavailable_zoneRead() local 455 mPreferenceController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_conditionallyUnavailable_zoneHidden() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accessibility/ |
D | ScreenReaderCategoryPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 142 CONDITIONALLY_UNAVAILABLE); in testGetAvailability_screenReaderInstalled_zoneHidden() 152 CONDITIONALLY_UNAVAILABLE); in testGetAvailability_screenReaderNotInstalled_isUnavailable() 163 CONDITIONALLY_UNAVAILABLE); in testGetAvailability_screenReaderNotInstalled_isUnavailable_zoneWrite() 174 CONDITIONALLY_UNAVAILABLE); in testGetAvailability_screenReaderNotInstalled_isUnavailable_zoneRead() 185 CONDITIONALLY_UNAVAILABLE); in testGetAvailability_screenReaderNotInstalled_isUnavailable_zoneHidden()
|
/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; 232 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToAvailable_zoneHidden() 237 mController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneWrite() 239 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneWrite() 244 mController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneRead() 246 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneRead() 251 mController.setAvailabilityStatus(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneHidden() 253 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneHidden() 316 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_defaultsToAvailableForViewing_zoneHidden()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppAllServicesPreferenceControllerTest.java | 19 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE; 76 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_canNotHandleIntent_shouldReturnConditionallyUnavailable() 84 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_isNotLocationProvider_shouldReturnConditionallyUnavailable() 92 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_shouldReturnConditionallyUnavailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/ |
D | DarkModeCustomPreferenceControllerTest.java | 19 import static com.android.settings.core.BasePreferenceController.CONDITIONALLY_UNAVAILABLE; 87 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_nightModeManualOn_unavailable() 95 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_nightModeManualOff_unavailable() 121 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_nightModeCustomBedtimeOn_unavailable() 131 assertThat(mController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_nightModeCustomBedtimeOff_unavailable()
|