Home
last modified time | relevance | path

Searched refs:isAvailableAsUser (Results 1 – 9 of 9) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRole.java275 public boolean isAvailableAsUser(@NonNull UserHandle user, @NonNull Context context) { in isAvailableAsUser() method in Role
277 return mBehavior.isAvailableAsUser(this, user, context); in isAvailableAsUser()
290 return isAvailableAsUser(Process.myUserHandle(), context); in isAvailable()
DDialerRoleBehavior.java43 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in DialerRoleBehavior
DEmergencyRoleBehavior.java42 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in EmergencyRoleBehavior
DSmsRoleBehavior.java44 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in SmsRoleBehavior
DRoleBehavior.java46 default boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method
DHomeRoleBehavior.java56 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in HomeRoleBehavior
DAssistantRoleBehavior.java78 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in AssistantRoleBehavior
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DDefaultAppActivity.java89 if (!role.isAvailableAsUser(user, this)) { in onCreate()
DRoleListLiveData.java95 if (!role.isAvailableAsUser(mUser, mContext)) { in loadValueInBackground()