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.java1351 UserInfo targetUserInfo = getUserInfoNoChecks(targetUserId); in getUserIcon() local
1352 if (targetUserInfo == null || targetUserInfo.partial) { in getUserIcon()
1359 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()
1366 if (targetUserInfo.iconPath == null) { in getUserIcon()
1369 iconPath = targetUserInfo.iconPath; in getUserIcon()
4065 UserInfo targetUserInfo = getUserInfoLU(targetUserId); in isProfileAccessible() local
4066 if (targetUserInfo == null || !targetUserInfo.isEnabled()) { in isProfileAccessible()
4076 if (targetUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID || in isProfileAccessible()
4077 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.java1326 UserInfo targetUserInfo = getUserInfo(targetUserId);
1331 if (targetUserInfo == null) {
1335 if (!targetUserInfo.supportsSwitchTo()) {
1339 if (targetUserInfo.isManagedProfile()) {
1348 Pair<UserInfo, UserInfo> userNames = new Pair<>(currentUserInfo, targetUserInfo);