/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 115 InputStream stream = getClass().getResourceAsStream(mCurrentPath.toString()); in getIcon() 125 return getClass().getResourceAsStream(mCurrentPath.toString()); in getIcon()
|
D | SysUiResources.java | 50 InputStream stream = SysUiResources.class.getResourceAsStream(path); in loadXml()
|
/frameworks/base/tools/app_metadata_bundles/src/test/java/com/android/asllib/ |
D | AslgenTests.java | 57 getClass().getClassLoader().getResourceAsStream(hrPath.toString()); in testValidMappings() 62 getClass().getClassLoader().getResourceAsStream(odPath.toString()); in testValidMappings()
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerReportTest.java | 55 return PowerProfileTest.class.getResourceAsStream("/power_profile.xml"); in loadPowerProfileStream() 59 return BatteryStatsReaderTest.class.getResourceAsStream("/bs.csv"); in loadCsvStream()
|
D | BatteryStatsReaderTest.java | 35 return BatteryStatsReaderTest.class.getResourceAsStream("/bs.csv"); in loadCsvStream()
|
D | PowerProfileTest.java | 48 return PowerProfileTest.class.getResourceAsStream("/power_profile.xml"); in loadPowerProfileStream()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BitmapTest.java | 57 getClass().getResourceAsStream("/com/android/layoutlib/testdata/compiled.9.png"); in testNinePatchChunk() 60 InputStream nonCompiled = getClass().getResourceAsStream( in testNinePatchChunk()
|
D | BridgeXmlBlockParserTest.java | 51 getClass().getResourceAsStream("/com/android/layoutlib/testdata/layout1.xml"), in testXmlBlockParser()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 54 mInputStream = getClass().getClassLoader().getResourceAsStream("res/drawable/image.jpg"); in setUp() 121 … InputStream pngStream = getClass().getClassLoader().getResourceAsStream("res/drawable/png.png"); in testGetMetadata_Png()
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/ |
D | ModuleClassLoader.java | 53 InputStream classStream = getResourceAsStream(myModuleRoot + path); in findClass()
|
D | ImageUtils.java | 58 InputStream is = ImageUtils.class.getClassLoader().getResourceAsStream(relativePath); in requireSimilar()
|
/frameworks/base/tests/AppResourcesLoaders/src/com/android/example/loaders/ |
D | LoadersApplication.java | 49 final InputStream is = getClassLoader().getResourceAsStream(LOADER_RESOURCES_APK); in copyResource()
|
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/ |
D | PackageSessionTests.kt | 270 javaClass.classLoader.getResourceAsStream("PackageManagerTestAppVersion1.apk")!! in <lambda>() 335 javaClass.classLoader.getResourceAsStream("PackageManagerTestAppVersion1.apk")!! in <lambda>() 379 javaClass.classLoader.getResourceAsStream("PackageManagerTestAppVersion1.apk")!! in <lambda>()
|
/frameworks/base/mime/java/android/content/type/ |
D | DefaultMimeMapFactory.java | 51 return create(resourceName -> c.getResourceAsStream("/res/" + resourceName)); in create()
|
/frameworks/base/tools/preload-check/src/com/android/preload/check/ |
D | PreloadCheck.java | 78 .getResourceAsStream("/preloaded-classes-denylist")))) { in testDenyList()
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutPullParser.java | 63 return new LayoutPullParser(LayoutPullParser.class.getClassLoader().getResourceAsStream in createFromPath()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | DynamicRenderResources.java | 161 try (InputStream stream = DynamicRenderResources.class.getResourceAsStream(wallpaperPath)) { in createDynamicColorMap()
|
/frameworks/base/tools/app_metadata_bundles/src/test/java/com/android/asllib/testutils/ |
D | TestUtils.java | 58 TestUtils.class.getClassLoader().getResourceAsStream(filePath.toString()); in readStrFromResource()
|
/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/ |
D | SystemPreparer.java | 242 try (InputStream assetIs = classLoader.getResourceAsStream(resourcePath); in copyResourceToTemp()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/security/ |
D | VerityUtilsTest.java | 232 byte[] cert = getClass().getClassLoader().getResourceAsStream("unit_test.der") in testSignatureGeneratedExternally()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryUsageStatsRule.java | 169 .getResourceAsStream("res/xml/" + resourceName + ".xml")); in resolveParser()
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 391 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | ApexManagerTest.java | 574 .getResourceAsStream(fullResourceName); in extractResource()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | PowerProfileTest.java | 573 .getResourceAsStream("res/xml/" + resourceName + ".xml")); in resolveParser()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 1273 @Override public InputStream getResourceAsStream(String resName) { in getResourceAsStream() method in LoadedApk.WarningContextClassLoader 1275 return getParent().getResourceAsStream(resName); in getResourceAsStream()
|