Searched refs:parentUserInfo (Results 1 – 2 of 2) sorted by relevance
119 UserInfo parentUserInfo = userManager.getProfileParent(user2.getIdentifier()); in isParentUser() local120 return parentUserInfo != null in isParentUser()121 && parentUserInfo.getUserHandle() != null in isParentUser()122 && parentUserInfo.getUserHandle().equals(user1); in isParentUser()
6070 private Uri getParentProviderUri(Uri uri, @NonNull UserInfo parentUserInfo) { in getParentProviderUri() argument6073 maybeAddUserId(uri, parentUserInfo.getUserHandle().getIdentifier()) in getParentProviderUri()6084 final UserInfo parentUserInfo = UserUtils.getProfileParentUser(getContext()); in openAssetFileThroughParentProvider() local6085 if (parentUserInfo == null) { in openAssetFileThroughParentProvider()6089 final Uri remoteUri = getParentProviderUri(uri, parentUserInfo); in openAssetFileThroughParentProvider()6101 final UserInfo parentUserInfo = UserUtils.getProfileParentUser(getContext()); in queryParentProfileContactsProvider() local6102 if (parentUserInfo == null) { in queryParentProfileContactsProvider()6108 sortOrder, cancellationSignal, parentUserInfo); in queryParentProfileContactsProvider()6119 UserInfo parentUserInfo) { in queryContactsProviderForUser() argument6120 final Uri remoteUri = getParentProviderUri(uri, parentUserInfo); in queryContactsProviderForUser()