/frameworks/base/tools/aidl/ |
H A D | aidl_language_y.y | 34 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 D | Type.h | 28 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 D | aidl_language.h | 78 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 D | AST.h | 338 string package; member in struct:Document
|
H A D | aidl.cpp | 34 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 626 generate_outputFileName2(const Options& options, const buffer_type& name, const char* package) argument [all...] |
H A D | Type.cpp | 120 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...] |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.h | 293 * Note that sorting here is not enough to guarantee that the package 523 void setPackage(const String8& package) { mPackage = package; mSymbolsPrivatePackage = package; } argument
|
H A D | Resource.cpp | 229 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); 231 fprintf(stderr, "%s:%d: <manifest> does not have package attribute.\n", 660 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, argument 667 // asdf --> package.asdf 668 // .asdf .a.b --> package.asdf package.a.b 674 className += package; 677 className += package; 725 // Deal with manifest package name overrides 728 // Update the actual package nam 1928 writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, const String8& package, bool includePrivate) argument [all...] |
H A D | ResourceTable.cpp | 132 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n" 133 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."}, 235 "\"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>\") or\n" 237 "\"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\")\n" 1041 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package"); 1044 "A 'package' attribute is required for <private-symbols>\n"); 1603 fprintf(stderr, "Included base package ID %d already in use!\n", id); 1608 NOISY(printf("Including package %s with ID=%d\n", 1629 const String16& package, 1637 package 1628 addPublic(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const uint32_t ident) argument 1652 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 1693 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 1757 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 1802 hasBagOrEntry(const String16& package, const String16& type, const String16& name) const argument 1827 hasBagOrEntry(const String16& package, const String16& type, const String16& name, const ResTable_config& config) const argument 1862 String16 package, type, name; local 1870 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument 1894 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument 1917 canAddEntry(const SourcePos& pos, const String16& package, const String16& type, const String16& name) argument 1952 getResId(const String16& package, const String16& type, const String16& name, bool onlyPublic) const argument 1997 String16 package, type, name; local 2097 getCustomResource( const String16& package, const String16& type, const String16& name) const argument 2113 getCustomResourceWithCreation( const String16& package, const String16& type, const String16& name, const bool createIfNotFound) argument 2877 writePublicDefinitions(const String16& package, FILE* fp) argument 2893 writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument 3060 generateAttributes(ResourceTable* table, const String16& package) argument 3103 assignResourceIds(ResourceTable* table, const String16& package) argument 3608 getPackage(const String16& package) argument 3634 getType(const String16& package, const String16& type, const SourcePos& sourcePos, bool doSetIndex) argument 3646 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument [all...] |
/frameworks/base/include/utils/ |
H A D | ResourceTypes.h | 208 #define Res_MAKEID(package, type, entry) \ 209 (((package+1)<<24) | (((type+1)&0xFF)<<16) | (entry&0xFFFF)) 338 * where pp is the package index, tt is the type index in that 339 * package, and eeee is the entry index in that type. The package 764 * A collection of resource data types within a package. Followed by 772 // If this is a base package, its ID. Package IDs start 773 // at 1 (corresponding to the value of the package bits in a 774 // resource identifier). 0 means this is not a base package. 777 // Actual name of this package, \ 1827 const char16_t* package; member in struct:android::ResTable::resource_name [all...] |
/frameworks/base/libs/utils/ |
H A D | ResourceTypes.cpp | 1396 : header(_header), package(_package), entryCount(count), 1399 const Package* const package; member in struct:android::ResTable::Type 1409 : owner(_owner), header(_header), package(_package) { } 1421 const ResTable_package* const package; member in struct:android::ResTable::Package 1432 // A group of objects describing a particular resource package. 1433 // The first in 'package' is always the root object (from the resource 1434 // table that defined the package); the ones after are skins on top of it. 1482 // This is for finding typeStrings and other common package stuff. 1577 LOGE("Style contains key with bad package: 0x%08x\n", attrRes); 1659 // the system package (whic 2031 const Package* const package = grp->packages[0]; local 2117 const Package* const package = grp->packages[ip]; local 2396 const Package* const package = grp->packages[ip]; local 2642 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 3252 String16 package, type, name; local 3402 String16 package, type, name; local 3871 const Package* package = packageGroup->packages[j]; local 3921 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 4100 Package* package = NULL; local [all...] |