Merge cherrypicks of [15596361] into rvc-platform-release.

Change-Id: I6358c251d061931c013eb23dc67432f12c7cd2ad
diff --git a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java b/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java
index 3223c3c..61060f1 100644
--- a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java
+++ b/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java
@@ -119,6 +119,11 @@
     return ImmutableList.copyOf(userProfiles.keySet());
   }
 
+  @Implementation
+  public List<UserHandle> getAllProfiles() {
+    return getUserProfiles();
+  }
+
   /**
    * If any profiles have been added using {@link #addProfile}, return those profiles.
    *