/frameworks/base/tools/aidl/ |
H A D | aidl_language_y.y | 36 package { } 38 | package imports { } 41 package: label 88 b->package = g_currentPackage ? strdup(g_currentPackage) : NULL; 109 b->package = g_currentPackage ? strdup(g_currentPackage) : NULL; 169 c->package = g_currentPackage ? strdup(g_currentPackage) : NULL;
|
H A D | AST.h | 360 string package; member in struct:Document
|
H A D | Type.h | 28 Type(const string& package, const string& name, 357 UserDataType(const string& package, const string& name, 389 InterfaceType(const string& package, const string& name, 408 GenericType(const string& package, const string& name, 449 GenericListType(const string& package, const string& name, 479 void AddGenericType(const string& package, const string& name, int args); 483 Type* Find(const char* package, const char* name) const; 492 string package; member in struct:Namespace::Generic
|
H A D | aidl_language.h | 86 char* package; member in struct:user_data_type 97 char* package; member in struct:interface_type 153 // the package name for our current file
|
H A D | aidl.cpp | 34 printf("interface %s %s {\n", c->package, c->name.data); 56 printf("parcelable %s %s;\n", b->package, b->name.data); 59 printf("flattenable %s %s;\n", b->package, b->name.data); 164 check_filename(const char* filename, const char* package, buffer_type* name) argument 189 if (package) { 190 expected = package; 248 err |= check_filename(filename, p->package, &p->name); 253 err |= check_filename(filename, c->package, &c->name); 301 type = new UserDataType(p->package ? p->package 677 generate_outputFileName2(const Options& options, const buffer_type& name, const char* package) argument [all...] |
H A D | Type.cpp | 147 make_generic_type(const string& package, const string& name, argument 150 if (package == "java.util" && name == "List") { 154 //return new GenericType(package, name, args); 173 Type::Type(const string& package, const string& name, argument 176 :m_package(package), 185 if (package.length() > 0) { 186 m_qualifiedName = package; 905 UserDataType::UserDataType(const string& package, const string& name, argument 908 :Type(package, name, builtIn ? BUILT_IN : USERDATA, canWriteToParcel, canWriteToRpcData, 1034 InterfaceType::InterfaceType(const string& package, cons argument 1074 GenericType(const string& package, const string& name, const vector<Type*>& args) argument 1136 GenericListType(const string& package, const string& name, const vector<Type*>& args) argument 1288 AddGenericType(const string& package, const string& name, int args) argument 1311 Find(const char* package, const char* name) const argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.h | 286 * Note that sorting here is not enough to guarantee that the package 529 void setPackage(const String8& package) { argument 530 mPackage = package; 531 mSymbolsPrivatePackage = package;
|
H A D | Resource.cpp | 234 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); 236 fprintf(stderr, "%s:%d: <manifest> does not have package attribute.\n", 696 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, argument 703 // asdf --> package.asdf 704 // .asdf .a.b --> package.asdf package.a.b 710 className += package; 713 className += package; 761 // Deal with manifest package name overrides 764 // Update the actual package nam 1963 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" 1042 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package"); 1045 "A 'package' attribute is required for <private-symbols>\n"); 1647 fprintf(stderr, "Included base package ID %d already in use!\n", id); 1652 NOISY(printf("Including package %s with ID=%d\n", 1673 const String16& package, 1681 package 1672 addPublic(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const uint32_t ident) argument 1696 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 1737 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 1801 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 1846 hasBagOrEntry(const String16& package, const String16& type, const String16& name) const argument 1871 hasBagOrEntry(const String16& package, const String16& type, const String16& name, const ResTable_config& config) const argument 1906 String16 package, type, name; local 1914 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument 1938 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument 1961 canAddEntry(const SourcePos& pos, const String16& package, const String16& type, const String16& name) argument 1996 getResId(const String16& package, const String16& type, const String16& name, bool onlyPublic) const argument 2041 String16 package, type, name; local 2151 getCustomResource( const String16& package, const String16& type, const String16& name) const argument 2167 getCustomResourceWithCreation( const String16& package, const String16& type, const String16& name, const bool createIfNotFound) argument 2965 writePublicDefinitions(const String16& package, FILE* fp) argument 2981 writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument 3148 generateAttributes(ResourceTable* table, const String16& package) argument 3191 assignResourceIds(ResourceTable* table, const String16& package) argument 3722 getPackage(const String16& package) argument 3748 getType(const String16& package, const String16& type, const SourcePos& sourcePos, bool doSetIndex) argument 3760 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/androidfw/ |
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 774 * A collection of resource data types within a package. Followed by 782 // If this is a base package, its ID. Package IDs start 783 // at 1 (corresponding to the value of the package bits in a 784 // resource identifier). 0 means this is not a base package. 787 // Actual name of this package, \ 1285 const char16_t* package; member in struct:android::ResTable::resource_name [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 2293 : header(_header), package(_package), entryCount(count), 2296 const Package* const package; member in struct:android::ResTable::Type 2306 : owner(_owner), header(_header), package(_package) { } 2318 const ResTable_package* const package; member in struct:android::ResTable::Package 2329 // A group of objects describing a particular resource package. 2330 // The first in 'package' is always the root object (from the resource 2331 // table that defined the package); the ones after are skins on top of it. 2379 // This is for finding typeStrings and other common package stuff. 2474 ALOGE("Style contains key with bad package: 0x%08x\n", attrRes); 2556 // the system package (whic 2928 const Package* const package = grp->packages[0]; local 3014 const Package* const package = grp->packages[ip]; local 3291 const Package* const package = grp->packages[ip]; local 3520 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 4130 String16 package, type, name; local 4280 String16 package, type, name; local 4749 const Package* package = packageGroup->packages[j]; local 4799 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 4944 Package* package = NULL; local [all...] |