Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java112 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; in hasProfileOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java524 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOrDeviceOwner()
559 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java164 .getProfileOwnerAsUser(userId) != null; in setBadgeIfManagedUser()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java4016 return getProfileOwnerAsUser(Process.myUserHandle().getIdentifier()); in getProfileOwner()
4023 public ComponentName getProfileOwnerAsUser(final int userId) throws IllegalArgumentException { in getProfileOwnerAsUser() method in DevicePolicyManager
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java175 assertEquals(admin, dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()