/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | OtaController.java | 167 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedProfileTasks() local 168 if (profileOwner == null) { in addManagedProfileTasks() 176 .setDeviceAdminComponentName(profileOwner) in addManagedProfileTasks() 190 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedUserTasks() local 191 if (profileOwner == null) { in addManagedUserTasks() 199 .setDeviceAdminComponentName(profileOwner) in addManagedUserTasks()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | WifiHelper.java | 70 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local 71 if (profileOwner != null) { in isNetworkLockedDown() 74 profileOwner.getPackageName(), profileOwnerUserId); in isNetworkLockedDown()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UserInfoView.java | 131 ComponentName profileOwner = dpm.getProfileOwnerAsUser(userId); in setManagedStatus() local 132 if (profileOwner != null) { in setManagedStatus() 133 Log.v(TAG, "User " + userId + " has profile owner: " + profileOwner); in setManagedStatus()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 225 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local 226 if (profileOwner != null) { in isNetworkLockedDown() 229 profileOwner.getPackageName(), profileOwnerUserId); in isNetworkLockedDown()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 128 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local 129 if (profileOwner != null) { in isNetworkLockedDown() 132 profileOwner.getPackageName(), profileOwnerUserId); in isNetworkLockedDown()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 171 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local 172 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile() 175 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 162 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local 163 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile() 166 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 165 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local 166 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile() 169 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | EnterpriseContactsTest.java | 413 try (RemoteDpc remoteDpc = sDeviceState.profileOwner(WORK_PROFILE)) { in testEnterpriseContacts_canAccessWithOnlyContactsAccess() 439 try (RemoteDpc remoteDpc = sDeviceState.profileOwner(WORK_PROFILE)) { in testEnterpriseContacts_canNotAccessWithoutContactsAccess() 466 try (RemoteDpc remoteDpc = sDeviceState.profileOwner(WORK_PROFILE)) { in testEnterpriseContacts_canNotAccessWithOnlyCallerIdAccess()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 444 String packageName, boolean deviceOwner, boolean profileOwner) { in addWorkPolicyInfoIntent() argument 458 if (profileOwner) { in addWorkPolicyInfoIntent()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | BaseCarUserServiceTestCase.java | 462 protected void mockCreateProfile(int profileOwner, String profileName, UserHandle profile) { in mockCreateProfile() argument 465 when(mMockContext.createContextAsUser(UserHandle.of(profileOwner), /* flags= */ 0)) in mockCreateProfile()
|