Home
last modified time | relevance | path

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

12345

/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)) \
122 $(verifier-zip) : $(foreach app,$(apps-to-include),$(call apk-location-for,$(app)))
123 $(verifier-zip) : $(call intermediates-dir-for,APPS,CtsVerifier)/package.apk | $(ACP)
125 $(hide) $(ACP) -fp $< $(verifier-dir)/CtsVerifier.apk
127 $(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/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/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/securitybulletin/res/
Dcve_2021_0691.sh4 ls -l base.apk
5 echo aaa > base.apk
6 ls -l base.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/.prebuilt_info/
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_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_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__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/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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
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()
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()
/cts/tests/tests/content/
DAndroid.bp82 "data/CtsPkgInstallTinyAppV1.apk",
83 "data/CtsPkgInstallTinyAppV2V3V4.apk",
84 "data/CtsPkgInstallTinyAppV2V3V4.apk.idsig",
87 "data/CtsPkgInstallTinyAppV2V3V4-Sha512withEC.apk",
88 "data/CtsPkgInstallTinyAppV2V3V4-Sha512withEC.apk.idsig",
89 "data/CtsPkgInstallTinyAppV2V3V4-Verity.apk",
90 "data/CtsPkgInstallTinyAppV2V3V4-Verity.apk.idsig",
97 "data/malformed.apk.idsig",
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java71 public void run(ITestDevice device, String pkg, String apk, String abiName); in run() argument
86 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind() argument
96 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly() argument
113 installLibToDataData(device, pkg, abiName, apk, pwd, AGENT, in testJvmtiAttachEarly()
123 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentStartupAgents() argument
133 installLibToDataData(device, pkg, abiName, apk, startup_dir, AGENT, AGENT); in testJvmtiAgentStartupAgents()
152 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal() argument
172 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal() argument
180 installLibToDataData(device, pkg, abiName, apk, pwd, AGENT, in testJvmtiAgentAppExternal()
279 String apk, String dataData, String library, String newLibName) throws Exception { in installLibToDataData() argument
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DInstantAppUserTest.java246 private void installApp(String apk) throws Exception { in installApp() argument
248 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp()
251 private void installInstantApp(String apk) throws Exception { in installInstantApp() argument
253 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--instant")); in installInstantApp()
256 private void installAppAsUser(String apk, int userId) throws Exception { in installAppAsUser() argument
258 assertNull(getDevice().installPackageForUser(buildHelper.getTestFile(apk), false, userId)); in installAppAsUser()
261 private void replaceFullAppAsUser(String apk, int userId) throws Exception { in replaceFullAppAsUser() argument
264 buildHelper.getTestFile(apk), true, userId, "--full")); in replaceFullAppAsUser()

12345