Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java158 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedProfileTasks() local
159 if (profileOwner == null) { in addManagedProfileTasks()
167 .setDeviceAdminComponentName(profileOwner) in addManagedProfileTasks()
184 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedUserTasks() local
185 if (profileOwner == null) { in addManagedUserTasks()
193 .setDeviceAdminComponentName(profileOwner) in addManagedUserTasks()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java177 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local
178 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
181 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java166 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local
167 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
170 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java424 String packageName, boolean deviceOwner, boolean profileOwner) { in addWorkPolicyInfoIntent() argument
439 if (profileOwner) { in addWorkPolicyInfoIntent()