Home
last modified time | relevance | path

Searched refs:getProfileParent (Results 1 – 25 of 30) 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.java1198 UserInfo parent = userManager.getProfileParent(userId); in startActivityMayWait()
/frameworks/base/core/java/android/os/
DIUserManager.aidl60 UserInfo getProfileParent(int userHandle); in getProfileParent() method
DUserManager.java2597 public UserInfo getProfileParent(@UserIdInt int userHandle) { in getProfileParent() method in UserManager
2599 return mService.getProfileParent(userHandle); in getProfileParent()
2616 public @Nullable UserHandle getProfileParent(@NonNull UserHandle user) { in getProfileParent() method in UserManager
2617 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.java83 when(mockUserManager.getProfileParent(eq(2))).thenReturn(new UserInfo(1, "name", 0)); in setUp()
85 when(mockUserManager.getProfileParent(eq(3))).thenReturn(new UserInfo(0, "name", 0)); in setUp()
DBaseLockSettingsServiceTests.java184 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/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.java301 final int parentId = mUserManager.getProfileParent(managedUserId).id; in tieManagedProfileLockIfNecessary()
495 UserInfo parent = mUserManager.getProfileParent(userId); in maybeShowEncryptionNotificationForUser()
654 final UserInfo parentInfo = mUserManager.getProfileParent(userHandle);
1827 final int parentProfileId = mUserManager.getProfileParent(userId).id; in verifyTiedProfileChallenge()
DLockSettingsStorage.java567 final UserInfo parentInfo = um.getProfileParent(userId); in removeUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java114 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced()
/frameworks/base/media/java/android/media/
DRingtoneManager.java452 final UserInfo parentInfo = um.getProfileParent(mContext.getUserId()); in getParentProfileRingtones()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java387 final UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserBoot()
485 UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserUnlocked()
1312 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.java1280 UserInfo parent = mUserManager.getProfileParent(userId); in resolveProfileParent()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java2096 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8376 UserInfo parent = mUserManager.getProfileParent(userId); in setProfileEnabled()
8810 UserInfo parentUser = mUserManager.getProfileParent(userHandle); in getProfileParentId()
8821 UserInfo parentProfile = mUserManager.getProfileParent(userHandle); in getCredentialOwner()
9119 UserInfo parent = mUserManager.getProfileParent(callingUserId); in addCrossProfileIntentFilter()
9167 UserInfo parent = mUserManager.getProfileParent(callingUserId); in clearCrossProfileIntentFilters()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3689 UserInfo parent = mUserManager.getProfileParent(userId); in resolveProfileParentLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java790 public UserInfo getProfileParent(int userHandle) { in getProfileParent() method in UserManagerService

12