Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DAppOp.java96 if (!isAvailableAsUser(packageName, user, context)) { in grantAsUser()
113 if (!isAvailableAsUser(packageName, user, context)) { in revokeAsUser()
120 private boolean isAvailableAsUser(@NonNull String packageName, in isAvailableAsUser() method in AppOp
DPermission.java80 public boolean isAvailableAsUser(@NonNull UserHandle user, @NonNull Context context) { in isAvailableAsUser() method in Permission
DRoleBehavior.java43 default boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method
DRole.java398 public boolean isAvailableAsUser(@NonNull UserHandle user, @NonNull Context context) { in isAvailableAsUser() method in Role
403 return mBehavior.isAvailableAsUser(this, user, context); in isAvailableAsUser()
DRoleParser.java1168 if (!permission.isAvailableAsUser(Process.myUserHandle(), mContext)) { in validatePermission()
1204 if (!appOpPermission.isAvailableAsUser(Process.myUserHandle(), mContext)) { in validateAppOpPermission()
DPermissions.java76 if (!permission.isAvailableAsUser(user, context)) { in filterBySdkVersionAsUser()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/service/
DRoleControllerServiceImpl.java93 if (!role.isAvailableAsUser(mUser, mContext)) { in onGrantDefaultRoles()
222 if (!role.isAvailableAsUser(mUser, mContext)) { in onAddRoleHolder()
281 if (!role.isAvailableAsUser(mUser, mContext)) { in onRemoveRoleHolder()
315 if (!role.isAvailableAsUser(mUser, mContext)) { in onClearRoleHolders()
446 if (!role.isAvailableAsUser(mUser, mContext)) { in onIsApplicationVisibleForRole()
467 if (!role.isAvailableAsUser(mUser, mContext)) { in onIsRoleVisible()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v31/
DAutomotiveRoleBehavior.java34 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in AutomotiveRoleBehavior
DTelevisionRoleBehavior.java34 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in TelevisionRoleBehavior
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v33/
DSystemWearHealthServiceRoleBehavior.java31 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in SystemWearHealthServiceRoleBehavior
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v34/
DNotesRoleBehavior.java41 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in NotesRoleBehavior
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v35/
DRetailDemoRoleBehavior.java58 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in RetailDemoRoleBehavior
DWalletRoleBehavior.java63 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in WalletRoleBehavior
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/
DEmergencyRoleBehavior.java44 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in EmergencyRoleBehavior
DDialerRoleBehavior.java53 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in DialerRoleBehavior
DSmsRoleBehavior.java59 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in SmsRoleBehavior
DAssistantRoleBehavior.java74 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in AssistantRoleBehavior
DHomeRoleBehavior.java71 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in HomeRoleBehavior
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/
DPermissionControllerApplication.java74 if (!role.isAvailableAsUser(Process.myUserHandle(), this) in updateSpecialAppAccessListActivityEnabledState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessActivity.java74 if (!role.isAvailableAsUser(Process.myUserHandle(), this)) { in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/service/
DRoleSearchIndexablesProvider.java64 if (!role.isAvailableAsUser(Process.myUserHandle(), context) in queryRawData()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppActivity.java85 if (!role.isAvailableAsUser(user, this)) { in onCreate()
DRoleListLiveData.java95 if (!role.isAvailableAsUser(mUser, mContext)) { in loadValueInBackground()
DRequestRoleActivity.java109 if (!role.isAvailableAsUser(Process.myUserHandle(), this)) { in onCreate()