/cts/tests/tests/packageinstaller/atomicinstall/ |
D | Android.bp | 40 srcs: ["testdata/apk/prebuilt/corrupt.apk"], 41 path: "testdata/apk/prebuilt" 47 srcs: ["testdata/apk/src/**/*java"], 49 manifest: "testdata/apk/Av1.xml", 55 srcs: ["testdata/apk/src/**/*java"], 57 manifest: "testdata/apk/Av2.xml", 63 srcs: ["testdata/apk/src/**/*java"], 65 manifest: "testdata/apk/Bv1.xml",
|
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/ |
D | Android.mk | 47 LOCAL_BUILT_MODULE_STEM := package.apk 55 LOCAL_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/apk/$(my_apk_dir)/CtsShimPrivUpgrade.apk 67 LOCAL_BUILT_MODULE_STEM := package.apk 72 …CAL_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/apk/$(my_apk_dir)/CtsShimPrivUpgradeWrongSHA.a…
|
/cts/apps/CtsVerifier/ |
D | Android.mk | 130 define apk-location-for 131 $(call intermediates-dir-for,APPS,$(1))/package.apk 137 adb install -r $(PRODUCT_OUT)/data/app/CtsVerifier/CtsVerifier.apk \ 139 && adb install -r -t $(call apk-location-for,$(app))) \ 140 && adb install -r --instant $(call apk-location-for,$(pre-installed-instant-app)) \ 173 $(verifier-zip) : $(foreach app,$(apps-to-include),$(call apk-location-for,$(app))) 174 $(verifier-zip) : $(call intermediates-dir-for,APPS,CtsVerifier)/package.apk | $(ACP) 176 $(hide) $(ACP) -fp $< $(verifier-dir)/CtsVerifier.apk 178 $(ACP) -fp $(call apk-location-for,$(app)) $(verifier-dir)/$(app).apk;)
|
/cts/apps/EmptyDeviceAdmin/ |
D | README | 15 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/apps/EmptyDeviceOwner/ |
D | README | 15 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/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | BaseInstallMultiple.java | 64 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/ |
D | BaseInstallMultiple.java | 64 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/ |
D | Android.mk | 16 $(call dist-for-goals,cts,$(cts_out_dir)/CtsSecureElementAccessControlTestCases1.apk) 17 $(call dist-for-goals,cts,$(cts_out_dir)/CtsSecureElementAccessControlTestCases2.apk) 18 $(call dist-for-goals,cts,$(cts_out_dir)/CtsSecureElementAccessControlTestCases3.apk)
|
/cts/hostsidetests/stagedinstall/ |
D | Android.bp | 73 srcs: ["testdata/apk/src/**/*java"], 75 manifest: "testdata/apk/Av1.xml", 81 srcs: ["testdata/apk/src/**/*java"], 83 manifest: "testdata/apk/Av2.xml", 89 srcs: ["testdata/apk/src/**/*java"], 91 manifest: "testdata/apk/Bv1.xml", 97 srcs: ["testdata/apk/src/**/*java"], 99 manifest: "testdata/apk/StagedInstallTestAppSamePackageNameAsApex.xml",
|
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/ |
D | JvmtiAttachingHostTest.java | 65 public void run(ITestDevice device, String pkg, String apk, String abiName); in run() argument 76 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind() argument 86 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly() argument 103 installLibToDataData(device, pkg, abiName, apk, pwd, AGENT, in testJvmtiAttachEarly() 113 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal() argument 133 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal() argument 150 installLibToDataData(device, pkg, abiName, apk, pwd, AGENT, in testJvmtiAgentAppExternal() 216 String apk, String dataData, String library, String newLibName) throws Exception { in installLibToDataData() argument 223 File apkFile = mBuildHelper.getTestFile(apk); in installLibToDataData()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDeviceAdminHostSideTest.java | 72 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()
|
D | DeviceOwnerTest.java | 916 final File apk = buildHelper.getTestFile(TEST_APP_APK); in testPackageInstallCache() local 919 assertTrue(getDevice().pushFile(apk, TEST_APP_LOCATION + apk.getName())); in testPackageInstallCache() 948 String command = "rm " + TEST_APP_LOCATION + apk.getName(); in testPackageInstallCache() 960 final File apk = buildHelper.getTestFile(TEST_APP_APK); in testPackageInstallCache_multiUser() local 963 assertTrue(getDevice().pushFile(apk, TEST_APP_LOCATION + apk.getName())); in testPackageInstallCache_multiUser() 1003 String command = "rm " + TEST_APP_LOCATION + apk.getName(); in testPackageInstallCache_multiUser()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | InstantAppUserTest.java | 246 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()
|
D | BaseInstallMultiple.java | 65 T addApk(String apk) throws FileNotFoundException { in addApk() argument 67 mApks.add(buildHelper.getTestFile(apk)); in addApk() 161 final File apk = mApks.get(i); in run() local 162 final String remotePath = "/data/local/tmp/" + i + "_" + apk.getName(); in run() 163 if (!device.pushFile(apk, remotePath)) { in run() 164 throw new IllegalStateException("Failed to push " + apk); in run() 170 cmd.append(' ').append(i + "_" + apk.getName()); in run()
|
D | BaseAppSecurityTest.java | 53 protected void installTestAppForUser(String apk, int userId) throws Exception { in installTestAppForUser() argument 54 installTestAppForUser(apk, false, userId); in installTestAppForUser() 57 protected void installTestAppForUser(String apk, boolean instant, int userId) throws Exception { in installTestAppForUser() argument 62 .addApk(apk) in installTestAppForUser()
|
D | EphemeralTest.java | 540 private void installApp(String apk) throws Exception { in installApp() argument 542 .addApk(apk) in installApp() 546 private void installApp(String apk, String installer) throws Exception { in installApp() argument 548 .addApk(apk) in installApp() 553 private void installEphemeralApp(String apk) throws Exception { in installEphemeralApp() argument 555 .addApk(apk) in installEphemeralApp() 559 private void installEphemeralApp(String apk, String installer) throws Exception { in installEphemeralApp() argument 561 .addApk(apk) in installEphemeralApp() 566 private void installFullApp(String apk) throws Exception { in installFullApp() argument 568 .addApk(apk) in installFullApp()
|
D | SplitTests.java | 223 final String apk = ABI_TO_APK.get(abi); in testNativeSingle() local 224 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingle() 226 new InstallMultiple(instant).addApk(APK).addApk(apk).run(); in testNativeSingle() 248 final String apk = ABI_TO_APK.get(abi); in testNativeSingleNatural() local 249 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingleNatural() 251 new InstallMultiple(instant).useNaturalAbi().addApk(APK).addApk(apk).run(); in testNativeSingleNatural() 271 for (String apk : ABI_TO_APK.values()) { in testNativeAll() 272 inst.addApk(apk); in testNativeAll() 296 for (String apk : ABI_TO_APK.values()) { in testNativeAllNatural() 297 inst.addApk(apk); in testNativeAllNatural()
|
D | ExternalStorageHostTest.java | 51 public final String apk; field in ExternalStorageHostTest.Config 55 public Config(String apk, String pkg, String clazz) { in Config() argument 56 this.apk = apk; in Config() 486 installPackage(config.apk); in doMediaSandboxed() 487 installPackage(MEDIA_FULL.apk); in doMediaSandboxed() 526 installPackage(config.apk); in doMediaNone() 551 installPackage(config.apk); in doMediaRead() 578 installPackage(config.apk); in doMediaWrite() 603 installPackage(config.apk); in doMediaEscalation()
|
D | InstantCookieHostTest.java | 110 private String installPackage(String apk, boolean replace, boolean instant) throws Exception { in installPackage() argument 111 return getDevice().installPackage(getTestAppFile(apk), replace, in installPackage()
|
/cts/hostsidetests/appsecurity/test-apps/CorruptApkTests/ |
D | Android.mk | 20 LOCAL_SRC_FILES := b71360999.apk 28 LOCAL_SRC_FILES := b71361168.apk 36 LOCAL_SRC_FILES := b79488511.apk
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/ |
D | Android.mk | 47 LOCAL_BUILT_MODULE_STEM := package.apk 52 …_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/apk/signed-CtsSecureElementAccessControlTestCases…
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/ |
D | Android.mk | 47 LOCAL_BUILT_MODULE_STEM := package.apk 52 …_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/apk/signed-CtsSecureElementAccessControlTestCases…
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/ |
D | Android.mk | 47 LOCAL_BUILT_MODULE_STEM := package.apk 52 …_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/apk/signed-CtsSecureElementAccessControlTestCases…
|
/cts/hostsidetests/compilation/assets/ |
D | README.txt | 5 …_BUILD_TOP}/out/target/product/${TARGET_PRODUCT}/data/app/CtsCompilationApp/CtsCompilationApp.apk . 6 $ adb install CtsCompilationApp.apk
|
/cts/tests/systemAppTest/prebuilts/ |
D | readme.txt | 1 This directory will contain signed CtsSystemAppTestCases.apk.
|