Home
last modified time | relevance | path

Searched refs:getPrivateFlags (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java190 if ((this.getPrivateFlags() & packageSetting.getPrivateFlags()) != 0) {
194 aggregatedPrivateFlags |= ps.getPrivateFlags();
212 setPrivateFlags(this.getPrivateFlags() | packageSetting.getPrivateFlags());
239 return (this.getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0;
DPackageSetting.java642 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0;
646 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_OEM) != 0;
650 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_VENDOR) != 0;
654 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_PRODUCT) != 0;
659 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER) != 0;
663 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_SYSTEM_EXT) != 0;
667 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_ODM) != 0;
675 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_REQUEST_LEGACY_EXTERNAL_STORAGE)
680 return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_HAS_FRAGILE_USER_DATA)
1682 return (getPrivateFlags() & PRIVATE_FLAG_DEFAULT_TO_DEVICE_PROTECTED_STORAGE) != 0;
DSettingBase.java142 public int getPrivateFlags() { in getPrivateFlags() method in SettingBase
DScanPackageUtils.java536 if ((systemPkgSetting.getPrivateFlags() in adjustScanFlagsWithPackageSetting()
540 if ((systemPkgSetting.getPrivateFlags() in adjustScanFlagsWithPackageSetting()
544 if ((systemPkgSetting.getPrivateFlags() in adjustScanFlagsWithPackageSetting()
548 if ((systemPkgSetting.getPrivateFlags() in adjustScanFlagsWithPackageSetting()
552 if ((systemPkgSetting.getPrivateFlags() in adjustScanFlagsWithPackageSetting()
556 if ((systemPkgSetting.getPrivateFlags() in adjustScanFlagsWithPackageSetting()
DSettings.java917 p.getFlags(), p.getPrivateFlags(), mDomainVerificationManager.generateNewId(),
1307 boolean wasRequiredForSystemUser = (pkgSetting.getPrivateFlags()
3196 serializer.attributeInt(null, "privateFlags", pkg.getPrivateFlags());
5297 pw.print(prefix); pw.print(" privatePkgFlags="); printFlags(pw, ps.getPrivateFlags(),
DComputerEngine.java1560 ai.privateFlags = ps.getPrivateFlags(); in generatePackageInfo()
4527 return sus.getPrivateFlags(); in getPrivateFlagsForUid()
4533 return ps.getPrivateFlags(); in getPrivateFlagsForUid()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedActivity.java59 int getPrivateFlags(); in getPrivateFlags() method
DParsedActivityImpl.java172 alias.privateFlags = target.getPrivateFlags(); in makeAlias()
480 public int getPrivateFlags() { in getPrivateFlags() method in ParsedActivityImpl
DParsedActivityUtils.java159 …activity.setPrivateFlags(activity.getPrivateFlags() | (flag(ActivityInfo.FLAG_INHERIT_SHOW_WHEN_LO… in parseActivityOrReceiver()
203 activity.setPrivateFlags(activity.getPrivateFlags() in parseActivityOrReceiver()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedActivityTest.kt46 ParsedActivity::getPrivateFlags, in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageStateInternal.java58 int getPrivateFlags(); in getPrivateFlags() method
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageStateMutator.java229 mState.setPrivateFlags(mState.getPrivateFlags() in setRequiredForSystemUser()
232 mState.setPrivateFlags(mState.getPrivateFlags() in setRequiredForSystemUser()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java1219 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testUpdatePackageSetting01()
1248 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testUpdatePackageSetting01()
1263 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testUpdatePackageSetting02()
1293 assertThat(testPkgSetting01.getPrivateFlags(), is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testUpdatePackageSetting02()
1307 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testUpdatePackageSettings02WithOldPaths()
1442 assertThat(testPkgSetting01.getPrivateFlags(), is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testCreateNewSetting01()
1490 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testCreateNewSetting02()
1538 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testCreateNewSetting03()
1587 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testCreateNewSetting04()
1633 assertThat(testPkgSetting01.getPrivateFlags(), is(0)); in testCreateNewSetting05()
[all …]
DAppsFilterImplTest.java1000 targetSetting.getFlags(), targetSetting.getPrivateFlags()); in testActsOnTargetOfOverlayThroughSharedUser()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java361 ai.privateFlags = a.getPrivateFlags(); in generateActivityInfo()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java570 ai.privateFlags = a.getPrivateFlags(); in generateActivityInfo()
/frameworks/base/services/
Dart-wear-profile19262 HSPLcom/android/server/pm/SettingBase;->getPrivateFlags()I