/frameworks/base/tools/aidl/ |
H A D | aidl_language_y.y | 37 package { } 39 | package imports { } 42 package: label 89 b->package = g_currentPackage ? strdup(g_currentPackage) : NULL; 110 b->package = g_currentPackage ? strdup(g_currentPackage) : NULL; 170 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 | 90 char* package; member in struct:user_data_type 101 char* package; member in struct:interface_type 157 // the package name for our current file
|
H A D | aidl.cpp | 40 printf("interface %s %s {\n", c->package, c->name.data); 62 printf("parcelable %s %s;\n", b->package, b->name.data); 65 printf("flattenable %s %s;\n", b->package, b->name.data); 170 check_filename(const char* filename, const char* package, buffer_type* name) argument 195 if (package) { 196 expected = package; 254 err |= check_filename(filename, p->package, &p->name); 259 err |= check_filename(filename, c->package, &c->name); 307 type = new UserDataType(p->package ? p->package 691 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 | 235 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); 237 fprintf(stderr, "%s:%d: <manifest> does not have package attribute.\n", 713 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, argument 720 // asdf --> package.asdf 721 // .asdf .a.b --> package.asdf package.a.b 727 className += package; 730 className += package; 793 // Deal with manifest package name overrides 796 // Update the actual package nam 2164 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" 1080 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package"); 1083 "A 'package' attribute is required for <private-symbols>\n"); 1709 fprintf(stderr, "Included base package ID %d already in use!\n", id); 1714 NOISY(printf("Including package %s with ID=%d\n", 1735 const String16& package, 1743 package 1734 addPublic(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const uint32_t ident) argument 1758 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 1799 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 1863 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 1908 hasBagOrEntry(const String16& package, const String16& type, const String16& name) const argument 1933 hasBagOrEntry(const String16& package, const String16& type, const String16& name, const ResTable_config& config) const argument 1968 String16 package, type, name; local 1976 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument 2000 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument 2023 canAddEntry(const SourcePos& pos, const String16& package, const String16& type, const String16& name) argument 2058 getResId(const String16& package, const String16& type, const String16& name, bool onlyPublic) const argument 2107 String16 package, type, name; local 2217 getCustomResource( const String16& package, const String16& type, const String16& name) const argument 2233 getCustomResourceWithCreation( const String16& package, const String16& type, const String16& name, const bool createIfNotFound) argument 3048 writePublicDefinitions(const String16& package, FILE* fp) argument 3064 writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument 3231 generateAttributes(ResourceTable* table, const String16& package) argument 3274 assignResourceIds(ResourceTable* table, const String16& package) argument 3806 getPackage(const String16& package) argument 3830 getType(const String16& package, const String16& type, const SourcePos& sourcePos, bool doSetIndex) argument 3842 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 778 * A collection of resource data types within a package. Followed by 786 // If this is a base package, its ID. Package IDs start 787 // at 1 (corresponding to the value of the package bits in a 788 // resource identifier). 0 means this is not a base package. 791 // Actual name of this package, \ 1298 const char16_t* package; member in struct:android::ResTable::resource_name [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 2474 : header(_header), package(_package), entryCount(count), 2477 const Package* const package; member in struct:android::ResTable::Type 2487 : owner(_owner), header(_header), package(_package) { } 2499 const ResTable_package* const package; member in struct:android::ResTable::Package 2510 // A group of objects describing a particular resource package. 2511 // The first in 'package' is always the root object (from the resource 2512 // table that defined the package); the ones after are skins on top of it. 2560 // This is for finding typeStrings and other common package stuff. 2655 ALOGE("Style contains key with bad package: 0x%08x\n", attrRes); 2737 // the system package (whic 3109 const Package* const package = grp->packages[0]; local 3210 const Package* const package = grp->packages[ip]; local 3487 const Package* const package = grp->packages[ip]; local 3716 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 4326 String16 package, type, name; local 4476 String16 package, type, name; local 4945 const Package* package = packageGroup->packages[j]; local 4995 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 5140 Package* package = NULL; local [all...] |