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.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()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java376 private static String copyAndHashResource(String resourcePath, File copyTo) throws Exception { in copyAndHashResource() argument
381 try (InputStream input = thisClass.getResourceAsStream(resourcePath); in copyAndHashResource()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java2517 …/** {@hide} */ public void setResourcePath(String resourcePath) { scanPublicSourceDir = resourcePa… in setResourcePath() argument
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()