Home
last modified time | relevance | path

Searched refs:getResourceAsStream (Results 1 – 23 of 23) 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/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/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/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/tests/AppResourcesLoaders/src/com/android/example/loaders/
DLoadersApplication.java49 final InputStream is = getClassLoader().getResourceAsStream(LOADER_RESOURCES_APK); in copyResource()
/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/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/
DConfigParserTest.java68 InputStream in = getClass().getClassLoader().getResourceAsStream(filename); in loadResourceFile()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java71 InputStream in = getClass().getClassLoader().getResourceAsStream(filename); in loadResourceFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java337 .getResourceAsStream(fullResourceName); in extractResource()
/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.java1095 @Override public InputStream getResourceAsStream(String resName) { in getResourceAsStream() method in LoadedApk.WarningContextClassLoader
1097 return getParent().getResourceAsStream(resName); in getResourceAsStream()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/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/config/
Dboot-image-profile.txt32753 HSPLjava/lang/Class;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;
32785 HSPLjava/lang/ClassLoader;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;
/frameworks/base/api/
Dcurrent.txt63741 method @Nullable public java.io.InputStream getResourceAsStream(@NonNull String);
63795 method public java.io.InputStream getResourceAsStream(String);