Searched refs:isAvailableAsUser (Results 1 – 9 of 9) sorted by relevance
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | Role.java | 275 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()
|
D | DialerRoleBehavior.java | 43 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in DialerRoleBehavior
|
D | EmergencyRoleBehavior.java | 42 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in EmergencyRoleBehavior
|
D | SmsRoleBehavior.java | 44 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in SmsRoleBehavior
|
D | RoleBehavior.java | 46 default boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method
|
D | HomeRoleBehavior.java | 56 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in HomeRoleBehavior
|
D | AssistantRoleBehavior.java | 78 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser() method in AssistantRoleBehavior
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | DefaultAppActivity.java | 89 if (!role.isAvailableAsUser(user, this)) { in onCreate()
|
D | RoleListLiveData.java | 95 if (!role.isAvailableAsUser(mUser, mContext)) { in loadValueInBackground()
|