Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java551 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOrDeviceOwner()
586 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java165 .getProfileOwnerAsUser(userId) != null; in setBadgeIfManagedUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java142 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; in hasProfileOwner()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java4970 return getProfileOwnerAsUser(Process.myUserHandle().getIdentifier()); in getProfileOwner()
4977 public @Nullable ComponentName getProfileOwnerAsUser(final int userId) in getProfileOwnerAsUser() method in DevicePolicyManager
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java2224 if (dpm.getProfileOwnerAsUser(userId) != null) { in disableEscrowTokenOnNonManagedDevicesIfNeeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java246 assertEquals(admin, dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()