Home
last modified time | relevance | path

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

1234

/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.bp21 apk: "compressed_Q.apk",
31 apk: "compressed_R.apk",
41 apk: "unaligned_Q.apk",
52 apk: "unaligned_R.apk",
/cts/hostsidetests/appsecurity/res/pkgsigverify/
Dgenerate-apks.sh5 …/res/pkgsigverify/v4-digest-v2-Sha256withDSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
6 …y/res/pkgsigverify/v4-digest-v2-Sha256withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
7 …/res/pkgsigverify/v4-digest-v2-Sha256withRSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
8 …y/res/pkgsigverify/v4-digest-v2-Sha512withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
9 …/res/pkgsigverify/v4-digest-v2-Sha512withRSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
12 …gsigverify/v4-digest-v2-Sha256withDSA-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
13 …kgsigverify/v4-digest-v2-Sha256withEC-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
14 …gsigverify/v4-digest-v2-Sha256withRSA-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
17 …/res/pkgsigverify/v4-digest-v3-Sha256withDSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
18 …y/res/pkgsigverify/v4-digest-v3-Sha256withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/or…
[all …]
/cts/hostsidetests/stagedinstall/testdata/apk/CtsShimTargetPSdk/
DAndroid.bp27 apk: "arm/CtsShimTargetPSdk.apk",
30 apk: "arm/CtsShimTargetPSdk.apk",
33 apk: "x86/CtsShimTargetPSdk.apk",
36 apk: "x86/CtsShimTargetPSdk.apk",
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/
DAndroid.mk14 LOCAL_BUILT_MODULE_STEM := package.apk
22 LOCAL_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/apk/$(my_apk_dir)/CtsShimPrivUpgrade.apk
36 LOCAL_BUILT_MODULE_STEM := package.apk
41 …CAL_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/apk/$(my_apk_dir)/CtsShimPrivUpgradeWrongSHA.a…
/cts/apps/CtsVerifier/
DAndroid.mk74 define apk-location-for
75 $(call intermediates-dir-for,APPS,$(1))/package.apk
81 adb install -r $(PRODUCT_OUT)/data/app/CtsVerifier/CtsVerifier.apk \
83 && adb install -r -t $(call apk-location-for,$(app))) \
84 && adb install -r --instant $(call apk-location-for,$(pre-installed-instant-app)) \
117 $(verifier-zip) : $(foreach app,$(apps-to-include),$(call apk-location-for,$(app)))
118 $(verifier-zip) : $(call intermediates-dir-for,APPS,CtsVerifier)/package.apk | $(ACP)
120 $(hide) $(ACP) -fp $< $(verifier-dir)/CtsVerifier.apk
122 $(ACP) -fp $(call apk-location-for,$(app)) $(verifier-dir)/$(app).apk;)
/cts/hostsidetests/appsecurity/test-apps/CorruptApkTests/
DAndroid.bp21 apk: "b71360999.apk",
31 apk: "b71361168.apk",
41 apk: "b79488511.apk",
/cts/hostsidetests/securitybulletin/res/
Dcve_2021_0691.sh4 ls -l base.apk
5 echo aaa > base.apk
6 ls -l base.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__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__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__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__arm_CtsShimPrivUpgradeWrongSHA_apk.asciipb5 source_file: "aosp_arm64/CtsShimPrivUpgradeWrongSHA.apk"
7 …: "hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk//arm/CtsShimPrivUpgradeWrongSHA.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/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/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
68 2. Extract CtsApkVerityTestApp\*.{apk,dm} and ask the key owner to sign
75 cp CtsApkVerityTestApp.apk CtsApkVerityTestApp2.apk
76 cp CtsApkVerityTestAppSplit.apk.fsv_sig CtsApkVerityTestApp2.apk.fsv_sig
/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()
DBaseDeviceAdminHostSideTest.java72 protected void runTests(@Nonnull String apk, @Nonnull String className, in runTests() argument
74 runDeviceTestsAsUser(apk, in runTests()
78 protected void runTests(@Nonnull String apk, @Nonnull String className) in runTests() argument
80 runTests(apk, className, null); in runTests()
DDeviceAdminServiceProfileOwnerTest.java43 protected void installOwnerApp(String apk) throws Exception { in installOwnerApp() argument
44 CLog.i("Installing %s on user %d...", apk, mUserId); in installOwnerApp()
45 installAppAsUser(apk, mUserId); in installOwnerApp()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java64 T addApk(String apk) throws FileNotFoundException { in addApk() argument
66 mApks.add(buildHelper.getTestFile(apk)); in addApk()
155 final File apk = mApks.get(i); in run() local
156 final String remotePath = "/data/local/tmp/" + i + "_" + apk.getName(); in run()
157 if (!device.pushFile(apk, remotePath)) { in run()
158 throw new IllegalStateException("Failed to push " + apk); in run()
164 cmd.append(' ').append(i + "_" + apk.getName()); in run()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java64 T addApk(String apk) throws FileNotFoundException { in addApk() argument
66 mApks.add(buildHelper.getTestFile(apk)); in addApk()
155 final File apk = mApks.get(i); in run() local
156 final String remotePath = "/data/local/tmp/" + i + "_" + apk.getName(); in run()
157 if (!device.pushFile(apk, remotePath)) { in run()
158 throw new IllegalStateException("Failed to push " + apk); in run()
164 cmd.append(' ').append(i + "_" + apk.getName()); in run()
/cts/tests/tests/secure_element/access_control/AccessControlApp2/
DAndroid.bp10 apk: "apk/signed-CtsSecureElementAccessControlTestCases2.apk",
/cts/tests/tests/secure_element/access_control/AccessControlApp3/
DAndroid.bp10 apk: "apk/signed-CtsSecureElementAccessControlTestCases3.apk",
/cts/tests/tests/secure_element/access_control/AccessControlApp1/
DAndroid.bp10 apk: "apk/signed-CtsSecureElementAccessControlTestCases1.apk",

1234