Searched refs:resourcePath (Results 1 – 4 of 4) sorted by relevance
134 public SystemPreparer installResourceApk(String resourcePath, String packageName) in installResourceApk() argument137 final File tmpFile = copyResourceToTemp(resourcePath); in installResourceApk()245 private File copyResourceToTemp(String resourcePath) throws IOException { in copyResourceToTemp() argument246 final String ext = getFileExtension(resourcePath); in copyResourceToTemp()254 try (InputStream assetIs = classLoader.getResourceAsStream(resourcePath); in copyResourceToTemp()257 throw new IllegalStateException("Failed to find resource " + resourcePath); in copyResourceToTemp()
376 private static String copyAndHashResource(String resourcePath, File copyTo) throws Exception { in copyAndHashResource() argument381 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
2517 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
6949 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument6950 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()6954 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()6961 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument6962 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()6966 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()