Home
last modified time | relevance | path

Searched refs:PreferenceControllerTestUtil (Results 1 – 25 of 206) sorted by relevance

123456789

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddExplanationPreferenceControllerTest.java21 import com.android.car.settings.common.PreferenceControllerTestUtil;
49 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin()
61 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneWrite()
73 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneRead()
85 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneHidden()
93 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_noReason()
102 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_noReason_zoneWrite()
111 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_noReason_zoneRead()
120 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_noReason_zoneHidden()
129 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_withReason()
[all …]
DDeviceAdminAddSupportPreferenceControllerTest.java21 import com.android.car.settings.common.PreferenceControllerTestUtil;
48 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin()
59 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneWrite()
70 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneRead()
81 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneHidden()
89 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_nullMessage()
98 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_nullMessage_zoneWrite()
107 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_nullMessage_zoneRead()
116 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_nullMessage_zoneHidden()
124 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_emptyMessage()
[all …]
DBaseAdminGrantedPermissionsPreferenceControllerTestCase.java32 import com.android.car.settings.common.PreferenceControllerTestUtil;
72 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted()
79 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted()
91 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite()
98 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite()
110 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneRead()
117 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneRead()
129 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden()
136 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden()
148 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_permissionsGranted()
[all …]
DEnterpriseInstalledPackagesPreferenceControllerTest.java32 import com.android.car.settings.common.PreferenceControllerTestUtil;
62 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps()
69 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps()
80 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneWrite()
87 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneWrite()
98 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneRead()
105 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneRead()
116 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneHidden()
123 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneHidden()
134 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_withInstalledApps()
[all …]
DEnterpriseInstalledPackagesListPreferenceControllerTest.java34 import com.android.car.settings.common.PreferenceControllerTestUtil;
70 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps()
77 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps()
88 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneWrite()
95 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneWrite()
106 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneRead()
113 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneRead()
124 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneHidden()
131 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noInstalledApps_zoneHidden()
142 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_withInstalledApps()
[all …]
DDeviceAdminAddPoliciesPreferenceControllerTest.java28 import com.android.car.settings.common.PreferenceControllerTestUtil;
70 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin()
81 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneWrite()
92 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneRead()
103 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneHidden()
111 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner()
120 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_zoneWrite()
129 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_zoneRead()
138 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_deviceOwner_zoneHidden()
146 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_profileOwner()
[all …]
DBaseAdminGrantedPermissionsApplicationListPreferenceControllerTestCase.java39 import com.android.car.settings.common.PreferenceControllerTestUtil;
91 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted()
98 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted()
109 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite()
116 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite()
127 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneRead()
134 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneRead()
145 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden()
152 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden()
163 PreferenceControllerTestUtil.assertAvailability(mSpiedController.getAvailabilityStatus(), in testGetAvailabilityStatus_permissionsGranted()
[all …]
DEnterprisePrivacySettingsPreferenceControllerTest.java26 import com.android.car.settings.common.PreferenceControllerTestUtil;
55 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature()
69 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature_zoneWrite()
83 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature_zoneRead()
97 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature_zoneHidden()
106 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_noDeviceOwner()
115 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_noDeviceOwner_zoneWrite()
124 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_noDeviceOwner_zoneRead()
133 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_noDeviceOwner_zoneHidden()
141 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_withDeviceOwner()
[all …]
DEnterpriseSetDefaultAppsPreferenceControllerTest.java35 import com.android.car.settings.common.PreferenceControllerTestUtil;
71 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none()
80 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none_zoneWrite()
89 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none_zoneRead()
98 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none_zoneHidden()
106 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one()
115 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one_zoneWrite()
124 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one_zoneRead()
133 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one_zoneHidden()
141 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_cached()
[all …]
DWorkPolicyInfoPreferenceControllerTest.java43 import com.android.car.settings.common.PreferenceControllerTestUtil;
71 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature()
80 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature_zoneWrite()
89 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature_zoneRead()
98 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noFeature_zoneHidden()
107 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin()
117 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneWrite()
127 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneRead()
137 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_noAdmin_zoneHidden()
147 PreferenceControllerTestUtil.assertAvailability(controller.getAvailabilityStatus(), in testGetAvailabilityStatus_adminWithoutReceiver()
[all …]
DFailedPasswordWipeCurrentUserPreferenceControllerTest.java24 import com.android.car.settings.common.PreferenceControllerTestUtil;
49 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxNotSet()
58 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxNotSet_zoneWrite()
67 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxNotSet_zoneRead()
76 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxNotSet_zoneHidden()
84 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxSet()
93 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxSet_zoneWrite()
102 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxSet_zoneRead()
111 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_maxSet_zoneHidden()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java39 import com.android.car.settings.common.PreferenceControllerTestUtil;
83 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none()
93 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none_zoneWrite()
103 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none_zoneRead()
113 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_none_zoneHidden()
121 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one()
130 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one_zoneWrite()
139 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one_zoneRead()
148 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_one_zoneHidden()
156 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetAvailabilityStatus_cached()
[all …]
DImePreferenceControllerTest.java28 import com.android.car.settings.common.PreferenceControllerTestUtil;
53 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_notSet()
63 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_notSet_zoneWrite()
73 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_notSet_zoneRead()
83 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_notSet_zoneHidden()
92 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_set()
102 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_set_zoneWrite()
112 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_set_zoneRead()
122 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in testGetgetAvailabilityStatus_set_zoneHidden()
DGlobalHttpProxyPreferenceControllerTest.java30 import com.android.car.settings.common.PreferenceControllerTestUtil;
56 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxyNotSet_disablesPreference()
66 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxyNotSet_disablesPreference_zoneWrite()
76 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxyNotSet_disablesPreference_zoneRead()
87 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxyNotSet_disablesPreference_zoneHidden()
96 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxySet_enablesPreference()
105 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxySet_enablesPreference_zoneWrite()
114 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxySet_enablesPreference_zoneRead()
123 PreferenceControllerTestUtil.assertAvailability( in testGlobalProxySet_enablesPreference_zoneHidden()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryGroupPreferenceControllerTest.java42 import com.android.car.settings.common.PreferenceControllerTestUtil;
90 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_notRestricted_available()
100 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneWrite()
105 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneWrite()
112 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneRead()
117 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneRead()
124 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneHidden()
129 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneHidden()
138 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing()
150 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing_zoneWrite()
[all …]
DAddWifiPreferenceControllerTest.java47 import com.android.car.settings.common.PreferenceControllerTestUtil;
96 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in setUp()
116 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_wifiFeatureDisabled_zoneWrite()
125 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_wifiFeatureDisabled_zoneRead()
134 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_wifiFeatureDisabled_zoneHidden()
150 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictionByUm_zoneWrite()
159 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictionByUm_zoneRead()
168 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictionByUm_zoneHidden()
184 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictionByDpm_zoneWrite()
193 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictionByDpm_zoneRead()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountGroupPreferenceControllerTest.java43 import com.android.car.settings.common.PreferenceControllerTestUtil;
95 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_currentUser_noRestriction_available()
108 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_currentUser_noRestriction_available_zoneWrite()
113 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in getAvailabilityStatus_currentUser_noRestriction_available_zoneWrite()
123 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_currentUser_noRestriction_available_zoneRead()
128 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in getAvailabilityStatus_currentUser_noRestriction_available_zoneRead()
138 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_currentUser_noRestriction_available_zoneHidden()
143 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in getAvailabilityStatus_currentUser_noRestriction_available_zoneHidden()
152 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_notCurrentUser_notAvailable()
164 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneWrite()
[all …]
DAddAccountPreferenceControllerTest.java50 import com.android.car.settings.common.PreferenceControllerTestUtil;
101 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in setUp()
126 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneWrite()
138 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneRead()
150 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneHidden()
170 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneWrite()
181 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneRead()
192 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneHidden()
214 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled_zoneWrite()
226 PreferenceControllerTestUtil.assertAvailability(mController.getAvailabilityStatus(), in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled_zoneRead()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsEndSessionPreferenceControllerTest.java40 import com.android.car.settings.common.PreferenceControllerTestUtil;
99 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nullDpm_unsupportedOnDevice()
108 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nullDpm_unsupportedOnDevice_zoneWrite()
117 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nullDpm_unsupportedOnDevice_zoneRead()
126 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nullDpm_unsupportedOnDevice_zoneHidden()
136 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice()
147 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneWrite()
158 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneRead()
169 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneHidden()
179 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetEntryPreferenceControllerTest.java50 import com.android.car.settings.common.PreferenceControllerTestUtil;
103 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
128 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneWrite()
139 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneRead()
150 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneHidden()
169 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_unrestricted_available_zoneWrite()
180 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_unrestricted_available_zoneRead()
191 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_unrestricted_available_zoneHidden()
212 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_notDpmRestricted_disabledForUser_zoneWrite()
224 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_notDpmRestricted_disabledForUser_zoneRead()
[all …]
DResetEsimPreferenceControllerTest.java39 import com.android.car.settings.common.PreferenceControllerTestUtil;
86 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
109 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_disabledEuiccManager_unsupportedOnDevice_zoneWrite()
118 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_disabledEuiccManager_unsupportedOnDevice_zoneRead()
127 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_disabledEuiccManager_unsupportedOnDevice_zoneHidden()
143 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccNotProvisioned_unsupportedOnDevice_zoneWrite()
152 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccNotProvisioned_unsupportedOnDevice_zoneRead()
161 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccNotProvisioned_unsupportedOnDevice_zoneHidden()
181 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneWrite()
192 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneRead()
[all …]
DResetNetworkEntryPreferenceControllerTest.java43 import com.android.car.settings.common.PreferenceControllerTestUtil;
81 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
100 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneWrite()
111 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneRead()
122 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneHidden()
144 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneWrite()
156 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneRead()
168 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneHidden()
191 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_restrictedByDpm_disabledForUser_zoneWrite()
204 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_adminUser_restrictedByDpm_disabledForUser_zoneRead()
[all …]
DDeveloperOptionsEntryPreferenceControllerTest.java46 import com.android.car.settings.common.PreferenceControllerTestUtil;
100 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
120 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsEnabled_isAvailable_zoneWrite()
128 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsEnabled_isAvailable_zoneRead()
136 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsEnabled_isAvailable_zoneHidden()
151 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneWrite()
159 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneRead()
167 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneHidden()
186 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneWrite()
196 PreferenceControllerTestUtil.assertAvailability( in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneRead()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DCredentialsResetPreferenceControllerTest.java45 import com.android.car.settings.common.PreferenceControllerTestUtil;
83 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
104 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByUm_disabled_zoneWrite()
116 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByUm_disabled_zoneRead()
128 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByUm_disabled_zoneHidden()
149 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByDpm_viewing_zoneWrite()
161 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByDpm_viewing_zoneRead()
173 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByDpm_viewing_zoneHidden()
198 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByBothUmDpm_disabled_zoneWrite()
211 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_restrictedByBothUmDpm_disabled_zoneRead()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DAddMobileNetworkPreferenceControllerTest.java41 import com.android.car.settings.common.PreferenceControllerTestUtil;
79 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
94 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccDisabled_isUnsupported_zoneWrite()
103 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccDisabled_isUnsupported_zoneRead()
112 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccDisabled_isUnsupported_zoneHidden()
132 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccEnabled_intentResolves_isAvailable_zoneWrite()
143 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccEnabled_intentResolves_isAvailable_zoneRead()
154 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccEnabled_intentResolves_isAvailable_zoneHidden()
170 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccEnabled_intentFailsToResolve_isUnsupported_zoneWrite()
179 PreferenceControllerTestUtil.assertAvailability( in getAvailabilityStatus_euiccEnabled_intentFailsToResolve_isUnsupported_zoneRead()
[all …]

123456789