/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 108 targetUserId = getProfileParent(); in onCreate() 363 private int getProfileParent() { in getProfileParent() method in IntentForwarderActivity 364 UserInfo parent = mInjector.getUserManager().getProfileParent(UserHandle.myUserId()); in getProfileParent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 279 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptQuietProfileIfNeeded() 298 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptSuspendedByAdminPackage() 390 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptLockedManagedProfileIfNeeded()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SystemServerAdapter.java | 125 final UserInfo profileParent = userManager.getProfileParent(userId); in registerUserStartedReceiver()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 94 UserInfo parentUserInfo = mUserManager.getProfileParent(user.getIdentifier()); in getSettingsForProfileGroup()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 190 assertThat(mUserManager.getProfileParent(primaryUserId)).isNull(); in testCloneUser() 191 UserInfo parentProfileInfo = mUserManager.getProfileParent(userInfo.id); in testCloneUser() 195 assertThat(mUserManager.getProfileParent(primaryUserId)).isNull(); in testCloneUser() 513 assertThat(mUserManager.getProfileParent(primaryUserId)).isNull(); in testGetProfileParent() 514 UserInfo parentProfileInfo = mUserManager.getProfileParent(userInfo.id); in testGetProfileParent() 518 assertThat(mUserManager.getProfileParent(primaryUserId)).isNull(); in testGetProfileParent()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | ManagedProfilePasswordCache.java | 86 UserInfo parent = mUserManager.getProfileParent(userId); in storePassword()
|
D | LockSettingsService.java | 390 final int parentId = mUserManager.getProfileParent(profileUserId).id; in tieProfileLockIfNecessary() 658 UserInfo parent = mUserManager.getProfileParent(userId); in maybeShowEncryptionNotificationForUser() 1708 verifyCredential(savedCredential, mUserManager.getProfileParent(userId).id, in setLockCredential() 2328 final int parentProfileId = mUserManager.getProfileParent(userId).id; in verifyTiedProfileChallenge()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 69 UserInfo getProfileParent(int userId); in getProfileParent() method
|
D | UserManager.java | 4438 public UserInfo getProfileParent(@UserIdInt int userId) { in getProfileParent() method in UserManager 4440 return mService.getProfileParent(userId); in getProfileParent() 4460 public @Nullable UserHandle getProfileParent(@NonNull UserHandle user) { in getProfileParent() method in UserManager 4461 UserInfo info = getProfileParent(user.getIdentifier()); in getProfileParent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 98 when(mockUserManager.getProfileParent(eq(2))).thenReturn(new UserInfo(1, "name", 0)); in setUp() 100 when(mockUserManager.getProfileParent(eq(3))).thenReturn(new UserInfo(0, "name", 0)); in setUp()
|
D | BaseLockSettingsServiceTests.java | 200 when(mUserManager.getProfileParent(eq(profileId))).thenReturn(PRIMARY_USER_INFO); in installChildProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 273 when(userManager.getProfileParent(anyInt())).thenAnswer( in addUser() 280 when(userManager.getProfileParent(any(UserHandle.class))).thenAnswer( in addUser()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 213 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 246 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 152 when(mUserManager.getProfileParent(TEST_USER_ID)).thenReturn(PARENT_USER_INFO); in setUp()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 3698 final int parentId = mSecurityPolicy.getProfileParent(userId); in onCrossProfileWidgetProvidersChanged() 3743 UserInfo parentInfo = mUserManager.getProfileParent(userId); in isProfileWithLockedParent() 3758 UserInfo parentInfo = mUserManager.getProfileParent(userId); in isProfileWithUnlockedParent() 4018 return getProfileParent(profileId) == parentId; in isParentOrProfile() 4027 final int parentId = getProfileParent(profileId); in isProviderInCallerOrInProfileAndWhitelListed() 4046 public int getProfileParent(int profileId) { in getProfileParent() method in AppWidgetServiceImpl.SecurityPolicy 4049 UserInfo parent = mUserManager.getProfileParent(profileId); in getProfileParent() 4060 final int parentId = mSecurityPolicy.getProfileParent(profileId); in getGroupParent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 506 UserInfo parent = mUserManager.getProfileParent(userId); in resolveProfileParentLocked()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryManagerTest.java | 115 when(mUserManager.getProfileParent(userProfile.id)).thenReturn(userSystem); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 496 final UserInfo profileParent = mUserManager.getProfileParent(userId); in showBouncerForRemoteInput()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Computer.java | 200 UserInfo getProfileParent(int userId); in getProfileParent() method
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 610 final UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserBoot() 735 UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserUnlocked() 1311 UserInfo parent = mInjector.getUserManager().getProfileParent(userId); 1817 final UserInfo parent = mInjector.getUserManager().getProfileParent(testUserId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicyTest.java | 459 verify(mMockUserManager).getProfileParent(userId); in resolveProfileParent_userIdNotCurrentUser_shouldGetProfileParent()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 457 final UserInfo parentInfo = um.getProfileParent(mContext.getUserId()); in getParentProfileRingtones()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 131 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 1055 UserInfo parent = mUserManager.getProfileParent(userId); in resolveCallingProfileParentLocked()
|