/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceUserPropertiesTest.java | 59 final UserProperties defaultProps = new UserProperties.Builder() in testWriteReadXml() 71 final UserProperties actualProps = new UserProperties(defaultProps); in testWriteReadXml() 97 final UserProperties readProps = new UserProperties(parser, defaultProps); in testWriteReadXml() 105 final UserProperties originalProps = new UserProperties.Builder() in testParcelUnparcel() 115 final UserProperties defaultProps = new UserProperties.Builder() in testCopyLacksPermissions() 123 final UserProperties orig = new UserProperties(defaultProps); in testCopyLacksPermissions() 156 UserProperties orig, in verifyTestCopyLacksPermissions() 157 UserProperties copy, in verifyTestCopyLacksPermissions() 205 private UserProperties parcelThenUnparcel(UserProperties originalProps) { in parcelThenUnparcel() 214 final UserProperties readProps = UserProperties.CREATOR.createFromParcel(in); in parcelThenUnparcel() [all …]
|
H A D | UserManagerServiceUserTypeTest.java | 38 import android.content.pm.UserProperties; 85 final UserProperties.Builder userProps = new UserProperties.Builder() in testUserTypeBuilder_createUserType() 202 final UserProperties props = type.getDefaultUserPropertiesReference(); in testUserTypeBuilder_defaults() 206 assertEquals(UserProperties.CROSS_PROFILE_INTENT_FILTER_ACCESS_LEVEL_ALL, in testUserTypeBuilder_defaults() 208 assertEquals(UserProperties.SHOW_IN_LAUNCHER_WITH_PARENT, props.getShowInLauncher()); in testUserTypeBuilder_defaults() 209 assertEquals(UserProperties.CROSS_PROFILE_INTENT_RESOLUTION_STRATEGY_DEFAULT, in testUserTypeBuilder_defaults() 291 final UserProperties.Builder props = new UserProperties.Builder() in testUserTypeFactoryCustomize_profile()
|
H A D | UserManagerTest.java | 32 import android.content.pm.UserProperties; 168 final UserProperties typeProps = userTypeDetails.getDefaultUserPropertiesReference(); in testCloneUser() 197 UserProperties cloneUserProperties = in testCloneUser() 858 final UserProperties typeProps = userTypeDetails.getDefaultUserPropertiesReference(); in testUserProperties() 866 final UserProperties userProps = mUserManager.getUserProperties(UserHandle.of(userId)); in testUserProperties()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | UserProperties.java | 45 public final class UserProperties implements Parcelable { class 285 public UserProperties(@NonNull UserProperties defaultProperties) { in UserProperties() method in UserProperties 297 public UserProperties(UserProperties orig, in UserProperties() method in UserProperties 672 public UserProperties( in UserProperties() method in UserProperties 809 private UserProperties(@NonNull Parcel source) { in UserProperties() method in UserProperties 834 return new UserProperties(source); 836 public UserProperties[] newArray(int size) { 837 return new UserProperties[size]; 930 public UserProperties build() { in build() 931 return new UserProperties( in build() [all …]
|
H A D | UserProperties.aidl | 19 parcelable UserProperties;
|
H A D | OWNERS | 11 per-file *UserProperties* = file:/MULTIUSER_OWNERS
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
H A D | SyncManagerTest.java | 19 import static android.content.pm.UserProperties.INHERIT_DEVICE_POLICY_FROM_PARENT; 20 import static android.content.pm.UserProperties.SHOW_IN_LAUNCHER_WITH_PARENT; 21 import static android.content.pm.UserProperties.SHOW_IN_SETTINGS_WITH_PARENT; 35 import android.content.pm.UserProperties; 205 private UserProperties getCloneUserProperties() { in getCloneUserProperties() 206 return new UserProperties.Builder() in getCloneUserProperties() 216 UserProperties cloneUserProperties = getCloneUserProperties(); in mockUserProperties() 221 .thenReturn(new UserProperties.Builder().build()); in mockUserProperties()
|
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/common/ |
H A D | UserProfilePager.kt | 20 import android.content.pm.UserProperties 63 profileToShowInSettingsList.filter { it.second == UserProperties.SHOW_IN_SETTINGS_WITH_PARENT } 68 profileToShowInSettingsList.filter { it.second == UserProperties.SHOW_IN_LAUNCHER_SEPARATE }
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserTypeDetails.java | 26 import android.content.pm.UserProperties; 157 private final @NonNull UserProperties mDefaultUserProperties; 169 @NonNull UserProperties defaultUserProperties) { in UserTypeDetails() 299 public @NonNull UserProperties getDefaultUserPropertiesReference() { in getDefaultUserPropertiesReference() 409 private @Nullable UserProperties mDefaultUserProperties = null; 505 public Builder setDefaultUserProperties(UserProperties.Builder userPropertiesBuilder) { in setDefaultUserProperties() 510 public @NonNull UserProperties getDefaultUserProperties() { in getDefaultUserProperties() 512 mDefaultUserProperties = new UserProperties.Builder().build(); in getDefaultUserProperties()
|
H A D | UserTypeFactory.java | 43 import android.content.pm.UserProperties; 140 .setDefaultUserProperties(new UserProperties.Builder() in getDefaultTypeProfileClone() 142 .setShowInLauncher(UserProperties.SHOW_IN_LAUNCHER_WITH_PARENT) in getDefaultTypeProfileClone() 143 .setShowInSettings(UserProperties.SHOW_IN_SETTINGS_WITH_PARENT) in getDefaultTypeProfileClone() 144 .setInheritDevicePolicy(UserProperties.INHERIT_DEVICE_POLICY_FROM_PARENT) in getDefaultTypeProfileClone() 148 UserProperties.CROSS_PROFILE_INTENT_FILTER_ACCESS_LEVEL_SYSTEM) in getDefaultTypeProfileClone() 149 .setCrossProfileIntentResolutionStrategy(UserProperties in getDefaultTypeProfileClone() 185 .setDefaultUserProperties(new UserProperties.Builder() in getDefaultTypeProfileManaged() 187 .setShowInLauncher(UserProperties.SHOW_IN_LAUNCHER_SEPARATE) in getDefaultTypeProfileManaged() 188 .setShowInSettings(UserProperties.SHOW_IN_SETTINGS_SEPARATE) in getDefaultTypeProfileManaged()
|
H A D | CrossProfileIntentFilterHelper.java | 21 import android.content.pm.UserProperties; 54 UserProperties currentUserProperties = mUserManagerInternal in updateDefaultCrossProfileIntentFilter()
|
H A D | UserManagerInternal.java | 24 import android.content.pm.UserProperties; 428 public abstract @Nullable UserProperties getUserProperties(@UserIdInt int userId); in getUserProperties()
|
H A D | CrossProfileIntentResolverEngine.java | 33 import android.content.pm.UserProperties; 714 UserProperties userProperties = mUserManagerInternal.getUserProperties(userId); in isNoFilteringPropertyConfiguredForUser() 718 == UserProperties.CROSS_PROFILE_INTENT_RESOLUTION_STRATEGY_NO_FILTERING; in isNoFilteringPropertyConfiguredForUser()
|
H A D | UserManagerService.java | 73 import android.content.pm.UserProperties; 372 UserProperties userProperties; 1770 final UserProperties origProperties = getUserPropertiesInternal(userId); in getUserPropertiesCopy() 2387 final UserProperties userProperties = getUserPropertiesInternal(userId); in getCrossProfileIntentFilterAccessControl() 3916 userData.userProperties = new UserProperties( in upgradeIfNecessaryLP() 4100 userData.userProperties = new UserProperties( in fallbackToSingleUserLP() 4436 UserProperties userProperties = null; 4534 final UserProperties defaultProps 4536 userProperties = new UserProperties(parser, defaultProps); 4909 userData.userProperties = new UserProperties( [all …]
|
H A D | DeletePackageHelper.java | 48 import android.content.pm.UserProperties; 797 UserProperties userProperties = mUserManagerInternal in deletePackageVersionedInternal()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | IUserManager.aidl | 26 import android.content.pm.UserProperties; 79 UserProperties getUserPropertiesCopy(int userId); in getUserPropertiesCopy()
|
H A D | UserManager.java | 54 import android.content.pm.UserProperties; 3538 public @NonNull UserProperties getUserProperties(@NonNull UserHandle userHandle) { in getUserProperties() 6070 private final PropertyInvalidatedCache<Integer, UserProperties> mUserPropertiesCache = 6071 new PropertyInvalidatedCache<Integer, UserProperties>(16, CACHE_KEY_USER_PROPERTIES) { 6073 public UserProperties recompute(Integer userId) {
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
H A D | ApplicationsStateRoboTest.java | 52 import android.content.pm.UserProperties; 788 /*showInSettings*/ UserProperties.SHOW_IN_SETTINGS_WITH_PARENT); in shouldShowInPersonalTab_currentUserIsParent_returnsAsPerUserPropertyOfProfile1() 790 /*showInSettings*/ UserProperties.SHOW_IN_SETTINGS_NO); in shouldShowInPersonalTab_currentUserIsParent_returnsAsPerUserPropertyOfProfile1()
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyEngine.java | 26 import static android.content.pm.UserProperties.INHERIT_DEVICE_POLICY_FROM_PARENT; 51 import android.content.pm.UserProperties; 409 UserProperties userProperties = mUserManager.getUserProperties(userInfo.getUserHandle()); in isInheritDevicePolicyFromParent() 1291 UserProperties userProperties = mUserManager.getUserProperties(user.getUserHandle()); in enforcePoliciesOnInheritableProfilesIfApplicable()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | ApplicationsState.java | 39 import android.content.pm.UserProperties; 1712 UserProperties userProperties = userManager.getUserProperties( in shouldShowInPersonalTab() 1715 == UserProperties.SHOW_IN_SETTINGS_WITH_PARENT; in shouldShowInPersonalTab()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 90 import android.content.pm.UserProperties; 1425 final UserProperties properties = getUserProperties(user.id); 2798 private @Nullable UserProperties getUserProperties(@UserIdInt int userId) { 2932 final UserProperties properties = getUserProperties(userId);
|
H A D | ContentProviderHelper.java | 62 import android.content.pm.UserProperties; 201 final UserProperties userProps = umInternal.getUserProperties(userId); in getContentProviderImpl()
|
/aosp14/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 69 import android.content.pm.UserProperties; 879 final UserProperties userProperties = um.getUserProperties(userInfo.getUserHandle()); in areContactWritesEnabledForUser()
|
/aosp14/frameworks/base/services/ |
H A D | art-profile | 1748 …serManagerService$LocalService;]Landroid/content/pm/UserProperties;Landroid/content/pm/UserPropert… 5846 …serManagerService$LocalService;]Landroid/content/pm/UserProperties;Landroid/content/pm/UserPropert… 7044 …server/pm/UserManagerService$LocalService;->getUserProperties(I)Landroid/content/pm/UserProperties; 7066 …rPropertiesInternal(Lcom/android/server/pm/UserManagerService;I)Landroid/content/pm/UserProperties; 7106 …/pm/UserManagerService;->getUserPropertiesCopy(I)Landroid/content/pm/UserProperties;+]Lcom/android… 7107 …UserManagerService;->getUserPropertiesInternal(I)Landroid/content/pm/UserProperties;+]Lcom/android… 7179 …d/server/pm/UserTypeDetails$Builder;->getDefaultUserProperties()Landroid/content/pm/UserProperties; 7194 …erTypeDetails$Builder;->setDefaultUserProperties(Landroid/content/pm/UserProperties$Builder;)Lcom/… 7200 …/Bundle;Landroid/os/Bundle;Landroid/os/Bundle;Ljava/util/List;Landroid/content/pm/UserProperties;)V 7201 …oid/os/Bundle;Landroid/os/Bundle;Ljava/util/List;Landroid/content/pm/UserProperties;Lcom/android/s… [all …]
|
/aosp14/frameworks/base/core/api/ |
H A D | test-current.txt | 1101 public final class UserProperties implements android.os.Parcelable {
|