Home
last modified time | relevance | path

Searched refs:addApk (Results 1 – 20 of 20) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DSplitTests.java115 new InstallMultiple(instant).addApk(APK).run(); in testSingleBase()
130 new InstallMultiple(instant).addApk(APK).addApk(APK_mdpi).run(); in testDensitySingle()
145 new InstallMultiple(instant).addApk(APK).addApk(APK_mdpi).addApk(APK_hdpi).addApk(APK_xhdpi) in testDensityAll()
146 .addApk(APK_xxhdpi).run(); in testDensityAll()
165 new InstallMultiple(instant).addApk(APK).addApk(APK_mdpi).run(); in testDensityBest()
169 new InstallMultiple(instant).inheritFrom(PKG).addApk(APK_xxhdpi).run(); in testDensityBest()
188 new InstallMultiple(instant).addApk(APK).addApk(APK_v7).run(); in testApi()
203 new InstallMultiple(instant).addApk(APK).addApk(APK_de).addApk(APK_fr).run(); in testLocale()
226 new InstallMultiple(instant).addApk(APK).addApk(apk).run(); in testNativeSingle()
251 new InstallMultiple(instant).useNaturalAbi().addApk(APK).addApk(apk).run(); in testNativeSingleNatural()
[all …]
DIsolatedSplitsTests.java72 new InstallMultiple(instant).addApk(APK_BASE).run(); in testInstallBase()
89 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_BASE_pl).run(); in testInstallBaseAndConfigSplit()
106 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_B).runExpectingFailure(); in testInstallMissingDependency()
117 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).run(); in testInstallOneFeatureSplit()
138 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).addApk(APK_BASE_pl) in testInstallOneFeatureSplitAndConfigSplits()
139 .addApk(APK_FEATURE_A_pl).run(); in testInstallOneFeatureSplitAndConfigSplits()
154 .addApk(APK_BASE).addApk(APK_FEATURE_A).addApk(APK_FEATURE_B).run(); in testInstallDependentFeatureSplits()
178 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).addApk(APK_FEATURE_B) in testInstallDependentFeatureSplitsAndConfigSplits()
179 .addApk(APK_BASE_pl).addApk(APK_FEATURE_A_pl).addApk(APK_FEATURE_B_pl).run(); in testInstallDependentFeatureSplitsAndConfigSplits()
195 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).addApk(APK_FEATURE_B) in testInstallAllFeatureSplits()
[all …]
DUseEmbeddedDexTest.java46 new InstallMultiple().addApk(APK_CANONICAL).run(); in testCanonicalInstall()
51 new InstallMultiple().addApk(APK_DEX_COMPRESSED).runExpectingFailure(); in testBadInstallWithCompressedDex()
56 new InstallMultiple().addApk(APK_CANONICAL).addApk(APK_SPLIT_CANONICAL).run(); in testCanonicalInstallWithSplit()
61 new InstallMultiple().addApk(APK_CANONICAL).addApk(APK_SPLIT_COMPRESSED_DEX) in testBadInstallWithDexCompressedSplit()
67 new InstallMultiple().addApk(APK_CANONICAL).run(); in testCanonicalInstallWithBaseThenSplit()
68 new InstallMultiple().inheritFrom(PACKAGE_NAME).addApk(APK_SPLIT_CANONICAL).run(); in testCanonicalInstallWithBaseThenSplit()
73 new InstallMultiple().addApk(APK_CANONICAL).run(); in testBadInstallWithBaseThenDexCompressedSplit()
74 new InstallMultiple().inheritFrom(PACKAGE_NAME).addApk(APK_SPLIT_COMPRESSED_DEX) in testBadInstallWithBaseThenDexCompressedSplit()
DMajorVersionTest.java63 new InstallMultiple(instant).addApk(APK_000000000000ffff).run(); in testInstallMinorVersion()
79 new InstallMultiple(instant).addApk(APK_000000ff00000000).run(); in testInstallMajorVersion()
95 new InstallMultiple(instant).addApk(APK_000000000000ffff).run(); in testInstallUpdateAcrossMinorMajorVersion()
98 new InstallMultiple(instant).addApk(APK_00000000ffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion()
101 new InstallMultiple(instant).addApk(APK_000000ff00000000).run(); in testInstallUpdateAcrossMinorMajorVersion()
104 new InstallMultiple(instant).addApk(APK_000000ffffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion()
120 new InstallMultiple(instant).addApk(APK_000000ffffffffff).run(); in testInstallDowngradeAcrossMajorMinorVersion()
123 new InstallMultiple(instant).addApk(APK_00000000ffffffff) in testInstallDowngradeAcrossMajorMinorVersion()
127 new InstallMultiple(instant).addApk(APK_000000ff00000000) in testInstallDowngradeAcrossMajorMinorVersion()
131 new InstallMultiple(instant).addApk(APK_000000000000ffff) in testInstallDowngradeAcrossMajorMinorVersion()
DAppSecurityTests.java111 new InstallMultiple(instant).addApk(SIMPLE_APP_APK).run(); in testAppUpgradeDifferentCerts()
112 new InstallMultiple(instant).addApk(SIMPLE_APP_DIFF_CERT_APK) in testAppUpgradeDifferentCerts()
140 new InstallMultiple().addApk(APP_WITH_DATA_APK).run(); in testAppFailAccessPrivateData()
143 new InstallMultiple(instant).addApk(APP_ACCESS_DATA_APK).run(); in testAppFailAccessPrivateData()
169 new InstallMultiple(instant).addApk(APP_WITH_DATA_APK).run(); in testUninstallRemovesData()
175 new InstallMultiple(instant).addApk(APP_WITH_DATA_APK).run(); in testUninstallRemovesData()
206 new InstallMultiple(targetInstant).addApk(TARGET_INSTRUMENT_APK).run(); in testInstrumentationDiffCert()
207 new InstallMultiple(instrumentInstant).addApk(INSTRUMENT_DIFF_CERT_APK).run(); in testInstrumentationDiffCert()
237 new InstallMultiple().addApk(DECLARE_PERMISSION_APK).run(); in testPermissionDiffCert()
238 new InstallMultiple().addApk(DECLARE_PERMISSION_COMPAT_APK).run(); in testPermissionDiffCert()
[all …]
DOverlayHostTest.java72 new InstallMultiple().addApk(TEST_APP_APK).run(); in setUp()
124 new InstallMultiple().addApk(TARGET_OVERLAYABLE_APK).run();
125 new InstallMultiple().addApk(overlayApk).run();
145 new InstallMultiple().addApk(overlayApk).run();
146 new InstallMultiple().addApk(targetApk).run();
170 new InstallMultiple().addApk(OVERLAY_ANDROID_APK).runExpectingFailure();
194 new InstallMultiple().addApk(OVERLAY_ALL_PIE_APK).runExpectingFailure();
220 new InstallMultiple().addApk(TARGET_NO_OVERLAYABLE_APK).run();
221 new InstallMultiple().addApk(
DAdoptableHostTest.java100 new InstallMultiple().useNaturalAbi().addApk(APK).addApk(apk).run(); in testApps()
173 new InstallMultiple().addApk(APK).run(); in verifyPrimaryInternal()
219 new InstallMultiple().addApk(APK).run(); in verifyPrimaryPhysical()
263 .addApk(APK).addApk(APK_mdpi).run(); in testPackageInstaller()
269 .addApk(APK_xxhdpi).run(); in testPackageInstaller()
291 new InstallMultiple().locationAuto().forceUuid(vol.uuid).addApk(APK).run(); in testEjected()
301 new InstallMultiple().locationInternalOnly().addApk(APK).run(); in testEjected()
DPackageResolutionHostTest.java61 .addApk(TINY_APK) in testResolveOrderedActivity()
79 .addApk(TINY_APK) in testResolveOrderedService()
97 .addApk(TINY_APK) in testResolveOrderedReceiver()
DSharedUserIdTest.java65 new InstallMultiple().addApk(SHARED_UI_APK).run(); in testSharedUidDifferentCerts()
67 new InstallMultiple().addApk(SHARED_UI_DIFF_CERT_APK) in testSharedUidDifferentCerts()
DEphemeralTest.java542 .addApk(apk) in installApp()
548 .addApk(apk) in installApp()
555 .addApk(apk) in installEphemeralApp()
561 .addApk(apk) in installEphemeralApp()
568 .addApk(apk) in installFullApp()
DDirectBootHostTest.java148 new InstallMultiple().addApk(APK).run(); in doDirectBootTest()
149 new InstallMultiple().addApk(OTHER_APK).run(); in doDirectBootTest()
DAuthBoundKeyTest.java56 new InstallMultiple().addApk(APK).run(); in useInvalidatedAuthBoundKey()
DBaseAppSecurityTest.java62 .addApk(apk) in installTestAppForUser()
DBaseInstallMultiple.java65 T addApk(String apk) throws FileNotFoundException { in addApk() method in BaseInstallMultiple
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java121 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile).run(); in testInstallDmForBase()
132 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile) in testInstallDmForBaseAndSplit()
133 .addApk(mApkFeatureAFile).addDm(mDmFeatureAFile).run(); in testInstallDmForBaseAndSplit()
144 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile) in testInstallDmForBaseButNoSplit()
145 .addApk(mApkFeatureAFile).run(); in testInstallDmForBaseButNoSplit()
156 new InstallMultiple().addApk(mApkBaseFile) in testInstallDmForSplitButNoBase()
157 .addApk(mApkFeatureAFile).addDm(mDmFeatureAFile).run(); in testInstallDmForSplitButNoBase()
168 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile) in testUpdateDm()
169 .addApk(mApkFeatureAFile).addDm(mDmFeatureAFile).run(); in testUpdateDm()
175 new InstallMultiple().addArg("-r").addApk(mApkBaseFile) in testUpdateDm()
[all …]
DBaseInstallMultiple.java55 T addApk(File apk) { in addApk() method in BaseInstallMultiple
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DClassloaderSplitsTest.java70 new InstallMultiple(instant).addApk(APK_BASE).run(); in testBaseClassLoader()
85 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).run(); in testFeatureAClassLoader()
102 .addApk(APK_BASE).addApk(APK_FEATURE_A).addApk(APK_FEATURE_B).run(); in testFeatureBClassLoader()
115 .addApk(APK_BASE).addApk(APK_FEATURE_A).addApk(APK_FEATURE_B).run(); in testReceiverClassLoaders()
DBaseInstallMultiple.java64 T addApk(String apk) throws FileNotFoundException { in addApk() method in BaseInstallMultiple
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUsesLibraryHostTest.java60 new InstallMultiple(instant).addApk(APK).run(); in testUsesLibrary()
70 new InstallMultiple(instant).addApk(APK).run(); in testMissingLibrary()
80 new InstallMultiple(instant).addApk(APK).run(); in testDuplicateLibrary()
DBaseInstallMultiple.java64 T addApk(String apk) throws FileNotFoundException { in addApk() method in BaseInstallMultiple