Home
last modified time | relevance | path

Searched refs:apk (Results 1 – 25 of 129) sorted by relevance

123456

/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/
DAndroid.bp45 // The 'arm' apk has both arm and arm64 so's. Same for x86/x86_64.
48 apk: "apk/arm/CtsShimPrivUpgrade.apk",
51 apk: "apk/arm/CtsShimPrivUpgrade.apk",
54 apk: "apk/x86/CtsShimPrivUpgrade.apk",
57 apk: "apk/x86/CtsShimPrivUpgrade.apk",
60 // This apk has compressed JNI libraries when it shouldn't if it's presigned
62 apk: "apk/riscv64/CtsShimPrivUpgrade.apk",
81 apk: "apk/arm/CtsShimPrivUpgradeWrongSHA.apk",
84 apk: "apk/arm/CtsShimPrivUpgradeWrongSHA.apk",
87 apk: "apk/x86/CtsShimPrivUpgradeWrongSHA.apk",
[all …]
/cts/hostsidetests/appsecurity/test-apps/CorruptApkTests/compressed_arsc/
Dbuild30 -o basic_q.apk \
38 -o basic_r.apk \
42 unzip basic_q.apk resources.arsc
45 rm -f compressed_Q.apk
46 cp basic_q.apk compressed_Q.apk
47 zip -j compressed_Q.apk resources.arsc
50 rm -f compressed_R.apk
51 cp basic_r.apk compressed_R.apk
52 zip -j compressed_R.apk resources.arsc
61 rm -f unaligned_Q.apk
[all …]
DAndroid.bp22 apk: "compressed_Q.apk",
32 apk: "compressed_R.apk",
43 apk: "unaligned_Q.apk",
46 // So the build system doesn't check that this apk is aligned
56 apk: "unaligned_R.apk",
59 // So the build system doesn't check that this apk is aligned
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallInfoTest.kt50 val apk = File(TEST_APK_LOCATION + "/$TEST_APK_NAME") in <lambda>() constant
51 val installInfo = pi.readInstallInfo(apk, 0) in <lambda>()
55 assertEquals(apk.length(), installInfo.calculateInstalledSize(mParams)) in <lambda>()
60 val apk = File(TEST_APK_LOCATION + "/$TEST_APK_NAME") in <lambda>() constant
61 ParcelFileDescriptor.open(apk, ParcelFileDescriptor.MODE_READ_ONLY).use { in <lambda>()
62 val installInfo = pi.readInstallInfo(it, apk.absolutePath, 0) in <lambda>()
66 assertEquals(apk.length(), installInfo.calculateInstalledSize(mParams, it)) in <lambda>()
76 val apk = File(clusterDir.canonicalPath) in <lambda>() constant
77 val installInfo = pi.readInstallInfo(apk, 0) in <lambda>()
81 val expectedSize = apk.listFiles()!! in <lambda>()
[all …]
/cts/tests/tests/uidmigration/
Dsystem-app-test.sh59 adb push $TEST_APP_PATH/*/*.apk /system/app/InstallTestApp/InstallTestApp.apk
76 adb install -r ${TEST_APP_PATH}4/*/*.apk
93 adb push ${TEST_APP_PATH}3/*/*.apk /system/app/InstallTestApp/InstallTestApp.apk
114 adb push $TEST_APP_PATH/*/*.apk /system/app/InstallTestApp/InstallTestApp.apk
130 adb push ${TEST_APP_PATH}4/*/*.apk /system/app/InstallTestApp/InstallTestApp.apk
153 adb push ${TEST_APP_PATH}4/*/*.apk /system/app/InstallTestApp/InstallTestApp.apk
/cts/hostsidetests/appsecurity/res/pkgsigverify/
Dgenerate-apks.sh8 …/res/pkgsigverify/v4-digest-v2-Sha256withDSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
9 …y/res/pkgsigverify/v4-digest-v2-Sha256withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
10 …/res/pkgsigverify/v4-digest-v2-Sha256withRSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
11 …y/res/pkgsigverify/v4-digest-v2-Sha512withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
12 …/res/pkgsigverify/v4-digest-v2-Sha512withRSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
15 …gsigverify/v4-digest-v2-Sha256withDSA-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
16 …kgsigverify/v4-digest-v2-Sha256withEC-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
17 …gsigverify/v4-digest-v2-Sha256withRSA-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
20 …/res/pkgsigverify/v4-digest-v3-Sha256withDSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
21 …y/res/pkgsigverify/v4-digest-v3-Sha256withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
[all …]
/cts/hostsidetests/stagedinstall/testdata/apk/CtsShimTargetPSdk/
DAndroid.bp28 apk: "arm/CtsShimTargetPSdk.apk",
31 apk: "arm/CtsShimTargetPSdk.apk",
34 apk: "x86/CtsShimTargetPSdk.apk",
37 apk: "x86/CtsShimTargetPSdk.apk",
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestAppPrebuilt/
DREADME.md10 Modifying the test helper app will also require to sign the apk with a local debug
42 cp CtsApkVerityTestApp.apk CtsApkVerityTestApp2.apk
43 cp CtsApkVerityTestAppSplit.apk.fsv_sig CtsApkVerityTestApp2.apk.fsv_sig
60 1. Download CtsApkVerityTestApp.apk, CtsApkVerityTestApp.apk.idsig and CtsApkVerityTestAppSplit.apk.
68 2. Ask the key owner to sign the .apk files with the "fsverity-release" key
74 cp CtsApkVerityTestApp.apk CtsApkVerityTestApp2.apk
75 cp CtsApkVerityTestAppSplit.apk.fsv_sig CtsApkVerityTestApp2.apk.fsv_sig
/cts/hostsidetests/compilation/assets/
Dpackage-dex-usage.textproto5 dex_file: "relative/bad_1.apk"
18 dex_file: "/non-normal/./bad_2.apk"
32 dex_file: "/absolute/path/bad_3.apk"
45 dex_file: "/absolute/path/bad_4.apk"
59 dex_file: "/absolute/path/good_1.apk"
72 dex_file: "/absolute/path/good_2.apk"
85 dex_file: "/absolute/path/good_3.apk"
/cts/hostsidetests/securitybulletin/res/
Dcve_2021_0691.sh4 ls -l base.apk
5 echo aaa > base.apk
6 ls -l base.apk
/cts/hostsidetests/appsecurity/test-apps/CorruptApkTests/
DAndroid.bp22 apk: "b71360999.apk",
33 apk: "b71361168.apk",
44 apk: "b79488511.apk",
/cts/hostsidetests/appsecurity/test-apps/DuplicatePermissionDeclareApp/
DAndroid.bp37 apk: "apk/b211934395_DifferentProtectionLevel.apk",
47 apk: "apk/b211934395_SameProtectionLevel.apk",
/cts/.prebuilt_info/
Dprebuilt_info_hostsidetests_stagedinstall_testdata_apk_CtsShimTargetPSdk__x86_CtsShimTargetPSdk_apk.asciipb5 source_file: "aosp_x86_64/CtsShimTargetPSdk.apk"
7 dest_file: "hostsidetests/stagedinstall/testdata/apk/CtsShimTargetPSdk//x86/CtsShimTargetPSdk.apk"
Dprebuilt_info_hostsidetests_stagedinstall_testdata_apk_CtsShimTargetPSdk__riscv64_CtsShimTargetPSdk_apk.asciipb5 source_file: "aosp_riscv64/CtsShimTargetPSdk.apk"
7 …dest_file: "hostsidetests/stagedinstall/testdata/apk/CtsShimTargetPSdk//riscv64/CtsShimTargetPSdk.
Dprebuilt_info_hostsidetests_stagedinstall_testdata_apk_CtsShimTargetPSdk__arm_CtsShimTargetPSdk_apk.asciipb5 source_file: "aosp_arm64/CtsShimTargetPSdk.apk"
7 dest_file: "hostsidetests/stagedinstall/testdata/apk/CtsShimTargetPSdk//arm/CtsShimTargetPSdk.apk"
Dprebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__riscv64_CtsShimPrivUpgradeWrongSHA_apk.asciipb5 source_file: "aosp_riscv64/CtsShimPrivUpgradeWrongSHA.apk"
7 …ostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk//riscv64/CtsShimPrivUpgradeWrongSHA.apk"
Dprebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__x86_CtsShimPrivUpgrade_apk.asciipb5 source_file: "aosp_x86_64/CtsShimPrivUpgrade.apk"
7 …est_file: "hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk//x86/CtsShimPrivUpgrade.apk"
Dprebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__riscv64_CtsShimPrivUpgrade_apk.asciipb5 source_file: "aosp_riscv64/CtsShimPrivUpgrade.apk"
7 …file: "hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk//riscv64/CtsShimPrivUpgrade.apk"
Dprebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__x86_CtsShimPrivUpgradeWrongSHA_apk.asciipb5 source_file: "aosp_x86_64/CtsShimPrivUpgradeWrongSHA.apk"
7 …: "hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk//x86/CtsShimPrivUpgradeWrongSHA.apk"
Dprebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__arm_CtsShimPrivUpgrade_apk.asciipb5 source_file: "aosp_arm64/CtsShimPrivUpgrade.apk"
7 …est_file: "hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk//arm/CtsShimPrivUpgrade.apk"
Dprebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__arm_CtsShimPrivUpgradeWrongSHA_apk.asciipb5 source_file: "aosp_arm64/CtsShimPrivUpgradeWrongSHA.apk"
7 …: "hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk//arm/CtsShimPrivUpgradeWrongSHA.apk"
/cts/apps/EmptyDeviceOwner/
DREADME15 This package is used to generate CtsEmptyDeviceOwner.apk that is used in assets of CtsVerifier.
16 To update the apk file, run the following commands from your android checkout:
19 cp $OUT/data/app/CtsEmptyDeviceOwner/CtsEmptyDeviceOwner.apk \
20 cts/apps/CtsVerifier/assets/apk/CtsEmptyDeviceOwner.apk
/cts/apps/EmptyDeviceAdmin/
DREADME15 This package is used to generate CtsEmptyDeviceAdmin.apk that is used in assets of CtsVerifier.
16 To update the apk file, run the following commands from your android checkout:
19 cp $OUT/data/app/CtsEmptyDeviceAdmin/CtsEmptyDeviceAdmin.apk \
20 cts/apps/CtsVerifier/assets/apk/CtsEmptyDeviceAdmin.apk
/cts/tests/tests/content/data/
Dreadme.txt12 Use this command to re-generate the apk and v4 signature file:
13 …ts/tests/content/data/CtsPkgInstallTinyAppV1.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
14 …ests/content/data/CtsPkgInstallTinyAppV2V3V4.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
15 …data/CtsPkgInstallTinyAppV2V3V4-Sha512withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
16 …ntent/data/CtsPkgInstallTinyAppV2V3V4-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
19 Use md5sum, sha1sum, sha256sum, sha512sum to regenerate full apk hashes.
40 malformed.apk is a copy of CtsPkgInstallTinyAppV2V3V4.apk, and malformed.apk.idsig is a purposefull…
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAdminServiceDeviceOwnerTest.java28 protected void installOwnerApp(String apk) throws Exception { in installOwnerApp() argument
29 CLog.i("Installing owner app %s...", apk); in installOwnerApp()
30 installDeviceOwnerApp(apk); in installOwnerApp()

123456