Lines Matching refs:ResourceTable
7 #include "ResourceTable.h"
46 ResourceTable* table,
62 ResourceTable* table,
78 ResourceTable* table,
268 static void appendTypeInfo(ResourceTable* outTable, const String16& pkg,
315 status_t createIfNeeded(ResourceTable* outTable)
333 ResourceTable* outTable,
605 ResourceTable* outTable)
703 ResourceTable* outTable)
785 ResourceTable* outTable)
1762 ResourceTable::ResourceTable(Bundle* bundle, const String16& assetsPackage, ResourceTable::PackageType type)
1807 status_t ResourceTable::addIncludedResources(Bundle* bundle, const sp<AaptAssets>& assets)
1834 status_t ResourceTable::addPublic(const SourcePos& sourcePos,
1858 status_t ResourceTable::addEntry(const SourcePos& sourcePos,
1891 status_t ResourceTable::startBag(const SourcePos& sourcePos,
1951 status_t ResourceTable::addBag(const SourcePos& sourcePos,
1996 bool ResourceTable::hasBagOrEntry(const String16& package,
2021 bool ResourceTable::hasBagOrEntry(const String16& package,
2052 bool ResourceTable::hasBagOrEntry(const String16& ref,
2064 bool ResourceTable::appendComment(const String16& package,
2088 bool ResourceTable::appendTypeComment(const String16& package,
2111 bool ResourceTable::makeAttribute(const String16& package,
2129 sp<ResourceTable::Entry> entry = getEntry(package, attr16, name, source, false);
2166 void ResourceTable::canAddEntry(const SourcePos& pos,
2175 size_t ResourceTable::size() const {
2179 size_t ResourceTable::numLocalResources() const {
2183 bool ResourceTable::hasResources() const {
2187 sp<AaptFile> ResourceTable::flatten(Bundle* bundle, const sp<const ResourceFilter>& filter,
2195 inline uint32_t ResourceTable::getResId(const sp<Package>& p,
2202 uint32_t ResourceTable::getResId(const String16& package,
2250 uint32_t ResourceTable::getResId(const String16& ref,
2288 bool ResourceTable::isValidResourceName(const String16& s)
2306 bool ResourceTable::stringToValue(Res_value* outValue, StringPool* pool,
2371 uint32_t ResourceTable::getCustomResource(
2395 uint32_t ResourceTable::getCustomResourceWithCreation(
2422 uint32_t ResourceTable::getRemappedPackage(uint32_t origPackage) const
2427 bool ResourceTable::getAttributeType(uint32_t attrID, uint32_t* outType)
2440 bool ResourceTable::getAttributeMin(uint32_t attrID, uint32_t* outMin)
2451 bool ResourceTable::getAttributeMax(uint32_t attrID, uint32_t* outMax)
2462 uint32_t ResourceTable::getAttributeL10N(uint32_t attrID)
2472 bool ResourceTable::getLocalizationSetting()
2477 void ResourceTable::reportError(void* accessorCookie, const char* fmt, ...)
2492 bool ResourceTable::getAttributeKeys(
2509 bool ResourceTable::getAttributeEnum(
2529 bool ResourceTable::getAttributeFlags(
2579 status_t ResourceTable::assignResourceIds()
2707 status_t ResourceTable::addSymbols(const sp<AaptSymbols>& outSymbols,
2782 ResourceTable::addLocalization(const String16& name, const String8& locale, const SourcePos& src)
2788 ResourceTable::addDefaultLocalization(const String16& name)
2804 ResourceTable::validateLocalizations(void)
2879 status_t ResourceTable::flatten(Bundle* bundle, const sp<const ResourceFilter>& filter,
3350 status_t ResourceTable::flattenLibraryTable(const sp<AaptFile>& dest, const Vector<sp<Package> >& libs) {
3388 void ResourceTable::writePublicDefinitions(const String16& package, FILE* fp)
3404 void ResourceTable::writePublicDefinitions(const String16& package, FILE* fp, bool pub)
3463 ResourceTable::Item::Item(const SourcePos& _sourcePos,
3480 ResourceTable::Entry::Entry(const Entry& entry)
3492 ResourceTable::Entry& ResourceTable::Entry::operator=(const Entry& entry) {
3505 status_t ResourceTable::Entry::makeItABag(const SourcePos& sourcePos)
3521 status_t ResourceTable::Entry::setItem(const SourcePos& sourcePos,
3556 status_t ResourceTable::Entry::addToBag(const SourcePos& sourcePos,
3590 status_t ResourceTable::Entry::removeFromBag(const String16& key) {
3601 status_t ResourceTable::Entry::emptyBag(const SourcePos& sourcePos)
3612 status_t ResourceTable::Entry::generateAttributes(ResourceTable* table,
3660 status_t ResourceTable::Entry::assignResourceIds(ResourceTable* table,
3697 status_t ResourceTable::Entry::prepareFlatten(StringPool* strings, ResourceTable* table,
3730 status_t ResourceTable::Entry::remapStringValue(StringPool* strings)
3753 ssize_t ResourceTable::Entry::flatten(Bundle* /* bundle */, const sp<AaptFile>& data, bool isPublic)
3833 void ResourceTable::ConfigList::appendComment(const String16& comment,
3848 void ResourceTable::ConfigList::appendTypeComment(const String16& comment)
3859 status_t ResourceTable::Type::addPublic(const SourcePos& sourcePos,
3906 void ResourceTable::Type::canAddEntry(const String16& name)
3911 sp<ResourceTable::Entry> ResourceTable::Type::getEntry(const String16& entry,
3992 sp<ResourceTable::ConfigList> ResourceTable::Type::removeEntry(const String16& entry) {
4011 SortedVector<ConfigDescription> ResourceTable::Type::getUniqueConfigs() const {
4028 status_t ResourceTable::Type::applyPublicEntryOrder()
4109 ResourceTable::Package::Package(const String16& name, size_t packageId)
4116 sp<ResourceTable::Type> ResourceTable::Package::getType(const String16& type,
4134 status_t ResourceTable::Package::setTypeStrings(const sp<AaptFile>& data)
4148 status_t ResourceTable::Package::setKeyStrings(const sp<AaptFile>& data)
4162 status_t ResourceTable::Package::setStrings(const sp<AaptFile>& data,
4181 status_t ResourceTable::Package::applyPublicTypeOrder()
4230 void ResourceTable::Package::movePrivateAttrs() {
4285 sp<ResourceTable::Package> ResourceTable::getPackage(const String16& package)
4293 sp<ResourceTable::Type> ResourceTable::getType(const String16& package,
4305 sp<ResourceTable::Entry> ResourceTable::getEntry(const String16& package,
4320 sp<ResourceTable::ConfigList> ResourceTable::getConfigList(const String16& package,
4353 sp<const ResourceTable::Entry> ResourceTable::getEntry(uint32_t resID,
4402 const ResourceTable::Item* ResourceTable::getItem(uint32_t resID, uint32_t attrID) const
4425 bool ResourceTable::getItemValue(
4468 int ResourceTable::getPublicAttributeSdkLevel(uint32_t attrId) const {
4540 bool ResourceTable::shouldGenerateVersionedResource(
4541 const sp<ResourceTable::ConfigList>& configList,
4546 const DefaultKeyedVector<ConfigDescription, sp<ResourceTable::Entry>>& entries
4615 status_t ResourceTable::modifyForCompat(const Bundle* bundle) {
4772 bool ResourceTable::versionForCompat(const Bundle* bundle, const String16& resourceName,
4842 status_t ResourceTable::modifyForCompat(const Bundle* bundle,
4972 void ResourceTable
5074 status_t ResourceTable::processBundleFormat(const Bundle* bundle,
5085 status_t ResourceTable::processBundleFormatImpl(const Bundle* bundle,