Home
last modified time | relevance | path

Searched refs:getResourceAsStream (Results 1 – 21 of 21) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DIconLoader.java115 InputStream stream = getClass().getResourceAsStream(mCurrentPath.toString()); in getIcon()
125 return getClass().getResourceAsStream(mCurrentPath.toString()); in getIcon()
DSysUiResources.java50 InputStream stream = SysUiResources.class.getResourceAsStream(path); in loadXml()
/frameworks/base/core/tests/utiltests/src/android/util/
DMetadataReaderTest.java44 mInputStream = getClass().getClassLoader().getResourceAsStream("res/drawable/image.jpg"); in setUp()
111 … InputStream pngStream = getClass().getClassLoader().getResourceAsStream("res/drawable/png.png"); in testGetMetadata_Png()
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DPowerReportTest.java55 return PowerProfileTest.class.getResourceAsStream("/power_profile.xml"); in loadPowerProfileStream()
59 return BatteryStatsReaderTest.class.getResourceAsStream("/bs.csv"); in loadCsvStream()
DBatteryStatsReaderTest.java35 return BatteryStatsReaderTest.class.getResourceAsStream("/bs.csv"); in loadCsvStream()
DPowerProfileTest.java48 return PowerProfileTest.class.getResourceAsStream("/power_profile.xml"); in loadPowerProfileStream()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DModuleClassLoader.java52 byte[] b = Streams.readFully(getResourceAsStream(myModuleRoot + path)); in findClass()
DImageUtils.java67 InputStream is = ImageUtils.class.getClassLoader().getResourceAsStream(relativePath); in requireSimilar()
/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java51 return create(resourceName -> c.getResourceAsStream("/res/" + resourceName)); in create()
/frameworks/base/tools/preload-check/src/com/android/preload/check/
DPreloadCheck.java78 .getResourceAsStream("/preloaded-classes-blacklist")))) { in testBlackList()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutPullParser.java63 return new LayoutPullParser(LayoutPullParser.class.getClassLoader().getResourceAsStream in createFromPath()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java66 InputStream in = getClass().getClassLoader().getResourceAsStream(filename); in loadResourceFile()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParserTest.java51 getClass().getResourceAsStream("/com/android/layoutlib/testdata/layout1.xml"), in testXmlBlockParser()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java71 InputStream in = getClass().getClassLoader().getResourceAsStream(filename); in loadResourceFile()
/frameworks/layoutlib/bridge/src/android/view/
DShadowPainter.java370 InputStream inputStream = ShadowPainter.class.getResourceAsStream(name); in loadIcon()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java381 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
/frameworks/base/core/java/android/app/
DLoadedApk.java1069 @Override public InputStream getResourceAsStream(String resName) { in getResourceAsStream() method in LoadedApk.WarningContextClassLoader
1071 return getParent().getResourceAsStream(resName); in getResourceAsStream()
/frameworks/base/config/
Dboot-image-profile.txt26379 HSPLjava/lang/Class;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;
26405 HSPLjava/lang/ClassLoader;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt41119 method public java.io.InputStream getResourceAsStream(java.lang.String);
41173 method public java.io.InputStream getResourceAsStream(java.lang.String);
/frameworks/base/non-updatable-api/
Dcurrent.txt61128 method @Nullable public java.io.InputStream getResourceAsStream(@NonNull String);
61182 method public java.io.InputStream getResourceAsStream(String);
/frameworks/base/api/
Dcurrent.txt61272 method @Nullable public java.io.InputStream getResourceAsStream(@NonNull String);
61326 method public java.io.InputStream getResourceAsStream(String);