Home
last modified time | relevance | path

Searched refs:getResource (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp125 ssize_t block = table.getResource(base::R::integer::number2, &val, MAY_NOT_BE_BAG); in TEST()
141 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
155 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
169 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
182 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
201 ASSERT_LT(table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG), 0); in TEST()
DSplit_test.cpp84 … ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config); in TEST()
107 … ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config); in TEST()
155 …ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, &specFlags, NUL… in TEST()
163 block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, &frSpecFlags, NULL); in TEST()
201 ssize_t block = table.getResource(base::R::string::test3, &val, MAY_NOT_BE_BAG); in TEST()
206 block = table.getResource(base::R::string::test3, &val, MAY_NOT_BE_BAG); in TEST()
DIdmap_test.cpp73 ssize_t block = mTargetTable.getResource(base::R::string::test2, &val, false); in TEST_F()
87 ssize_t newBlock = mTargetTable.getResource(base::R::string::test2, &val, false); in TEST_F()
DTestHelpers.cpp27 ssize_t block = table.getResource(resourceId, &val, MAY_NOT_BE_BAG); in IsStringEqual()
/frameworks/base/core/java/android/net/http/
DErrorStrings.java37 return context.getText(getResource(errorCode)).toString(); in getString()
44 public static int getResource(int errorCode) { in getResource() method in ErrorStrings
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java64 public URL getResource(String name) { in getResource() method in TestCaseClassLoader
/frameworks/base/include/androidfw/
DResourceTypes.h1561 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1566 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue,
1568 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java52 URL url = this.getClass().getClassLoader().getResource("data/mock_android.jar"); in setUp()
DAsmGeneratorTest.java65 URL url = this.getClass().getClassLoader().getResource("data/mock_android.jar"); in setUp()
/frameworks/base/core/java/android/app/
DLoadedApk.java454 @Override public URL getResource(String resName) { in getResource() method in LoadedApk.WarningContextClassLoader
456 return getParent().getResource(resName); in getResource()
/frameworks/base/tools/aapt/
DResource.cpp928 ssize_t idx = table.getResource(0x01010000, &val, true); in getPlatformAssetCookie()
1633 ssize_t block = resTable.getResource(symbol.id, &val, true); in buildResources()
1637 block = finalResTable.getResource(symbol.id, &val, true); in buildResources()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp806 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config); in android_content_AssetManager_loadResourceValue()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3613 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, in getResource() function in android::ResTable
3716 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference()
/frameworks/base/api/
Dsystem-current.txt43649 method public java.net.URL getResource(java.lang.String);
43703 method public java.net.URL getResource(java.lang.String);
Dcurrent.txt41120 method public java.net.URL getResource(java.lang.String);
41174 method public java.net.URL getResource(java.lang.String);