Searched refs:profileOwnerComponent (Results 1 – 1 of 1) sorted by relevance
87 public ProfileOwner setProfileOwner(UserReference user, ComponentName profileOwnerComponent) { in setProfileOwner() argument88 if (user == null || profileOwnerComponent == null) { in setProfileOwner()94 .addOperand(profileOwnerComponent.flattenToShortString()) in setProfileOwner()102 + user + " component " + profileOwnerComponent), in setProfileOwner()103 () -> checkForTerminalProfileOwnerFailures(user, profileOwnerComponent)); in setProfileOwner()106 profileOwnerComponent.getPackageName()), profileOwnerComponent); in setProfileOwner()110 UserReference user, ComponentName profileOwnerComponent) { in checkForTerminalProfileOwnerFailures() argument122 profileOwnerComponent.getPackageName()); in checkForTerminalProfileOwnerFailures()129 if (!componentCanBeSetAsDeviceAdmin(profileOwnerComponent, user)) { in checkForTerminalProfileOwnerFailures()131 + user + " as component " + profileOwnerComponent + " is not valid"); in checkForTerminalProfileOwnerFailures()