Lines Matching refs:error
414 String8 error; in getNfcAidCategories() local
450 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); in getNfcAidCategories()
451 if (error != "") { in getNfcAidCategories()
452 if (outError != NULL) *outError = error; in getNfcAidCategories()
886 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
894 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
902 String8 error; in doDump() local
903 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
904 if (error != "") { in doDump()
905 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
906 "ERROR getting 'android:name': %s", error.string()); in doDump()
911 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
918 String8 error; in doDump() local
919 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
920 if (error != "") { in doDump()
921 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
922 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
927 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
935 String8 error; in doDump() local
936 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
937 if (error != "") { in doDump()
938 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
939 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
944 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
973 String8 error; in doDump() local
1207 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1215 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1223 &error); in doDump()
1224 if (error != "") { in doDump()
1225 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1227 error.string()); in doDump()
1236 VERSION_NAME_ATTR, &error); in doDump()
1237 if (error != "") { in doDump()
1238 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1240 error.string()); in doDump()
1265 COMPILE_SDK_VERSION_ATTR, &error); in doDump()
1266 if (error != "") { in doDump()
1267 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1269 error.string()); in doDump()
1277 COMPILE_SDK_VERSION_CODENAME_ATTR, &error); in doDump()
1286 INSTALL_LOCATION_ATTR, &error); in doDump()
1287 if (error != "") { in doDump()
1288 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1290 error.string()); in doDump()
1323 &error); in doDump()
1345 &error); in doDump()
1353 String8 icon = AaptXml::getResolvedAttribute(res, tree, ICON_ATTR, &error); in doDump()
1354 if (error != "") { in doDump()
1355 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1356 "ERROR getting 'android:icon' attribute: %s", error.string()); in doDump()
1360 &error); in doDump()
1361 if (error != "") { in doDump()
1362 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1364 error.string()); in doDump()
1369 &error); in doDump()
1370 if (error != "") { in doDump()
1371 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1372 "ERROR getting 'android:banner' attribute: %s", error.string()); in doDump()
1388 ISGAME_ATTR, 0, &error); in doDump()
1389 if (error != "") { in doDump()
1390 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1391 "ERROR getting 'android:isGame' attribute: %s", error.string()); in doDump()
1399 DEBUGGABLE_ATTR, 0, &error); in doDump()
1400 if (error != "") { in doDump()
1401 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1403 error.string()); in doDump()
1425 &error); in doDump()
1426 if (error != "") { in doDump()
1427 error = ""; in doDump()
1429 MIN_SDK_VERSION_ATTR, &error); in doDump()
1430 if (error != "") { in doDump()
1431 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1433 error.string()); in doDump()
1447 code = AaptXml::getIntegerAttribute(tree, TARGET_SDK_VERSION_ATTR, &error); in doDump()
1448 if (error != "") { in doDump()
1449 error = ""; in doDump()
1451 TARGET_SDK_VERSION_ATTR, &error); in doDump()
1452 if (error != "") { in doDump()
1453 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1455 error.string()); in doDump()
1517 group.label = AaptXml::getResolvedAttribute(res, tree, LABEL_ATTR, &error); in doDump()
1518 if (error != "") { in doDump()
1519 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1520 "ERROR getting 'android:label' attribute: %s", error.string()); in doDump()
1526 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1527 if (name != "" && error == "") { in doDump()
1532 &error); in doDump()
1533 if (error != "") { in doDump()
1534 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1536 error.string()); in doDump()
1541 "version", 0, &error); in doDump()
1542 if (error != "") { in doDump()
1543 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1545 error.string()); in doDump()
1555 GL_ES_VERSION_ATTR, &error); in doDump()
1556 if (error == "") { in doDump()
1563 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1564 if (error != "") { in doDump()
1565 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1566 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
1571 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1581 REQUIRED_FEATURE_ATTR, &error); in doDump()
1583 REQUIRED_NOT_FEATURE_ATTR, &error); in doDump()
1607 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1608 if (error != "") { in doDump()
1609 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1610 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
1615 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1626 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1627 if (name != "" && error == "") { in doDump()
1631 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1632 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
1636 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1637 if (name != "" && error == "") { in doDump()
1641 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1642 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
1646 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1647 if (name != "" && error == "") { in doDump()
1651 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1652 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
1656 printCompatibleScreens(tree, &error); in doDump()
1657 if (error != "") { in doDump()
1658 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1659 "ERROR getting compatible screens: %s", error.string()); in doDump()
1664 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1665 if (name != "" && error == "") { in doDump()
1667 &error); in doDump()
1668 if (publicKey != "" && error == "") { in doDump()
1694 activityName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1695 if (error != "") { in doDump()
1696 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1698 error.string()); in doDump()
1703 &error); in doDump()
1704 if (error != "") { in doDump()
1705 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1707 error.string()); in doDump()
1712 &error); in doDump()
1713 if (error != "") { in doDump()
1714 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1716 error.string()); in doDump()
1721 &error); in doDump()
1722 if (error != "") { in doDump()
1723 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1725 error.string()); in doDump()
1730 SCREEN_ORIENTATION_ATTR, &error); in doDump()
1731 if (error == "") { in doDump()
1749 String8 libraryName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1750 if (error != "") { in doDump()
1751 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1753 " %s", error.string()); in doDump()
1763 receiverName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1765 if (error != "") { in doDump()
1766 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1768 " %s", error.string()); in doDump()
1773 &error); in doDump()
1774 if (error == "") { in doDump()
1779 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1782 receiverName.string(), error.string()); in doDump()
1786 serviceName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1788 if (error != "") { in doDump()
1789 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1791 "service:%s", error.string()); in doDump()
1796 &error); in doDump()
1797 if (error == "") { in doDump()
1816 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1818 "service '%s': %s", serviceName.string(), error.string()); in doDump()
1824 EXPORTED_ATTR, &error); in doDump()
1825 if (error != "") { in doDump()
1826 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1828 " %s", error.string()); in doDump()
1833 res, tree, GRANT_URI_PERMISSIONS_ATTR, &error); in doDump()
1834 if (error != "") { in doDump()
1835 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1837 "provider: %s", error.string()); in doDump()
1842 PERMISSION_ATTR, &error); in doDump()
1843 if (error != "") { in doDump()
1844 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1846 "provider: %s", error.string()); in doDump()
1855 NAME_ATTR, &error); in doDump()
1856 if (error != "") { in doDump()
1857 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1859 "meta-data: %s", error.string()); in doDump()
1865 &error); in doDump()
1866 if (error != "") { in doDump()
1868 error = ""; in doDump()
1870 String8("resource"), &error); in doDump()
1871 if (error != "") { in doDump()
1872 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1875 "meta-data: %s", error.string()); in doDump()
1881 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1882 if (name != "" && error == "") { in doDump()
1885 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1887 error.string()); in doDump()
1895 String8 name = AaptXml::getResolvedAttribute(res, tree, NAME_ATTR, &error); in doDump()
1896 if (name != "" && error == "") { in doDump()
1900 tree, androidSchema.string(), "version", 0, &error); in doDump()
1901 if (error == "") { in doDump()
1904 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1906 error.string()); in doDump()
1915 &error); in doDump()
1916 if (error == "") { in doDump()
1943 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1944 if (error != "") { in doDump()
1945 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1948 error.string()); in doDump()
1960 RESOURCE_ATTR, &error); in doDump()
1961 if (error != "") { in doDump()
1962 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1965 serviceName.string(), error.string()); in doDump()
1970 offHost, &error); in doDump()
1971 if (error != "") { in doDump()
1972 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1992 action = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1993 if (error != "") { in doDump()
1994 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1995 "ERROR getting 'android:name' attribute: %s", error.string()); in doDump()
2048 String8 category = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
2049 if (error != "") { in doDump()
2050 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
2051 "ERROR getting 'name' attribute: %s", error.string()); in doDump()