/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | RoleBehavior.java | 41 default boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() 50 default List<String> getDefaultHolders(@NonNull Role role, @NonNull Context context) { in getDefaultHolders() 58 default String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder() 65 default boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser() 74 default Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser() 82 default void preparePreferenceAsUser(@NonNull Role role, in preparePreferenceAsUser() 90 default void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser() 98 default CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage() 107 default List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser() 116 default Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified() [all …]
|
D | AssistantRoleBehavior.java | 62 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() 69 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder() 75 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser() 82 public Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser() 89 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage() 96 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser() 132 public Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified() 215 public void onHolderChangedAsUser(@NonNull Role role, @NonNull UserHandle user, in onHolderChangedAsUser()
|
D | DialerRoleBehavior.java | 43 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() 50 public void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser() 64 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage() 72 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder() 77 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
|
D | SmsRoleBehavior.java | 44 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() 64 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder() 79 private static String getDefaultHolder(@NonNull Role role, @NonNull Context context) { in getDefaultHolder() 85 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage() 92 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
|
D | Roles.java | 108 private static ArrayMap<String, Role> sRoles; 120 public static ArrayMap<String, Role> get(@NonNull Context context) { in get() 130 private static ArrayMap<String, Role> load(@NonNull Context context) { in load() 132 Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> xml = parseXml(parser); in load() 137 ArrayMap<String, Role> roles = xml.second; in load() 147 private static Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> parseXml( in parseXml() 149 Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> xml = null; in parseXml() 181 private static Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> parseRoles( in parseRoles() 184 ArrayMap<String, Role> roles = new ArrayMap<>(); in parseRoles() 208 Role role = parseRole(parser, permissionSets); in parseRoles() [all …]
|
D | HomeRoleBehavior.java | 56 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() 66 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder() 96 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser() 102 public void preparePreferenceAsUser(@NonNull Role role, @NonNull TwoTargetPreference preference, in preparePreferenceAsUser() 129 public void prepareApplicationPreferenceAsUser(@NonNull Role role, in prepareApplicationPreferenceAsUser() 166 public void onHolderSelectedAsUser(@NonNull Role role, @NonNull String packageName, in onHolderSelectedAsUser()
|
D | BrowserRoleBehavior.java | 54 public List<String> getDefaultHolders(@NonNull Role role, @NonNull Context context) { in getDefaultHolders() 61 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder() 75 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser() 82 public Boolean isPackageQualified(@NonNull Role role, @NonNull String packageName, in isPackageQualified() 119 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
|
D | Role.java | 63 public class Role { class 65 private static final String LOG_TAG = Role.class.getSimpleName(); 162 public Role(@NonNull String name, @Nullable RoleBehavior behavior, in Role() method in Role 596 ArrayMap<String, Role> roles = Roles.get(context); in revoke() 600 Role role = roles.get(roleName); in revoke() 609 Role role = roles.get(roleName); in revoke() 737 Role that = (Role) object; in equals()
|
D | EmergencyRoleBehavior.java | 42 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() 50 public String getFallbackHolder(@NonNull Role role, @NonNull Context context) { in getFallbackHolder() 71 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser() 78 public CharSequence getConfirmationMessage(@NonNull Role role, @NonNull String packageName, in getConfirmationMessage()
|
D | ExclusiveDefaultHolderMixin.java | 47 public static List<String> getDefaultHolders(@NonNull Role role, @NonNull String resourceName, in getDefaultHolders() 56 public static String getDefaultHolder(@NonNull Role role, @NonNull String resourceName, in getDefaultHolder()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/ |
D | RoleControllerServiceImpl.java | 33 import com.android.packageinstaller.role.model.Role; 67 ArrayMap<String, Role> roleMap = Roles.get(this); in onGrantDefaultRoles() 68 List<Role> roles = new ArrayList<>(); in onGrantDefaultRoles() 73 Role role = roleMap.valueAt(i); in onGrantDefaultRoles() 94 Role role = roles.get(rolesIndex); in onGrantDefaultRoles() 187 Role role = Roles.get(this).get(roleName); in onAddRoleHolder() 245 Role role = Roles.get(this).get(roleName); in onRemoveRoleHolder() 279 Role role = Roles.get(this).get(roleName); in onClearRoleHolders() 307 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal() 314 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal() [all …]
|
D | RoleSearchIndexablesProvider.java | 29 import com.android.packageinstaller.role.model.Role; 49 ArrayMap<String, Role> roles = Roles.get(context); in queryRawData() 52 Role role = roles.valueAt(i); in queryRawData()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | DefaultAppViewModel.java | 33 import com.android.packageinstaller.role.model.Role; 45 private final Role mRole; 56 public DefaultAppViewModel(@NonNull Role role, @NonNull UserHandle user, in DefaultAppViewModel() 110 private Role mRole; 118 public Factory(@NonNull Role role, @NonNull UserHandle user, in Factory()
|
D | RoleItem.java | 23 import com.android.packageinstaller.role.model.Role; 36 private final Role mRole; 44 public RoleItem(@NonNull Role role, @NonNull List<ApplicationInfo> holderApplicationInfos) { in RoleItem() 50 public Role getRole() { in getRole()
|
D | RequestRoleViewModel.java | 26 import com.android.packageinstaller.role.model.Role; 33 public RequestRoleViewModel(@NonNull Role role, @NonNull Application application) { in RequestRoleViewModel() 43 private Role mRole; 48 public Factory(@NonNull Role role, @NonNull Application application) { in Factory()
|
D | SpecialAppAccessViewModel.java | 35 import com.android.packageinstaller.role.model.Role; 48 private final Role mRole; 57 public SpecialAppAccessViewModel(@NonNull Role role, @NonNull Application application) { in SpecialAppAccessViewModel() 164 private Role mRole; 169 public Factory(@NonNull Role role, @NonNull Application application) { in Factory()
|
D | RoleLiveData.java | 32 import com.android.packageinstaller.role.model.Role; 47 private final Role mRole; 53 public RoleLiveData(@NonNull Role role, @NonNull UserHandle user, @NonNull Context context) { in RoleLiveData()
|
D | RoleListLiveData.java | 32 import com.android.packageinstaller.role.model.Role; 83 ArrayMap<String, Role> roles = Roles.get(mContext); in loadValueInBackground() 89 Role role = roles.valueAt(rolesIndex); in loadValueInBackground()
|
D | SpecialAppAccessListChildFragment.java | 35 import com.android.packageinstaller.role.model.Role; 98 Role role = roleItem.getRole(); in onRoleListChanged() 122 Role role = Roles.get(context).get(roleName); in onPreferenceClick()
|
D | SpecialAppAccessActivity.java | 31 import com.android.packageinstaller.role.model.Role; 71 Role role = Roles.get(this).get(roleName); in onCreate()
|
D | DefaultAppListChildFragment.java | 41 import com.android.packageinstaller.role.model.Role; 164 Role role = roleItem.getRole(); in addPreferences() 196 Role role = Roles.get(context).get(roleName); in onPreferenceClick()
|
D | DefaultAppActivity.java | 33 import com.android.packageinstaller.role.model.Role; 83 Role role = Roles.get(this).get(roleName); in onCreate()
|
D | RequestRoleFragment.java | 54 import com.android.packageinstaller.role.model.Role; 77 private Role mRole; 468 private final Role mRole; 490 Adapter(@NonNull Role role) { in Adapter()
|
D | RequestRoleActivity.java | 37 import com.android.packageinstaller.role.model.Role; 95 Role role = Roles.get(this).get(mRoleName); in onCreate()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/ |
D | PackageInstallerApplication.java | 25 import com.android.packageinstaller.role.model.Role; 40 ArrayMap<String, Role> roles = Roles.get(this); in updateSpecialAppAccessListActivityEnabledState() 44 Role role = roles.valueAt(i); in updateSpecialAppAccessListActivityEnabledState()
|