Searched refs:fullResourceName (Results 1 – 4 of 4) sorted by relevance
293 String fullResourceName = pathToApk; in installApk() local296 apkFile = extractResource(fullResourceName, apkFile); in installApk()310 public static void pushResource(String fullResourceName, String deviceFilePath, in pushResource() argument314 resFile = extractResource(fullResourceName, resFile); in pushResource()362 private static File extractResource(String fullResourceName, File file) throws Exception { in extractResource() argument363 try (InputStream in = AdbUtils.class.getResourceAsStream(fullResourceName); in extractResource()366 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in extractResource()
120 String fullResourceName = TEST_APK_RESOURCE_PREFIX + filenameInResources; in getFileFromResource() local123 InputStream in = getClass().getResourceAsStream(fullResourceName); in getFileFromResource()125 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in getFileFromResource()
441 private File extractResource(String fullResourceName, File outputDir) in extractResource() argument443 File outputFile = new File(outputDir, fullResourceName); in extractResource()444 try (InputStream in = getClass().getResourceAsStream("/" + fullResourceName); in extractResource()447 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in extractResource()
2057 String fullResourceName = TEST_APK_RESOURCE_PREFIX + filenameInResources; in getFileFromResource() local2060 InputStream in = getClass().getResourceAsStream(fullResourceName); in getFileFromResource()2062 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in getFileFromResource()