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/
DDefaultAppListChildFragment.java124 ArrayMap<String, Preference> oldPreferences = new ArrayMap<>(); in onRoleListChanged() local
143 clearPreferences(preferenceScreen, oldPreferences); in onRoleListChanged()
146 addPreferences(preferenceScreen, roleItems, oldPreferences, this, mViewModel.getUser(), in onRoleListChanged()
148 addMoreDefaultAppsPreference(preferenceScreen, oldPreferences, context); in onRoleListChanged()
149 addManageDomainUrlsPreference(preferenceScreen, oldPreferences, context); in onRoleListChanged()
170 @NonNull ArrayMap<String, Preference> oldPreferences) { in clearPreferenceCategory() argument
174 clearPreferences(preferenceCategory, oldPreferences); in clearPreferenceCategory()
180 @NonNull ArrayMap<String, Preference> oldPreferences) { in clearPreferences() argument
186 oldPreferences.put(preference.getKey(), preference); in clearPreferences()
194 @NonNull List<RoleItem> roleItems, @NonNull ArrayMap<String, Preference> oldPreferences, in addPreferenceCategory() argument
[all …]
DDefaultAppChildFragment.java130 ArrayMap<String, Preference> oldPreferences = new ArrayMap<>(); in onRoleChanged() local
145 oldPreferences.put(preference.getKey(), preference); in onRoleChanged()
154 oldPreferences, preferenceScreen, context); in onRoleChanged()
167 oldPreferences, preferenceScreen, context); in onRoleChanged()
197 @NonNull ArrayMap<String, Preference> oldPreferences, in addPreference() argument
200 (RoleApplicationPreference) oldPreferences.get(key); in addPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesListPreferenceControllerTest.java132 List<ZenModesListItemPreference> oldPreferences = getModeListItems(mPreference); in updateState_secondTime_updatesPreferences() local
146 assertThat(newPreferences.get(0)).isSameInstanceAs(oldPreferences.get(0)); in updateState_secondTime_updatesPreferences()
147 assertThat(newPreferences.get(1)).isSameInstanceAs(oldPreferences.get(1)); in updateState_secondTime_updatesPreferences()
148 assertThat(newPreferences.get(4)).isSameInstanceAs(oldPreferences.get(2)); in updateState_secondTime_updatesPreferences()
149 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.java120 ArrayMap<String, Preference> oldPreferences = new ArrayMap<>(); in onRoleChanged() local
135 oldPreferences.put(preference.getKey(), preference); in onRoleChanged()
148 (RoleApplicationPreference) oldPreferences.get(key); in onRoleChanged()