Searched refs:otherUserId (Results 1 – 3 of 3) sorted by relevance
171 protected boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument173 && mSameProfileGroupIds.get(userId) == otherUserId in isSameProfileGroup()174 || mSameProfileGroupIds.containsKey(otherUserId) in isSameProfileGroup()175 && 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()
243 public boolean isSameProfileGroup(int userId, int otherUserId) { in isSameProfileGroup() argument244 return getUserInfo(userId).profileGroupId == getUserInfo(otherUserId).profileGroupId; in isSameProfileGroup()