Home
last modified time | relevance | path

Searched refs:outError (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tools/aapt/
DAaptXml.cpp27 String8* outError) { in getStringAttributeAtIndex() argument
30 if (outError != NULL) { in getStringAttributeAtIndex()
31 *outError = "could not find attribute at index"; in getStringAttributeAtIndex()
37 if (outError != NULL) { in getStringAttributeAtIndex()
38 *outError = "attribute is not a string value"; in getStringAttributeAtIndex()
49 int32_t defValue, String8* outError) { in getIntegerAttributeAtIndex() argument
52 if (outError != NULL) { in getIntegerAttributeAtIndex()
53 *outError = "could not find attribute at index"; in getIntegerAttributeAtIndex()
60 if (outError != NULL) { in getIntegerAttributeAtIndex()
61 *outError = "attribute is not an integer value"; in getIntegerAttributeAtIndex()
[all …]
DAaptXml.h38 const char* attr, android::String8* outError = NULL);
46 android::String8* outError = NULL);
54 const char* attr, int32_t defValue = -1, android::String8* outError = NULL);
62 const char* attr, android::String8* outError) { in getIntegerAttribute() argument
63 return getIntegerAttribute(tree, ns, attr, -1, outError); in getIntegerAttribute()
72 int32_t defValue = -1, android::String8* outError = NULL);
80 android::String8* outError) { in getIntegerAttribute() argument
81 return getIntegerAttribute(tree, attrRes, -1, outError); in getIntegerAttribute()
91 android::String8* outError = NULL);
100 android::String8* outError) { in getResolvedIntegerAttribute() argument
[all …]
DImages.cpp186 static int tick_type(png_bytep p, bool transparent, const char** outError) in tick_type() argument
203 … *outError = "Frame pixels must be either solid or transparent (not intermediate alphas)"; in tick_type()
207 *outError = "Ticks in transparent frame must be black or red"; in tick_type()
213 *outError = "White frame must be a solid color (no alpha)"; in tick_type()
226 *outError = "Ticks in white frame must be black or red"; in tick_type()
240 int32_t* outLeft, int32_t* outRight, const char** outError, in get_horizontal_ticks() argument
249 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) { in get_horizontal_ticks()
260 *outError = "Can't have more than one marked region along edge"; in get_horizontal_ticks()
264 } else if (*outError == NULL) { in get_horizontal_ticks()
279 *outError = "No marked region found along edge"; in get_horizontal_ticks()
[all …]
DCommand.cpp234 uint32_t attrRes, const String8& attrLabel, String8* outError) in printResolvedResourceAttribute() argument
237 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); in printResolvedResourceAttribute()
238 if (*outError != "") { in printResolvedResourceAttribute()
239 *outError = "error print resolved resource attribute"; in printResolvedResourceAttribute()
243 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError); in printResolvedResourceAttribute()
315 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { in printCompatibleScreens() argument
335 *outError = "failed to get XML element name (bad string pool)"; in printCompatibleScreens()
402 String8 *outError = NULL) in getNfcAidCategories() argument
406 if (outError != NULL) *outError = "xml resource does not exist"; in getNfcAidCategories()
427 *outError = "failed to get XML element name (bad string pool)"; in getNfcAidCategories()
[all …]
DResourceTable.cpp218 const flag_entry* flags, bool* outError = NULL) in parse_flags() argument
247 if (outError) *outError = true; in parse_flags()
254 if (outError) *outError = false; in parse_flags()
/frameworks/base/libs/androidfw/
DPng.cpp604 static TickType tickType(png_bytep p, bool transparent, const char** outError) { in tickType() argument
620 *outError = in tickType()
627 *outError = "Ticks in transparent frame must be black or red"; in tickType()
633 *outError = "White frame must be a solid color (no alpha)"; in tickType()
646 *outError = "Ticks in white frame must be black or red"; in tickType()
655 int32_t* outLeft, int32_t* outRight, const char** outError, in getHorizontalTicks() argument
662 if (tickType(row + i * 4, transparent, outError) == TickType::kTick) { in getHorizontalTicks()
672 *outError = "Can't have more than one marked region along edge"; in getHorizontalTicks()
676 } else if (!*outError) { in getHorizontalTicks()
691 *outError = "No marked region found along edge"; in getHorizontalTicks()
[all …]
DResourceTypes.cpp5365 static uint32_t get_hex(char c, bool* outError) in get_hex() argument
5374 *outError = true; in get_hex()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java325 final String[] outError; field in PackageParser.ParsePackageItemArgs
340 outError = _outError; in ParsePackageItemArgs()
1236 final String[] outError = new String[1]; in parseBaseApk() local
1237 final Package pkg = parseBaseApk(apkPath, res, parser, flags, outError); in parseBaseApk()
1240 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]); in parseBaseApk()
1282 final String[] outError = new String[1]; in parseSplitApk() local
1283 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError); in parseSplitApk()
1286 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]); in parseSplitApk()
1307 int splitIndex, String[] outError) throws XmlPullParserException, IOException, in parseSplitApk() argument
1331 outError[0] = "<manifest> has more than one <application>"; in parseSplitApk()
[all …]
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp91 std::string* outError) { in Create() argument
97 *outError = "failed to open directory: " + SystemErrorCodeToString(errno); in Create()
114 *outError = "failed to open directory: " + SystemErrorCodeToString(errno); in Create()
DFileSystem.h64 static std::unique_ptr<FileCollection> Create(android::StringPiece path, std::string* outError);
DZipArchive.h66 std::string* outError);
/frameworks/base/tools/aapt2/cmd/
DCommand.h79 int Execute(const std::vector<android::StringPiece>& args, std::ostream* outError);
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java522 String[] outError) { in parseStateList() argument
535 outError[0] = "inconsistent separators (can't mix ',' with '+')"; in parseStateList()
548 outError[0] = "invalid word \"" + str + "\""; in parseStateList()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12777 Landroid/content/pm/PackageParser$ParsePackageItemArgs;->outError:[Ljava/lang/String;