Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateUtils.java38 public static boolean isMatch(@NonNull PackageUserState state, in isMatch()
45 public static boolean isMatch(@NonNull PackageUserState state, boolean isSystem, in isMatch()
60 public static boolean isMatch(@NonNull PackageUserState state, boolean isSystem, in isMatch()
100 public static boolean isAvailable(@NonNull PackageUserState state, long flags) { in isAvailable()
128 public static boolean isEnabled(@NonNull PackageUserState state, ComponentInfo componentInfo, in isEnabled()
134 public static boolean isEnabled(@NonNull PackageUserState state, boolean isPackageEnabled, in isEnabled()
143 public static boolean isEnabled(@NonNull PackageUserState state, in isEnabled()
185 public static boolean isPackageEnabled(@NonNull PackageUserState state, in isPackageEnabled()
DPackageState.java153 PackageUserState getStateForUser(@NonNull UserHandle user); in getStateForUser()
294 SparseArray<? extends PackageUserState> getUserStates(); in getUserStates()
302 default PackageUserState getUserStateOrDefault(@UserIdInt int userId) { in getUserStateOrDefault()
303 PackageUserState userState = getUserStates().get(userId); in getUserStateOrDefault()
304 return userState == null ? PackageUserState.DEFAULT : userState; in getUserStateOrDefault()
DPackageUserState.java47 public interface PackageUserState { interface
70 PackageUserState DEFAULT = PackageUserStateInternal.DEFAULT;
DSELinuxUtil.java34 public static String getSeinfoUser(PackageUserState userState) { in getSeinfoUser()
DPackageUserStateInternal.java36 public interface PackageUserStateInternal extends PackageUserState, FrameworkPackageUserState {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPreferredComponentTest.java38 import com.android.server.pm.pkg.PackageUserState;
75 final PackageUserState pkgUserState0 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
77 final PackageUserState pkgUserState1 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
108 final PackageUserState pkgUserState0 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
110 final PackageUserState pkgUserState1 = new PackageUserStateImpl().setInstallReason( in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
DPackageManagerSettingsTests.java82 import com.android.server.pm.pkg.PackageUserState;
628 final PackageUserState readPus1 = settings.mPackages.get(PACKAGE_NAME_1) in verifyDefaultDistractionFlags()
632 final PackageUserState readPus2 = settings.mPackages.get(PACKAGE_NAME_2) in verifyDefaultDistractionFlags()
636 final PackageUserState readPus3 = settings.mPackages.get(PACKAGE_NAME_3) in verifyDefaultDistractionFlags()
667 final PackageUserState readPus1 = settings.mPackages.get(PACKAGE_NAME_1) in verifyDistractionFlags()
671 final PackageUserState readPus2 = settings.mPackages.get(PACKAGE_NAME_2) in verifyDistractionFlags()
675 final PackageUserState readPus3 = settings.mPackages.get(PACKAGE_NAME_3) in verifyDistractionFlags()
1251 final PackageUserState userState = testPkgSetting01.readUserState(0); in testUpdatePackageSetting01()
1295 final PackageUserState userState = testPkgSetting01.readUserState(0); in testUpdatePackageSetting02()
1451 final PackageUserState userState = testPkgSetting01.readUserState(0); in testCreateNewSetting01()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/
DPackageStateTest.kt45 import com.android.server.pm.pkg.PackageUserState
97 PackageUserState::getDisabledComponents,
98 PackageUserState::getEnabledComponents,
99 PackageUserState::getSharedLibraryOverlayPaths,
130 PackageUserState::class.starProjectedType) in collectionImmutability()
133 visitType(seenTypes, emptyList(), PackageUserState.DEFAULT, in collectionImmutability()
134 PackageUserState::class.starProjectedType, enforceNonEmpty = false) in collectionImmutability()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DBasePermissionPolicyTest.kt43 import com.android.server.pm.pkg.PackageUserState in <lambda>()
193 val userStates = SparseArray<PackageUserState>().apply { in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java79 import com.android.server.pm.pkg.PackageUserState;
380 PackageUserState state) { in updateApplicationInfo()
434 @NonNull PackageUserState state, int userId) { in generateDelegateApplicationInfo()
606 @NonNull PackageUserState state, int userId) { in generateDelegateActivityInfo()
861 @NonNull PackageUserState state, @Nullable ApplicationInfo appInfo) { in checkUseInstalledOrHidden()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java85 import com.android.server.pm.pkg.PackageUserState;
434 var userState = mock(PackageUserState.class); in addTestPackageUid()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java60 import com.android.server.pm.pkg.PackageUserState;
1602 public PackageUserState getStateForUser(@NonNull UserHandle user) {
1603 PackageUserState userState = getUserStates().get(user.getIdentifier());
1604 return userState == null ? PackageUserState.DEFAULT : userState;
DPackageArchiver.java103 import com.android.server.pm.pkg.PackageUserState;
185 public static boolean isArchived(PackageUserState userState) { in isArchived()
358 PackageUserState userState = packageState.getUserStateOrDefault(userId); in isIntentResolvedToArchivedApp()
DDeletePackageHelper.java70 import com.android.server.pm.pkg.PackageUserState;
231 PackageUserState userState = uninstalledPs.readUserState(allUsers[i]); in deletePackageX()
DSettings.java121 import com.android.server.pm.pkg.PackageUserState;
1358 final PackageUserState oldUserState = oldPackage == null
1359 ? PackageUserState.DEFAULT
DPackageManagerService.java233 import com.android.server.pm.pkg.PackageUserState;
4628 final PackageUserState packageUserState = packageState == null
/frameworks/base/services/api/
Dcurrent.txt195 …method @NonNull public com.android.server.pm.pkg.PackageUserState getStateForUser(@NonNull android…
202 public interface PackageUserState {
/frameworks/base/config/
Dboot-profile.txt374 Landroid/content/pm/PackageUserState;->equals(Ljava/lang/Object;)Z
453 Landroid/content/pm/SELinuxUtil;->assignSeinfoUser(Landroid/content/pm/PackageUserState;)Ljava/lang…
508 Landroid/content/pm/PackageUserState;->isAvailable(I)Z
509 Landroid/content/pm/PackageParser;->checkUseInstalledOrHidden(ILandroid/content/pm/PackageUserState
511 …eded(ILandroid/content/pm/PackageParser$Package;Landroid/content/pm/PackageUserState;Landroid/os/B…
512 …>updateApplicationInfo(Landroid/content/pm/ApplicationInfo;ILandroid/content/pm/PackageUserState;)V
513 …Info(Landroid/content/pm/PackageParser$Package;ILandroid/content/pm/PackageUserState;I)Landroid/co…
517 …nt/pm/PackageParser$Package;[IIJJLjava/util/Set;Landroid/content/pm/PackageUserState;I)Landroid/co…
767 Landroid/content/pm/PackageUserState;->isMatch(Landroid/content/pm/ComponentInfo;I)Z
768 Landroid/content/pm/PackageUserState;->isEnabled(Landroid/content/pm/ComponentInfo;I)Z
[all …]
/frameworks/base/services/
Dart-profile1421 …e;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
1433 …e;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2210 …e;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2292 …l;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2305 …l;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2307 …l;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2309 …l;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2314 …l;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2318 …l;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
2325 …l;Lcom/android/server/pm/PackageSetting;]Lcom/android/server/pm/pkg/PackageUserState;Lcom/android/…
[all …]
Dart-profile-boot54 Lcom/android/server/pm/PackageSettingBase;->modifyUserState(I)Landroid/content/pm/PackageUserState;
66 Lcom/android/server/pm/PackageSettingBase;->readUserState(I)Landroid/content/pm/PackageUserState;
Dart-wear-profile1021 Lcom/android/server/pm/pkg/PackageUserState;
18405 HSPLcom/android/server/pm/PackageArchiver;->isArchived(Lcom/android/server/pm/pkg/PackageUserState;…
20306 …ApplicationInfo(Landroid/content/pm/ApplicationInfo;JLcom/android/server/pm/pkg/PackageUserState;)V
20532 …/pm/pkg/PackageStateInternal;->getUserStateOrDefault(I)Lcom/android/server/pm/pkg/PackageUserState;
20632 …d/server/pm/pkg/PackageUserStateUtils;->isAvailable(Lcom/android/server/pm/pkg/PackageUserState;J)Z
20633 …pm/pkg/PackageUserStateUtils;->isEnabled(Lcom/android/server/pm/pkg/PackageUserState;ZZLjava/lang/…
20634 …r/pm/pkg/PackageUserStateUtils;->isMatch(Lcom/android/server/pm/pkg/PackageUserState;Landroid/cont…
20635 …r/pm/pkg/PackageUserStateUtils;->isMatch(Lcom/android/server/pm/pkg/PackageUserState;ZZLcom/androi…
20636 …r/pm/pkg/PackageUserStateUtils;->isMatch(Lcom/android/server/pm/pkg/PackageUserState;ZZZZLjava/lan…
20638 …erver/pm/pkg/SELinuxUtil;->getSeinfoUser(Lcom/android/server/pm/pkg/PackageUserState;)Ljava/lang/S…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12861 Landroid/content/pm/PackageParser;->checkUseInstalledOrHidden(ILandroid/content/pm/PackageUserState
12866 …eded(ILandroid/content/pm/PackageParser$Package;Landroid/content/pm/PackageUserState;Landroid/os/B…
12873 …eActivityInfo(Landroid/content/pm/ActivityInfo;ILandroid/content/pm/PackageUserState;I)Landroid/co…
12874 …cationInfo(Landroid/content/pm/ApplicationInfo;ILandroid/content/pm/PackageUserState;I)Landroid/co…
12881 Landroid/content/pm/PackageParser;->isAvailable(Landroid/content/pm/PackageUserState;)Z
12991 …>updateApplicationInfo(Landroid/content/pm/ApplicationInfo;ILandroid/content/pm/PackageUserState;)V
13017 Landroid/content/pm/PackageUserState;-><init>(Landroid/content/pm/PackageUserState;)V
13018 Landroid/content/pm/PackageUserState;->appLinkGeneration:I
13019 Landroid/content/pm/PackageUserState;->categoryHint:I
13020 Landroid/content/pm/PackageUserState;->ceDataInode:J
[all …]