/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 675 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 | ResourceIdCache.cpp | 49 static inline String16 makeHashableName(const android::String16& package, argument 55 hashable += package; 60 uint32_t ResourceIdCache::lookup(const android::String16& package, argument 64 const String16 hashedName = makeHashableName(package, type, name, onlyPublic); 86 uint32_t ResourceIdCache::store(const android::String16& package, argument 92 const String16 hashedName = makeHashableName(package, type, name, onlyPublic);
|
H A D | AaptAssets.h | 289 * Note that sorting here is not enough to guarantee that the package 532 void setPackage(const String8& package) { argument 533 mPackage = package; 534 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", 712 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, argument 719 // asdf --> package.asdf 720 // .asdf .a.b --> package.asdf package.a.b 726 className += package; 729 className += package; 792 // Deal with manifest package name overrides 795 // Update the actual package nam 2142 writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, const String8& package, bool includePrivate) argument [all...] |
H A D | ResourceTable.cpp | 133 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n" 134 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."}, 236 "\"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>\") or\n" 238 "\"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\")\n" 1043 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package"); 1046 "A 'package' attribute is required for <private-symbols>\n"); 1648 fprintf(stderr, "Included base package ID %d already in use!\n", id); 1653 NOISY(printf("Including package %s with ID=%d\n", 1674 const String16& package, 1682 package 1673 addPublic(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const uint32_t ident) argument 1697 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 1738 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 1802 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 1847 hasBagOrEntry(const String16& package, const String16& type, const String16& name) const argument 1872 hasBagOrEntry(const String16& package, const String16& type, const String16& name, const ResTable_config& config) const argument 1907 String16 package, type, name; local 1915 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument 1939 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument 1962 canAddEntry(const SourcePos& pos, const String16& package, const String16& type, const String16& name) argument 1997 getResId(const String16& package, const String16& type, const String16& name, bool onlyPublic) const argument 2046 String16 package, type, name; local 2156 getCustomResource( const String16& package, const String16& type, const String16& name) const argument 2172 getCustomResourceWithCreation( const String16& package, const String16& type, const String16& name, const bool createIfNotFound) argument 2987 writePublicDefinitions(const String16& package, FILE* fp) argument 3003 writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument 3170 generateAttributes(ResourceTable* table, const String16& package) argument 3213 assignResourceIds(ResourceTable* table, const String16& package) argument 3745 getPackage(const String16& package) argument 3769 getType(const String16& package, const String16& type, const SourcePos& sourcePos, bool doSetIndex) argument 3781 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, \ 1293 const char16_t* package; member in struct:android::ResTable::resource_name [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 2334 : header(_header), package(_package), entryCount(count), 2337 const Package* const package; member in struct:android::ResTable::Type 2347 : owner(_owner), header(_header), package(_package) { } 2359 const ResTable_package* const package; member in struct:android::ResTable::Package 2370 // A group of objects describing a particular resource package. 2371 // The first in 'package' is always the root object (from the resource 2372 // table that defined the package); the ones after are skins on top of it. 2420 // This is for finding typeStrings and other common package stuff. 2515 ALOGE("Style contains key with bad package: 0x%08x\n", attrRes); 2597 // the system package (whic 2969 const Package* const package = grp->packages[0]; local 3055 const Package* const package = grp->packages[ip]; local 3332 const Package* const package = grp->packages[ip]; local 3561 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 4171 String16 package, type, name; local 4321 String16 package, type, name; local 4790 const Package* package = packageGroup->packages[j]; local 4840 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 4985 Package* package = NULL; local [all...] |