Searched defs:package (Results 26 - 37 of 37) sorted by relevance

12

/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp217 PackageFlattener(IDiagnostics* diag, ResourceTablePackage* package) : argument
218 mDiag(diag), mPackage(package) {
229 "package name '" << mPackage->name << "' is too long");
233 // Copy the package name in device endianness.
490 // Flatten each package.
491 for (auto& package : table->packages) {
492 PackageFlattener flattener(context->getDiagnostics(), package.get());
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp48 u"long", u"native", u"new", u"package", u"private", u"protected",
90 // the package.
91 if (!attrName.package.empty() && packageNameToGenerate != attrName.package) {
92 output += "_" + transform(attrName.package);
103 "\"<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>\" or a theme\n"
105 "\"<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>\".");
235 if (mangledReference.name.value().package.empty()) {
236 mangledReference.name.value().package = mContext->getCompilationPackage();
298 << (!attrName.package
406 addMembersToTypeClass(const StringPiece16& packageNameToGenerate, const ResourceTablePackage* package, const ResourceTableType* type, ClassDefinition* outTypeClassDef) argument
[all...]
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.cpp412 ExtractedPackage& package = maybePackage.value(); local
413 mPackageDecls.push_back(PackageDecl{ ns->namespacePrefix, std::move(package) });
433 if (iter->package.package.empty()) {
435 iter->package.privateNamespace };
437 return iter->package;
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp727 char package[128]; local
731 if (!fgets(package, 128, file)) {
743 snprintf(path, 1024, "/data/data/%s/cache/rendertree_dump", package);
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp496 // name.package can be empty here, as it will assume the package name of the table.
939 StringPiece16 package; local
943 package = StringPiece16(start, p - start);
950 ref.name = ResourceName(package.toString(), ResourceType::kAttr,
999 // Transform the namespace prefix to the actual package name, and mark the reference as
1212 // If this is a declaration, the package name may be in the name. Separate these out.
/frameworks/base/tools/aapt/
H A DAaptAssets.h274 * Note that sorting here is not enough to guarantee that the package
519 void setPackage(const String8& package) { argument
520 mPackage = package;
521 mSymbolsPrivatePackage = package;
H A DBundle.h132 void setPrivateSymbolsPackage(const android::String8& package) { argument
133 mPrivateSymbolsPackage = package;
H A DResource.cpp260 ssize_t nameIndex = block.indexOfAttribute(NULL, "package");
262 fprintf(stderr, "%s:%d: <manifest> does not have package attribute.\n",
763 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, argument
770 // asdf --> package.asdf
771 // .asdf .a.b --> package.asdf package.a.b
777 className += package;
780 className += package;
881 // Deal with manifest package name overrides
884 // Update the actual package nam
2665 writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, const String8& package, bool includePrivate, bool emitCallback) argument
[all...]
H A DResourceTable.cpp172 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n"
173 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."},
275 "\"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>\") or\n"
277 "\"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\")\n"
1118 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package");
1121 "A 'package' attribute is required for <private-symbols>\n");
1131 "private symbol package already specified. Ignoring...\n");
1777 sp<Package> package = new Package(mAssetsPackage, packageId); local
1778 mPackages.add(assetsPackage, package);
1779 mOrderedPackages.add(package);
1823 addPublic(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const uint32_t ident) argument
1847 addEntry(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& value, const Vector<StringPool::entry_style_span>* style, const ResTable_config* params, const bool doSetIndex, const int32_t format, const bool overwrite) argument
1880 startBag(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& bagParent, const ResTable_config* params, bool overlay, bool replace, bool ) argument
1940 addBag(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& bagParent, const String16& bagKey, const String16& value, const Vector<StringPool::entry_style_span>* style, const ResTable_config* params, bool replace, bool isId, const int32_t format) argument
1985 hasBagOrEntry(const String16& package, const String16& type, const String16& name) const argument
2010 hasBagOrEntry(const String16& package, const String16& type, const String16& name, const ResTable_config& config) const argument
2045 String16 package, type, name; local
2053 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument
2077 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument
2100 makeAttribute(const String16& package, const String16& name, const SourcePos& source, int32_t format, const String16& comment, bool shouldAppendComment) argument
2155 canAddEntry(const SourcePos& pos, const String16& package, const String16& type, const String16& name) argument
2191 getResId(const String16& package, const String16& type, const String16& name, bool onlyPublic) const argument
2243 String16 package, type, name; local
2358 getCustomResource( const String16& package, const String16& type, const String16& name) const argument
2382 getCustomResourceWithCreation( const String16& package, const String16& type, const String16& name, const bool createIfNotFound) argument
3367 writePublicDefinitions(const String16& package, FILE* fp) argument
3383 writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument
3591 generateAttributes(ResourceTable* table, const String16& package) argument
4264 getPackage(const String16& package) argument
4272 getType(const String16& package, const String16& type, const SourcePos& sourcePos, bool doSetIndex) argument
4284 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument
4299 getConfigList(const String16& package, const String16& type, const String16& name) const argument
4881 buildNamespace(const String16& package) argument
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h243 #define Res_MAKEID(package, type, entry) \
244 (((package+1)<<24) | (((type+1)&0xFF)<<16) | (entry&0xFFFF))
390 * where pp is the package index, tt is the type index in that
391 * package, and eeee is the entry index in that type. The package
852 * A collection of resource data types within a package. Followed by
860 // If this is a base package, its ID. Package IDs start
861 // at 1 (corresponding to the value of the package bits in a
862 // resource identifier). 0 means this is not a base package.
865 // Actual name of this package, \
1591 const char16_t* package; member in struct:android::ResTable::resource_name
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp370 ALOGE("idmap: target package ID is invalid (%02x)", targetPackageId);
3145 const Package* package; member in struct:android::ResTable::Entry
3154 : header(_header), package(_package), entryCount(count),
3157 const Package* const package; member in struct:android::ResTable::Type
3168 : owner(_owner), header(_header), package(_package), typeIdOffset(0) {
3169 if (dtohs(package->header.headerSize) == sizeof(package)) {
3170 // The package structure is the same size as the definition.
3172 typeIdOffset = package->typeIdOffset;
3178 const ResTable_package* const package; member in struct:android::ResTable::Package
4506 identifierForName(const char16_t* name, size_t nameLen, const char16_t* type, size_t typeLen, const char16_t* package, size_t packageLen, uint32_t* outTypeSpecFlags) const argument
5156 String16 package, type, name; local
5325 String16 package, type, name; local
6183 Package* package = new Package(this, header, pkg); local
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jar ... android/databinding/ android/databinding/Bindable.class Bindable.java package android.databinding public abstract annotation android.databinding. ...

Completed in 264 milliseconds

12