/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | ClassLoaderResourcePerfTest.java | 41 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/ |
D | ResTable_test.cpp | 155 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 …]
|
D | AppAsLib_test.cpp | 38 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()
|
D | Split_test.cpp | 87 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()
|
D | TestHelpers.cpp | 62 ssize_t block = table.getResource(resource_id, &val, MAY_NOT_BE_BAG); in IsStringEqual()
|
D | BenchmarkHelpers.cpp | 48 ssize_t block = table.getResource(resid, &value, false /*may_be_bag*/, 0u /*density*/, &flags, in GetResourceBenchmarkOld()
|
/frameworks/base/core/java/android/webkit/ |
D | LegacyErrorStrings.java | 37 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/ |
D | ResourcesManager.kt | 78 fun getResource(key: String): Any? { in getResource() method in com.google.android.torus.utils.content.ResourcesManager
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyStringResource.java | 97 public ParcelableResource getResource() { in getResource() method in DevicePolicyStringResource
|
D | DevicePolicyDrawableResource.java | 153 public ParcelableResource getResource() { in getResource() method in DevicePolicyDrawableResource
|
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/ |
D | InspectionCompanionGeneratorTest.java | 164 final URL url = Resources.getResource(path); in loadTextResource()
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | HostUtils.kt | 108 javaClass.classLoader!!.getResource(javaResourceName).openStream().use { input -> in makePathForApk()
|
D | SystemStubMultiUserDisableUninstallTest.kt | 136 .getResource(VERSION_ONE)!! in <lambda>()
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 50 URL url = AsmAnalyzerTest.class.getClassLoader().getResource("data/mock_android.jar");
|
D | AsmGeneratorTest.java | 73 URL url = this.getClass().getClassLoader().getResource("data/mock_android.jar"); in setUp()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DeviceManagementResourcesProvider.java | 102 ParcelableResource resource = drawables.get(i).getResource(); in updateDrawables() 215 ParcelableResource resource = strings.get(i).getResource(); in updateStrings()
|
/frameworks/base/mime/ |
D | Android.bp | 57 // ClassLoader.getResource(String) consults the parent ClassLoader first.
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 2023 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/ |
D | LoadedApk.java | 1263 @Override public URL getResource(String resName) { in getResource() method in LoadedApk.WarningContextClassLoader 1265 return getParent().getResource(resName); in getResource()
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 1052 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/ |
D | TableFlattener_test.cpp | 99 if (table->getResource(expected_id.id, &val, false, 0, &spec_flags, &config) < 0) { in Exists()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 4576 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/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/config/ |
D | boot-image-profile.txt | 8628 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/ |
D | boot-image-profile.txt | 8625 HSPLandroid/icu/impl/ICUResourceBundleImpl;->getResource()I 8668 HSPLandroid/icu/impl/ICUResourceBundleReader$Table;->getResource(Landroid/icu/impl/ICUResourceBundl…
|