Home
last modified time | relevance | path

Searched refs:getProfileOwnerAsUser (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java334 when(mDevicePolicyManager.getProfileOwnerAsUser(userId)).thenReturn(admin); in setUpProfileOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java177 .getProfileOwnerAsUser(userId) != null; in setBadgeIfManagedUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java163 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; in hasProfileOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java578 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java6383 return getProfileOwnerAsUser(mContext.getUserId()); in getProfileOwner()
6392 public @Nullable ComponentName getProfileOwnerAsUser(@NonNull UserHandle user) { in getProfileOwnerAsUser() method in DevicePolicyManager
6395 return mService.getProfileOwnerAsUser(user.getIdentifier()); in getProfileOwnerAsUser()
6407 public @Nullable ComponentName getProfileOwnerAsUser(final int userId) { in getProfileOwnerAsUser() method in DevicePolicyManager
6410 return mService.getProfileOwnerAsUser(userId); in getProfileOwnerAsUser()
DIDevicePolicyManager.aidl151 ComponentName getProfileOwnerAsUser(int userHandle); in getProfileOwnerAsUser() method
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java494 ComponentName componentName = mDpm.getProfileOwnerAsUser(userInfo.getUserHandle()); in isManagedProfileAdmin()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2952 if (dpm.getProfileOwnerAsUser(userId) != null) { in disableEscrowTokenOnNonManagedDevicesIfNeeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java280 assertEquals(admin, dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()
5375 assertEquals(dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE), admin1); in assertProfileOwnershipRevertedWithFakeTransferMetadata()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8407 public ComponentName getProfileOwnerAsUser(int userHandle) { in getProfileOwnerAsUser() method
8507 ComponentName profileOwner = getProfileOwnerAsUser(userId); in checkDeviceIdentifierAccess()
/frameworks/base/services/
Dart-profile6286 HSPLcom/android/server/devicepolicy/DevicePolicyManagerService;->getProfileOwnerAsUser(I)Landroid/c…