Searched refs:getProfileOwnerAsUser (Results 1 – 11 of 11) sorted by relevance
334 when(mDevicePolicyManager.getProfileOwnerAsUser(userId)).thenReturn(admin); in setUpProfileOwner()
177 .getProfileOwnerAsUser(userId) != null; in setBadgeIfManagedUser()
163 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; in hasProfileOwner()
578 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner()
6383 return getProfileOwnerAsUser(mContext.getUserId()); in getProfileOwner()6392 public @Nullable ComponentName getProfileOwnerAsUser(@NonNull UserHandle user) { in getProfileOwnerAsUser() method in DevicePolicyManager6395 return mService.getProfileOwnerAsUser(user.getIdentifier()); in getProfileOwnerAsUser()6407 public @Nullable ComponentName getProfileOwnerAsUser(final int userId) { in getProfileOwnerAsUser() method in DevicePolicyManager6410 return mService.getProfileOwnerAsUser(userId); in getProfileOwnerAsUser()
151 ComponentName getProfileOwnerAsUser(int userHandle); in getProfileOwnerAsUser() method
494 ComponentName componentName = mDpm.getProfileOwnerAsUser(userInfo.getUserHandle()); in isManagedProfileAdmin()
2952 if (dpm.getProfileOwnerAsUser(userId) != null) { in disableEscrowTokenOnNonManagedDevicesIfNeeded()
280 assertEquals(admin, dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()5375 assertEquals(dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE), admin1); in assertProfileOwnershipRevertedWithFakeTransferMetadata()
8407 public ComponentName getProfileOwnerAsUser(int userHandle) { in getProfileOwnerAsUser() method8507 ComponentName profileOwner = getProfileOwnerAsUser(userId); in checkDeviceIdentifierAccess()
6286 HSPLcom/android/server/devicepolicy/DevicePolicyManagerService;->getProfileOwnerAsUser(I)Landroid/c…