Searched refs:roleItems (Results 1 – 5 of 5) sorted by relevance
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | MergeRoleListLiveData.java | 42 addSource(liveData, roleItems -> onRoleListChanged()); in MergeRoleListLiveData() 52 List<RoleItem> roleItems = liveData.getValue(); in onRoleListChanged() local 53 if (roleItems == null) { in onRoleListChanged() 56 int roleItemsSize = roleItems.size(); in onRoleListChanged() 58 RoleItem roleItem = roleItems.get(roleItemsIndex); in onRoleListChanged()
|
D | DefaultAppListChildFragment.java | 84 mViewModel.getLiveData().observe(this, roleItems -> onRoleListChanged()); in onActivityCreated() 86 mViewModel.getWorkLiveData().observe(this, roleItems -> onRoleListChanged()); in onActivityCreated() 91 List<RoleItem> roleItems = mViewModel.getLiveData().getValue(); in onRoleListChanged() local 92 if (roleItems == null) { in onRoleListChanged() 125 addPreferences(preferenceScreen, roleItems, oldPreferences, this, mViewModel.getUser(), in onRoleListChanged() 156 @NonNull List<RoleItem> roleItems, @NonNull ArrayMap<String, Preference> oldPreferences, in addPreferences() argument 160 int roleItemsSize = roleItems.size(); in addPreferences() 162 RoleItem roleItem = roleItems.get(i); in addPreferences()
|
D | SpecialAppAccessListChildFragment.java | 67 mViewModel.getLiveData().observe(this, roleItems -> onRoleListChanged()); in onActivityCreated() 71 List<RoleItem> roleItems = mViewModel.getLiveData().getValue(); in onRoleListChanged() local 72 if (roleItems == null) { in onRoleListChanged() 94 int roleItemsSize = roleItems.size(); in onRoleListChanged() 96 RoleItem roleItem = roleItems.get(i); in onRoleListChanged()
|
D | RoleListLiveData.java | 85 List<RoleItem> roleItems = new ArrayList<>(); in loadValueInBackground() local 125 roleItems.add(new RoleItem(role, holderApplicationInfos)); in loadValueInBackground() 128 return roleItems; in loadValueInBackground()
|
D | MergeRoleLiveData.java | 43 addSource(liveData, roleItems -> onRoleChanged()); in MergeRoleLiveData()
|