Searched defs:outError (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/tools/aapt/
H A 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) {
63 return getIntegerAttribute(tree, ns, attr, -1, outError);
72 int32_t defValue = -1, android::String8* outError = NULL);
80 android::String8* outError) {
81 return getIntegerAttribute(tree, attrRes, -1, outError);
91 android::String8* outError = NULL);
100 android::String8* outError) {
61 getIntegerAttribute(const android::ResXMLTree& tree, const char* ns, const char* attr, android::String8* outError) argument
79 getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes, android::String8* outError) argument
98 getResolvedIntegerAttribute(const android::ResTable& resTable, const android::ResXMLTree& tree, uint32_t attrRes, android::String8* outError) argument
[all...]
H A DAaptXml.cpp27 String8* outError) {
30 if (outError != NULL) {
31 *outError = "could not find attribute at index";
37 if (outError != NULL) {
38 *outError = "attribute is not a string value";
49 int32_t defValue, String8* outError) {
52 if (outError != NULL) {
53 *outError = "could not find attribute at index";
60 if (outError != NULL) {
61 *outError
26 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, String8* outError) argument
48 getIntegerAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, int32_t defValue, String8* outError) argument
79 getAttribute(const ResXMLTree& tree, const char* ns, const char* attr, String8* outError) argument
88 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument
96 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument
123 getIntegerAttribute(const ResXMLTree& tree, const char* ns, const char* attr, int32_t defValue, String8* outError) argument
132 getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, String8* outError) argument
141 getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, String8* outError) argument
163 getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, Res_value* outValue, String8* outError) argument
[all...]
H A DImages.cpp185 static int tick_type(png_bytep p, bool transparent, const char** outError) argument
202 *outError = "Frame pixels must be either solid or transparent (not intermediate alphas)";
206 *outError = "Ticks in transparent frame must be black or red";
212 *outError = "White frame must be a solid color (no alpha)";
225 *outError = "Ticks in white frame must be black or red";
239 int32_t* outLeft, int32_t* outRight, const char** outError,
248 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) {
259 *outError = "Can't have more than one marked region along edge";
263 } else if (*outError == NULL) {
278 *outError
237 get_horizontal_ticks( png_bytep row, int width, bool transparent, bool required, int32_t* outLeft, int32_t* outRight, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
286 get_vertical_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
335 get_horizontal_layout_bounds_ticks( png_bytep row, int width, bool transparent, bool , int32_t* outLeft, int32_t* outRight, const char** outError) argument
373 get_vertical_layout_bounds_ticks( png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument
[all...]
H A DCommand.cpp251 uint32_t attrRes, String8 attrLabel, String8* outError)
254 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError);
255 if (*outError != "") {
256 *outError = "error print resolved resource attribute";
260 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError);
328 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { argument
348 *outError = "failed to get XML element name (bad string pool)";
393 String8 *outError = NULL)
397 if (outError != NULL) *outError
250 printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8 attrLabel, String8* outError) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessStatsService.java404 String[] outError) {
417 outError[0] = "inconsistent separators (can't mix ',' with '+')";
430 outError[0] = "invalid word \"" + str + "\"";
403 parseStateList(String[] states, int mult, String arg, boolean[] outSep, String[] outError) argument
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp121 std::string* outError) {
152 *outError = err.str();
160 *outError = err.str();
168 *outError = err.str();
255 static uint32_t parseHex(char16_t c, bool* outError) { argument
263 *outError = true;
120 parseStyleParentReference(const StringPiece16& str, Reference* outReference, std::string* outError) argument
H A DPng.cpp104 std::string* outError) {
106 *outError = "failed reading png";
415 int grayScaleTolerance, SourceLogger* logger, std::string* outError) {
417 *outError = "failed to write png";
609 static TickType tickType(png_bytep p, bool transparent, const char** outError) { argument
625 *outError = "Frame pixels must be either solid or transparent "
631 *outError = "Ticks in transparent frame must be black or red";
637 *outError = "White frame must be a solid color (no alpha)";
650 *outError = "Ticks in white frame must be black or red";
663 int32_t* outLeft, int32_t* outRight, const char** outError,
103 readPng(png_structp readPtr, png_infop infoPtr, PngInfo* outInfo, std::string* outError) argument
414 writePng(png_structp writePtr, png_infop infoPtr, PngInfo* info, int grayScaleTolerance, SourceLogger* logger, std::string* outError) argument
662 getHorizontalTicks(png_bytep row, int width, bool transparent, bool required, int32_t* outLeft, int32_t* outRight, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
707 getVerticalTicks(png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
752 getHorizontalLayoutBoundsTicks(png_bytep row, int width, bool transparent, bool , int32_t* outLeft, int32_t* outRight, const char** outError) argument
785 getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument
942 do9Patch(PngInfo* image, std::string* outError) argument
1195 process(const Source& source, std::istream& input, BigBuffer* outBuffer, const Options& options, std::string* outError) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java110 // TODO: switch outError users to PackageParserException
205 final String[] outError; field in class:PackageParser.ParsePackageItemArgs
218 outError = _outError;
889 final String[] outError = new String[1];
890 final Package pkg = parseBaseApk(res, parser, flags, outError);
893 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
932 final String[] outError = new String[1];
933 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError);
936 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
957 int splitIndex, String[] outError) throw
956 parseSplitApk(Package pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex, String[] outError) argument
1353 parseBaseApk(Resources res, XmlResourceParser parser, int flags, String[] outError) argument
1948 buildClassName(String pkg, CharSequence clsSeq, String[] outError) argument
1972 buildCompoundName(String pkg, CharSequence procSeq, String type, String[] outError) argument
2000 buildProcessName(String pkg, String defProc, CharSequence procSeq, int flags, String[] separateProcesses, String[] outError) argument
2020 buildTaskAffinityName(String pkg, String defProc, CharSequence procSeq, String[] outError) argument
2031 parseKeySets(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2176 parsePermissionGroup(Package owner, int flags, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2220 parsePermission(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2290 parsePermissionTree(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2338 parseInstrumentation(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2405 parseBaseApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
2853 parseSplitApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, int splitIndex, String[] outError) argument
2984 parsePackageItemInfo(Package owner, PackageItemInfo outInfo, String[] outError, String tag, TypedArray sa, int nameRes, int labelRes, int iconRes, int logoRes, int bannerRes) argument
3025 parseActivity(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError, boolean receiver, boolean hardwareAccelerated) argument
3299 parseActivityAlias(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3466 parseProvider(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3595 parseProviderTags(Resources res, XmlPullParser parser, AttributeSet attrs, Provider outInfo, String[] outError) argument
3778 parseService(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3900 parseAllMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, String tag, Component outInfo, String[] outError) argument
3934 parseMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, Bundle data, String[] outError) argument
4078 parseIntent(Resources res, XmlPullParser parser, AttributeSet attrs, boolean allowGlobs, boolean allowAutoVerify, IntentInfo outInfo, String[] outError) argument
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp4630 static uint32_t get_hex(char c, bool* outError) argument
4639 *outError = true;

Completed in 448 milliseconds