Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp66 table.getResource(resid, &val, false /*mayBeBag*/, 0u /*density*/, &flags, &selected_config), in TEST()
182 table.getResource(basic::R::integer::number2, &val, MAY_NOT_BE_BAG); in TEST()
203 table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
217 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
236 table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
249 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
268 ASSERT_LT(table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG), in TEST()
366 sharedTable.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
384 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
391 sharedTable.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
[all …]
DAppAsLib_test.cpp38 ssize_t block = table.getResource(app::R::integer::number1, &val); in TEST()
57 ssize_t block = table.getResource(lib::R::integer::number1, &val); in TEST()
76 ssize_t block = table.getResource(lib::R::integer::number1, &val); in TEST()
DIdmap_test.cpp64 ssize_t block = target_table_.getResource(R::string::test2, &val, false); in TEST_F()
79 ssize_t new_block = target_table_.getResource(R::string::test2, &val, false); in TEST_F()
117 ssize_t block = table.getResource(kNonOverlaidResourceId, &val, false /*mayBeBag*/); in TEST_F()
123 block = target_table_.getResource(kNonOverlaidResourceId, &val, false /*mayBeBag*/); in TEST_F()
DSplit_test.cpp87 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, in TEST_F()
115 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, in TEST_F()
164 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, in TEST_F()
174 block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, in TEST_F()
219 ssize_t block = table.getResource(R::string::test3, &val, MAY_NOT_BE_BAG); in TEST_F()
225 block = table.getResource(R::string::test3, &val, MAY_NOT_BE_BAG); in TEST_F()
DTestHelpers.cpp62 ssize_t block = table.getResource(resource_id, &val, MAY_NOT_BE_BAG); in IsStringEqual()
DBenchmarkHelpers.cpp48 ssize_t block = table.getResource(resid, &value, false /*may_be_bag*/, 0u /*density*/, &flags, in GetResourceBenchmarkOld()
/frameworks/base/core/java/android/webkit/
DLegacyErrorStrings.java37 return context.getText(getResource(errorCode)).toString(); in getString()
44 private static int getResource(int errorCode) { in getResource() method in LegacyErrorStrings
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java85 verify(resource.getResource(), times(invalidateCallCount)).invalidate(); in assertResourceState()
86 verify(resource.getResource(), times(freeUnderlyingResourcesCallCount)) in assertResourceState()
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java164 final URL url = Resources.getResource(path); in loadTextResource()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java49 URL url = AsmAnalyzerTest.class.getClassLoader().getResource("data/mock_android.jar");
DAsmGeneratorTest.java68 URL url = this.getClass().getClassLoader().getResource("data/mock_android.jar"); in setUp()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java236 public T getResource() { in getResource() method in IpSecService.RefcountedResource
557 return getRefcountedResourceOrThrow(key).getResource(); in getResourceOrThrow()
1664 socketRecord = refcountedSocketRecord.getResource(); in createTransform()
1670 SpiRecord spiRecord = refcountedSpiRecord.getResource(); in createTransform()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1812 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
1817 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue,
1819 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL);
/frameworks/base/mime/
DAndroid.bp49 // ClassLoader.getResource(String) consults the parent ClassLoader first.
/frameworks/base/core/java/android/app/
DLoadedApk.java1059 @Override public URL getResource(String resName) { in getResource() method in LoadedApk.WarningContextClassLoader
1061 return getParent().getResource(resName); in getResource()
/frameworks/base/tools/aapt/
DResource.cpp1049 ssize_t idx = table.getResource(0x01010000, &val, true); in getPlatformAssetCookie()
1842 ssize_t block = resTable.getResource(symbol.id, &val, true); in buildResources()
1846 block = finalResTable.getResource(symbol.id, &val, true); in buildResources()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp97 if (table->getResource(expected_id.id, &val, false, 0, &spec_flags, &config) < 0) { in Exists()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4329 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, in getResource() function in android::ResTable
4432 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference()
/frameworks/base/config/
Dboot-image-profile.txt7796 HSPLandroid/icu/impl/ICUResourceBundleImpl;->getResource()I
7830 HSPLandroid/icu/impl/ICUResourceBundleReader$Table;->getResource(Landroid/icu/impl/ICUResourceBundl…
26295 HSPLjava/lang/BootClassLoader;->getResource(Ljava/lang/String;)Ljava/net/URL;
26404 HSPLjava/lang/ClassLoader;->getResource(Ljava/lang/String;)Ljava/net/URL;
26904 HSPLjava/lang/VMClassLoader;->getResource(Ljava/lang/String;)Ljava/net/URL;
Dhiddenapi-greylist-max-o.txt25606 Landroid/icu/impl/ICUResourceBundleReader$Container;->getResource(Landroid/icu/impl/ICUResourceBund…
25654 Landroid/icu/impl/ICUResourceBundleReader$Table;->getResource(Landroid/icu/impl/ICUResourceBundleRe…
112618 Lsun/misc/URLClassPath$FileLoader;->getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
112630 Lsun/misc/URLClassPath$JarLoader;->getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
112631 Lsun/misc/URLClassPath$JarLoader;->getResource(Ljava/lang/String;ZLjava/util/Set;)Lsun/misc/Resourc…
112646 Lsun/misc/URLClassPath$Loader;->getResource(Ljava/lang/String;)Lsun/misc/Resource;
112647 Lsun/misc/URLClassPath$Loader;->getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt41118 method public java.net.URL getResource(java.lang.String);
41172 method public java.net.URL getResource(java.lang.String);
/frameworks/base/non-updatable-api/
Dcurrent.txt61127 method @Nullable public java.net.URL getResource(@NonNull String);
61181 method public java.net.URL getResource(String);
/frameworks/base/api/
Dcurrent.txt61271 method @Nullable public java.net.URL getResource(@NonNull String);
61325 method public java.net.URL getResource(String);