/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardDisableHandler.java | 74 watcherForCaller.acquire(token, tag, mInjector.getProfileParentId(userId)); in disableKeyguard() 79 watcherForCaller.release(token, mInjector.getProfileParentId(userId)); in reenableKeyguard() 139 public int getProfileParentId(int userId) { in create() method in KeyguardDisableHandler 140 return userManager.getProfileParentId(userId); in create() 155 int getProfileParentId(int userId);
|
D | AppWarnings.java | 312 userId = mUserManagerInternal.getProfileParentId(userId); in removePackageAndHideDialogs() 598 return mUserManagerInternal.getProfileParentId(ar.mUserId); in getUserIdForActivity()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | DeletePackageHelperTest.kt | 83 whenever(mUserManagerInternal.getProfileParentId(1)).thenReturn(1) in deleteSystemPackageFailsIfNotAdminAndNotProfile() 100 whenever(mUserManagerInternal.getProfileParentId(userId)).thenReturn(parentId) in deleteSystemPackageFailsIfProfileOfNonAdmin() 136 whenever(mUserManagerInternal.getProfileParentId(userId)).thenReturn(parentId) in deleteSystemPackageSucceedsIfProfileOfAdmin() 155 whenever(mUserManagerInternal.getProfileParentId(1)).thenReturn(1) in deleteSystemPackageSucceedsIfNotAdminButDeleteSystemAppSpecified()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileIntentFilterHelper.java | 59 int parentUserId = mUserManagerInternal.getProfileParentId(userInfo.id); in updateDefaultCrossProfileIntentFilter()
|
D | DefaultAppProvider.java | 118 mUserManagerInternalSupplier.get().getProfileParentId(userId)); in getDefaultHome()
|
D | UserManagerInternal.java | 381 public abstract int getProfileParentId(int userId); in getProfileParentId() method in UserManagerInternal
|
D | DeletePackageHelper.java | 156 mUserManagerInternal.getProfileParentId(userId)).isAdmin())) { in deletePackageX() 837 if (mUserManagerInternal.getProfileParentId(childId) != userId) { in deletePackageVersionedInternal()
|
D | UserManagerService.java | 1637 public int getProfileParentId(@UserIdInt int userId) { in getProfileParentId() method in UserManagerService 1774 int parentUserId = getProfileParentId(userId); in requestQuietModeEnabled() 1805 if (!km.isDeviceLocked(mLocalService.getProfileParentId(userId)) in requestQuietModeEnabled() 7750 public int getProfileParentId(@UserIdInt int userId) {
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | KeyguardDisableHandlerTest.java | 72 public int getProfileParentId(int userId) { in setUp()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 41 int getProfileParentId(int userId); in getProfileParentId() method
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyService.java | 867 if (userId == mUserManagerInternal.getProfileParentId(userId)) { in setToggleSensorPrivacyStateUnchecked() 948 int parentId = mUserManagerInternal.getProfileParentId(userId); in setToggleSensorPrivacyStateForProfileGroup() 950 if (parentId == mUserManagerInternal.getProfileParentId(userId2)) { in setToggleSensorPrivacyStateForProfileGroup() 1045 if (userId == mUserManagerInternal.getProfileParentId(userId)) { in setToggleSensorPrivacyUnchecked() 1145 int parentId = mUserManagerInternal.getProfileParentId(userId); in setToggleSensorPrivacyForProfileGroup() 1147 if (parentId == mUserManagerInternal.getProfileParentId(userId2)) { in setToggleSensorPrivacyForProfileGroup()
|
/frameworks/base/services/core/java/com/android/server/adaptiveauth/ |
D | AdaptiveAuthService.java | 286 final int parentUserId = mUserManager.getProfileParentId(userId); in lockDevice()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1323 final int parentId = mUserManagerInternal.getProfileParentId(userId); in resetCrossProfileIntentFiltersIfNeeded() 1641 int parentUserId = mUserManagerInternal.getProfileParentId(userId); in listAllOwners() 2786 int affectedUserHandle = parent ? getProfileParentId(userHandle) : userHandle; in setExpirationAlarmCheckLocked() 3446 getProfileParentId(userId)); 4106 final UserHandle parentUser = UserHandle.of(getProfileParentId(userHandle)); 4313 int affectedUser = parent ? getProfileParentId(userId) : userId; 4466 …iveAdminsForUserAndItsManagedProfilesInclPermissionBasedAdminLocked(getProfileParentId(userHandle), 4469 return getActiveAdminsForUserAndItsManagedProfilesLocked(getProfileParentId(userHandle), 4490 getProfileParentId(userId), 4682 final int affectedUserId = parent ? getProfileParentId(userId) : userId; [all …]
|
D | CertificateMonitor.java | 186 parentUserId = mService.getProfileParentId(userHandle.getIdentifier()); in buildNotification()
|
D | DevicePolicyEngine.java | 1172 if (getProfileParentId(adminUserId) == targetUserId) { in getTargetUser() 1178 private int getProfileParentId(int userId) { in getProfileParentId() method in DevicePolicyEngine
|
/frameworks/base/services/tests/servicestests/src/com/android/server/adaptiveauth/ |
D | AdaptiveAuthServiceTest.java | 136 when(mUserManager.getProfileParentId(eq(MANAGED_PROFILE_USER_ID))) in setUp()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | SecureSettingsWrapper.java | 62 ? LocalServices.getService(UserManagerInternal.class).getProfileParentId(userId) in getUserIdForClonedSettings()
|
D | InputMethodManagerService.java | 1390 final int profileParentUserId = mUserManagerInternal.getProfileParentId(targetUserId); in maybeInitImeNavbarConfigLocked() 1753 final int profileParentUserId = mUserManagerInternal.getProfileParentId(userId); in isStylusHandwritingEnabled()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderHelper.java | 225 && umInternal.getProfileParentId(callingUserId) == userId) { in getContentProviderImpl() 245 userId = umInternal.getProfileParentId(userId); in getContentProviderImpl() 1134 return umInternal.getProfileParentId(userId); in resolveParentUserIdForCloneProfile() 1154 userId = umInternal.getProfileParentId(userId); in checkContentProviderAccess()
|
D | ActivityManagerShellCommand.java | 2486 final int parentUserId = umi.getProfileParentId(userId);
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowManager.java | 495 mInjector.getUserManagerInternal().getProfileParentId(userId))) { in getUsersToUnlock()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 968 return mUserManagerInternal.getProfileParentId(userId) == mCurrentActiveUserId; in isUserActiveLocked()
|
D | MediaRouter2ServiceImpl.java | 1063 return mUserManagerInternal.getProfileParentId(userId) == mCurrentActiveUserId; in isUserActiveLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | RebootEscrowManagerTests.java | 393 when(mUserManagerInternal.getProfileParentId(eq(id))).thenReturn(profileGroupId); in createUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 934 when(mMockUserManagerInternal.getProfileParentId(anyInt())) in setUp()
|