Searched refs:profileOwner (Results 1 – 4 of 4) sorted by relevance
158 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedProfileTasks() local159 if (profileOwner == null) { in addManagedProfileTasks()167 .setDeviceAdminComponentName(profileOwner) in addManagedProfileTasks()184 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedUserTasks() local185 if (profileOwner == null) { in addManagedUserTasks()193 .setDeviceAdminComponentName(profileOwner) in addManagedUserTasks()
177 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local178 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile()181 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
166 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local167 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile()170 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
424 String packageName, boolean deviceOwner, boolean profileOwner) { in addWorkPolicyInfoIntent() argument439 if (profileOwner) { in addWorkPolicyInfoIntent()