Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DOwners.java442 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerComponent() local
443 return profileOwner != null ? profileOwner.admin : null; in getProfileOwnerComponent()
450 return profileOwner != null ? profileOwner.name : null; in getProfileOwnerName()
457 return profileOwner != null ? profileOwner.packageName : null; in getProfileOwnerPackage()
468 return profileOwner != null ? profileOwner.isOrganizationOwnedDevice : false; in isProfileOwnerOfOrganizationOwnedDevice()
586 return profileOwner != null && !profileOwner.userRestrictionsMigrated; in getProfileOwnerUserRestrictionsNeedsMigration()
616 if (profileOwner != null) { in setProfileOwnerUserRestrictionsMigrated()
617 profileOwner.userRestrictionsMigrated = true; in setProfileOwnerUserRestrictionsMigrated()
630 if (profileOwner != null) { in markProfileOwnerOfOrganizationOwnedDevice()
631 profileOwner.isOrganizationOwnedDevice = true; in markProfileOwnerOfOrganizationOwnedDevice()
[all …]
H A DDevicePolicyManagerService.java2650 return profileOwner; in getOrganizationOwnedProfileOwnerLocked()
3834 return profileOwner != null &&
7923 if (profileOwner != null && profileOwner.requireAutoTime) {
9182 if (profileOwner == null) {
9272 if (profileOwner == null) {
9569 if (profileOwner == null) {
10532 if (profileOwner == null || profileOwner.permittedNotificationListeners == null) {
14641 if (profileOwner == null) {
14866 if (profileOwner != null && packageName.equals(profileOwner.getPackageName())) {
16904 if (profileOwner.mProfileOffDeadline != 0 && now > profileOwner.mProfileOffDeadline) {
[all …]
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
H A DOtaController.java159 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedProfileTasks() local
160 if (profileOwner == null) { in addManagedProfileTasks()
168 .setDeviceAdminComponentName(profileOwner) in addManagedProfileTasks()
182 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedUserTasks() local
183 if (profileOwner == null) { in addManagedUserTasks()
191 .setDeviceAdminComponentName(profileOwner) in addManagedUserTasks()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
H A DUserInfoView.java103 ComponentName profileOwner = dpm.getProfileOwnerAsUser(userId); in setManagedStatus() local
104 if (profileOwner != null) { in setManagedStatus()
105 Log.v(TAG, "User " + userId + " has profile owner: " + profileOwner); in setManagedStatus()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiUtils.java109 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local
110 if (profileOwner != null) { in isNetworkLockedDown()
113 profileOwner.getPackageName(), profileOwnerUserId); in isNetworkLockedDown()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiConfigHelper.java276 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local
277 if (profileOwner != null) { in isNetworkLockedDown()
280 profileOwner.getPackageName(), profileOwnerUserId); in isNetworkLockedDown()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImpl.java165 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local
166 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
169 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
/aosp12/packages/apps/Settings/src/com/android/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImpl.java164 final ComponentName profileOwner = mDpm.getProfileOwnerAsUser(userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile() local
165 if (profileOwner == null) { in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
168 return mDpm.getMaximumFailedPasswordsForWipe(profileOwner, userId); in getMaximumFailedPasswordsBeforeWipeInManagedProfile()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileAppsServiceImpl.java750 final ComponentName profileOwner =
753 if (profileOwner == null) {
756 return profileOwner.getPackageName().equals(packageName);
H A DUserManagerService.java5057 String profileOwner = ""; in runList() local
5066 profileOwner = " (profile-owner)"; in runList()
5080 deviceOwner, profileOwner, in runList()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImplTest.java426 String packageName, boolean deviceOwner, boolean profileOwner) { in addWorkPolicyInfoIntent() argument
440 if (profileOwner) { in addWorkPolicyInfoIntent()
/aosp12/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java8331 ComponentName profileOwner = mService.getProfileOwnerAsUser(myUserId()); in isProfileOwnerApp() local
8332 return profileOwner != null in isProfileOwnerApp()
8333 && profileOwner.getPackageName().equals(packageName); in isProfileOwnerApp()
9520 @NonNull ComponentName profileOwner, @Nullable PersistableBundle adminExtras, in createAndManageUser() argument
9524 return mService.createAndManageUser(admin, name, profileOwner, adminExtras, flags); in createAndManageUser()
H A DIDevicePolicyManager.aidl261 …eAndManageUser(in ComponentName who, in String name, in ComponentName profileOwner, in Persistable… in createAndManageUser() argument
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...