Searched refs:isRoleAvailable (Results 1 – 10 of 10) sorted by relevance
28 boolean isRoleAvailable(in String roleName); in isRoleAvailable() method
216 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() method in RoleManager219 return mService.isRoleAvailable(roleName); in isRoleAvailable()
290 if (!userState.isRoleAvailable(role)) { in maybeMigrateRole()457 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() method in RoleManagerService.Stub461 return getOrCreateUserState(userId).isRoleAvailable(roleName); in isRoleAvailable()
179 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() method in RoleUserState
132 when(mRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)).thenReturn(true); in setUp()
470 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in getApplication()597 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in setDefaultApplicationAsUser()
1496 if (mRm.isRoleAvailable(RoleManager.ROLE_ASSISTANT)) { in RoleObserver()
29574 HSPLcom/android/server/role/RoleManagerService$Stub;->isRoleAvailable(Ljava/lang/String;)Z29620 HSPLcom/android/server/role/RoleUserState;->isRoleAvailable(Ljava/lang/String;)Z
3923 HSPLandroid/app/role/RoleManager;->isRoleAvailable(Ljava/lang/String;)Z
7764 method public boolean isRoleAvailable(@NonNull String);