Home
last modified time | relevance | path

Searched refs:getProfileParent (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java87 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/
DActivityStartInterceptor.java206 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()
DActivityStarter.java1208 UserInfo parent = userManager.getProfileParent(userId); in startActivityMayWait()
/frameworks/base/core/java/android/os/
DIUserManager.aidl61 UserInfo getProfileParent(int userHandle); in getProfileParent() method
DUserManager.java2660 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/
DUserManagerTest.java239 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/
DUsbSettingsManager.java97 UserInfo parentUserInfo = mUserManager.getProfileParent(user.getIdentifier()); in getSettingsForProfileGroup()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java95 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()
DBaseLockSettingsServiceTests.java189 when(mUserManager.getProfileParent(eq(profileId))).thenReturn(PRIMARY_USER_INFO); in installChildProfile()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java135 when(mUserManager.getProfileParent(TEST_USER_ID)).thenReturn(PARENT_USER_INFO); in setUp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java213 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java246 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationModeController.java226 .getProfileParent(callerUser); in enableGestureNav()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3516 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/
DMockSystemServices.java219 when(userManager.getProfileParent(anyInt())).thenAnswer( in addUser()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java324 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()
DLockSettingsStorage.java581 final UserInfo parentInfo = um.getProfileParent(userId); in removeUser()
/frameworks/base/media/java/android/media/
DRingtoneManager.java452 final UserInfo parentInfo = um.getProfileParent(mContext.getUserId()); in getParentProfileRingtones()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java114 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java393 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/
DPrintManagerService.java1026 UserInfo parent = mUserManager.getProfileParent(userId); in resolveCallingProfileParentLocked()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java341 final UserInfo parent = mUserManager.getProfileParent(callingUserId); in TextServicesManagerService()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java1328 UserInfo parent = mUserManager.getProfileParent(userId); in resolveProfileParent()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java2327 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8385 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()

12