Searched defs:outError (Results 1 - 15 of 15) sorted by path

/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java129 // TODO: switch outError users to PackageParserException
269 final String[] outError; field in class:PackageParser.ParsePackageItemArgs
282 outError = _outError;
931 final String[] outError = new String[1];
932 final Package pkg = parseBaseApk(res, parser, flags, outError);
935 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
974 final String[] outError = new String[1];
975 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError);
978 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]);
999 int splitIndex, String[] outError) throw
998 parseSplitApk(Package pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex, String[] outError) argument
1522 parseBaseApkChild(Package parentPkg, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
1598 parseBaseApk(Resources res, XmlResourceParser parser, int flags, String[] outError) argument
1659 parseBaseApkCommon(Package pkg, Set<String> acceptedTags, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
2271 buildClassName(String pkg, CharSequence clsSeq, String[] outError) argument
2295 buildCompoundName(String pkg, CharSequence procSeq, String type, String[] outError) argument
2323 buildProcessName(String pkg, String defProc, CharSequence procSeq, int flags, String[] separateProcesses, String[] outError) argument
2343 buildTaskAffinityName(String pkg, String defProc, CharSequence procSeq, String[] outError) argument
2354 parseKeySets(Package owner, Resources res, XmlResourceParser parser, String[] outError) argument
2499 parsePermissionGroup(Package owner, int flags, Resources res, XmlResourceParser parser, String[] outError) argument
2543 parsePermission(Package owner, Resources res, XmlResourceParser parser, String[] outError) argument
2612 parsePermissionTree(Package owner, Resources res, XmlResourceParser parser, String[] outError) argument
2660 parseInstrumentation(Package owner, Resources res, XmlResourceParser parser, String[] outError) argument
2727 parseBaseApplication(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
3204 parseSplitApplication(Package owner, Resources res, XmlResourceParser parser, int flags, int splitIndex, String[] outError) argument
3335 parsePackageItemInfo(Package owner, PackageItemInfo outInfo, String[] outError, String tag, TypedArray sa, int nameRes, int labelRes, int iconRes, int logoRes, int bannerRes) argument
3376 parseActivity(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError, boolean receiver, boolean hardwareAccelerated) argument
3734 parseActivityAlias(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
3904 parseProvider(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
4041 parseProviderTags(Resources res, XmlResourceParser parser, Provider outInfo, String[] outError) argument
4223 parseService(Package owner, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
4358 parseAllMetaData(Resources res, XmlResourceParser parser, String tag, Component<?> outInfo, String[] outError) argument
4390 parseMetaData(Resources res, XmlResourceParser parser, Bundle data, String[] outError) argument
4533 parseIntent(Resources res, XmlResourceParser parser, boolean allowGlobs, boolean allowAutoVerify, IntentInfo outInfo, String[] outError) argument
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp4781 static uint32_t get_hex(char c, bool* outError) argument
4790 *outError = true;
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessStatsService.java394 String[] outError) {
407 outError[0] = "inconsistent separators (can't mix ',' with '+')";
420 outError[0] = "invalid word \"" + str + "\"";
393 parseStateList(String[] states, int mult, String arg, boolean[] outSep, String[] outError) argument
/frameworks/base/tools/aapt/
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 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 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)";
403 String8 *outError = NULL)
407 if (outError != NULL) *outError
250 printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8 attrLabel, 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...]
/frameworks/base/tools/aapt2/
H A DFlags.cpp114 std::ostream* outError) {
123 usage(command, outError);
133 *outError << flag.name << " missing argument.\n\n";
134 usage(command, outError);
148 *outError << "unknown option '" << arg << "'.\n\n";
149 usage(command, outError);
156 *outError << "missing required flag " << flag.name << "\n\n";
157 usage(command, outError);
113 parse(const StringPiece& command, const std::vector<StringPiece>& args, std::ostream* outError) argument
H A DResourceUtils.cpp188 Maybe<Reference> parseStyleParentReference(const StringPiece16& str, std::string* outError) { argument
220 *outError = err.str();
228 *outError = err.str();
322 static uint32_t parseHex(char16_t c, bool* outError) { argument
330 *outError = true;
/frameworks/base/tools/aapt2/compile/
H A DCompile.cpp62 std::string* outError) {
65 if (outError) *outError = "bad resource path";
78 if (outError) {
81 *outError = errStr.str();
61 extractResourcePathData(const std::string& path, std::string* outError) argument
H A DPng.cpp607 static TickType tickType(png_bytep p, bool transparent, const char** outError) { argument
623 *outError = "Frame pixels must be either solid or transparent "
629 *outError = "Ticks in transparent frame must be black or red";
635 *outError = "White frame must be a solid color (no alpha)";
648 *outError = "Ticks in white frame must be black or red";
661 int32_t* outLeft, int32_t* outRight, const char** outError,
668 if (tickType(row+i*4, transparent, outError) == TickType::kTick) {
679 *outError = "Can't have more than one marked region along edge";
683 } else if (!*outError) {
698 *outError
660 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
705 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
750 getHorizontalLayoutBoundsTicks(png_bytep row, int width, bool transparent, bool , int32_t* outLeft, int32_t* outRight, const char** outError) argument
783 getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument
940 do9Patch(PngInfo* image, std::string* outError) argument
[all...]
/frameworks/base/tools/aapt2/io/
H A DZipArchive.cpp77 std::string* outError) {
91 if (outError) *outError = ErrorCodeString(result);
98 if (outError) *outError = ErrorCodeString(result);
117 if (outError) *outError = ErrorCodeString(result);
76 create(const StringPiece& path, std::string* outError) argument
/frameworks/base/tools/aapt2/link/
H A DLink.cpp837 std::string* outError) {
839 input, outError);
836 loadStaticLibrary(const std::string& input, std::string* outError) argument
H A DReferenceLinker.cpp196 CallSite* callSite, std::string* outError) {
199 if (outError) *outError = "not found";
204 if (outError) *outError = "is private";
212 CallSite* callSite, std::string* outError) {
215 outError);
221 if (outError) *outError = "is not an attribute";
231 std::string* outError) {
194 resolveSymbolCheckVisibility( const Reference& reference, NameMangler* nameMangler, SymbolTable* symbols, CallSite* callSite, std::string* outError) argument
210 resolveAttributeCheckVisibility( const Reference& reference, NameMangler* nameMangler, SymbolTable* symbols, CallSite* callSite, std::string* outError) argument
227 compileXmlAttribute(const Reference& reference, NameMangler* nameMangler, SymbolTable* symbols, CallSite* callSite, std::string* outError) argument
[all...]
/frameworks/base/tools/aapt2/util/
H A DFiles.cpp68 std::vector<std::string> listFiles(const StringPiece& root, std::string* outError) { argument
71 if (outError) {
74 *outError = errorStr.str();
166 Maybe<android::FileMap> mmapPath(const StringPiece& path, std::string* outError) { argument
169 if (outError) *outError = strerror(errno);
177 if (outError) *outError = strerror(errno);
188 if (outError) *outError
194 appendArgsFromFile(const StringPiece& path, std::vector<std::string>* outArgList, std::string* outError) argument
[all...]

Completed in 212 milliseconds