/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 | 41 printf("interface %s %s {\n", c->package, c->name.data); 63 printf("parcelable %s %s;\n", b->package, b->name.data); 66 printf("flattenable %s %s;\n", b->package, b->name.data); 171 check_filename(const char* filename, const char* package, buffer_type* name) argument 196 if (package) { 197 expected = package; 255 err |= check_filename(filename, p->package, &p->name); 260 err |= check_filename(filename, c->package, &c->name); 308 type = new UserDataType(p->package ? p->package 692 generate_outputFileName2(const Options& options, const buffer_type& name, const char* package) argument [all...] |
H A D | Type.cpp | 149 make_generic_type(const string& package, const string& name, argument 152 if (package == "java.util" && name == "List") { 156 //return new GenericType(package, name, args); 175 Type::Type(const string& package, const string& name, argument 178 :m_package(package), 187 if (package.length() > 0) { 188 m_qualifiedName = package; 907 UserDataType::UserDataType(const string& package, const string& name, argument 910 :Type(package, name, builtIn ? BUILT_IN : USERDATA, canWriteToParcel, canWriteToRpcData, 1036 InterfaceType::InterfaceType(const string& package, cons argument 1076 GenericType(const string& package, const string& name, const vector<Type*>& args) argument 1138 GenericListType(const string& package, const string& name, const vector<Type*>& args) argument 1290 AddGenericType(const string& package, const string& name, int args) argument 1313 Find(const char* package, const char* name) const argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Symbol.h | 35 android::String16 package; member in struct:Symbol 63 : package(p) 71 android::String8(package).string(), 78 return (package < rhs.package) || (type < rhs.type) || (name < rhs.name) || (id < rhs.id);
|
H A D | ResourceIdCache.cpp | 47 static inline String16 makeHashableName(const android::String16& package, argument 53 hashable += package; 58 uint32_t ResourceIdCache::lookup(const android::String16& package, argument 62 const String16 hashedName = makeHashableName(package, type, name, onlyPublic); 84 uint32_t ResourceIdCache::store(const android::String16& package, argument 90 const String16 hashedName = makeHashableName(package, type, name, onlyPublic);
|
H A D | AaptAssets.h | 276 * Note that sorting here is not enough to guarantee that the package 521 void setPackage(const String8& package) { argument 522 mPackage = package; 523 mSymbolsPrivatePackage = package;
|
H A D | Resource.cpp | 251 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); 253 fprintf(stderr, "%s:%d: <manifest> does not have package attribute.\n", 740 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, argument 747 // asdf --> package.asdf 748 // .asdf .a.b --> package.asdf package.a.b 754 className += package; 757 className += package; 856 // Deal with manifest package name overrides 859 // Update the actual package nam 2629 writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, const String8& package, bool includePrivate, bool emitCallback) argument [all...] |
H A D | ResourceTable.cpp | 149 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n" 150 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."}, 252 "\"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>\") or\n" 254 "\"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\")\n" 1108 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package"); 1111 "A 'package' attribute is required for <private-symbols>\n"); 1749 sp<Package> package = new Package(mAssetsPackage, packageId); local 1750 mPackages.add(assetsPackage, package); 1751 mOrderedPackages.add(package); 1782 fprintf(stderr, "ERROR: Feature package ' 1795 addPublic(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const uint32_t ident) argument 1819 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 1852 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 1912 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 1957 hasBagOrEntry(const String16& package, const String16& type, const String16& name) const argument 1982 hasBagOrEntry(const String16& package, const String16& type, const String16& name, const ResTable_config& config) const argument 2017 String16 package, type, name; local 2025 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument 2049 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument 2072 canAddEntry(const SourcePos& pos, const String16& package, const String16& type, const String16& name) argument 2108 getResId(const String16& package, const String16& type, const String16& name, bool onlyPublic) const argument 2160 String16 package, type, name; local 2270 getCustomResource( const String16& package, const String16& type, const String16& name) const argument 2294 getCustomResourceWithCreation( const String16& package, const String16& type, const String16& name, const bool createIfNotFound) argument 3255 writePublicDefinitions(const String16& package, FILE* fp) argument 3271 writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument 3479 generateAttributes(ResourceTable* table, const String16& package) argument 3525 assignResourceIds(ResourceTable* table, const String16& package) argument 4153 getPackage(const String16& package) argument 4161 getType(const String16& package, const String16& type, const SourcePos& sourcePos, bool doSetIndex) argument 4173 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument 4188 getConfigList(const String16& package, const String16& type, const String16& name) const argument [all...] |
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 148 String8 *package, String8 *type, String8 *name) { 155 if (package) { 156 *package = String8(String16(data.package, data.packageLen)); 147 resource_metadata(const AssetManager& am, uint32_t res_id, String8 *package, String8 *type, String8 *name) argument
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 240 #define Res_MAKEID(package, type, entry) \ 241 (((package+1)<<24) | (((type+1)&0xFF)<<16) | (entry&0xFFFF)) 383 * where pp is the package index, tt is the type index in that 384 * package, and eeee is the entry index in that type. The package 845 * A collection of resource data types within a package. Followed by 853 // If this is a base package, its ID. Package IDs start 854 // at 1 (corresponding to the value of the package bits in a 855 // resource identifier). 0 means this is not a base package. 858 // Actual name of this package, \ 1532 const char16_t* package; member in struct:android::ResTable::resource_name [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 365 ALOGE("idmap: target package ID is invalid (%02x)", targetPackageId); 2863 const Package* package; member in struct:android::ResTable::Entry 2872 : header(_header), package(_package), entryCount(count), 2875 const Package* const package; member in struct:android::ResTable::Type 2886 : owner(_owner), header(_header), package(_package), typeIdOffset(0) { 2887 if (dtohs(package->header.headerSize) == sizeof(package)) { 2888 // The package structure is the same size as the definition. 2890 typeIdOffset = package->typeIdOffset; 2896 const ResTable_package* const package; member in struct:android::ResTable::Package 4072 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 4687 String16 package, type, name; local 4852 String16 package, type, name; local 5668 Package* package = new Package(this, header, pkg); local [all...] |