Searched refs:package (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/core/res/
H A DAndroid.mk32 # Create package-export.apk, which other packages can use to get
39 .PHONY: framework-res-package-target
40 framework-res-package-target: $(LOCAL_BUILT_MODULE)
/frameworks/base/tools/aapt/tests/plurals/
H A Drun.sh9 aapt package -v -x -m -z -J $TEST_OUT_DIR/java -M $TEST_DIR/AndroidManifest.xml \
10 -I out/target/common/obj/APPS/framework-res_intermediates/package-export.apk \
/frameworks/base/tools/aapt/
H A DResourceTable.h84 const String16& package,
90 const String16& package,
101 const String16& package,
111 const String16& package,
123 bool hasBagOrEntry(const String16& package,
131 bool appendComment(const String16& package,
137 bool appendTypeComment(const String16& package,
143 const String16& package, const String16& type, const String16& name);
162 uint32_t getResId(const String16& package,
190 void writePublicDefinitions(const String16& package, FIL
[all...]
H A DResourceTable.cpp131 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n"
132 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."},
234 "\"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>\") or\n"
236 "\"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\")\n"
962 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package");
965 "A 'package' attribute is required for <private-symbols>\n");
1491 fprintf(stderr, "Included base package ID %d already in use!\n", id);
1496 NOISY(printf("Including package %s with ID=%d\n",
1517 const String16& package,
1525 package
1516 addPublic(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const uint32_t ident) argument
1540 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
1581 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 isId) argument
1652 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
1704 hasBagOrEntry(const String16& package, const String16& type, const String16& name) const argument
1733 String16 package, type, name; local
1741 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument
1765 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument
1788 canAddEntry(const SourcePos& pos, const String16& package, const String16& type, const String16& name) argument
1823 getResId(const String16& package, const String16& type, const String16& name, bool onlyPublic) const argument
1868 String16 package, type, name; local
1967 getCustomResource( const String16& package, const String16& type, const String16& name) const argument
1983 getCustomResourceWithCreation( const String16& package, const String16& type, const String16& name, const bool createIfNotFound) argument
2849 writePublicDefinitions(const String16& package, FILE* fp) argument
2865 writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument
3032 generateAttributes(ResourceTable* table, const String16& package) argument
3075 assignResourceIds(ResourceTable* table, const String16& package) argument
3576 getPackage(const String16& package) argument
3600 getType(const String16& package, const String16& type, const SourcePos& sourcePos, bool doSetIndex) argument
3612 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument
[all...]
H A DAaptAssets.h278 * Note that sorting here is not enough to guarantee that the package
488 void setPackage(const String8& package) { mPackage = package; mSymbolsPrivatePackage = package; } argument
H A DResource.cpp210 ssize_t nameIndex = block.indexOfAttribute(NULL, "package");
212 fprintf(stderr, "%s:%d: <manifest> does not have package attribute.\n",
623 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, argument
630 // asdf --> package.asdf
631 // .asdf .a.b --> package.asdf package.a.b
637 className += package;
640 className += package;
681 // Deal with manifest package name overrides
684 // Update the actual package nam
1781 writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, const String8& package, bool includePrivate) argument
[all...]
/frameworks/base/tools/aidl/
H A Daidl.cpp34 printf("interface %s %s {\n", c->package, c->name.data);
55 printf("parcelable %s %s;\n", b->package, b->name.data);
159 check_filename(const char* filename, const char* package, buffer_type* name) argument
184 if (package) {
185 expected = package;
243 err |= check_filename(filename, p->package, &p->name);
247 err |= check_filename(filename, c->package, &c->name);
295 type = new ParcelableType(p->package ? p->package : "",
300 type = new InterfaceType(c->package
627 string package = type->package; local
[all...]
H A Daidl_language.h78 char* package; member in struct:parcelable_type
88 char* package; member in struct:interface_type
144 // the package name for our current file
H A DType.cpp120 make_generic_type(const string& package, const string& name, argument
123 if (package == "java.util" && name == "List") {
127 //return new GenericType(package, name, args);
144 Type::Type(const string& package, const string& name, argument
147 :m_package(package),
155 if (package.length() > 0) {
156 m_qualifiedName = package;
777 ParcelableType::ParcelableType(const string& package, const string& name, argument
779 :Type(package, name, builtIn ? BUILT_IN : PARCELABLE, true, true,
883 InterfaceType::InterfaceType(const string& package, cons argument
923 GenericType(const string& package, const string& name, const vector<Type*>& args) argument
979 GenericListType(const string& package, const string& name, const vector<Type*>& args) argument
1076 AddGenericType(const string& package, const string& name, int args) argument
1099 Find(const char* package, const char* name) const argument
[all...]
H A Daidl_language_y.y34 package { }
36 | package imports { }
39 package: label
86 b->package = g_currentPackage ? strdup(g_currentPackage) : NULL;
127 c->package = g_currentPackage ? strdup(g_currentPackage) : NULL;
H A DType.h28 Type(const string& package, const string& name,
313 ParcelableType(const string& package, const string& name,
338 InterfaceType(const string& package, const string& name,
357 GenericType(const string& package, const string& name,
381 GenericListType(const string& package, const string& name,
412 void AddGenericType(const string& package, const string& name, int args);
416 Type* Find(const char* package, const char* name) const;
425 string package; member in struct:Namespace::Generic
H A Dgenerate_java.cpp161 // One scenario where this is needed is if another package (with a
583 NAMES.Find(iface->package, iface->name.data));
595 NAMES.Find(iface->package, append(iface->name.data, ".Stub").c_str()),
601 NAMES.Find(iface->package,
629 if (iface->package) document->package = iface->package;
H A Daidl_language_l.l18 // package handling
61 ^{whitespace}?package{whitespace}[^ \t\r\n]+{whitespace}?; {
167 // package handling
H A DAST.cpp844 if (this->package.length() != 0) {
845 fprintf(to, "package %s;\n", this->package.c_str());
H A DAST.h338 string package; member in struct:Document
/frameworks/base/libs/utils/
H A DResourceTypes.cpp1254 : header(_header), package(_package), entryCount(count),
1257 const Package* const package; member in struct:android::ResTable::Type
1267 : owner(_owner), header(_header), package(_package) { }
1279 const ResTable_package* const package; member in struct:android::ResTable::Package
1290 // A group of objects describing a particular resource package.
1291 // The first in 'package' is always the root object (from the resource
1292 // table that defined the package); the ones after are skins on top of it.
1340 // This is for finding typeStrings and other common package stuff.
1435 LOGE("Style contains key with bad package: 0x%08x\n", attrRes);
1517 // the system package (whic
1867 const Package* const package = grp->packages[0]; local
1929 const Package* const package = grp->packages[ip]; local
2173 const Package* const package = grp->packages[ip]; local
2390 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
2954 String16 package, type, name; local
3104 String16 package, type, name; local
3573 const Package* package = packageGroup->packages[j]; local
3623 getEntry( const Package* package, int typeIndex, int entryIndex, const ResTable_config* config, const ResTable_type** outType, const ResTable_entry** outEntry, const Type** outTypeClass) const argument
3794 Package* package = NULL; local
[all...]
/frameworks/base/common/
H A DAndroid.mk31 # Build the test package
/frameworks/base/include/utils/
H A DResourceTypes.h206 #define Res_MAKEID(package, type, entry) \
207 (((package+1)<<24) | (((type+1)&0xFF)<<16) | (entry&0xFFFF))
336 * where pp is the package index, tt is the type index in that
337 * package, and eeee is the entry index in that type. The package
762 * A collection of resource data types within a package. Followed by
770 // If this is a base package, its ID. Package IDs start
771 // at 1 (corresponding to the value of the package bits in a
772 // resource identifier). 0 means this is not a base package.
775 // Actual name of this package, \
1719 const char16_t* package; member in struct:android::ResTable::resource_name
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp627 if (name.package != NULL) {
628 str.setTo(name.package, name.packageLen);
661 if (name.package != NULL) {
662 return env->NewString((const jchar*)name.package, name.packageLen);
/frameworks/base/
H A DAndroid.mk381 # the list here should match the list of samples included in the sdk samples package
552 $(full_target): framework-res-package-target

Completed in 253 milliseconds