Home
last modified time | relevance | path

Searched refs:prefsThatIgnore (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DPreferenceControllerTest.java155 Set prefsThatIgnore = new HashSet<String>(); in shouldApplyUxRestrictions_containsKey() local
156 prefsThatIgnore.add(PREFERENCE_KEY); in shouldApplyUxRestrictions_containsKey()
158 mPreferenceController.setUxRestrictionsIgnoredConfig(false, prefsThatIgnore); in shouldApplyUxRestrictions_containsKey()
165 Set prefsThatIgnore = new HashSet<String>(); in shouldApplyUxRestrictions_not_containsKey() local
166 prefsThatIgnore.add("unknown key"); in shouldApplyUxRestrictions_not_containsKey()
168 mPreferenceController.setUxRestrictionsIgnoredConfig(false, prefsThatIgnore); in shouldApplyUxRestrictions_not_containsKey()
175 Set prefsThatIgnore = new HashSet<String>(); in shouldApplyUxRestrictions_allIgnore() local
176 prefsThatIgnore.add("unknown key"); in shouldApplyUxRestrictions_allIgnore()
178 mPreferenceController.setUxRestrictionsIgnoredConfig(true, prefsThatIgnore); in shouldApplyUxRestrictions_allIgnore()
512 protected boolean isUxRestrictionsIgnored(boolean allIgnores, Set prefsThatIgnore) { in isUxRestrictionsIgnored() argument
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceControllerTest.java300 Set<String> prefsThatIgnore = new HashSet<>(); in fetchWifiEntries_getSavedWifiEntries() local
301 prefsThatIgnore.add("unknown key"); in fetchWifiEntries_getSavedWifiEntries()
303 prefController.setUxRestrictionsIgnoredConfig(/* allIgnore= */ false, prefsThatIgnore); in fetchWifiEntries_getSavedWifiEntries()
383 protected boolean isUxRestrictionsIgnored(boolean allIgnores, Set prefsThatIgnore) { in isUxRestrictionsIgnored() argument
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java679 protected boolean isUxRestrictionsIgnored(boolean allIgnores, Set prefsThatIgnore) { in isUxRestrictionsIgnored() argument
680 return allIgnores || prefsThatIgnore.contains(mPreferenceKey); in isUxRestrictionsIgnored()