Home
last modified time | relevance | path

Searched refs:fullResourceName (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java144 String fullResourceName = pathToApk; in installApk() local
147 apkFile = extractResource(fullResourceName, apkFile); in installApk()
161 public static void pushResource(String fullResourceName, String deviceFilePath, in pushResource() argument
165 resFile = extractResource(fullResourceName, resFile); in pushResource()
175 private static File extractResource(String fullResourceName, File file) throws Exception { in extractResource() argument
176 try (InputStream in = AdbUtils.class.getResourceAsStream(fullResourceName); in extractResource()
179 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in extractResource()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java285 private File extractResource(String fullResourceName, File outputDir) in extractResource() argument
287 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()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPkgInstallSignatureVerificationTest.java855 String fullResourceName = TEST_APK_RESOURCE_PREFIX + apkFilenameInResources; in installPackageFromResource() local
858 try (InputStream in = getClass().getResourceAsStream(fullResourceName); in installPackageFromResource()
861 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in installPackageFromResource()