Home
last modified time | relevance | path

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

12

/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DClassLoaderResourcePerfTest.java41 Assert.assertNotNull(currentClassLoader.getResource(EXISTENT_RESOURCE)); in timeGetBootResource_hit()
45 currentClassLoader.getResource(EXISTENT_RESOURCE); in timeGetBootResource_hit()
52 Assert.assertNull(currentClassLoader.getResource(MISSING_RESOURCE)); in timeGetBootResource_miss()
56 currentClassLoader.getResource(MISSING_RESOURCE); in timeGetBootResource_miss()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp155 table.getResource(basic::R::integer::number2, &val, MAY_NOT_BE_BAG); in TEST()
176 table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
190 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
209 table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
222 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
241 ASSERT_LT(table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG), in TEST()
339 sharedTable.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
357 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
364 sharedTable.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
409 ssize_t block = table.getResource(0x7f010001, &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()
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/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/content/
DResourcesManager.kt78 fun getResource(key: String): Any? { in getResource() method in com.google.android.torus.utils.content.ResourcesManager
/frameworks/base/core/java/android/app/admin/
DDevicePolicyStringResource.java97 public ParcelableResource getResource() { in getResource() method in DevicePolicyStringResource
DDevicePolicyDrawableResource.java153 public ParcelableResource getResource() { in getResource() method in DevicePolicyDrawableResource
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java164 final URL url = Resources.getResource(path); in loadTextResource()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DHostUtils.kt108 javaClass.classLoader!!.getResource(javaResourceName).openStream().use { input -> in makePathForApk()
DSystemStubMultiUserDisableUninstallTest.kt136 .getResource(VERSION_ONE)!! in <lambda>()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java50 URL url = AsmAnalyzerTest.class.getClassLoader().getResource("data/mock_android.jar");
DAsmGeneratorTest.java73 URL url = this.getClass().getClassLoader().getResource("data/mock_android.jar"); in setUp()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceManagementResourcesProvider.java102 ParcelableResource resource = drawables.get(i).getResource(); in updateDrawables()
215 ParcelableResource resource = strings.get(i).getResource(); in updateStrings()
/frameworks/base/mime/
DAndroid.bp57 // ClassLoader.getResource(String) consults the parent ClassLoader first.
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2023 ssize_t getResource(uint32_t resID, Res_value* outValue, bool mayBeBag = false,
2028 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue,
2030 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL);
/frameworks/base/core/java/android/app/
DLoadedApk.java1263 @Override public URL getResource(String resName) { in getResource() method in LoadedApk.WarningContextClassLoader
1265 return getParent().getResource(resName); in getResource()
/frameworks/base/tools/aapt/
DResource.cpp1052 ssize_t idx = table.getResource(0x01010000, &val, true); in getPlatformAssetCookie()
1845 ssize_t block = resTable.getResource(symbol.id, &val, true); in buildResources()
1849 block = finalResTable.getResource(symbol.id, &val, true); in buildResources()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp99 if (table->getResource(expected_id.id, &val, false, 0, &spec_flags, &config) < 0) { in Exists()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4576 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, in getResource() function in android::ResTable
4674 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/config/
Dboot-image-profile.txt8628 HSPLandroid/icu/impl/ICUResourceBundleImpl;->getResource()I
8671 HSPLandroid/icu/impl/ICUResourceBundleReader$Table;->getResource(Landroid/icu/impl/ICUResourceBundl…
24163 HSPLjava/lang/BootClassLoader;->getResource(Ljava/lang/String;)Ljava/net/URL;
24309 HSPLjava/lang/ClassLoader;->getResource(Ljava/lang/String;)Ljava/net/URL;
24972 HSPLjava/lang/VMClassLoader;->getResource(Ljava/lang/String;)Ljava/net/URL;
/frameworks/base/boot/
Dboot-image-profile.txt8625 HSPLandroid/icu/impl/ICUResourceBundleImpl;->getResource()I
8668 HSPLandroid/icu/impl/ICUResourceBundleReader$Table;->getResource(Landroid/icu/impl/ICUResourceBundl…

12