Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/
DAndroid.mk92 notification-bot := $(call intermediates-dir-for,APPS,NotificationBot)/package.apk
93 permission-app := $(call intermediates-dir-for,APPS,CtsPermissionApp)/package.apk
94 usb-companion := $(call intermediates-dir-for,APPS,CtsVerifierUSBCompanion)/package.apk
95 empty-device-admin := $(call intermediates-dir-for,APPS,CtsEmptyDeviceAdmin)/package.apk
100 adb install -r $(PRODUCT_OUT)/data/app/CtsVerifier/CtsVerifier.apk \
139 $(verifier-zip) : $(call intermediates-dir-for,APPS,CtsVerifier)/package.apk | $(ACP)
141 $(hide) $(ACP) -fp $< $(verifier-dir)/CtsVerifier.apk
142 $(ACP) -fp $(notification-bot) $(verifier-dir)/NotificationBot.apk
143 $(ACP) -fp $(permission-app) $(verifier-dir)/CtsPermissionApp.apk
144 $(ACP) -fp $(usb-companion) $(verifier-dir)/CtsVerifierUSBCompanion.apk
[all …]
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/
DAndroid.mk46 LOCAL_BUILT_MODULE_STEM := package.apk
51 LOCAL_SRC_FILES := CtsShimPrivUpgrade.apk
63 LOCAL_BUILT_MODULE_STEM := package.apk
68 LOCAL_SRC_FILES := CtsShimPrivUpgradeWrongSHA.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/src/android/appsecurity/cts/
DBaseInstallMultiple.java64 T addApk(String apk) throws FileNotFoundException { in addApk() argument
66 mApks.add(buildHelper.getTestFile(apk)); in addApk()
141 final File apk = mApks.get(i); in run() local
142 final String remotePath = "/data/local/tmp/" + i + "_" + apk.getName(); in run()
143 if (!device.pushFile(apk, remotePath)) { in run()
144 throw new IllegalStateException("Failed to push " + apk); in run()
150 cmd.append(' ').append(i + "_" + apk.getName()); in run()
DSplitTests.java163 final String apk = ABI_TO_APK.get(abi); in testNativeSingle() local
164 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingle()
166 new InstallMultiple().addApk(APK).addApk(apk).run(); in testNativeSingle()
178 final String apk = ABI_TO_APK.get(abi); in testNativeSingleNatural() local
179 assertNotNull("Failed to find APK for ABI " + abi, apk); in testNativeSingleNatural()
181 new InstallMultiple().useNaturalAbi().addApk(APK).addApk(apk).run(); in testNativeSingleNatural()
191 for (String apk : ABI_TO_APK.values()) { in testNativeAll()
192 inst.addApk(apk); in testNativeAll()
206 for (String apk : ABI_TO_APK.values()) { in testNativeAllNatural()
207 inst.addApk(apk); in testNativeAllNatural()
DInstantAppUserTest.java193 private void installApp(String apk) throws Exception { in installApp() argument
195 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp()
198 private void installInstantApp(String apk) throws Exception { in installInstantApp() argument
200 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--instant")); in installInstantApp()
203 private void installAppAsUser(String apk, int userId) throws Exception { in installAppAsUser() argument
205 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installAppAsUser()
208 private void replaceFullAppAsUser(String apk, int userId) throws Exception { in replaceFullAppAsUser() argument
211 buildHelper.getTestFile(apk), true, userId, "--full")); in replaceFullAppAsUser()
DBaseAppSecurityTest.java69 protected void installTestAppForUser(String apk, int userId) throws Exception { in installTestAppForUser() argument
75 buildHelper.getTestFile(apk), true, false, userId, "-t")); in installTestAppForUser()
DInstantCookieHostTest.java92 private String installPackage(String apk, boolean replace, boolean instant) throws Exception { in installPackage() argument
93 return getDevice().installPackage(mBuildHelper.getTestFile(apk), replace, in installPackage()
DEphemeralTest.java275 private void installApp(String apk) throws Exception { in installApp() argument
277 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp()
280 private void installEphemeralApp(String apk) throws Exception { in installEphemeralApp() argument
282 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--ephemeral")); in installEphemeralApp()
DAdoptableHostTest.java77 final String apk = ABI_TO_APK.get(abi); in testApps() local
78 assertNotNull("Failed to find APK for ABI " + abi, apk); in testApps()
81 new InstallMultiple().useNaturalAbi().addApk(APK).addApk(apk).run(); in testApps()
/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()
DDeviceAndProfileOwnerTest.java561 final File apk = buildHelper.getTestFile(TEST_APP_APK); in testPackageInstallUserRestrictions() local
567 assertTrue(getDevice().pushFile(apk, TEST_APP_LOCATION + apk.getName())); in testPackageInstallUserRestrictions()
593 String command = "rm " + TEST_APP_LOCATION + apk.getName(); in testPackageInstallUserRestrictions()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DValidateTestsAbi.java109 for (Entry<String, Integer> apk : apkToAbi.entrySet()) { in testApksAbis()
110 if (apk.getValue() < maxAbi) { in testApksAbis()
111 fail(String.format("apk %s only has %s abi when it should have %s", apk.getKey(), in testApksAbis()
112 apk.getValue(), maxAbi)); in testApksAbis()
/cts/hostsidetests/compilation/assets/
DREADME.txt5 …_BUILD_TOP}/out/target/product/${TARGET_PRODUCT}/data/app/CtsCompilationApp/CtsCompilationApp.apk .
6 $ adb install CtsCompilationApp.apk
/cts/tests/systemAppTest/prebuilts/
Dreadme.txt1 This directory will contain signed CtsSystemAppTestCases.apk.
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DREADME.txt1 This directory contains ContactsProvider2.apk related CTS tests.
/cts/hostsidetests/ui/
DAndroid.mk29 …_OUT_cts)/CtsUiHostTestCases.jar : $(COMPATIBILITY_TESTCASES_OUT_cts)/com.replica.replicaisland.apk
/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/feature/
DAndroid.mk33 featureOfApk := $(call intermediates-dir-for,APPS,$(featureOf))/package.apk
/cts/common/device-side/test-app/
Drun_tests.sh34 APK=${ANDROID_PRODUCT_OUT}/data/app/CompatibilityTestApp/CompatibilityTestApp.apk
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/
DAndroid.mk35 featureOfApk := $(call intermediates-dir-for,APPS,$(featureOf))/package.apk
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java51 private void installPackage(String apk) throws FileNotFoundException, in installPackage() argument
54 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), true)); in installPackage()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java79 protected void installPackage(String apk) throws FileNotFoundException, in installPackage() argument
82 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installPackage()
/cts/suite/audio_quality/
DAndroid.mk27 cts_audio_quality_client_apk := $(TARGET_OUT_DATA_APPS)/CtsAudioClient/CtsAudioClient.apk
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/
DREADME.txt12 …r -g ${ANDROID_PRODUCT_OUT}/data/app/CtsAccountCheckAuthAppTester/CtsAccountCheckAuthAppTester.apk
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java120 public AttachAgent(ITestDevice device, String pkg, String apk) { in AttachAgent() argument
123 this.mApk = apk; in AttachAgent()

12