Searched refs:pg (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverActivityTest.java | 329 ActivityInfoPresentationGetter pg; in getActivityLabelAndSubLabel() local 333 pg = new ActivityInfoPresentationGetter( in getActivityLabelAndSubLabel() 335 assertThat("Label should match app label", pg.getLabel().equals( in getActivityLabelAndSubLabel() 338 pg.getSubLabel().equals(info.setActivityLabel)); in getActivityLabelAndSubLabel() 341 pg = new ActivityInfoPresentationGetter( in getActivityLabelAndSubLabel() 344 pg.getLabel().equals(info.setActivityLabel)); in getActivityLabelAndSubLabel() 346 TextUtils.isEmpty(pg.getSubLabel())); in getActivityLabelAndSubLabel() 351 ResolveInfoPresentationGetter pg; in getResolveInfoLabelAndSubLabel() local 355 pg = new ResolveInfoPresentationGetter( in getResolveInfoLabelAndSubLabel() 357 assertThat("Label should match app label", pg.getLabel().equals( in getResolveInfoLabelAndSubLabel() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 4062 PackageGroup* pg = new PackageGroup(this, srcPg->name, srcPg->id, in add() local 4065 pg->packages.add(srcPg->packages[j]); in add() 4073 TypeList& typeList = pg->types.editItemAt(j); in add() 4076 pg->dynamicRefTable.addMappings(srcPg->dynamicRefTable); in add() 4077 pg->largestTypeId = max(pg->largestTypeId, srcPg->largestTypeId); in add() 4078 mPackageGroups.add(pg); in add() 6153 const PackageGroup* pg = mPackageGroups[i]; in getDynamicRefTableForCookie() local 6154 size_t M = pg->packages.size(); in getDynamicRefTableForCookie() 6156 if (pg->packages[j]->header->cookie == cookie) { in getDynamicRefTableForCookie() 6157 return &pg->dynamicRefTable; in getDynamicRefTableForCookie() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 513 for (PackageParser.PermissionGroup pg : mSettings.mPermissionGroups.values()) { in getAllPermissionGroups() 514 out.add(PackageParser.generatePermissionGroupInfo(pg, flags)); in getAllPermissionGroups() 711 final PackageParser.PermissionGroup pg = pkg.permissionGroups.get(i); in addAllPermissionGroups() local 712 final PackageParser.PermissionGroup cur = mSettings.mPermissionGroups.get(pg.info.name); in addAllPermissionGroups() 714 final boolean isPackageUpdate = pg.info.packageName.equals(curPackageName); in addAllPermissionGroups() 716 mSettings.mPermissionGroups.put(pg.info.name, pg); in addAllPermissionGroups() 726 r.append(pg.info.name); in addAllPermissionGroups() 729 Slog.w(TAG, "Permission group " + pg.info.name + " from package " in addAllPermissionGroups() 730 + pg.info.packageName + " ignored: original from " in addAllPermissionGroups() 739 r.append(pg.info.name); in addAllPermissionGroups()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 1902 ResolveInfoPresentationGetter pg = makePresentationGetter(ri); 1903 addResolveInfoWithAlternates(rci, pg.getSubLabel(), pg.getLabel());
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 7862 PermissionGroup pg, int flags) { in generatePermissionGroupInfo() argument 7863 if (pg == null) return null; in generatePermissionGroupInfo() 7865 return pg.info; in generatePermissionGroupInfo() 7867 PermissionGroupInfo pgi = new PermissionGroupInfo(pg.info); in generatePermissionGroupInfo() 7868 pgi.metaData = pg.metaData; in generatePermissionGroupInfo()
|