Home
last modified time | relevance | path

Searched refs:childPackageNames (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java54 List<String> childPackageNames, int sharedUserId, String[] usesStaticLibraries, in PackageSetting() argument
58 pVersionCode, pkgFlags, privateFlags, parentPackageName, childPackageNames, in PackageSetting()
180 return childPackageNames != null && !childPackageNames.isEmpty(); in hasChildPackages()
DPackageSettingBase.java55 List<String> childPackageNames; field in PackageSettingBase
140 String parentPackageName, List<String> childPackageNames, in PackageSettingBase() argument
146 this.childPackageNames = (childPackageNames != null) in PackageSettingBase()
147 ? new ArrayList<>(childPackageNames) : null; in PackageSettingBase()
235 childPackageNames = (orig.childPackageNames != null) in doCopy()
236 ? new ArrayList<>(orig.childPackageNames) : null; in doCopy()
648 this.childPackageNames = other.childPackageNames; in updateFrom()
DSettings.java501 p.parentPackageName, p.childPackageNames, p.usesStaticLibraries, in enableSystemPackageLPw()
519 List<String> childPackageNames, String[] usesStaticLibraries, in addPackageLPw() argument
533 childPackageNames, 0 /*userId*/, usesStaticLibraries, usesStaticLibraryNames); in addPackageLPw()
607 pkgSetting.childPackageNames = in createNewSetting()
795 pkgSetting.childPackageNames = new ArrayList<>(childPkgNames); in updatePackageSetting()
2212 void writeChildPackagesLPw(XmlSerializer serializer, List<String> childPackageNames) in writeChildPackagesLPw() argument
2214 if (childPackageNames == null) { in writeChildPackagesLPw()
2217 final int childCount = childPackageNames.size(); in writeChildPackagesLPw()
2219 String childPackageName = childPackageNames.get(i); in writeChildPackagesLPw()
2787 writeChildPackagesLPw(serializer, pkg.childPackageNames); in writeDisabledSysPackageLPr()
[all …]
DPackageManagerService.java9356 final int disabledChildCount = disabledPkgSetting.childPackageNames != null
9357 ? disabledPkgSetting.childPackageNames.size() : 0;
9360 disabledPkgSetting.childPackageNames.get(i);
16145 final int childCount = (ps.childPackageNames != null) ? ps.childPackageNames.size() : 0;
16149 childPs = mSettings.getPackageLPr(ps.childPackageNames.get(i));
16874 if (ps1.childPackageNames != null) {
16875 for (int i = ps1.childPackageNames.size() - 1; i >= 0; --i) {
16876 final String childPkgName = ps1.childPackageNames.get(i);
19116 final int childCount = (deletedPs.childPackageNames != null)
19117 ? deletedPs.childPackageNames.size() : 0;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java365 final List<String> childPackageNames = new ArrayList<>(); in testPackageStateCopy01() local
366 childPackageNames.add(CHILD_PACKAGE_NAME_01); in testPackageStateCopy01()
367 childPackageNames.add(CHILD_PACKAGE_NAME_02); in testPackageStateCopy01()
368 childPackageNames.add(CHILD_PACKAGE_NAME_03); in testPackageStateCopy01()
382 childPackageNames, in testPackageStateCopy01()
392 final List<String> childPackageNames = new ArrayList<>(); in testPackageStateCopy02() local
393 childPackageNames.add(CHILD_PACKAGE_NAME_01); in testPackageStateCopy02()
394 childPackageNames.add(CHILD_PACKAGE_NAME_02); in testPackageStateCopy02()
395 childPackageNames.add(CHILD_PACKAGE_NAME_03); in testPackageStateCopy02()
409 childPackageNames, in testPackageStateCopy02()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java6689 final List<String> childPackageNames = new ArrayList<>(childCount); in getChildPackageNames() local
6692 childPackageNames.add(childPackageName); in getChildPackageNames()
6694 return childPackageNames; in getChildPackageNames()