/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | DeviceAdminAddExplanationPreferenceControllerTest.java | 20 import com.android.car.settings.common.PreferenceController; 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() 130 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_deviceOwner_withReason() [all …]
|
D | DeviceAdminAddSupportPreferenceControllerTest.java | 20 import com.android.car.settings.common.PreferenceController; 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() [all …]
|
D | DeviceAdminAddPoliciesPreferenceControllerTest.java | 27 import com.android.car.settings.common.PreferenceController; 71 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin() 82 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneWrite() 93 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneRead() 104 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneHidden() 112 PreferenceController.DISABLED_FOR_PROFILE); in testGetAvailabilityStatus_deviceOwner() 121 PreferenceController.DISABLED_FOR_PROFILE); in testGetAvailabilityStatus_deviceOwner_zoneWrite() 130 PreferenceController.DISABLED_FOR_PROFILE); in testGetAvailabilityStatus_deviceOwner_zoneRead() 139 PreferenceController.DISABLED_FOR_PROFILE); in testGetAvailabilityStatus_deviceOwner_zoneHidden() 147 PreferenceController.DISABLED_FOR_PROFILE); in testGetAvailabilityStatus_profileOwner() [all …]
|
D | FailedPasswordWipeCurrentUserPreferenceControllerTest.java | 23 import com.android.car.settings.common.PreferenceController; 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() 85 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_maxSet() 94 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_maxSet_zoneWrite() 103 PreferenceController.AVAILABLE_FOR_VIEWING); in testGetAvailabilityStatus_maxSet_zoneRead() 112 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_maxSet_zoneHidden()
|
D | DeviceAdminAddHeaderPreferenceControllerTest.java | 26 import com.android.car.settings.common.PreferenceController; 55 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_admin() 62 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_admin_zoneWrite() 69 PreferenceController.AVAILABLE_FOR_VIEWING); in testGetAvailabilityStatus_admin_zoneRead() 76 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_admin_zoneHidden() 86 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin() 97 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneWrite() 108 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneRead() 119 PreferenceController.CONDITIONALLY_UNAVAILABLE); in testGetAvailabilityStatus_noAdmin_zoneHidden()
|
D | ImePreferenceControllerTest.java | 18 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
D | GlobalHttpProxyPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 22 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 23 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
D | EnterprisePrivacySettingsPreferenceControllerTest.java | 18 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
|
D | ManageDeviceAdminPreferenceControllerTest.java | 18 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
|
D | AlwaysOnVpnCurrentUserPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 22 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 23 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
D | WorkPolicyInfoPreferenceControllerTest.java | 20 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 22 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 23 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE; 24 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
|
D | BaseAdminGrantedPermissionsPreferenceControllerTestCase.java | 18 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
D | EnterpriseInstalledPackagesPreferenceControllerTest.java | 18 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 20 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 21 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | PreferenceControllerTestUtil.java | 28 public static void assignPreference(PreferenceController controller, Preference preference) { in assignPreference() 47 case PreferenceController.AVAILABLE: in availabilityToString() 49 case PreferenceController.AVAILABLE_FOR_VIEWING: in availabilityToString() 51 case PreferenceController.CONDITIONALLY_UNAVAILABLE: in availabilityToString() 53 case PreferenceController.DISABLED_FOR_PROFILE: in availabilityToString() 55 case PreferenceController.UNSUPPORTED_ON_DEVICE: in availabilityToString()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/ |
D | UnitsBasePreferenceControllerTest.java | 37 import com.android.car.settings.common.PreferenceController; 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() 130 PreferenceController.AVAILABLE); in onCarServiceConnected_availableUnitsExist_preferenceIsAvailable() 140 PreferenceController.AVAILABLE); in onCarServiceConnected_availableUnitsExist_preferenceIsAvailable_zoneWrite() 150 PreferenceController.AVAILABLE_FOR_VIEWING); in onCarServiceConnected_availableUnitsExist_preferenceIsAvailable_zoneRead() 160 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_availableUnitsExist_preferenceIsAvailable_zoneHidden() 170 .isEqualTo(PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_noAvailableUnits_preferenceIsConditionallyUnavailable() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | RegulatoryInfoPreferenceControllerTest.java | 35 import com.android.car.settings.common.PreferenceController; 79 PreferenceController.AVAILABLE); in hasIntent_isAvailable() 91 mPreferenceController.getAvailabilityStatus(), PreferenceController.AVAILABLE); in hasIntent_isAvailable_zoneWrite() 104 PreferenceController.AVAILABLE_FOR_VIEWING); in hasIntent_isAvailable_zoneRead() 117 PreferenceController.CONDITIONALLY_UNAVAILABLE); in hasIntent_isAvailable_zoneHidden() 127 PreferenceController.UNSUPPORTED_ON_DEVICE); in hasNoIntent_isNotAvailable() 139 PreferenceController.UNSUPPORTED_ON_DEVICE); in hasNoIntent_isNotAvailable_zoneWrite() 151 PreferenceController.UNSUPPORTED_ON_DEVICE); in hasNoIntent_isNotAvailable_zoneRead() 163 PreferenceController.UNSUPPORTED_ON_DEVICE); in hasNoIntent_isNotAvailable_zoneHidden()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerListHelperTest.java | 50 List<PreferenceController> controllers = in getControllers_returnsList() 59 for (PreferenceController controller : controllers) { in getControllers_returnsList() 87 PreferenceController.AVAILABLE, PreferenceController.CONDITIONALLY_UNAVAILABLE); in getControllers_returns_zoneAvailabilityList() 88 List<PreferenceController> controllers = in getControllers_returns_zoneAvailabilityList() 97 for (PreferenceController controller : controllers) { in getControllers_returns_zoneAvailabilityList()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | AddProfileHandler.java | 21 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 22 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 23 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE; 41 import com.android.car.settings.common.PreferenceController; 64 private final PreferenceController mPreferenceController; 81 PreferenceController preferenceController) { in AddProfileHandler()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceControllerListHelper.java | 64 static List<PreferenceController> getPreferenceControllersFromXml(Context context, in getPreferenceControllersFromXml() 67 List<PreferenceController> controllers = new ArrayList<>(); in getPreferenceControllersFromXml() 105 private static PreferenceController createInstance(String controllerName, in createInstance() 113 PreferenceController preferenceController = in createInstance() 114 (PreferenceController) preferenceConstructor.newInstance(params); in createInstance()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothEntryPreferenceControllerTest.java | 22 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 23 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 24 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 25 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE; 26 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | SecurityEntryPreferenceControllerTest.java | 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 20 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 22 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
D | CredentialsResetPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 22 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 23 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 24 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/ |
D | DefaultVoiceInputPickerEntryPreferenceControllerTest.java | 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 20 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 47 import com.android.car.settings.common.PreferenceController; 208 PreferenceController.AVAILABLE); in getAvailabilityStatus_differentComponents_returnsAvailable() 258 .isEqualTo(PreferenceController.AVAILABLE); in onChange_changeRegisteredSetting_callsRefreshUi() 266 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onChange_changeRegisteredSetting_callsRefreshUi()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/language/ |
D | LanguageSettingsEntryPreferenceControllerTest.java | 21 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 22 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 23 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE; 24 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE;
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/ |
D | AddProfileHandlerTest.java | 19 import static com.android.car.settings.common.PreferenceController.AVAILABLE; 20 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING; 21 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_PROFILE; 51 import com.android.car.settings.common.PreferenceController; 211 extends PreferenceController<Preference> {
|