Home
last modified time | relevance | path

Searched refs:oldPreferences (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppChildFragment.java164 ArrayMap<String, Preference> oldPreferences = new ArrayMap<>(); in onApplicationListChanged() local
172 clearPreferenceCategory(oldRecommendedPreferenceCategory, oldPreferences); in onApplicationListChanged()
175 clearPreferenceCategory(oldOthersPreferenceCategory, oldPreferences); in onApplicationListChanged()
177 clearPreferences(preferenceScreen, oldPreferences); in onApplicationListChanged()
184 recommendedApplicationItems, oldPreferences, context); in onApplicationListChanged()
190 preferenceScreen, true, noneChecked, otherApplicationItems, oldPreferences, in onApplicationListChanged()
195 addNonePreferenceIfNeeded(preferenceScreen, noneChecked, oldPreferences, context); in onApplicationListChanged()
196 addApplicationPreferences(preferenceScreen, otherApplicationItems, oldPreferences, in onApplicationListChanged()
200 addNonPaymentNfcServicesPreference(preferenceScreen, oldPreferences, context); in onApplicationListChanged()
201 addDescriptionPreference(preferenceScreen, oldPreferences); in onApplicationListChanged()
[all …]
DDefaultAppListChildFragment.java125 ArrayMap<String, Preference> oldPreferences = new ArrayMap<>(); in onRoleListChanged() local
142 clearPreferences(preferenceScreen, oldPreferences); in onRoleListChanged()
145 addRolePreferences(preferenceScreen, roleItems, oldPreferences, this, mViewModel.getUser(), in onRoleListChanged()
147 addMoreDefaultAppsPreference(preferenceScreen, oldPreferences, context); in onRoleListChanged()
148 addManageDomainUrlsPreference(preferenceScreen, oldPreferences, context); in onRoleListChanged()
179 @NonNull ArrayMap<String, Preference> oldPreferences) { in clearPreferenceCategory() argument
183 clearPreferences(preferenceCategory, oldPreferences); in clearPreferenceCategory()
189 @NonNull ArrayMap<String, Preference> oldPreferences) { in clearPreferences() argument
195 oldPreferences.put(preference.getKey(), preference); in clearPreferences()
203 @NonNull List<RoleItem> roleItems, @NonNull ArrayMap<String, Preference> oldPreferences, in addRolePreferenceCategory() argument
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesListPreferenceControllerTest.java129 List<ZenModesListItemPreference> oldPreferences = getModeListItems(mPreference); in updateState_secondTime_updatesPreferences() local
143 assertThat(newPreferences.get(0)).isSameInstanceAs(oldPreferences.get(0)); in updateState_secondTime_updatesPreferences()
144 assertThat(newPreferences.get(1)).isSameInstanceAs(oldPreferences.get(1)); in updateState_secondTime_updatesPreferences()
145 assertThat(newPreferences.get(4)).isSameInstanceAs(oldPreferences.get(2)); in updateState_secondTime_updatesPreferences()
146 assertThat(newPreferences.get(5)).isSameInstanceAs(oldPreferences.get(4)); in updateState_secondTime_updatesPreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessListChildFragment.java86 ArrayMap<String, Preference> oldPreferences = new ArrayMap<>(); in onRoleListChanged() local
96 oldPreferences.put(preference.getKey(), preference); in onRoleListChanged()
105 RolePreference rolePreference = (RolePreference) oldPreferences.get(role.getName()); in onRoleListChanged()
DSpecialAppAccessChildFragment.java122 ArrayMap<String, Preference> oldPreferences = new ArrayMap<>(); in onApplicationListChanged() local
137 oldPreferences.put(preference.getKey(), preference); in onApplicationListChanged()
148 (RoleApplicationPreference) oldPreferences.get(key); in onApplicationListChanged()