Home
last modified time | relevance | path

Searched refs:isProfile (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java359 private UserInfo createCurrentUser(boolean isProfile) { in createCurrentUser() argument
362 return isProfile ? createNewProfile(ui) : ui; in createCurrentUser()
365 private UserInfo createPrimaryUser(boolean isProfile) { in createPrimaryUser() argument
368 return isProfile ? createNewProfile(ui) : ui; in createPrimaryUser()
371 private UserInfo createUnexpiredUser(boolean isProfile) { in createUnexpiredUser() argument
374 return isProfile ? createNewProfile(ui) : ui; in createUnexpiredUser()
377 private UserInfo createRestrictedUser(boolean isProfile) { in createRestrictedUser() argument
382 return isProfile ? createNewProfile(ui) : ui; in createRestrictedUser()
389 doReturn(true).when(ui).isProfile(); in createNewProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java317 final boolean isProfile; in customizeBuilders()
320 isProfile = true; in customizeBuilders()
322 isProfile = false; in customizeBuilders()
353 (isProfile && builder.getBaseType() == UserInfo.FLAG_PROFILE) in customizeBuilders()
354 || (!isProfile && builder.getBaseType() == UserInfo.FLAG_FULL); in customizeBuilders()
360 } else if (isProfile) { in customizeBuilders()
373 if (isProfile) { in customizeBuilders()
391 } else if (isProfile && "badge-labels".equals(childName)) { in customizeBuilders()
393 } else if (isProfile && "badge-colors".equals(childName)) { in customizeBuilders()
395 } else if (isProfile && "badge-colors-dark".equals(childName)) { in customizeBuilders()
DUserTypeDetails.java303 public boolean isProfile() { in isProfile() method in UserTypeDetails
549 if (!isProfile()) { in createUserTypeDetails()
581 private boolean isProfile() { in isProfile() method in UserTypeDetails.Builder
DUserManagerService.java1470 return userTypeDetails != null && userTypeDetails.isProfile(); in isUserTypeSubtypeOfProfile()
1566 public boolean isProfile(@UserIdInt int userId) { in isProfile() method in UserManagerService
1570 return userInfo != null && userInfo.isProfile(); in isProfile()
1584 return userInfo.isProfile() ? userInfo.userType : ""; in getProfileType()
1596 return userTypeDetails != null ? userTypeDetails.isProfile() in isMediaSharedWithParent()
1607 return userTypeDetails != null && userTypeDetails.isProfile() in isCredentialSharableWithParent()
3322 if (!userInfo.isProfile()) { in upgradeProfileToTypeLU()
4015 final boolean isProfile = userTypeDetails.isProfile(); in createUserInternalUncheckedNoTracing()
4053 if (isProfile && !canAddMoreProfilesToUser(userType, parentId, false)) { in createUserInternalUncheckedNoTracing()
4118 if (isProfile) { in createUserInternalUncheckedNoTracing()
[all …]
DLauncherAppsService.java400 if (callingUserInfo != null && callingUserInfo.isProfile()) { in canAccessProfile()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java333 public boolean isProfile() { in isProfile() method in UserInfo
402 return !isProfile(); in supportsSwitchTo()
417 if (isProfile() || isGuest() || isRestricted()) { in canHaveProfile()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java609 if (mInjector.getUserManager().isProfile(userId)) { in finishUserBoot()
734 if (userInfo.isProfile()) { in finishUserUnlocked()
900 if (userInfo == null || !userInfo.isProfile()) {
1310 if (userInfo.isProfile()) {
1401 if (userInfo == null || !userInfo.isProfile()) {
1520 if (foreground && userInfo.isProfile()) {
1845 if (targetUserInfo.isProfile()) {
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java404 if (!userInfo.isProfile()) { in observe()
/frameworks/base/core/java/android/os/
DUserManager.java2559 public boolean isProfile() { in isProfile() method in UserManager
2560 return isProfile(mUserId); in isProfile()
2563 private boolean isProfile(@UserIdInt int userId) { in isProfile() method in UserManager
4579 if (!isProfile(userId)) { in hasBadge()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java168 if (details.isSystem() || details.isProfile()) { in testDetermineWhitelistedPackagesForUserTypes()
DUserManagerTest.java560 assertThat(userManagerForUser.isProfile()).isEqualTo(userTypeDetails.isProfile()); in testProfileTypeInformation()
/frameworks/base/services/core/java/com/android/server/tv/interactive/
DTvInteractiveAppManagerService.java413 if (userInfo.isProfile()) { in switchUser()
487 if (userInfo.isProfile() in startUser()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java470 if (userInfo.isProfile() in startUser()
504 if (userInfo.isProfile()) { in switchUser()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3742 if (userInfo != null && userInfo.isProfile()) { in isProfileWithLockedParent()
3757 if (userInfo != null && userInfo.isProfile()) { in isProfileWithUnlockedParent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1358 boolean isProfile = parentUserId != userId; in listAllOwners()
1359 if (!isProfile) continue; in listAllOwners()
14234 if (mUserManager.getUserInfo(callingUserId).isProfile()) {
/frameworks/base/core/api/
Dtest-current.txt897 method public boolean isProfile();
Dcurrent.txt32206 method public boolean isProfile();
/frameworks/base/boot/
Dboot-image-profile.txt4757 HSPLandroid/content/pm/UserInfo;->isProfile()Z
12931 HSPLandroid/os/UserManager;->isProfile(I)Z
/frameworks/base/config/
Dboot-image-profile.txt4759 HSPLandroid/content/pm/UserInfo;->isProfile()Z
12933 HSPLandroid/os/UserManager;->isProfile(I)Z
/frameworks/base/services/
Dart-profile37613 PLcom/android/server/pm/UserManagerService;->isProfile(I)Z
37752 HSPLcom/android/server/pm/UserTypeDetails$Builder;->isProfile()Z
37792 HSPLcom/android/server/pm/UserTypeDetails;->isProfile()Z