Home
last modified time | relevance | path

Searched refs:packageSetting (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java75 boolean removePackage(PackageSetting packageSetting) { in removePackage() argument
76 if (!packages.remove(packageSetting)) { in removePackage()
80 if ((this.pkgFlags & packageSetting.pkgFlags) != 0) { in removePackage()
87 if ((this.pkgPrivateFlags & packageSetting.pkgPrivateFlags) != 0) { in removePackage()
97 void addPackage(PackageSetting packageSetting) { in addPackage() argument
100 if ((packages.size() == 0) && (packageSetting.pkg != null)) { in addPackage()
101 seInfoTargetSdkVersion = packageSetting.pkg.applicationInfo.targetSdkVersion; in addPackage()
103 if (packages.add(packageSetting)) { in addPackage()
104 setFlags(this.pkgFlags | packageSetting.pkgFlags); in addPackage()
105 setPrivateFlags(this.pkgPrivateFlags | packageSetting.pkgPrivateFlags); in addPackage()
DSettings.java1421 private void readDomainVerificationLPw(XmlPullParser parser, PackageSettingBase packageSetting) in readDomainVerificationLPw() argument
1424 packageSetting.setIntentFilterVerificationInfo(ivi); in readDomainVerificationLPw()
3615 PackageSetting packageSetting = null; in readPackageLPw() local
3755 packageSetting = addPackageLPw(name.intern(), realName, new File(codePathStr), in readPackageLPw()
3762 + userId + " pkg=" + packageSetting); in readPackageLPw()
3763 if (packageSetting == null) { in readPackageLPw()
3768 packageSetting.setTimeStamp(timeStamp); in readPackageLPw()
3769 packageSetting.firstInstallTime = firstInstallTime; in readPackageLPw()
3770 packageSetting.lastUpdateTime = lastUpdateTime; in readPackageLPw()
3774 packageSetting = new PackageSetting(name.intern(), realName, new File( in readPackageLPw()
[all …]
DPackageManagerService.java5781 final PackageSetting packageSetting = mSettings.mPackages.get(packageName);
5782 if (packageSetting == null) {
5787 pkg = packageSetting.pkg;
5793 packageSetting.installerPackageName);
5812 if (filterAppAccessLPr(packageSetting, Binder.getCallingUid(),
5910 final PackageSetting packageSetting = mSettings.mPackages.get(packageName);
5911 if (packageSetting == null) {
5916 pkg = packageSetting.pkg;
5922 packageSetting.installerPackageName);
5966 if (filterAppAccessLPr(packageSetting, Binder.getCallingUid(),
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java141 final PackageSetting packageSetting = new PackageSetting(mName, mRealName, in build() local
147 packageSetting.volumeUuid = this.mVolumeUuid; in build()
149 packageSetting.setUserState(mUserStates.keyAt(i), mUserStates.valueAt(i)); in build()
151 return packageSetting; in build()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java2008 final PackageSetting packageSetting = (PackageSetting) pkg.mExtras; in getWhitelistedRestrictedPermissions() local
2009 if (packageSetting == null) { in getWhitelistedRestrictedPermissions()
2013 final PermissionsState permissionsState = packageSetting.getPermissionsState(); in getWhitelistedRestrictedPermissions()