Home
last modified time | relevance | path

Searched refs:getProfileParentId (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java74 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);
DAppWarnings.java312 userId = mUserManagerInternal.getProfileParentId(userId); in removePackageAndHideDialogs()
598 return mUserManagerInternal.getProfileParentId(ar.mUserId); in getUserIdForActivity()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DDeletePackageHelperTest.kt83 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/
DCrossProfileIntentFilterHelper.java59 int parentUserId = mUserManagerInternal.getProfileParentId(userInfo.id); in updateDefaultCrossProfileIntentFilter()
DDefaultAppProvider.java118 mUserManagerInternalSupplier.get().getProfileParentId(userId)); in getDefaultHome()
DUserManagerInternal.java381 public abstract int getProfileParentId(int userId); in getProfileParentId() method in UserManagerInternal
DDeletePackageHelper.java156 mUserManagerInternal.getProfileParentId(userId)).isAdmin())) { in deletePackageX()
837 if (mUserManagerInternal.getProfileParentId(childId) != userId) { in deletePackageVersionedInternal()
DUserManagerService.java1637 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/
DKeyguardDisableHandlerTest.java72 public int getProfileParentId(int userId) { in setUp()
/frameworks/base/core/java/android/os/
DIUserManager.aidl41 int getProfileParentId(int userId); in getProfileParentId() method
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java867 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/
DAdaptiveAuthService.java286 final int parentUserId = mUserManager.getProfileParentId(userId); in lockDevice()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1323 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 …]
DCertificateMonitor.java186 parentUserId = mService.getProfileParentId(userHandle.getIdentifier()); in buildNotification()
DDevicePolicyEngine.java1172 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/
DAdaptiveAuthServiceTest.java136 when(mUserManager.getProfileParentId(eq(MANAGED_PROFILE_USER_ID))) in setUp()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DSecureSettingsWrapper.java62 ? LocalServices.getService(UserManagerInternal.class).getProfileParentId(userId) in getUserIdForClonedSettings()
DInputMethodManagerService.java1390 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/
DContentProviderHelper.java225 && 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()
DActivityManagerShellCommand.java2486 final int parentUserId = umi.getProfileParentId(userId);
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowManager.java495 mInjector.getUserManagerInternal().getProfileParentId(userId))) { in getUsersToUnlock()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java968 return mUserManagerInternal.getProfileParentId(userId) == mCurrentActiveUserId; in isUserActiveLocked()
DMediaRouter2ServiceImpl.java1063 return mUserManagerInternal.getProfileParentId(userId) == mCurrentActiveUserId; in isUserActiveLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowManagerTests.java393 when(mUserManagerInternal.getProfileParentId(eq(id))).thenReturn(profileGroupId); in createUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java934 when(mMockUserManagerInternal.getProfileParentId(anyInt())) in setUp()

12