Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java246 final String apk = createApkPath(TEST_APK); in testSpaceAllocatedForPackage()
247 final String idsig = createApkPath(TEST_APK_IDSIG); in testSpaceAllocatedForPackage()
329 final File file = new File(createApkPath(baseName)); in testSystemInstallWithIdSig()
337 File apkfile = new File(createApkPath(TEST_APK)); in testInstallWithIdSigAndSplit()
338 File splitfile = new File(createApkPath(TEST_APK_SPLIT0)); in testInstallWithIdSigAndSplit()
353 final String apk = createApkPath(TEST_APK); in testInstallWithStreaming()
354 final String idsig = createApkPath(TEST_APK_IDSIG); in testInstallWithStreaming()
390 final File apk = new File(createApkPath(TEST_APK)); in testInstallWithMissingBlocks()
414 final String apk = createApkPath(TEST_APK); in installWithBlockFilter()
415 final String idsig = createApkPath(TEST_APK_IDSIG); in installWithBlockFilter()
[all …]
DPackageManagerShellCommandInstallTest.java298 File file = new File(createApkPath(apk)); in writeFileToSession()
380 File file = new File(createApkPath(TEST_HW5)); in testAppInstallInvalidUser()
399 File file = new File(createApkPath(TEST_HW5)); in testAppInstallErr()
414 File file = new File(createApkPath(TEST_HW5)); in testAppInstallStdInErr()
754 String split = createApkPath(TEST_HW5); in testAppInstallErrDuplicate()
1503 addSplits(sdkSessionId, new String[] { createApkPath(TEST_SDK1) }); in testAppUsingSdkRequiredInstallGroupInstall()
1507 addSplits(appSessionId, new String[] { createApkPath(TEST_USING_SDK1) }); in testAppUsingSdkRequiredInstallGroupInstall()
2781 static String createApkPath(String baseName) { in createApkPath() method in PackageManagerShellCommandInstallTest
2787 File file = new File(createApkPath(baseName)); in installPackage()
2794 File file = new File(createApkPath(baseName)); in installPackage()
[all …]
DChecksumsTest.java235 Paths.get(createApkPath(TEST_FIXED_APK_DIGESTS_FILE))); in testReadWriteChecksums()
1565 private static String createApkPath(String baseName) { in createApkPath() method in ChecksumsTest
1570 File file = new File(createApkPath(baseName)); in installPackage()
1576 File file = new File(createApkPath(baseName)); in installPackageIncrementally()
1583 baseName -> createApkPath(baseName)).toArray(String[]::new); in installSplits()
1592 baseName -> createApkPath(baseName)).toArray(String[]::new); in installFilesIncrementally()
1601 File file = new File(createApkPath(apk)); in writeFileToSession()
1674 return Files.readAllBytes(Paths.get(createApkPath(file))); in readSignature()
1678 try (InputStream is = new FileInputStream(createApkPath(TEST_CERTIFICATE))) { in readCertificate()
1695 try (InputStream is = new FileInputStream(createApkPath(fileName)); in checkStoredChecksums()
DPackageManagerShellCommandMultiUserTest.kt1349 val file = File(PackageManagerShellCommandInstallTest.createApkPath(baseName)) in getFirstInstallTimeAsUser()
1364 val file = File(PackageManagerShellCommandInstallTest.createApkPath(baseName)) in installPackageAsUser()