/frameworks/base/include/androidfw/ |
H A D | AttributeFinder.h | 64 void jumpToClosestAttribute(uint32_t packageId); 65 void markCurrentPackageId(uint32_t packageId); 97 void BackTrackingAttributeFinder<Derived, Iterator>::jumpToClosestAttribute(const uint32_t packageId) { argument 98 switch (packageId) { 106 ssize_t idx = mPackageOffsets.indexOfKey(packageId); 130 void BackTrackingAttributeFinder<Derived, Iterator>::markCurrentPackageId(const uint32_t packageId) { argument 131 switch (packageId) { 139 mPackageOffsets.add(packageId, mCurrent);
|
H A D | ResourceTypes.h | 1516 uint32_t packageId; member in struct:android::ResTable_lib_entry 1533 DynamicRefTable(uint8_t packageId, bool appAsLib); 1543 status_t addMapping(const String16& packageName, uint8_t packageId);
|
/frameworks/base/tools/aapt2/ |
H A D | public_attr_map.py | 8 packageId = 0x000000ff & (intId >> 24) 12 if packageId != 0x01 or typeId != 0x01:
|
H A D | ResourceTable.cpp | 351 if (resId.isValid() && package->id && package->id.value() != resId.packageId()) { 411 package->id = resId.packageId(); 448 if (resId.isValid() && package->id && package->id.value() != resId.packageId()) { 488 package->id = resId.packageId();
|
H A D | Resource.h | 131 uint8_t packageId() const; 205 inline uint8_t ResourceId::packageId() const { function in class:aapt::ResourceId
|
H A D | SdkConstants.cpp | 53 if (id.packageId() != 0x01 && id.typeId() != 0x01) {
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 226 const uint32_t packageId = am.getResources().getBasePackageId(0); local 279 uint32_t resID = (packageId << 24) | (targetTypeId << 16) | (entryOffset + i);
|
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 167 uint32_t packageId = util::deviceToHost32(packageHeader->id); local 168 if (packageId > std::numeric_limits<uint8_t>::max()) { 170 << "package ID is too big (" << packageId << ")"); 182 ResourceTablePackage* package = mTable->createPackage(packageName, (uint8_t) packageId); 186 << "' with ID " << packageId); local
|
/frameworks/base/tools/aapt2/link/ |
H A D | ReferenceLinker.cpp | 173 return ref.id.value().packageId() == symbol.id.value().packageId();
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | XmlFlattener.cpp | 225 StringPool::Ref nameRef = mPackagePools[aaptAttr.id.value().packageId()].makeRef(
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.h | 221 static inline uint32_t makeResId(uint32_t packageId, argument 225 return nameId | (typeId<<16) | (packageId<<24); 528 Package(const String16& name, size_t packageId);
|
H A D | ResourceTable.cpp | 1758 ssize_t packageId = -1; local 1762 packageId = 0x7f; 1766 packageId = 0x01; 1770 packageId = 0x00; 1777 sp<Package> package = new Package(mAssetsPackage, packageId); 2876 size_t packageId = table.getBasePackageId(i); local 2878 if (packageId > 0x01 && packageId != 0x7f && 2880 libraryPackages.add(sp<Package>(new Package(packageName, packageId))); 3360 entry->packageId 4088 Package(const String16& name, size_t packageId) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 5191 uint32_t packageId = Res_GETPACKAGE(rid) + 1; local 5192 if (packageId != APP_PACKAGE_ID && packageId != SYS_PACKAGE_ID) { 5208 uint32_t packageId = Res_GETPACKAGE(rid) + 1; local 5209 if (packageId == 0x00) { 5213 } else if (packageId == APP_PACKAGE_ID || packageId == SYS_PACKAGE_ID) { 5214 // We accept packageId's generated as 0x01 in order to support 5358 uint32_t packageId = Res_GETPACKAGE(rid) + 1; local 5359 if (packageId ! 5369 uint32_t packageId = Res_GETPACKAGE(rid) + 1; local 6422 DynamicRefTable(uint8_t packageId, bool appAsLib) argument 6447 uint32_t packageId = dtohl(entry->packageId); local 6495 addMapping(const String16& packageName, uint8_t packageId) argument 6507 size_t packageId = Res_GETPACKAGE(res) + 1; local 6915 int packageId = pg->id; local [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 898 Pair<Integer, String> packageId = Pair.create(grantId, packageName); 899 return mPackagesWithBindWidgetPermission.contains(packageId); 922 Pair<Integer, String> packageId = Pair.create(grantId, packageName); 924 mPackagesWithBindWidgetPermission.add(packageId); 926 mPackagesWithBindWidgetPermission.remove(packageId); 2949 Pair<Integer, String> packageId = Pair.create(userId, packageName); 2950 mPackagesWithBindWidgetPermission.add(packageId); 3111 Pair<Integer, String> packageId = mPackagesWithBindWidgetPermission.valueAt(i); 3112 if (packageId.first == userId) { 3520 Pair<Integer, String> packageId [all...] |