/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | UseEmbeddedDexTest.java | 59 new InstallMultiple().addFile(APK_CANONICAL).run(); in testCanonicalInstall() 65 new InstallMultiple().addFile(APK_CANONICAL_PER_PROCESS).run(); in testCanonicalInstall_perProcess() 70 new InstallMultiple().addFile(APK_CANONICAL).run(); in testIsolatedService() 78 new InstallMultiple().addFile(APK_CANONICAL_PER_PROCESS).run(); in testIsolatedService_perProcess() 85 new InstallMultiple().addFile(APK_DEX_COMPRESSED).runExpectingFailure(); in testBadInstallWithCompressedDex() 91 new InstallMultiple().addFile(APK_DEX_COMPRESSED_PER_PROCESS).runExpectingFailure(); in testBadInstallWithCompressedDex_perProcess() 96 new InstallMultiple().addFile(APK_CANONICAL).addFile(APK_SPLIT_CANONICAL).run(); in testCanonicalInstallWithSplit() 102 new InstallMultiple().addFile(APK_CANONICAL_PER_PROCESS).addFile(APK_SPLIT_CANONICAL).run(); in testCanonicalInstallWithSplit_perProcess() 107 new InstallMultiple().addFile(APK_CANONICAL).addFile(APK_SPLIT_COMPRESSED_DEX) in testBadInstallWithDexCompressedSplit() 114 new InstallMultiple().addFile(APK_CANONICAL_PER_PROCESS).addFile(APK_SPLIT_COMPRESSED_DEX) in testBadInstallWithDexCompressedSplit_perProcess() [all …]
|
D | ApkVerityInstallTest.java | 122 new InstallMultiple(incremental) in testInstallBase() 134 InstallMultiple install = new InstallMultiple(incremental) in testInstallBaseWithWrongSignature() 148 new InstallMultiple(incremental) in testInstallBaseWithSplit() 163 new InstallMultiple(incremental) in testInstallBaseWithDm() 178 new InstallMultiple(incremental) in testInstallEverything() 197 new InstallMultiple(installIncremental) in testInstallSplitOnly() 203 new InstallMultiple(updateIncremental) in testInstallSplitOnly() 219 new InstallMultiple(installIncremental) in testInstallSplitOnlyMissingSignature() 225 InstallMultiple install = new InstallMultiple(updateIncremental) in testInstallSplitOnlyMissingSignature() 241 new InstallMultiple(installIncremental) in testInstallSplitOnlyWithoutBaseSignature() [all …]
|
D | SplitTests.java | 238 new InstallMultiple(instant).addFile(APK).run(); in testSingleBase() 253 new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).run(); in testDensitySingle() 268 … new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).addFile(APK_hdpi).addFile(APK_xhdpi) in testDensityAll() 288 new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).run(); in testDensityBest() 292 new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_xxhdpi).run(); in testDensityBest() 311 new InstallMultiple(instant).addFile(APK).addFile(APK_v7).run(); in testApi() 326 new InstallMultiple(instant).addFile(APK).addFile(APK_de).addFile(APK_fr).run(); in testLocale() 345 private InstallMultiple getInstallMultiple(boolean instant, boolean useNaturalAbi) { in getInstallMultiple() 346 final InstallMultiple installMultiple = new InstallMultiple(instant); in getInstallMultiple() 408 new InstallMultiple(instant, true).inheritFrom(PKG).addFile(apk).run(); in specifyAbiToTest() [all …]
|
D | AppSecurityTests.java | 136 new InstallMultiple(instant).addFile(SIMPLE_APP_APK).run(); in testAppUpgradeDifferentCerts() 137 new InstallMultiple(instant).addFile(SIMPLE_APP_DIFF_CERT_APK) in testAppUpgradeDifferentCerts() 165 new InstallMultiple().addFile(APP_WITH_DATA_APK).run(); in testAppFailAccessPrivateData() 168 new InstallMultiple(instant).addFile(APP_ACCESS_DATA_APK).run(); in testAppFailAccessPrivateData() 194 new InstallMultiple(instant).addFile(APP_WITH_DATA_APK).run(); in testUninstallRemovesData() 200 new InstallMultiple(instant).addFile(APP_WITH_DATA_APK).run(); in testUninstallRemovesData() 235 new InstallMultiple(targetInstant).addFile(TARGET_INSTRUMENT_APK).run(); in testInstrumentationDiffCert() 236 new InstallMultiple(instrumentInstant).addFile(INSTRUMENT_DIFF_CERT_APK).run(); in testInstrumentationDiffCert() 266 new InstallMultiple().addFile(DECLARE_PERMISSION_APK).run(); in testPermissionDiffCert() 267 new InstallMultiple().addFile(DECLARE_PERMISSION_COMPAT_APK).run(); in testPermissionDiffCert() [all …]
|
D | MajorVersionTest.java | 63 new InstallMultiple(instant).addFile(APK_000000000000ffff).run(); in testInstallMinorVersion() 79 new InstallMultiple(instant).addFile(APK_000000ff00000000).run(); in testInstallMajorVersion() 95 new InstallMultiple(instant).addFile(APK_000000000000ffff).run(); in testInstallUpdateAcrossMinorMajorVersion() 98 new InstallMultiple(instant).addFile(APK_00000000ffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion() 101 new InstallMultiple(instant).addFile(APK_000000ff00000000).run(); in testInstallUpdateAcrossMinorMajorVersion() 104 new InstallMultiple(instant).addFile(APK_000000ffffffffff).run(); in testInstallUpdateAcrossMinorMajorVersion() 120 new InstallMultiple(instant).addFile(APK_000000ffffffffff).run(); in testInstallDowngradeAcrossMajorMinorVersion() 123 new InstallMultiple(instant).addFile(APK_00000000ffffffff) in testInstallDowngradeAcrossMajorMinorVersion() 127 new InstallMultiple(instant).addFile(APK_000000ff00000000) in testInstallDowngradeAcrossMajorMinorVersion() 131 new InstallMultiple(instant).addFile(APK_000000000000ffff) in testInstallDowngradeAcrossMajorMinorVersion()
|
D | AppDataIsolationTests.java | 120 new InstallMultiple().addFile(APPA_APK).run(); in testAppAbleToAccessItsDataAfterForceStop() 151 new InstallMultiple().addFile(APPA_APK).run(); in testAppAbleToAccessItsDataAfterReboot() 187 new InstallMultiple().addFile(APP_DIRECT_BOOT_A_APK).run(); in testDirectBootModeWorks() 188 new InstallMultiple().addFile(APPB_APK).run(); in testDirectBootModeWorks() 269 new InstallMultiple().addFile(APPA_APK).run(); in testAppNotAbleToAccessItsDataAfterReinstall() 275 new InstallMultiple().addFile(APPA_APK).run(); in testAppNotAbleToAccessItsDataAfterReinstall() 285 new InstallMultiple().addFile(APPA_APK).run(); in testNormalProcessCannotAccessOtherAppDataDir() 286 new InstallMultiple().addFile(APPB_APK).run(); in testNormalProcessCannotAccessOtherAppDataDir() 293 new InstallMultiple().addFile(APP_SHARED_A_APK).run(); in testSharedAppAbleToAccessOtherAppDataDir() 294 new InstallMultiple().addFile(APP_SHARED_B_APK).run(); in testSharedAppAbleToAccessOtherAppDataDir() [all …]
|
D | OverlayHostTest.java | 82 new InstallMultiple().addFile(TEST_APP_APK).run(); in setUp() 134 new InstallMultiple().addFile(TARGET_OVERLAYABLE_APK).run(); 135 new InstallMultiple().addFile(overlayApk).run(); 155 new InstallMultiple().addFile(overlayApk).run(); 156 new InstallMultiple().addFile(targetApk).run(); 186 new InstallMultiple().addFile(OVERLAY_ANDROID_APK).runExpectingFailure(); 210 new InstallMultiple().addFile(OVERLAY_ALL_PIE_APK).runExpectingFailure(); 236 new InstallMultiple().addFile(TARGET_NO_OVERLAYABLE_APK).run(); 237 new InstallMultiple().addFile( 337 new InstallMultiple().addFile(OVERLAY_ALL_APK).run(); [all …]
|
D | BaseAppSecurityTest.java | 60 new InstallMultiple(instant) in installTestAppForUser() 89 protected class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in BaseAppSecurityTest 90 public InstallMultiple() { in InstallMultiple() method in BaseAppSecurityTest.InstallMultiple 93 public InstallMultiple(boolean instant) { in InstallMultiple() method in BaseAppSecurityTest.InstallMultiple 96 public InstallMultiple(boolean instant, boolean grantPermissions) { in InstallMultiple() method in BaseAppSecurityTest.InstallMultiple
|
D | ReadableSettingsFieldsTest.java | 54 new InstallMultiple().addFile(TEST_APK).run(); in setUp() 124 new InstallMultiple().addFile(TEST_APK_TEST_ONLY).addArg("-t").run(); in testSecureHiddenSettingsKeysReadableWhenTestOnly() 132 new InstallMultiple().addFile(TEST_APK_TEST_ONLY).addArg("-t").run(); in testSystemHiddenSettingsKeysReadableWhenTestOnly() 140 new InstallMultiple().addFile(TEST_APK_TEST_ONLY).addArg("-t").run(); in testGlobalHiddenSettingsKeysReadableWhenTestOnly() 148 new InstallMultiple().addFile(TEST_APK_TARGET_S).run(); in testSettingsKeysNotReadableForAfterR() 156 new InstallMultiple().addFile(TEST_APK_TARGET_R).run(); in testSettingsKeysReadableForRMinus() 159 new InstallMultiple().addFile(TEST_APK_TARGET_Q).run(); in testSettingsKeysReadableForRMinus()
|
D | IsolatedSplitsTests.java | 98 new InstallMultiple(instant).addFile(APK_BASE).run(); in testInstallBase() 115 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_BASE_pl).run(); in testInstallBaseAndConfigSplit() 132 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_B).runExpectingFailure(); in testInstallMissingDependency_usesSplit() 148 new InstallMultiple(instant).addFile(APK_BASE).addFile( in testInstallMissingDependency_configForSplit() 160 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).run(); in testInstallOneFeatureSplit() 181 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_BASE_pl) in testInstallOneFeatureSplitAndConfigSplits() 196 new InstallMultiple(instant) in testInstallDependentFeatureSplits() 221 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_FEATURE_B) in testInstallDependentFeatureSplitsAndConfigSplits() 238 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_FEATURE_B) in testInstallAllFeatureSplits() 264 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_FEATURE_B) in testInstallAllFeatureSplitsAndConfigSplits() [all …]
|
D | UseProcessTest.java | 69 new InstallMultiple(instant).addFile(APK_SUCCESS).run(); in testInstallUsePackageSuccess() 86 new InstallMultiple(instant).addFile(APK_FAIL_APPLICATION).runExpectingFailure( in testInstallUsePackageFailApplication() 103 new InstallMultiple(instant).addFile(APK_FAIL_ACTIVITY).runExpectingFailure( in testInstallUsePackageFailActivity() 120 new InstallMultiple(instant).addFile(APK_FAIL_SERVICE).runExpectingFailure( in testInstallUsePackageFailService() 137 new InstallMultiple(instant).addFile(APK_FAIL_RECEIVER).runExpectingFailure( in testInstallUsePackageFailReceiver() 154 new InstallMultiple(instant).addFile(APK_FAIL_PROVIDER).runExpectingFailure( in testInstallUsePackageFailProvider()
|
D | DirectBootHostTest.java | 112 new InstallMultiple().addFile(APK).run(); in doDirectBootTest() 113 new InstallMultiple().addFile(OTHER_APK).run(); in doDirectBootTest() 181 private class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in DirectBootHostTest 182 public InstallMultiple() { in InstallMultiple() method in DirectBootHostTest.InstallMultiple
|
D | PackageResolutionHostTest.java | 60 new InstallMultiple(instant) in testResolveOrderedActivity() 78 new InstallMultiple(instant) in testResolveOrderedService() 96 new InstallMultiple(instant) in testResolveOrderedReceiver()
|
D | SessionReferrerUriTest.java | 44 new InstallMultiple().addFile(SESSION_INSPECTOR_A_APK).run(); in setup() 45 new InstallMultiple().addFile(SESSION_INSPECTOR_B_APK).run(); in setup()
|
D | AdoptableHostTest.java | 164 new InstallMultiple().useNaturalAbi().addFile(APK).addFile(apk).run(); in testApps() 230 new InstallMultiple().addFile(APK).run(); in verifyPrimaryInternal() 284 new InstallMultiple().addFile(APK).run(); in verifyPrimaryPhysical() 331 new InstallMultiple().locationAuto().forceUuid(vol.uuid) in testPackageInstaller() 337 new InstallMultiple().locationAuto().inheritFrom(PKG) in testPackageInstaller() 360 new InstallMultiple().locationAuto().forceUuid(vol.uuid).addFile(APK).run(); in testEjected() 371 new InstallMultiple().locationInternalOnly().addFile(APK).run(); in testEjected() 527 private class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in AdoptableHostTest 528 public InstallMultiple() { in InstallMultiple() method in AdoptableHostTest.InstallMultiple
|
D | SharedUserIdTest.java | 67 new InstallMultiple().addFile(SHARED_UI_APK).run(); in testSharedUidDifferentCerts() 69 new InstallMultiple().addFile(SHARED_UI_DIFF_CERT_APK) in testSharedUidDifferentCerts()
|
D | LocationPolicyTest.java | 47 new InstallMultiple(true).addFile(TEST_APK).run(); in testLocationPolicyPermissions()
|
D | SettingsProviderInvalidKeyTest.java | 37 new InstallMultiple().addFile(TEST_APK).run(); in setUp()
|
D | StorageHostTest.java | 87 new InstallMultiple().addFile(APK_C).addFile(DM_C).disableFileNamePrefix().run(); in setUp() 372 private class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in StorageHostTest 373 public InstallMultiple() { in InstallMultiple() method in StorageHostTest.InstallMultiple
|
D | EphemeralTest.java | 599 new InstallMultiple(false /* instant */) in installApp() 605 new InstallMultiple(false /* instant */) in installApp() 612 new InstallMultiple(true /* instant */) in installEphemeralApp() 618 new InstallMultiple(true /* instant */) in installEphemeralApp() 625 new InstallMultiple(false /* instant */) in installFullApp()
|
D | ResumeOnRebootHostTest.java | 490 new InstallMultiple().addFile(APK).run(); in installTestPackages() 491 new InstallMultiple().addFile(OTHER_APK).run(); in installTestPackages() 574 private class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in ResumeOnRebootHostTest 575 public InstallMultiple() { in InstallMultiple() method in ResumeOnRebootHostTest.InstallMultiple
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | UsesLibraryHostTest.java | 60 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() 84 protected class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in UsesLibraryHostTest 85 public InstallMultiple() { in InstallMultiple() method in UsesLibraryHostTest.InstallMultiple 88 public InstallMultiple(boolean instant) { in InstallMultiple() method in UsesLibraryHostTest.InstallMultiple
|
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/ |
D | ClassloaderSplitsTest.java | 70 new InstallMultiple(instant).addApk(APK_BASE).run(); in testBaseClassLoader() 85 new InstallMultiple(instant).addApk(APK_BASE).addApk(APK_FEATURE_A).run(); in testFeatureAClassLoader() 101 new InstallMultiple(instant) in testFeatureBClassLoader() 114 new InstallMultiple(instant) in testReceiverClassLoaders() 131 new InstallMultiple(instant) in testServiceClassLoaders() 138 protected class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in ClassloaderSplitsTest 139 public InstallMultiple() { in InstallMultiple() method in ClassloaderSplitsTest.InstallMultiple 142 public InstallMultiple(boolean instant) { in InstallMultiple() method in ClassloaderSplitsTest.InstallMultiple
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | InstallMultiple.java | 31 public class InstallMultiple { class 38 public InstallMultiple addArg(String arg) { in addArg() 46 public InstallMultiple addApk(String apk) { in addApk() 55 public InstallMultiple inheritFrom(String packageName) { in inheritFrom() 63 public InstallMultiple dontKill() { in dontKill()
|
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | InstallDexMetadataHostTest.java | 128 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile).run(); in testInstallDmForBase() 139 new InstallMultiple() in testInstallDmForBaseAndSplit() 155 new InstallMultiple() in testInstallDmForBaseButNoSplit() 170 new InstallMultiple() in testInstallDmForSplitButNoBase() 185 new InstallMultiple() in testUpdateDm() 196 new InstallMultiple().addArg("-r").addApk(mApkBaseFile) in testUpdateDm() 203 new InstallMultiple() in testUpdateDm() 221 new InstallMultiple() in testInstallDmForBaseButNoSplitWithNoMatchingDm() 339 new InstallMultiple().addApk(mApkBaseFile).addDm(dmBaseFile, dmName).run(); in testProfileSnapshotAfterInstall() 371 new InstallMultiple().addApk(mApkBaseFileWithVdex).addDm(mDmBaseFileWithVdex).run(); in testInstallDmForBaseWithVdex() [all …]
|