Searched refs:fullResourceName (Results 1 – 3 of 3) sorted by relevance
144 String fullResourceName = pathToApk; in installApk() local147 apkFile = extractResource(fullResourceName, apkFile); in installApk()161 public static void pushResource(String fullResourceName, String deviceFilePath, in pushResource() argument165 resFile = extractResource(fullResourceName, resFile); in pushResource()175 private static File extractResource(String fullResourceName, File file) throws Exception { in extractResource() argument176 try (InputStream in = AdbUtils.class.getResourceAsStream(fullResourceName); in extractResource()179 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in extractResource()
285 private File extractResource(String fullResourceName, File outputDir) in extractResource() argument287 File outputFile = new File(outputDir, fullResourceName); in extractResource()288 try (InputStream in = getClass().getResourceAsStream("/" + fullResourceName); in extractResource()291 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in extractResource()
855 String fullResourceName = TEST_APK_RESOURCE_PREFIX + apkFilenameInResources; in installPackageFromResource() local858 try (InputStream in = getClass().getResourceAsStream(fullResourceName); in installPackageFromResource()861 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in installPackageFromResource()