Searched refs:outError (Results 1 - 8 of 8) 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.cpp182 static int tick_type(png_bytep p, bool transparent, const char** outError) argument
199 *outError = "Frame pixels must be either solid or transparent (not intermediate alphas)";
203 *outError = "Ticks in transparent frame must be black or red";
209 *outError = "White frame must be a solid color (no alpha)";
222 *outError = "Ticks in white frame must be black or red";
236 int32_t* outLeft, int32_t* outRight, const char** outError,
245 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) {
256 *outError = "Can't have more than one marked region along edge";
260 } else if (*outError == NULL) {
275 *outError
234 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
283 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
332 get_horizontal_layout_bounds_ticks( png_bytep row, int width, bool transparent, bool required, int32_t* outLeft, int32_t* outRight, const char** outError) argument
370 get_vertical_layout_bounds_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError) argument
[all...]
H A DCommand.cpp250 uint32_t attrRes, String8 attrLabel, String8* outError)
253 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError);
254 if (*outError != "") {
255 *outError = "error print resolved resource attribute";
259 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError);
327 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { argument
347 *outError = "failed to get XML element name (bad string pool)";
392 String8 *outError = NULL)
396 if (outError != NULL) *outError
249 printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8 attrLabel, String8* outError) argument
[all...]
H A DResourceTable.cpp185 const flag_entry* flags, bool* outError = NULL)
214 if (outError) *outError = true;
221 if (outError) *outError = false;
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java107 // TODO: switch outError users to PackageParserException
199 final String[] outError; field in class:PackageParser.ParsePackageItemArgs
212 outError = _outError;
882 final String[] outError = new String[1];
883 final Package pkg = parseBaseApk(res, parser, flags, outError);
886 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
924 final String[] outError = new String[1];
925 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError);
928 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
949 int splitIndex, String[] outError) throw
948 parseSplitApk(Package pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex, String[] outError) argument
1337 parseBaseApk(Resources res, XmlResourceParser parser, int flags, String[] outError) argument
1902 parseUsesPermission(Package pkg, Resources res, XmlResourceParser parser, AttributeSet attrs, String[] outError) argument
1949 buildClassName(String pkg, CharSequence clsSeq, String[] outError) argument
1973 buildCompoundName(String pkg, CharSequence procSeq, String type, String[] outError) argument
2001 buildProcessName(String pkg, String defProc, CharSequence procSeq, int flags, String[] separateProcesses, String[] outError) argument
2021 buildTaskAffinityName(String pkg, String defProc, CharSequence procSeq, String[] outError) argument
2032 parseKeySets(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2170 parsePermissionGroup(Package owner, int flags, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2214 parsePermission(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2284 parsePermissionTree(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2332 parseInstrumentation(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2399 parseBaseApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
2773 parseSplitApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, int splitIndex, String[] outError) argument
2904 parsePackageItemInfo(Package owner, PackageItemInfo outInfo, String[] outError, String tag, TypedArray sa, int nameRes, int labelRes, int iconRes, int logoRes, int bannerRes) argument
2945 parseActivity(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError, boolean receiver, boolean hardwareAccelerated) argument
3250 parseActivityAlias(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3416 parseProvider(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3544 parseProviderTags(Resources res, XmlPullParser parser, AttributeSet attrs, Provider outInfo, String[] outError) argument
3727 parseService(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3848 parseAllMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, String tag, Component outInfo, String[] outError) argument
3882 parseMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, Bundle data, String[] outError) argument
4017 parseIntent(Resources res, XmlPullParser parser, AttributeSet attrs, boolean allowGlobs, IntentInfo outInfo, String[] 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/libs/androidfw/
H A DResourceTypes.cpp4341 static uint32_t get_hex(char c, bool* outError) argument
4350 *outError = true;

Completed in 201 milliseconds