Searched refs:otherUserId (Results 1 – 3 of 3) sorted by relevance
145 protected boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument147 && mSameProfileGroupIds.get(userId) == otherUserId in isSameProfileGroup()148 || mSameProfileGroupIds.containsKey(otherUserId) in isSameProfileGroup()149 && mSameProfileGroupIds.get(otherUserId) == userId; in isSameProfileGroup()
226 int otherUserId = UserHandle.myUserId() + 1; in loadsAppOpExtraInfo_multipleProfiles() local228 int uid2 = UserHandle.getUid(otherUserId, /* appId= */ 2); in loadsAppOpExtraInfo_multipleProfiles()233 eq(otherUserId))) in loadsAppOpExtraInfo_multipleProfiles()238 otherUserId)).thenReturn(true); in loadsAppOpExtraInfo_multipleProfiles()243 getShadowUserManager().addUserProfile(UserHandle.of(otherUserId)); in loadsAppOpExtraInfo_multipleProfiles()
244 public boolean isSameProfileGroup(int userId, int otherUserId) { in isSameProfileGroup() argument245 return getUserInfo(userId).profileGroupId == getUserInfo(otherUserId).profileGroupId; in isSameProfileGroup()