Home
last modified time | relevance | path

Searched refs:pkgFlags (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSettingBase.java26 int pkgFlags; field in SettingBase
31 SettingBase(int pkgFlags, int pkgPrivateFlags) { in SettingBase() argument
32 setFlags(pkgFlags); in SettingBase()
47 pkgFlags = orig.pkgFlags; in doCopy()
56 void setFlags(int pkgFlags) { in setFlags() argument
57 this.pkgFlags = pkgFlags in setFlags()
DSharedUserSetting.java104 if ((this.pkgFlags & packageSetting.pkgFlags) != 0) { in removePackage()
107 aggregatedFlags |= ps.pkgFlags; in removePackage()
130 setFlags(this.pkgFlags | packageSetting.pkgFlags); in addPackage()
DPackageSetting.java77 long pVersionCode, int pkgFlags, int privateFlags, in PackageSetting() argument
82 pVersionCode, pkgFlags, privateFlags, in PackageSetting()
229 return (pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystem()
DSettings.java484 SharedUserSetting getSharedUserLPw(String name, int pkgFlags, int pkgPrivateFlags, in getSharedUserLPw() argument
488 s = new SharedUserSetting(name, pkgFlags, pkgPrivateFlags); in getSharedUserLPw()
543 p.appId, p.versionCode, p.pkgFlags, p.pkgPrivateFlags, in enableSystemPackageLPw()
563 pkgFlags, int pkgPrivateFlags, String[] usesStaticLibraries, in addPackageLPw() argument
576 cpuAbiOverrideString, vc, pkgFlags, pkgPrivateFlags, in addPackageLPw()
587 SharedUserSetting addSharedUserLPw(String name, int uid, int pkgFlags, int pkgPrivateFlags) { in addSharedUserLPw() argument
597 s = new SharedUserSetting(name, pkgFlags, pkgPrivateFlags); in addSharedUserLPw()
638 String secondaryCpuAbi, long versionCode, int pkgFlags, int pkgPrivateFlags, in createNewSetting() argument
650 pkgSetting.pkgFlags = pkgFlags; in createNewSetting()
666 null /*cpuAbiOverrideString*/, versionCode, pkgFlags, pkgPrivateFlags, in createNewSetting()
[all …]
DPackageSettingBase.java144 long pVersionCode, int pkgFlags, int pkgPrivateFlags, in PackageSettingBase() argument
146 super(pkgFlags, pkgPrivateFlags); in PackageSettingBase()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java491 assertThat(testPkgSetting01.pkgFlags, is(0)); in testUpdatePackageSetting01()
511 assertThat(testPkgSetting01.pkgFlags, is(0)); in testUpdatePackageSetting01()
525 assertThat(testPkgSetting01.pkgFlags, is(0)); in testUpdatePackageSetting02()
545 assertThat(testPkgSetting01.pkgFlags, is(ApplicationInfo.FLAG_SYSTEM)); in testUpdatePackageSetting02()
618 assertThat(testPkgSetting01.pkgFlags, is(ApplicationInfo.FLAG_SYSTEM)); in testCreateNewSetting01()
659 assertThat(testPkgSetting01.pkgFlags, is(0)); in testCreateNewSetting02()
705 assertThat(testPkgSetting01.pkgFlags, is(0)); in testCreateNewSetting03()
748 assertThat(testPkgSetting01.pkgFlags, is(0)); in testCreateNewSetting04()
826 assertThat(origPkgSetting.pkgFlags, is(testPkgSetting.pkgFlags)); in verifySettingCopy()
854 int sharedUserId, int pkgFlags, int pkgPrivateFlags) { in createSharedUserSetting() argument
[all …]
DPackageSettingBuilder.java108 public PackageSettingBuilder setPkgFlags(int pkgFlags) { in setPkgFlags() argument
109 this.mPkgFlags = pkgFlags; in setPkgFlags()
DAppsFilterTest.java684 targetSetting.pkgFlags, targetSetting.pkgPrivateFlags); in testActsOnTargetOfOverlayThroughSharedUser()