Searched refs:resourcePath (Results 1 – 9 of 9) sorted by relevance
92 String resourcePath = getStringAttribute(info, ATTRIBUTE_RP); in toNetworkPrinter() local93 if (TextUtils.isEmpty(resourcePath)) { in toNetworkPrinter()97 if (resourcePath.startsWith("/")) { in toNetworkPrinter()98 resourcePath = resourcePath.substring(1); in toNetworkPrinter()116 + "/" + resourcePath); in toNetworkPrinter()
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()
36 resources = get_all_resources(args.resourcePath, args.excludeFiles)
52 resources = get_all_resources(args.resourcePath)
55 resources = get_all_resources(args.resourcePath, args.excludeFiles)
326 public Map<Locale, String> readLocalizedStringFromXmls(String resourcePath, in readLocalizedStringFromXmls() argument328 File resourceDir = new File(resourcePath); in readLocalizedStringFromXmls()330 throw new LocalizedStringNotFoundException(resourcePath + " is not a directory."); in readLocalizedStringFromXmls()360 File textFile = new File(resourcePath, name + "/strings.xml"); in readLocalizedStringFromXmls()
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()