Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.java87 public ProfileOwner setProfileOwner(UserReference user, ComponentName profileOwnerComponent) { in setProfileOwner() argument
88 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() argument
122 profileOwnerComponent.getPackageName()); in checkForTerminalProfileOwnerFailures()
129 if (!componentCanBeSetAsDeviceAdmin(profileOwnerComponent, user)) { in checkForTerminalProfileOwnerFailures()
131 + user + " as component " + profileOwnerComponent + " is not valid"); in checkForTerminalProfileOwnerFailures()