Home
last modified time | relevance | path

Searched refs:resourcePath (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
DSystemPreparer.java133 public SystemPreparer installResourceApk(String resourcePath, String packageName) in installResourceApk() argument
136 final File tmpFile = copyResourceToTemp(resourcePath); in installResourceApk()
233 private File copyResourceToTemp(String resourcePath) throws IOException { in copyResourceToTemp() argument
234 final String ext = getFileExtension(resourcePath); in copyResourceToTemp()
242 try (InputStream assetIs = classLoader.getResourceAsStream(resourcePath); in copyResourceToTemp()
245 throw new IllegalStateException("Failed to find resource " + resourcePath); in copyResourceToTemp()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java386 private static String copyAndHashResource(String resourcePath, File copyTo) throws Exception { in copyAndHashResource() argument
391 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java2733 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
DPackageParser.java7006 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument
7007 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
7011 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
7018 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument
7019 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()
7023 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()