Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java293 String fullResourceName = pathToApk; in installApk() local
296 apkFile = extractResource(fullResourceName, apkFile); in installApk()
310 public static void pushResource(String fullResourceName, String deviceFilePath, in pushResource() argument
314 resFile = extractResource(fullResourceName, resFile); in pushResource()
362 private static File extractResource(String fullResourceName, File file) throws Exception { in extractResource() argument
363 try (InputStream in = AdbUtils.class.getResourceAsStream(fullResourceName); in extractResource()
366 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in extractResource()
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/
DCtsExtractNativeLibsHostTestBase.java120 String fullResourceName = TEST_APK_RESOURCE_PREFIX + filenameInResources; in getFileFromResource() local
123 InputStream in = getClass().getResourceAsStream(fullResourceName); in getFileFromResource()
125 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in getFileFromResource()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java441 private File extractResource(String fullResourceName, File outputDir) in extractResource() argument
443 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()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPkgInstallSignatureVerificationTest.java2057 String fullResourceName = TEST_APK_RESOURCE_PREFIX + filenameInResources; in getFileFromResource() local
2060 InputStream in = getClass().getResourceAsStream(fullResourceName); in getFileFromResource()
2062 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in getFileFromResource()