Home
last modified time | relevance | path

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

/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
H A DMdnsDiscovery.java92 String resourcePath = getStringAttribute(info, ATTRIBUTE_RP); in toNetworkPrinter() local
93 if (TextUtils.isEmpty(resourcePath)) { in toNetworkPrinter()
97 if (resourcePath.startsWith("/")) { in toNetworkPrinter()
98 resourcePath = resourcePath.substring(1); in toNetworkPrinter()
116 + "/" + resourcePath); in toNetworkPrinter()
/aosp12/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
H A DSystemPreparer.java134 public SystemPreparer installResourceApk(String resourcePath, String packageName) in installResourceApk() argument
137 final File tmpFile = copyResourceToTemp(resourcePath); in installResourceApk()
245 private File copyResourceToTemp(String resourcePath) throws IOException { in copyResourceToTemp() argument
246 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()
/aosp12/packages/apps/Car/tests/tools/rro/
H A Dverify-overlayable.py36 resources = get_all_resources(args.resourcePath, args.excludeFiles)
H A Dgenerate-overlays.py52 resources = get_all_resources(args.resourcePath)
H A Dgenerate-overlayable.py55 resources = get_all_resources(args.resourcePath, args.excludeFiles)
/aosp12/bootable/recovery/tools/image_generator/
H A DImageGenerator.java326 public Map<Locale, String> readLocalizedStringFromXmls(String resourcePath, in readLocalizedStringFromXmls() argument
328 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()
/aosp12/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
H A DDynamicCodeLoggerIntegrationTests.java376 private static String copyAndHashResource(String resourcePath, File copyTo) throws Exception { in copyAndHashResource() argument
381 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DApplicationInfo.java2517 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
H A DPackageParser.java6949 public void setApplicationInfoResourcePath(String resourcePath) { in setApplicationInfoResourcePath() argument
6950 this.applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6954 childPackages.get(i).applicationInfo.setResourcePath(resourcePath); in setApplicationInfoResourcePath()
6961 public void setApplicationInfoBaseResourcePath(String resourcePath) { in setApplicationInfoBaseResourcePath() argument
6962 this.applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()
6966 childPackages.get(i).applicationInfo.setBaseResourcePath(resourcePath); in setApplicationInfoBaseResourcePath()