Home
last modified time | relevance | path

Searched refs:parentUserInfo (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java119 UserInfo parentUserInfo = userManager.getProfileParent(user2.getIdentifier()); in isParentUser() local
120 return parentUserInfo != null in isParentUser()
121 && parentUserInfo.getUserHandle() != null in isParentUser()
122 && parentUserInfo.getUserHandle().equals(user1); in isParentUser()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java6070 private Uri getParentProviderUri(Uri uri, @NonNull UserInfo parentUserInfo) { in getParentProviderUri() argument
6073 maybeAddUserId(uri, parentUserInfo.getUserHandle().getIdentifier()) in getParentProviderUri()
6084 final UserInfo parentUserInfo = UserUtils.getProfileParentUser(getContext()); in openAssetFileThroughParentProvider() local
6085 if (parentUserInfo == null) { in openAssetFileThroughParentProvider()
6089 final Uri remoteUri = getParentProviderUri(uri, parentUserInfo); in openAssetFileThroughParentProvider()
6101 final UserInfo parentUserInfo = UserUtils.getProfileParentUser(getContext()); in queryParentProfileContactsProvider() local
6102 if (parentUserInfo == null) { in queryParentProfileContactsProvider()
6108 sortOrder, cancellationSignal, parentUserInfo); in queryParentProfileContactsProvider()
6119 UserInfo parentUserInfo) { in queryContactsProviderForUser() argument
6120 final Uri remoteUri = getParentProviderUri(uri, parentUserInfo); in queryContactsProviderForUser()