/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 359 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/ |
D | UserTypeFactory.java | 317 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()
|
D | UserTypeDetails.java | 303 public boolean isProfile() { in isProfile() method in UserTypeDetails 549 if (!isProfile()) { in createUserTypeDetails() 581 private boolean isProfile() { in isProfile() method in UserTypeDetails.Builder
|
D | UserManagerService.java | 1470 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 …]
|
D | LauncherAppsService.java | 400 if (callingUserInfo != null && callingUserInfo.isProfile()) { in canAccessProfile()
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 333 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/ |
D | UserController.java | 609 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/ |
D | NotificationHistoryManager.java | 404 if (!userInfo.isProfile()) { in observe()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 2559 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/ |
D | UserSystemPackageInstallerTest.java | 168 if (details.isSystem() || details.isProfile()) { in testDetermineWhitelistedPackagesForUserTypes()
|
D | UserManagerTest.java | 560 assertThat(userManagerForUser.isProfile()).isEqualTo(userTypeDetails.isProfile()); in testProfileTypeInformation()
|
/frameworks/base/services/core/java/com/android/server/tv/interactive/ |
D | TvInteractiveAppManagerService.java | 413 if (userInfo.isProfile()) { in switchUser() 487 if (userInfo.isProfile() in startUser()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 470 if (userInfo.isProfile() in startUser() 504 if (userInfo.isProfile()) { in switchUser()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 3742 if (userInfo != null && userInfo.isProfile()) { in isProfileWithLockedParent() 3757 if (userInfo != null && userInfo.isProfile()) { in isProfileWithUnlockedParent()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1358 boolean isProfile = parentUserId != userId; in listAllOwners() 1359 if (!isProfile) continue; in listAllOwners() 14234 if (mUserManager.getUserInfo(callingUserId).isProfile()) {
|
/frameworks/base/core/api/ |
D | test-current.txt | 897 method public boolean isProfile();
|
D | current.txt | 32206 method public boolean isProfile();
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 4757 HSPLandroid/content/pm/UserInfo;->isProfile()Z 12931 HSPLandroid/os/UserManager;->isProfile(I)Z
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 4759 HSPLandroid/content/pm/UserInfo;->isProfile()Z 12933 HSPLandroid/os/UserManager;->isProfile(I)Z
|
/frameworks/base/services/ |
D | art-profile | 37613 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
|