Home
last modified time | relevance | path

Searched refs:setAvailabilityStatusForZone (Results 1 – 25 of 101) sorted by relevance

12345

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddExplanationPreferenceControllerTest.java59 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noAdmin_zoneWrite()
71 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noAdmin_zoneRead()
83 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_noAdmin_zoneHidden()
100 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_deviceOwner_noReason_zoneWrite()
109 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_deviceOwner_noReason_zoneRead()
118 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_deviceOwner_noReason_zoneHidden()
137 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_deviceOwner_withReason_zoneWrite()
147 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_deviceOwner_withReason_zoneRead()
157 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_deviceOwner_withReason_zoneHidden()
174 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_profileOwner_noReason_zoneWrite()
[all …]
DDeviceAdminAddSupportPreferenceControllerTest.java57 controller.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noAdmin_zoneWrite()
68 controller.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_noAdmin_zoneRead()
79 controller.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_noAdmin_zoneHidden()
96 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_nullMessage_zoneWrite()
105 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_nullMessage_zoneRead()
114 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_nullMessage_zoneHidden()
131 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_emptyMessage_zoneWrite()
140 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_emptyMessage_zoneRead()
149 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_emptyMessage_zoneHidden()
166 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_validMessage_zoneWrite()
[all …]
DDeviceAdminAddPoliciesPreferenceControllerTest.java79 controller.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noAdmin_zoneWrite()
90 controller.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_noAdmin_zoneRead()
101 controller.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_noAdmin_zoneHidden()
118 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_deviceOwner_zoneWrite()
127 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_deviceOwner_zoneRead()
136 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_deviceOwner_zoneHidden()
153 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_profileOwner_zoneWrite()
162 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_profileOwner_zoneRead()
171 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_profileOwner_zoneHidden()
188 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_regularAdmin_zoneWrite()
[all …]
DEnterprisePrivacySettingsPreferenceControllerTest.java67 controller.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noFeature_zoneWrite()
81 controller.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_noFeature_zoneRead()
95 controller.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_noFeature_zoneHidden()
113 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noDeviceOwner_zoneWrite()
122 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_noDeviceOwner_zoneRead()
131 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_noDeviceOwner_zoneHidden()
148 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_withDeviceOwner_zoneWrite()
157 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_withDeviceOwner_zoneRead()
166 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_withDeviceOwner_zoneHidden()
DWorkPolicyInfoPreferenceControllerTest.java78 controller.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noFeature_zoneWrite()
87 controller.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_noFeature_zoneRead()
96 controller.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_noFeature_zoneHidden()
115 controller.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_noAdmin_zoneWrite()
125 controller.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_noAdmin_zoneRead()
135 controller.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_noAdmin_zoneHidden()
156 controller.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_adminWithoutReceiver_zoneWrite()
167 controller.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_adminWithoutReceiver_zoneRead()
178 controller.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_adminWithoutReceiver_zoneHidden()
199 controller.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_adminWithReceiver_zoneWrite()
[all …]
DEnterpriseSetDefaultAppsPreferenceControllerTest.java78 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_none_zoneWrite()
87 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_none_zoneRead()
96 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_none_zoneHidden()
113 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_one_zoneWrite()
122 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_one_zoneRead()
131 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_one_zoneHidden()
154 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_cached_zoneWrite()
169 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_cached_zoneRead()
184 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_cached_zoneHidden()
DFailedPasswordWipeCurrentUserPreferenceControllerTest.java55 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_maxNotSet_zoneWrite()
64 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_maxNotSet_zoneRead()
73 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_maxNotSet_zoneHidden()
90 mController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_maxSet_zoneWrite()
99 mController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_maxSet_zoneRead()
108 mController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_maxSet_zoneHidden()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetEntryPreferenceControllerTest.java126 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneWrite()
137 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneRead()
148 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneHidden()
167 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_adminUser_unrestricted_available_zoneWrite()
178 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_adminUser_unrestricted_available_zoneRead()
189 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_adminUser_unrestricted_available_zoneHidden()
210 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_adminUser_notDpmRestricted_disabledForUser_zoneWrite()
222 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_adminUser_notDpmRestricted_disabledForUser_zoneRead()
234 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_adminUser_notDpmRestricted_disabledForUser_zoneHidden()
257 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_adminUser_baseRestricted_disabledForUser_zoneWrite()
[all …]
DResetEsimPreferenceControllerTest.java107 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_disabledEuiccManager_unsupportedOnDevice_zoneWrite()
116 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_disabledEuiccManager_unsupportedOnDevice_zoneRead()
125 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_disabledEuiccManager_unsupportedOnDevice_zoneHidden()
141 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_euiccNotProvisioned_unsupportedOnDevice_zoneWrite()
150 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_euiccNotProvisioned_unsupportedOnDevice_zoneRead()
159 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_euiccNotProvisioned_unsupportedOnDevice_zoneHidden()
179 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneWrite()
190 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneRead()
201 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneHidden()
220 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_euiccProvisioned_available_zoneWrite()
[all …]
DResetNetworkEntryPreferenceControllerTest.java97 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneWrite()
108 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneRead()
119 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneHidden()
141 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneWrite()
153 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneRead()
165 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneHidden()
188 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_adminUser_restrictedByDpm_disabledForUser_zoneWrite()
201 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_adminUser_restrictedByDpm_disabledForUser_zoneRead()
214 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_adminUser_restrictedByDpm_disabledForUser_zoneHidden()
237 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_adminUser_notRestricted_available_zoneWrite()
[all …]
DDeveloperOptionsEntryPreferenceControllerTest.java118 mPreferenceController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_devOptionsEnabled_isAvailable_zoneWrite()
126 mPreferenceController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_devOptionsEnabled_isAvailable_zoneRead()
134 mPreferenceController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_devOptionsEnabled_isAvailable_zoneHidden()
149 mPreferenceController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneWrite()
157 mPreferenceController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneRead()
165 mPreferenceController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_devOptionsDisabled_isUnavailable_zoneHidden()
182 mPreferenceController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneWrite()
192 mPreferenceController.setAvailabilityStatusForZone("read"); in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneRead()
202 mPreferenceController.setAvailabilityStatusForZone("hidden"); in testGetAvailabilityStatus_devOptionsEnabled_isUnavailable_zoneHidden()
221 mPreferenceController.setAvailabilityStatusForZone("write"); in testGetAvailabilityStatus_devOptionsEnabled_availableForViewing_zoneWrite()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DAddWifiPreferenceControllerTest.java114 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_wifiFeatureDisabled_zoneWrite()
123 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_wifiFeatureDisabled_zoneRead()
132 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_wifiFeatureDisabled_zoneHidden()
148 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_restrictionByUm_zoneWrite()
157 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_restrictionByUm_zoneRead()
166 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_restrictionByUm_zoneHidden()
182 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_restrictionByDpm_zoneWrite()
191 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_restrictionByDpm_zoneRead()
200 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_restrictionByDpm_zoneHidden()
218 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_differentRestriction_zoneWrite()
[all …]
DWifiEntryGroupPreferenceControllerTest.java103 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneWrite()
115 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneRead()
127 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneHidden()
153 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing_zoneWrite()
167 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing_zoneRead()
181 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing_zoneHidden()
207 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing_zoneWrite()
221 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing_zoneRead()
235 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing_zoneHidden()
257 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_wifiNotAvailable_unsupportedOnDevice_zoneWrite()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAddAccountPreferenceControllerTest.java124 mController.setAvailabilityStatusForZone("write"); in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneWrite()
136 mController.setAvailabilityStatusForZone("read"); in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneRead()
148 mController.setAvailabilityStatusForZone("hidden"); in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneHidden()
168 mController.setAvailabilityStatusForZone("write"); in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneWrite()
179 mController.setAvailabilityStatusForZone("read"); in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneRead()
190 mController.setAvailabilityStatusForZone("hidden"); in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneHidden()
212 mController.setAvailabilityStatusForZone("write"); in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled_zoneWrite()
224 mController.setAvailabilityStatusForZone("read"); in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled_zoneRead()
236 mController.setAvailabilityStatusForZone("hidden"); in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled_zoneHidden()
260 mController.setAvailabilityStatusForZone("write"); in cannotModifyUsers_addAccountButtonShouldBeDisabled_zoneWrite()
[all …]
DAccountGroupPreferenceControllerTest.java109 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_currentUser_noRestriction_available_zoneWrite()
124 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_currentUser_noRestriction_available_zoneRead()
139 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_currentUser_noRestriction_available_zoneHidden()
165 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneWrite()
179 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneRead()
193 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneHidden()
221 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_currentUser_restricedByUserType_notAvailable_zoneWrite()
236 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_currentUser_restricedByUserType_notAvailable_zoneRead()
251 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_currentUser_restricedByUserType_notAvailable_zoneHidden()
281 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_currentUser_restrictedByUm_notAvailable_zoneWrite()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DCredentialsResetPreferenceControllerTest.java102 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_restrictedByUm_disabled_zoneWrite()
114 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_restrictedByUm_disabled_zoneRead()
126 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_restrictedByUm_disabled_zoneHidden()
147 mPreferenceController.setAvailabilityStatusForZone("wrtie"); in getAvailabilityStatus_restrictedByDpm_viewing_zoneWrite()
159 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_restrictedByDpm_viewing_zoneRead()
171 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_restrictedByDpm_viewing_zoneHidden()
196 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_restrictedByBothUmDpm_disabled_zoneWrite()
209 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_restrictedByBothUmDpm_disabled_zoneRead()
222 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_restrictedByBothUmDpm_disabled_zoneHidden()
246 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_unrestricted_available_zoneWrite()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java219 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_defaultsToAvailable_zoneWrite()
225 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_defaultsToAvailable_zoneRead()
231 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_defaultsToAvailable_zoneHidden()
238 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneWrite()
245 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneRead()
252 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_defaultsToConditionallyUnavailable_zoneHidden()
259 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_defaultsToUnsupportedOnDevice_zoneWrite()
266 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_defaultsToUnsupportedOnDevice_zoneRead()
273 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_defaultsToUnsupportedOnDevice_zoneHidden()
280 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_defaultsToDisabledForProfile_zoneWrite()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothEntryPreferenceControllerTest.java73 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_bluetoothAvailable_available_zoneWrite()
82 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_bluetoothAvailable_available_zoneRead()
91 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_bluetoothAvailable_available_zoneHidden()
110 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_bluetoothAvailable_disabledForUser_zoneWrite()
120 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_bluetoothAvailable_disabledForUser_zoneRead()
130 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_bluetoothAvailable_disabledForUser_zoneHidden()
147 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneWrite()
156 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneRead()
165 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneHidden()
DPairNewDevicePreferenceControllerTest.java121 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneWrite()
130 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneRead()
139 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneHidden()
158 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_disallowBluetoothUserRestriction_zoneWrite()
169 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_disallowBluetoothUserRestriction_zoneRead()
180 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_disallowBluetoothUserRestriction_zoneHidden()
201 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_zoneWrite()
212 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_zoneRead()
223 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_disallowConfigBluetoothUserRestriction_zoneHidden()
243 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_available_zoneWrite()
[all …]
DBluetoothPreferenceControllerTest.java103 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneWrite()
112 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneRead()
121 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_bluetoothNotAvailable_unsupportedOnDevice_zoneHidden()
140 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_disallowBluetoothUserRestriction_zoneWrite()
151 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_disallowBluetoothUserRestriction_zoneRead()
162 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_disallowBluetoothUserRestriction_zoneHidden()
183 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneWrite()
194 mController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneRead()
205 mController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneHidden()
227 mController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_available_zoneWrite()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsEndSessionPreferenceControllerTest.java107 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_nullDpm_unsupportedOnDevice_zoneWrite()
116 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_nullDpm_unsupportedOnDevice_zoneRead()
125 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_nullDpm_unsupportedOnDevice_zoneHidden()
146 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneWrite()
157 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneRead()
168 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_logoutDisabled_unsupportedOnDevice_zoneHidden()
189 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice_zoneWrite()
200 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice_zoneRead()
211 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_noLogoutUser_unsupportedOnDevice_zoneHidden()
232 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_logoutEnabled_hasLogoutUser_available_zoneWrite()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DAddMobileNetworkPreferenceControllerTest.java92 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_euiccDisabled_isUnsupported_zoneWrite()
101 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_euiccDisabled_isUnsupported_zoneRead()
110 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_euiccDisabled_isUnsupported_zoneHidden()
130 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_euiccEnabled_intentResolves_isAvailable_zoneWrite()
141 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_euiccEnabled_intentResolves_isAvailable_zoneRead()
152 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_euiccEnabled_intentResolves_isAvailable_zoneHidden()
168 mPreferenceController.setAvailabilityStatusForZone("write"); in getAvailabilityStatus_euiccEnabled_intentFailsToResolve_isUnsupported_zoneWrite()
177 mPreferenceController.setAvailabilityStatusForZone("read"); in getAvailabilityStatus_euiccEnabled_intentFailsToResolve_isUnsupported_zoneRead()
186 mPreferenceController.setAvailabilityStatusForZone("hidden"); in getAvailabilityStatus_euiccEnabled_intentFailsToResolve_isUnsupported_zoneHidden()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DRecentAppsGroupPreferenceControllerTest.java88 mPreferenceController.setAvailabilityStatusForZone("write"); in onCreate_isAvailableByDefault_zoneWrite()
97 mPreferenceController.setAvailabilityStatusForZone("read"); in onCreate_isAvailableByDefault_zoneRead()
106 mPreferenceController.setAvailabilityStatusForZone("hidden"); in onCreate_isAvailableByDefault_zoneHidden()
127 mPreferenceController.setAvailabilityStatusForZone("write"); in onRecentAppsCallback_empty_isUnavailable_zoneWrite()
138 mPreferenceController.setAvailabilityStatusForZone("read"); in onRecentAppsCallback_empty_isUnavailable_zoneRead()
149 mPreferenceController.setAvailabilityStatusForZone("hidden"); in onRecentAppsCallback_empty_isUnavailable_zoneHidden()
172 mPreferenceController.setAvailabilityStatusForZone("write"); in onRecentAppsCallback_notEmpty_isUnavailable_zoneWrite()
184 mPreferenceController.setAvailabilityStatusForZone("read"); in onRecentAppsCallback_notEmpty_isUnavailable_zoneRead()
196 mPreferenceController.setAvailabilityStatusForZone("hidden"); in onRecentAppsCallback_notEmpty_isUnavailable_zoneHidden()
DAllAppsPreferenceControllerTest.java89 mPreferenceController.setAvailabilityStatusForZone("write"); in onCreate_isUnavailableByDefault_zoneWrite()
98 mPreferenceController.setAvailabilityStatusForZone("read"); in onCreate_isUnavailableByDefault_zoneRead()
107 mPreferenceController.setAvailabilityStatusForZone("hidden"); in onCreate_isUnavailableByDefault_zoneHidden()
128 mPreferenceController.setAvailabilityStatusForZone("write"); in onRecentAppsCallback_empty_isAvailable_zoneWrite()
139 mPreferenceController.setAvailabilityStatusForZone("read"); in onRecentAppsCallback_empty_isAvailable_zoneRead()
150 mPreferenceController.setAvailabilityStatusForZone("hidden"); in onRecentAppsCallback_empty_isAvailable_zoneHidden()
173 mPreferenceController.setAvailabilityStatusForZone("write"); in onRecentAppsCallback_notEmpty_isUnavailable_zoneWrite()
185 mPreferenceController.setAvailabilityStatusForZone("read"); in onRecentAppsCallback_notEmpty_isUnavailable_zoneRead()
197 mPreferenceController.setAvailabilityStatusForZone("hidden"); in onRecentAppsCallback_notEmpty_isUnavailable_zoneHidden()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DPreferenceControllerTest.java301 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_WRITE); in testGetAvailabilityStatus_available_zoneWrite()
312 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_READ); in testGetAvailabilityStatus_available_zoneRead()
323 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_HIDDEN); in testGetAvailabilityStatus_available_zoneHidden()
334 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_WRITE); in testGetAvailabilityStatus_availableForViewing_zoneWrite()
345 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_READ); in testGetAvailabilityStatus_availableForViewing_zoneRead()
357 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_HIDDEN); in testGetAvailabilityStatus_availableForViewing_zoneHidden()
368 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_WRITE); in testGetAvailabilityStatus_disabledForProfile_zoneWrite()
379 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_READ); in testGetAvailabilityStatus_disabledForProfile_zoneRead()
390 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_HIDDEN); in testGetAvailabilityStatus_disabledForProfile_zoneHidden()
401 mPreferenceController.setAvailabilityStatusForZone(PREF_AVAILABILITY_STATUS_WRITE); in testGetAvailabilityStatus_unsupportedOnDevice_zoneWrite()
[all …]

12345