/frameworks/base/services/core/java/com/android/server/pm/ |
D | SettingBase.java | 24 int pkgFlags; field in SettingBase 29 SettingBase(int pkgFlags, int pkgPrivateFlags) { in SettingBase() argument 30 setFlags(pkgFlags); in SettingBase() 45 pkgFlags = orig.pkgFlags; in doCopy() 54 void setFlags(int pkgFlags) { in setFlags() argument 55 this.pkgFlags = pkgFlags in setFlags()
|
D | SharedUserSetting.java | 80 if ((this.pkgFlags & packageSetting.pkgFlags) != 0) { in removePackage() 83 aggregatedFlags |= ps.pkgFlags; in removePackage() 104 setFlags(this.pkgFlags | packageSetting.pkgFlags); in addPackage()
|
D | PackageSetting.java | 53 long pVersionCode, int pkgFlags, int privateFlags, String parentPackageName, in PackageSetting() argument 58 pVersionCode, pkgFlags, privateFlags, parentPackageName, childPackageNames, in PackageSetting() 160 return (pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystem() 164 return (pkgFlags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; in isUpdatedSystem()
|
D | Settings.java | 437 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 612 pkgSetting.pkgFlags = pkgFlags; in createNewSetting() 628 null /*cpuAbiOverrideString*/, versionCode, pkgFlags, pkgPrivateFlags, in createNewSetting() [all …]
|
D | PackageSettingBase.java | 139 long pVersionCode, int pkgFlags, int pkgPrivateFlags, in PackageSettingBase() argument 142 super(pkgFlags, pkgPrivateFlags); in PackageSettingBase()
|
D | ComponentResolver.java | 1197 return (ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0 in isFilterStopped() 1483 return (ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0 in isFilterStopped() 1702 return (ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0 in isFilterStopped()
|
D | PackageManagerService.java | 2829 if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) { in PackageManagerService() 3181 if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) { in PackageManagerService() 4045 ai.flags = ps.pkgFlags; 6422 return sus.pkgFlags; 6428 return ps.pkgFlags; 10212 if ((oldPkg.pkgFlags&ApplicationInfo.FLAG_SYSTEM) == 0) { 11501 pkgSetting.pkgFlags = pkg.applicationInfo.flags; 17675 return (ps.pkgFlags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0; 17712 return (ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; 17716 return (ps.pkgFlags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 440 assertThat(testPkgSetting01.pkgFlags, is(0)); in testUpdatePackageSetting01() 460 assertThat(testPkgSetting01.pkgFlags, is(0)); in testUpdatePackageSetting01() 474 assertThat(testPkgSetting01.pkgFlags, is(0)); in testUpdatePackageSetting02() 494 assertThat(testPkgSetting01.pkgFlags, is(ApplicationInfo.FLAG_SYSTEM)); in testUpdatePackageSetting02() 569 assertThat(testPkgSetting01.pkgFlags, is(ApplicationInfo.FLAG_SYSTEM)); in testCreateNewSetting01() 611 assertThat(testPkgSetting01.pkgFlags, is(0)); in testCreateNewSetting02() 659 assertThat(testPkgSetting01.pkgFlags, is(0)); in testCreateNewSetting03() 703 assertThat(testPkgSetting01.pkgFlags, is(0)); in testCreateNewSetting04() 786 assertThat(origPkgSetting.pkgFlags, is(testPkgSetting.pkgFlags)); in verifySettingCopy() 814 int sharedUserId, int pkgFlags, int pkgPrivateFlags) { in createSharedUserSetting() argument [all …]
|
D | PackageSettingBuilder.java | 91 public PackageSettingBuilder setPkgFlags(int pkgFlags) { in setPkgFlags() argument 92 this.mPkgFlags = pkgFlags; in setPkgFlags()
|