/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 87 targetUserId = getProfileParent(); in onCreate() 257 private int getProfileParent() { in getProfileParent() method in IntentForwarderActivity 258 UserInfo parent = mInjector.getUserManager().getProfileParent(UserHandle.myUserId()); in getProfileParent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 206 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptQuietProfileIfNeeded() 225 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptSuspendedByAdminPackage() 283 final UserInfo parent = mUserManager.getProfileParent(mUserId); in interceptWorkProfileChallengeIfNeeded()
|
D | ActivityStarter.java | 1208 UserInfo parent = userManager.getProfileParent(userId); in startActivityMayWait()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 61 UserInfo getProfileParent(int userHandle); in getProfileParent() method
|
D | UserManager.java | 2660 public UserInfo getProfileParent(@UserIdInt int userHandle) { in getProfileParent() method in UserManager 2662 return mService.getProfileParent(userHandle); in getProfileParent() 2679 public @Nullable UserHandle getProfileParent(@NonNull UserHandle user) { in getProfileParent() method in UserManager 2680 UserInfo info = getProfileParent(user.getIdentifier()); in getProfileParent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 239 assertNull(mUserManager.getProfileParent(primaryUserId)); in testGetProfileParent() 240 UserInfo parentProfileInfo = mUserManager.getProfileParent(userInfo.id); in testGetProfileParent() 244 assertNull(mUserManager.getProfileParent(primaryUserId)); in testGetProfileParent()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 97 UserInfo parentUserInfo = mUserManager.getProfileParent(user.getIdentifier()); in getSettingsForProfileGroup()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 95 when(mockUserManager.getProfileParent(eq(2))).thenReturn(new UserInfo(1, "name", 0)); in setUp() 97 when(mockUserManager.getProfileParent(eq(3))).thenReturn(new UserInfo(0, "name", 0)); in setUp()
|
D | BaseLockSettingsServiceTests.java | 189 when(mUserManager.getProfileParent(eq(profileId))).thenReturn(PRIMARY_USER_INFO); in installChildProfile()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 135 when(mUserManager.getProfileParent(TEST_USER_ID)).thenReturn(PARENT_USER_INFO); in setUp()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationModeController.java | 226 .getProfileParent(callerUser); in enableGestureNav()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 3516 final int parentId = mSecurityPolicy.getProfileParent(userId); in onCrossProfileWidgetProvidersChanged() 3561 UserInfo parentInfo = mUserManager.getProfileParent(userId); in isProfileWithLockedParent() 3576 UserInfo parentInfo = mUserManager.getProfileParent(userId); in isProfileWithUnlockedParent() 3786 return getProfileParent(profileId) == parentId; in isParentOrProfile() 3795 final int parentId = getProfileParent(profileId); in isProviderInCallerOrInProfileAndWhitelListed() 3814 public int getProfileParent(int profileId) { in getProfileParent() method in AppWidgetServiceImpl.SecurityPolicy 3817 UserInfo parent = mUserManager.getProfileParent(profileId); in getProfileParent() 3828 final int parentId = mSecurityPolicy.getProfileParent(profileId); in getGroupParent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 219 when(userManager.getProfileParent(anyInt())).thenAnswer( in addUser()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 324 final int parentId = mUserManager.getProfileParent(managedUserId).id; in tieManagedProfileLockIfNecessary() 518 UserInfo parent = mUserManager.getProfileParent(userId); in maybeShowEncryptionNotificationForUser() 678 final UserInfo parentInfo = mUserManager.getProfileParent(userHandle); 1895 final int parentProfileId = mUserManager.getProfileParent(userId).id; in verifyTiedProfileChallenge()
|
D | LockSettingsStorage.java | 581 final UserInfo parentInfo = um.getProfileParent(userId); in removeUser()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 452 final UserInfo parentInfo = um.getProfileParent(mContext.getUserId()); in getParentProfileRingtones()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 114 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 393 final UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserBoot() 492 UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserUnlocked() 1343 final UserInfo parent = mInjector.getUserManager().getProfileParent(testUserId);
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 1026 UserInfo parent = mUserManager.getProfileParent(userId); in resolveCallingProfileParentLocked()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 341 final UserInfo parent = mUserManager.getProfileParent(callingUserId); in TextServicesManagerService()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 1328 UserInfo parent = mUserManager.getProfileParent(userId); in resolveProfileParent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 2327 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 8385 UserInfo parent = mUserManager.getProfileParent(userId); in setProfileEnabled() 8819 UserInfo parentUser = mUserManager.getProfileParent(userHandle); in getProfileParentId() 8830 UserInfo parentProfile = mUserManager.getProfileParent(userHandle); in getCredentialOwner() 9128 UserInfo parent = mUserManager.getProfileParent(callingUserId); in addCrossProfileIntentFilter() 9176 UserInfo parent = mUserManager.getProfileParent(callingUserId); in clearCrossProfileIntentFilters()
|