Lines Matching refs:error
415 String8 error; in getNfcAidCategories() local
451 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); in getNfcAidCategories()
452 if (error != "") { in getNfcAidCategories()
453 if (outError != NULL) *outError = error; in getNfcAidCategories()
889 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
897 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
905 String8 error; in doDump() local
906 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
907 if (error != "") { in doDump()
908 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
909 "ERROR getting 'android:name': %s", error.c_str()); in doDump()
914 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
921 String8 error; in doDump() local
922 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
923 if (error != "") { in doDump()
924 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
925 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
930 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
938 String8 error; in doDump() local
939 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
940 if (error != "") { in doDump()
941 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
942 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
947 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
978 String8 error; in doDump() local
1264 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1272 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1280 &error); in doDump()
1281 if (error != "") { in doDump()
1282 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1284 error.c_str()); in doDump()
1293 VERSION_NAME_ATTR, &error); in doDump()
1294 if (error != "") { in doDump()
1295 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1297 error.c_str()); in doDump()
1336 COMPILE_SDK_VERSION_ATTR, &error); in doDump()
1337 if (error != "") { in doDump()
1338 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1340 error.c_str()); in doDump()
1348 COMPILE_SDK_VERSION_CODENAME_ATTR, &error); in doDump()
1357 INSTALL_LOCATION_ATTR, &error); in doDump()
1358 if (error != "") { in doDump()
1359 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1361 error.c_str()); in doDump()
1394 &error); in doDump()
1416 &error); in doDump()
1424 String8 icon = AaptXml::getResolvedAttribute(res, tree, ICON_ATTR, &error); in doDump()
1425 if (error != "") { in doDump()
1426 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1427 "ERROR getting 'android:icon' attribute: %s", error.c_str()); in doDump()
1431 &error); in doDump()
1432 if (error != "") { in doDump()
1433 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1435 error.c_str()); in doDump()
1440 &error); in doDump()
1441 if (error != "") { in doDump()
1442 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1443 "ERROR getting 'android:banner' attribute: %s", error.c_str()); in doDump()
1459 ISGAME_ATTR, 0, &error); in doDump()
1460 if (error != "") { in doDump()
1461 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1462 "ERROR getting 'android:isGame' attribute: %s", error.c_str()); in doDump()
1470 DEBUGGABLE_ATTR, 0, &error); in doDump()
1471 if (error != "") { in doDump()
1472 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1474 error.c_str()); in doDump()
1496 &error); in doDump()
1497 if (error != "") { in doDump()
1498 error = ""; in doDump()
1500 MIN_SDK_VERSION_ATTR, &error); in doDump()
1501 if (error != "") { in doDump()
1502 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1504 error.c_str()); in doDump()
1518 code = AaptXml::getIntegerAttribute(tree, TARGET_SDK_VERSION_ATTR, &error); in doDump()
1519 if (error != "") { in doDump()
1520 error = ""; in doDump()
1522 TARGET_SDK_VERSION_ATTR, &error); in doDump()
1523 if (error != "") { in doDump()
1524 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1526 error.c_str()); in doDump()
1593 group.label = AaptXml::getResolvedAttribute(res, tree, LABEL_ATTR, &error); in doDump()
1594 if (error != "") { in doDump()
1595 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1596 "ERROR getting 'android:label' attribute: %s", error.c_str()); in doDump()
1602 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1603 if (name != "" && error == "") { in doDump()
1608 &error); in doDump()
1609 if (error != "") { in doDump()
1610 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1612 error.c_str()); in doDump()
1617 "version", 0, &error); in doDump()
1618 if (error != "") { in doDump()
1619 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1621 error.c_str()); in doDump()
1631 GL_ES_VERSION_ATTR, &error); in doDump()
1632 if (error == "") { in doDump()
1639 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1640 if (error != "") { in doDump()
1641 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1642 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
1647 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1657 REQUIRED_FEATURE_ATTR, &error); in doDump()
1659 REQUIRED_NOT_FEATURE_ATTR, &error); in doDump()
1683 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1684 if (error != "") { in doDump()
1685 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1686 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
1691 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1702 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1703 if (name != "" && error == "") { in doDump()
1707 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1708 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
1712 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1713 if (name != "" && error == "") { in doDump()
1717 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1718 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
1722 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1723 if (name != "" && error == "") { in doDump()
1727 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1728 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
1732 printCompatibleScreens(tree, &error); in doDump()
1733 if (error != "") { in doDump()
1734 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1735 "ERROR getting compatible screens: %s", error.c_str()); in doDump()
1740 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1741 if (name != "" && error == "") { in doDump()
1743 &error); in doDump()
1744 if (publicKey != "" && error == "") { in doDump()
1769 activityName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1770 if (error != "") { in doDump()
1771 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1773 error.c_str()); in doDump()
1778 &error); in doDump()
1779 if (error != "") { in doDump()
1780 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1782 error.c_str()); in doDump()
1787 &error); in doDump()
1788 if (error != "") { in doDump()
1789 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1791 error.c_str()); in doDump()
1796 &error); in doDump()
1797 if (error != "") { in doDump()
1798 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1800 error.c_str()); in doDump()
1805 SCREEN_ORIENTATION_ATTR, &error); in doDump()
1806 if (error == "") { in doDump()
1824 String8 libraryName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1825 if (error != "") { in doDump()
1826 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1828 " %s", error.c_str()); in doDump()
1838 receiverName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1840 if (error != "") { in doDump()
1841 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1843 " %s", error.c_str()); in doDump()
1848 &error); in doDump()
1849 if (error == "") { in doDump()
1854 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1857 receiverName.c_str(), error.c_str()); in doDump()
1861 serviceName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1863 if (error != "") { in doDump()
1864 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1866 "service:%s", error.c_str()); in doDump()
1871 &error); in doDump()
1872 if (error == "") { in doDump()
1889 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1891 "service '%s': %s", serviceName.c_str(), error.c_str()); in doDump()
1897 EXPORTED_ATTR, &error); in doDump()
1898 if (error != "") { in doDump()
1899 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1901 " %s", error.c_str()); in doDump()
1906 res, tree, GRANT_URI_PERMISSIONS_ATTR, &error); in doDump()
1907 if (error != "") { in doDump()
1908 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1910 "provider: %s", error.c_str()); in doDump()
1915 PERMISSION_ATTR, &error); in doDump()
1916 if (error != "") { in doDump()
1917 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1919 "provider: %s", error.c_str()); in doDump()
1928 NAME_ATTR, &error); in doDump()
1929 if (error != "") { in doDump()
1930 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1932 "meta-data: %s", error.c_str()); in doDump()
1938 &error); in doDump()
1939 if (error != "") { in doDump()
1941 error = ""; in doDump()
1943 String8("resource"), &error); in doDump()
1944 if (error != "") { in doDump()
1945 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1948 "meta-data: %s", error.c_str()); in doDump()
1954 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1955 if (name != "" && error == "") { in doDump()
1958 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1960 error.c_str()); in doDump()
1968 String8 name = AaptXml::getResolvedAttribute(res, tree, NAME_ATTR, &error); in doDump()
1969 if (name != "" && error == "") { in doDump()
1973 tree, androidSchema.c_str(), "version", 0, &error); in doDump()
1974 if (error == "") { in doDump()
1977 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1979 error.c_str()); in doDump()
1988 &error); in doDump()
1989 if (error == "") { in doDump()
2016 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
2017 if (error != "") { in doDump()
2018 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
2021 error.c_str()); in doDump()
2033 RESOURCE_ATTR, &error); in doDump()
2034 if (error != "") { in doDump()
2035 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
2038 serviceName.c_str(), error.c_str()); in doDump()
2043 offHost, &error); in doDump()
2044 if (error != "") { in doDump()
2045 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
2065 action = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
2066 if (error != "") { in doDump()
2067 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
2068 "ERROR getting 'android:name' attribute: %s", error.c_str()); in doDump()
2121 String8 category = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
2122 if (error != "") { in doDump()
2123 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
2124 "ERROR getting 'name' attribute: %s", error.c_str()); in doDump()