Searched refs:resourcePath (Results 1 – 4 of 4) sorted by relevance
133 public SystemPreparer installResourceApk(String resourcePath, String packageName) in installResourceApk() argument136 final File tmpFile = copyResourceToTemp(resourcePath); in installResourceApk()233 private File copyResourceToTemp(String resourcePath) throws IOException { in copyResourceToTemp() argument234 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()
386 private static String copyAndHashResource(String resourcePath, File copyTo) throws Exception { in copyAndHashResource() argument391 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
2733 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
7006 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument7007 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()7011 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()7018 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument7019 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()7023 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()