Home
last modified time | relevance | path

Searched refs:PackageUserState (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageUserStateTest.java26 import android.content.pm.PackageUserState;
43 final PackageUserState testUserState = new PackageUserState(); in testPackageUserState01()
44 PackageUserState oldUserState; in testPackageUserState01()
46 oldUserState = new PackageUserState(); in testPackageUserState01()
51 oldUserState = new PackageUserState(); in testPackageUserState01()
55 oldUserState = new PackageUserState(); in testPackageUserState01()
59 oldUserState = new PackageUserState(); in testPackageUserState01()
63 oldUserState = new PackageUserState(); in testPackageUserState01()
67 oldUserState = new PackageUserState(); in testPackageUserState01()
71 oldUserState = new PackageUserState(); in testPackageUserState01()
[all …]
DPackageManagerSettingsTests.java40 import android.content.pm.PackageUserState;
183 final PackageUserState packageUserState1 = ps1.readUserState(0); in testReadPackageRestrictions_oldSuspendInfo()
188 final PackageUserState packageUserState2 = ps2.readUserState(0); in testReadPackageRestrictions_oldSuspendInfo()
230 final PackageUserState readPus1 = settingsUnderTest.mPackages.get(PACKAGE_NAME_1) in testReadWritePackageRestrictions_newSuspendInfo()
239 final PackageUserState readPus2 = settingsUnderTest.mPackages.get(PACKAGE_NAME_2) in testReadWritePackageRestrictions_newSuspendInfo()
247 final PackageUserState readPus3 = settingsUnderTest.mPackages.get(PACKAGE_NAME_3) in testReadWritePackageRestrictions_newSuspendInfo()
291 final PackageUserState readPus1 = settingsUnderTest.mPackages.get(PACKAGE_NAME_1) in testReadWritePackageRestrictions_distractionFlags()
295 final PackageUserState readPus2 = settingsUnderTest.mPackages.get(PACKAGE_NAME_2) in testReadWritePackageRestrictions_distractionFlags()
299 final PackageUserState readPus3 = settingsUnderTest.mPackages.get(PACKAGE_NAME_3) in testReadWritePackageRestrictions_distractionFlags()
462 final PackageUserState userState = testPkgSetting01.readUserState(0); in testUpdatePackageSetting01()
[all …]
DPackageSettingBuilder.java19 import android.content.pm.PackageUserState;
43 private SparseArray<PackageUserState> mUserStates = new SparseArray<>();
134 mUserStates.put(userId, new PackageUserState()); in setInstantAppUserState()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java27 import android.content.pm.PackageUserState;
108 static final PackageUserState DEFAULT_USER_STATE = new PackageUserState();
112 private final SparseArray<PackageUserState> mUserState = new SparseArray<>();
274 PackageUserState modifyUserState(int userId) { in modifyUserState()
275 PackageUserState state = mUserState.get(userId); in modifyUserState()
277 state = new PackageUserState(); in modifyUserState()
283 public PackageUserState readUserState(int userId) { in readUserState()
284 PackageUserState state = mUserState.get(userId); in readUserState()
293 PackageUserState st = modifyUserState(userId); in setEnabled()
333 SparseArray<PackageUserState> getUserState() { in getUserState()
[all …]
DComponentResolver.java38 import android.content.pm.PackageUserState;
1244 final PackageUserState userState = ps.readUserState(userId); in newResult()
1511 final PackageUserState userState = ps.readUserState(userId); in newResult()
1728 final PackageUserState userState = ps.readUserState(userId); in newResult()
DSettings.java46 import android.content.pm.PackageUserState;
849 final PackageUserState oldUserState = oldPackage == null in writeUserRestrictionsLPw()
1981 final PackageUserState ustate = pkg.readUserState(userId); in writePackageRestrictionsLPr()
4231 final PackageUserState userState = ps.readUserState(userId); in isEnabledAndMatchLPr()
4757 final PackageUserState pus = ps.readUserState(user.id); in dumpPackageLPr()
DPackageManagerService.java182 import android.content.pm.PackageUserState;
4008 final PackageUserState state = ps.readUserState(userId);
4103 final PackageUserState state = ps.readUserState(userId);
5065 mResolveActivity, flags, new PackageUserState(), userId);
13335 final PackageUserState packageUserState = ps.readUserState(userId);
13432 final PackageUserState pus = ps.readUserState(userId);
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java48 public class PackageUserState { class
79 public PackageUserState() { in PackageUserState() method in PackageUserState
90 public PackageUserState(PackageUserState o) { in PackageUserState() method in PackageUserState
208 if (!(obj instanceof PackageUserState)) { in equals()
211 final PackageUserState oldState = (PackageUserState) obj; in equals()
DSELinuxUtil.java34 public static String assignSeinfoUser(PackageUserState userState) { in assignSeinfoUser()
DPackageParser.java628 private static boolean checkUseInstalledOrHidden(int flags, PackageUserState state, in checkUseInstalledOrHidden()
645 public static boolean isAvailable(PackageUserState state) { in isAvailable()
658 Set<String> grantedPermissions, PackageUserState state) { in generatePackageInfo()
667 Set<String> grantedPermissions, PackageUserState state, int userId) { in generatePackageInfo()
684 Collections.emptySet(), new PackageUserState(), UserHandle.getCallingUserId()); in generatePackageInfo()
689 Set<String> grantedPermissions, PackageUserState state, int userId) { in generatePackageInfo()
7689 PackageUserState state, Bundle metaData, int userId) { in copyNeeded()
7734 PackageUserState state) { in generateApplicationInfo()
7739 PackageUserState state) { in updateApplicationInfo()
7791 PackageUserState state, int userId) { in generateApplicationInfo()
[all …]
DPackageManager.java5651 PackageUserState state = new PackageUserState(); in getPackageArchiveInfo()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java42 import android.content.pm.PackageUserState;
535 new PackageUserState()); in processPackageUri()
/frameworks/base/config/
Dboot-image-profile.txt4353 …t/pm/PackageParser;->checkUseInstalledOrHidden(ILandroid/content/pm/PackageUserState;Landroid/cont…
4359 …eded(ILandroid/content/pm/PackageParser$Package;Landroid/content/pm/PackageUserState;Landroid/os/B…
4362 …nfo(Landroid/content/pm/PackageParser$Activity;ILandroid/content/pm/PackageUserState;I)Landroid/co…
4364 …Info(Landroid/content/pm/PackageParser$Package;ILandroid/content/pm/PackageUserState;I)Landroid/co…
4365 …nt/pm/PackageParser$Package;[IIJJLjava/util/Set;Landroid/content/pm/PackageUserState;I)Landroid/co…
4369 …nfo(Landroid/content/pm/PackageParser$Provider;ILandroid/content/pm/PackageUserState;I)Landroid/co…
4370 …Info(Landroid/content/pm/PackageParser$Service;ILandroid/content/pm/PackageUserState;I)Landroid/co…
4374 HSPLandroid/content/pm/PackageParser;->isAvailable(Landroid/content/pm/PackageUserState;)Z
4423 …>updateApplicationInfo(Landroid/content/pm/ApplicationInfo;ILandroid/content/pm/PackageUserState;)V
4435 HSPLandroid/content/pm/PackageUserState;-><init>()V
[all …]
Dhiddenapi-greylist-max-o.txt15748 Landroid/content/pm/PackageParser;->checkUseInstalledOrHidden(ILandroid/content/pm/PackageUserState
15753 …eded(ILandroid/content/pm/PackageParser$Package;Landroid/content/pm/PackageUserState;Landroid/os/B…
15760 …eActivityInfo(Landroid/content/pm/ActivityInfo;ILandroid/content/pm/PackageUserState;I)Landroid/co…
15761 …cationInfo(Landroid/content/pm/ApplicationInfo;ILandroid/content/pm/PackageUserState;I)Landroid/co…
15768 Landroid/content/pm/PackageParser;->isAvailable(Landroid/content/pm/PackageUserState;)Z
15878 …>updateApplicationInfo(Landroid/content/pm/ApplicationInfo;ILandroid/content/pm/PackageUserState;)V
15904 Landroid/content/pm/PackageUserState;-><init>(Landroid/content/pm/PackageUserState;)V
15905 Landroid/content/pm/PackageUserState;->appLinkGeneration:I
15906 Landroid/content/pm/PackageUserState;->categoryHint:I
15907 Landroid/content/pm/PackageUserState;->ceDataInode:J
[all …]
Dpreloaded-classes963 android.content.pm.PackageUserState
/frameworks/base/services/
Dart-profile11249 …Lcom/android/server/pm/PackageSettingBase;->modifyUserState(I)Landroid/content/pm/PackageUserState;
11250 …/server/pm/PackageSettingBase;->modifyUserStateComponents(IZZ)Landroid/content/pm/PackageUserState;
11252 HSPLcom/android/server/pm/PackageSettingBase;->readUserState(I)Landroid/content/pm/PackageUserState;