Home
last modified time | relevance | path

Searched refs:pkgPrivateFlags (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSettingBase.java25 int pkgPrivateFlags; field in SettingBase
29 SettingBase(int pkgFlags, int pkgPrivateFlags) { in SettingBase() argument
31 setPrivateFlags(pkgPrivateFlags); in SettingBase()
46 pkgPrivateFlags = orig.pkgPrivateFlags; in doCopy()
60 void setPrivateFlags(int pkgPrivateFlags) { in setPrivateFlags() argument
61 this.pkgPrivateFlags = pkgPrivateFlags in setPrivateFlags()
DSharedUserSetting.java87 if ((this.pkgPrivateFlags & packageSetting.pkgPrivateFlags) != 0) { in removePackage()
90 aggregatedPrivateFlags |= ps.pkgPrivateFlags; in removePackage()
105 setPrivateFlags(this.pkgPrivateFlags | packageSetting.pkgPrivateFlags); in addPackage()
124 return (this.pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
DPackageSetting.java136 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
140 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_OEM) != 0; in isOem()
144 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_VENDOR) != 0; in isVendor()
148 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRODUCT) != 0; in isProduct()
152 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_SYSTEM_EXT) != 0; in isSystemExt()
156 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_ODM) != 0; in isOdm()
DSettings.java437 SharedUserSetting getSharedUserLPw(String name, int pkgFlags, int pkgPrivateFlags, in getSharedUserLPw() argument
441 s = new SharedUserSetting(name, pkgFlags, pkgPrivateFlags); in getSharedUserLPw()
500 p.appId, p.versionCode, p.pkgFlags, p.pkgPrivateFlags, in enableSystemPackageLPw()
518 pkgFlags, int pkgPrivateFlags, String parentPackageName, in addPackageLPw() argument
532 cpuAbiOverrideString, vc, pkgFlags, pkgPrivateFlags, parentPackageName, in addPackageLPw()
546 SharedUserSetting addSharedUserLPw(String name, int uid, int pkgFlags, int pkgPrivateFlags) { in addSharedUserLPw() argument
556 s = new SharedUserSetting(name, pkgFlags, pkgPrivateFlags); in addSharedUserLPw()
597 String secondaryCpuAbi, long versionCode, int pkgFlags, int pkgPrivateFlags, in createNewSetting() argument
613 pkgSetting.pkgPrivateFlags = pkgPrivateFlags; in createNewSetting()
628 null /*cpuAbiOverrideString*/, versionCode, pkgFlags, pkgPrivateFlags, in createNewSetting()
[all …]
DPackageSettingBase.java139 long pVersionCode, int pkgFlags, int pkgPrivateFlags, in PackageSettingBase() argument
142 super(pkgFlags, pkgPrivateFlags); in PackageSettingBase()
DPackageManagerService.java4046 ai.privateFlags = ps.pkgPrivateFlags;
6445 return sus.pkgPrivateFlags;
6451 return ps.pkgPrivateFlags;
10812 if ((systemPkgSetting.pkgPrivateFlags
10816 if ((systemPkgSetting.pkgPrivateFlags
10820 if ((systemPkgSetting.pkgPrivateFlags
10824 if ((systemPkgSetting.pkgPrivateFlags
10828 if ((systemPkgSetting.pkgPrivateFlags
10832 if ((systemPkgSetting.pkgPrivateFlags
18759 ps.pkgPrivateFlags |= ApplicationInfo.PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java441 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testUpdatePackageSetting01()
461 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testUpdatePackageSetting01()
475 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testUpdatePackageSetting02()
495 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testUpdatePackageSetting02()
570 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testCreateNewSetting01()
612 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testCreateNewSetting02()
660 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testCreateNewSetting03()
704 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testCreateNewSetting04()
787 assertThat(origPkgSetting.pkgPrivateFlags, is(testPkgSetting.pkgPrivateFlags)); in verifySettingCopy()
814 int sharedUserId, int pkgFlags, int pkgPrivateFlags) { in createSharedUserSetting() argument
[all …]