Home
last modified time | relevance | path

Searched refs:outError (Results 1 – 13 of 13) 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.cpp185 static int tick_type(png_bytep p, bool transparent, const char** outError) in tick_type() argument
202 … *outError = "Frame pixels must be either solid or transparent (not intermediate alphas)"; in tick_type()
206 *outError = "Ticks in transparent frame must be black or red"; in tick_type()
212 *outError = "White frame must be a solid color (no alpha)"; in tick_type()
225 *outError = "Ticks in white frame must be black or red"; in tick_type()
239 int32_t* outLeft, int32_t* outRight, const char** outError, in get_horizontal_ticks() argument
248 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) { in get_horizontal_ticks()
259 *outError = "Can't have more than one marked region along edge"; in get_horizontal_ticks()
263 } else if (*outError == NULL) { in get_horizontal_ticks()
278 *outError = "No marked region found along edge"; in get_horizontal_ticks()
[all …]
DCommand.cpp233 uint32_t attrRes, const String8& attrLabel, String8* outError) in printResolvedResourceAttribute() argument
236 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); in printResolvedResourceAttribute()
237 if (*outError != "") { in printResolvedResourceAttribute()
238 *outError = "error print resolved resource attribute"; in printResolvedResourceAttribute()
242 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError); in printResolvedResourceAttribute()
314 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { in printCompatibleScreens() argument
334 *outError = "failed to get XML element name (bad string pool)"; in printCompatibleScreens()
401 String8 *outError = NULL) in getNfcAidCategories() argument
405 if (outError != NULL) *outError = "xml resource does not exist"; in getNfcAidCategories()
426 *outError = "failed to get XML element name (bad string pool)"; in getNfcAidCategories()
[all …]
DResourceTable.cpp219 const flag_entry* flags, bool* outError = NULL) in parse_flags() argument
248 if (outError) *outError = true; in parse_flags()
255 if (outError) *outError = false; in parse_flags()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java333 final String[] outError; field in PackageParser.ParsePackageItemArgs
348 outError = _outError; in ParsePackageItemArgs()
1328 final String[] outError = new String[1]; in parseBaseApk() local
1329 final Package pkg = parseBaseApk(apkPath, res, parser, flags, outError); in parseBaseApk()
1332 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]); in parseBaseApk()
1374 final String[] outError = new String[1]; in parseSplitApk() local
1375 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError); in parseSplitApk()
1378 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]); in parseSplitApk()
1399 int splitIndex, String[] outError) throws XmlPullParserException, IOException, in parseSplitApk() argument
1423 outError[0] = "<manifest> has more than one <application>"; in parseSplitApk()
[all …]
/frameworks/base/tools/aapt2/compile/
DPng.cpp631 static TickType tickType(png_bytep p, bool transparent, const char** outError) { in tickType() argument
647 *outError = in tickType()
654 *outError = "Ticks in transparent frame must be black or red"; in tickType()
660 *outError = "White frame must be a solid color (no alpha)"; in tickType()
673 *outError = "Ticks in white frame must be black or red"; in tickType()
683 int32_t* outRight, const char** outError, in getHorizontalTicks() argument
690 if (tickType(row + i * 4, transparent, outError) == TickType::kTick) { in getHorizontalTicks()
701 *outError = "Can't have more than one marked region along edge"; in getHorizontalTicks()
705 } else if (!*outError) { in getHorizontalTicks()
720 *outError = "No marked region found along edge"; in getHorizontalTicks()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java63 final String[] outError = new String[1]; in verifyComputeMinSdkVersion() local
69 outError); in verifyComputeMinSdkVersion()
74 assertNotNull(outError[0]); in verifyComputeMinSdkVersion()
76 assertNull(outError[0]); in verifyComputeMinSdkVersion()
150 final String[] outError = new String[1]; in verifyComputeTargetSdkVersion() local
155 outError, in verifyComputeTargetSdkVersion()
161 assertNotNull(outError[0]); in verifyComputeTargetSdkVersion()
163 assertNull(outError[0]); in verifyComputeTargetSdkVersion()
/frameworks/base/tools/aapt2/io/
DZipArchive.h65 std::string* outError);
/frameworks/base/tools/aapt2/
DFlags.h50 std::ostream* outError);
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java415 String[] outError) { in parseStateList() argument
428 outError[0] = "inconsistent separators (can't mix ',' with '+')"; in parseStateList()
441 outError[0] = "invalid word \"" + str + "\""; in parseStateList()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5109 static uint32_t get_hex(char c, bool* outError) in get_hex() argument
5118 *outError = true; in get_hex()
/frameworks/base/config/
Dhiddenapi-private-dex.txt18777 Landroid/content/pm/PackageParser$ParsePackageItemArgs;->outError:[Ljava/lang/String;