Searched refs:isRoleAvailable (Results 1 – 10 of 10) sorted by relevance
28 boolean isRoleAvailable(in String roleName); in isRoleAvailable() method
215 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() method in RoleManager218 return mService.isRoleAvailable(roleName); in isRoleAvailable()
265 if (!userState.isRoleAvailable(role)) { in migrateRoleIfNecessary()431 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() method in RoleManagerService.Stub435 return getOrCreateUserState(userId).isRoleAvailable(roleName); in isRoleAvailable()
183 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() method in RoleUserState
132 when(mRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)).thenReturn(true); in setUp()
476 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in getApplication()603 if (!tm.isSmsCapable() && (roleManager == null || !roleManager.isRoleAvailable( in setDefaultApplicationAsUser()
1308 if (mRm.isRoleAvailable(RoleManager.ROLE_ASSISTANT)) { in RoleObserver()
12793 HSPLcom/android/server/role/RoleManagerService$Stub;->isRoleAvailable(Ljava/lang/String;)Z12816 HSPLcom/android/server/role/RoleUserState;->isRoleAvailable(Ljava/lang/String;)Z
7462 method public boolean isRoleAvailable(@NonNull String);