Home
last modified time | relevance | path

Searched refs:targetUserInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1410 UserInfo targetUserInfo = getUserInfoNoChecks(targetUserId); in getUserIcon() local
1411 if (targetUserInfo == null || targetUserInfo.partial) { in getUserIcon()
1418 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()
1425 if (targetUserInfo.iconPath == null) { in getUserIcon()
1428 iconPath = targetUserInfo.iconPath; in getUserIcon()
4357 UserInfo targetUserInfo = getUserInfoLU(targetUserId); in isProfileAccessible() local
4358 if (targetUserInfo == null || !targetUserInfo.isEnabled()) { in isProfileAccessible()
4368 if (targetUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID || in isProfileAccessible()
4369 targetUserInfo.profileGroupId != callingUserInfo.profileGroupId) { in isProfileAccessible()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java836 final UserInfo targetUserInfo = mUserInfos.get(targetUserId); in setUp()
838 || targetUserInfo == null || !targetUserInfo.isEnabled()) { in setUp()
841 if (targetUserInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in setUp()
842 && targetUserInfo.profileGroupId == callingUserInfo.profileGroupId) { in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1358 UserInfo targetUserInfo = getUserInfo(targetUserId);
1363 if (targetUserInfo == null) {
1367 if (!targetUserInfo.supportsSwitchTo()) {
1371 if (targetUserInfo.isManagedProfile()) {
1380 Pair<UserInfo, UserInfo> userNames = new Pair<>(currentUserInfo, targetUserInfo);