Searched refs:pkgPrivateFlags (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SettingBase.java | 27 int pkgPrivateFlags; field in SettingBase 31 SettingBase(int pkgFlags, int pkgPrivateFlags) { in SettingBase() argument 33 setPrivateFlags(pkgPrivateFlags); in SettingBase() 48 pkgPrivateFlags = orig.pkgPrivateFlags; in doCopy() 62 void setPrivateFlags(int pkgPrivateFlags) { in setPrivateFlags() argument 63 this.pkgPrivateFlags = pkgPrivateFlags in setPrivateFlags()
|
D | SharedUserSetting.java | 111 if ((this.pkgPrivateFlags & packageSetting.pkgPrivateFlags) != 0) { in removePackage() 114 aggregatedPrivateFlags |= ps.pkgPrivateFlags; in removePackage() 131 setPrivateFlags(this.pkgPrivateFlags | packageSetting.pkgPrivateFlags); in addPackage() 153 return (this.pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
|
D | PackageSetting.java | 205 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged() 209 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_OEM) != 0; in isOem() 213 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_VENDOR) != 0; in isVendor() 217 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRODUCT) != 0; in isProduct() 221 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_SYSTEM_EXT) != 0; in isSystemExt() 225 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_ODM) != 0; in isOdm()
|
D | Settings.java | 484 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 651 pkgSetting.pkgPrivateFlags = pkgPrivateFlags; in createNewSetting() 666 null /*cpuAbiOverrideString*/, versionCode, pkgFlags, pkgPrivateFlags, in createNewSetting() [all …]
|
D | PackageSettingBase.java | 144 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/ |
D | PackageManagerSettingsTests.java | 492 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testUpdatePackageSetting01() 512 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testUpdatePackageSetting01() 526 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testUpdatePackageSetting02() 546 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testUpdatePackageSetting02() 619 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testCreateNewSetting01() 660 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testCreateNewSetting02() 706 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testCreateNewSetting03() 749 assertThat(testPkgSetting01.pkgPrivateFlags, is(0)); in testCreateNewSetting04() 827 assertThat(origPkgSetting.pkgPrivateFlags, is(testPkgSetting.pkgPrivateFlags)); in verifySettingCopy() 854 int sharedUserId, int pkgFlags, int pkgPrivateFlags) { in createSharedUserSetting() argument [all …]
|
D | AppsFilterTest.java | 684 targetSetting.pkgFlags, targetSetting.pkgPrivateFlags); in testActsOnTargetOfOverlayThroughSharedUser()
|