/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | UseEmbeddedDexTest.java | 46 new InstallMultiple().addFile(APK_CANONICAL).run(); in testCanonicalInstall() 51 new InstallMultiple().addFile(APK_CANONICAL).run(); in testIsolatedService() 58 new InstallMultiple().addFile(APK_DEX_COMPRESSED).runExpectingFailure(); in testBadInstallWithCompressedDex() 63 new InstallMultiple().addFile(APK_CANONICAL).addFile(APK_SPLIT_CANONICAL).run(); in testCanonicalInstallWithSplit() 68 new InstallMultiple().addFile(APK_CANONICAL).addFile(APK_SPLIT_COMPRESSED_DEX) in testBadInstallWithDexCompressedSplit() 74 new InstallMultiple().addFile(APK_CANONICAL).run(); in testCanonicalInstallWithBaseThenSplit() 75 new InstallMultiple().inheritFrom(PACKAGE_NAME).addFile(APK_SPLIT_CANONICAL).run(); in testCanonicalInstallWithBaseThenSplit() 80 new InstallMultiple().addFile(APK_CANONICAL).run(); in testBadInstallWithBaseThenDexCompressedSplit() 81 new InstallMultiple().inheritFrom(PACKAGE_NAME).addFile(APK_SPLIT_COMPRESSED_DEX) in testBadInstallWithBaseThenDexCompressedSplit()
|
D | ApkVerityInstallTest.java | 112 new InstallMultiple(incremental) in testInstallBase() 124 InstallMultiple install = new InstallMultiple(incremental) in testInstallBaseWithWrongSignature() 138 new InstallMultiple(incremental) in testInstallBaseWithSplit() 152 new InstallMultiple(incremental) in testInstallBaseWithDm() 166 new InstallMultiple(incremental) in testInstallEverything() 185 new InstallMultiple(installIncremental) in testInstallSplitOnly() 191 new InstallMultiple(updateIncremental) in testInstallSplitOnly() 207 new InstallMultiple(installIncremental) in testInstallSplitOnlyMissingSignature() 213 InstallMultiple install = new InstallMultiple(updateIncremental) in testInstallSplitOnlyMissingSignature() 229 new InstallMultiple(installIncremental) in testInstallSplitOnlyWithoutBaseSignature() [all …]
|
D | SplitTests.java | 149 new InstallMultiple(instant).addFile(APK).run(); in testSingleBase() 164 new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).run(); in testDensitySingle() 179 … new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).addFile(APK_hdpi).addFile(APK_xhdpi) in testDensityAll() 199 new InstallMultiple(instant).addFile(APK).addFile(APK_mdpi).run(); in testDensityBest() 203 new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_xxhdpi).run(); in testDensityBest() 222 new InstallMultiple(instant).addFile(APK).addFile(APK_v7).run(); in testApi() 237 new InstallMultiple(instant).addFile(APK).addFile(APK_de).addFile(APK_fr).run(); in testLocale() 256 private InstallMultiple getInstallMultiple(boolean instant, boolean useNaturalAbi) { in getInstallMultiple() 257 final InstallMultiple installMultiple = new InstallMultiple(instant); in getInstallMultiple() 306 new InstallMultiple(instant, true).inheritFrom(PKG).addFile(apk).run(); in specifyAbiToTest() [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 | AppSecurityTests.java | 116 new InstallMultiple(instant).addFile(SIMPLE_APP_APK).run(); in testAppUpgradeDifferentCerts() 117 new InstallMultiple(instant).addFile(SIMPLE_APP_DIFF_CERT_APK) in testAppUpgradeDifferentCerts() 145 new InstallMultiple().addFile(APP_WITH_DATA_APK).run(); in testAppFailAccessPrivateData() 148 new InstallMultiple(instant).addFile(APP_ACCESS_DATA_APK).run(); in testAppFailAccessPrivateData() 174 new InstallMultiple(instant).addFile(APP_WITH_DATA_APK).run(); in testUninstallRemovesData() 180 new InstallMultiple(instant).addFile(APP_WITH_DATA_APK).run(); in testUninstallRemovesData() 215 new InstallMultiple(targetInstant).addFile(TARGET_INSTRUMENT_APK).run(); in testInstrumentationDiffCert() 216 new InstallMultiple(instrumentInstant).addFile(INSTRUMENT_DIFF_CERT_APK).run(); in testInstrumentationDiffCert() 246 new InstallMultiple().addFile(DECLARE_PERMISSION_APK).run(); in testPermissionDiffCert() 247 new InstallMultiple().addFile(DECLARE_PERMISSION_COMPAT_APK).run(); in testPermissionDiffCert() [all …]
|
D | AppDataIsolationTests.java | 122 new InstallMultiple().addFile(APPA_APK).run(); in testAppAbleToAccessItsDataAfterForceStop() 153 new InstallMultiple().addFile(APPA_APK).run(); in testAppAbleToAccessItsDataAfterReboot() 189 new InstallMultiple().addFile(APP_DIRECT_BOOT_A_APK).run(); in testDirectBootModeWorks() 190 new InstallMultiple().addFile(APPB_APK).run(); in testDirectBootModeWorks() 286 new InstallMultiple().addFile(APPA_APK).run(); in testAppNotAbleToAccessItsDataAfterReinstall() 292 new InstallMultiple().addFile(APPA_APK).run(); in testAppNotAbleToAccessItsDataAfterReinstall() 302 new InstallMultiple().addFile(APPA_APK).run(); in testNormalProcessCannotAccessOtherAppDataDir() 303 new InstallMultiple().addFile(APPB_APK).run(); in testNormalProcessCannotAccessOtherAppDataDir() 310 new InstallMultiple().addFile(APP_SHARED_A_APK).run(); in testSharedAppAbleToAccessOtherAppDataDir() 311 new InstallMultiple().addFile(APP_SHARED_B_APK).run(); in testSharedAppAbleToAccessOtherAppDataDir() [all …]
|
D | BaseAppSecurityTest.java | 61 new InstallMultiple(instant) in installTestAppForUser() 90 protected class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in BaseAppSecurityTest 91 public InstallMultiple() { in InstallMultiple() method in BaseAppSecurityTest.InstallMultiple 94 public InstallMultiple(boolean instant) { in InstallMultiple() method in BaseAppSecurityTest.InstallMultiple 97 public InstallMultiple(boolean instant, boolean grantPermissions) { in InstallMultiple() method in BaseAppSecurityTest.InstallMultiple
|
D | IsolatedSplitsTests.java | 96 new InstallMultiple(instant).addFile(APK_BASE).run(); in testInstallBase() 113 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_BASE_pl).run(); in testInstallBaseAndConfigSplit() 130 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_B).runExpectingFailure(); in testInstallMissingDependency_usesSplit() 146 new InstallMultiple(instant).addFile(APK_BASE).addFile( in testInstallMissingDependency_configForSplit() 158 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).run(); in testInstallOneFeatureSplit() 179 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_BASE_pl) in testInstallOneFeatureSplitAndConfigSplits() 194 new InstallMultiple(instant) in testInstallDependentFeatureSplits() 219 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_FEATURE_B) in testInstallDependentFeatureSplitsAndConfigSplits() 236 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_FEATURE_B) in testInstallAllFeatureSplits() 262 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 | OverlayHostTest.java | 73 new InstallMultiple().addFile(TEST_APP_APK).run(); in setUp() 125 new InstallMultiple().addFile(TARGET_OVERLAYABLE_APK).run(); 126 new InstallMultiple().addFile(overlayApk).run(); 146 new InstallMultiple().addFile(overlayApk).run(); 147 new InstallMultiple().addFile(targetApk).run(); 171 new InstallMultiple().addFile(OVERLAY_ANDROID_APK).runExpectingFailure(); 195 new InstallMultiple().addFile(OVERLAY_ALL_PIE_APK).runExpectingFailure(); 221 new InstallMultiple().addFile(TARGET_NO_OVERLAYABLE_APK).run(); 222 new InstallMultiple().addFile(
|
D | ReadableSettingsFieldsTest.java | 51 new InstallMultiple().addFile(TEST_APK).run(); in setUp() 121 new InstallMultiple().addFile(TEST_APK_TEST_ONLY).addArg("-t").run(); in testSecureHiddenSettingsKeysReadableWhenTestOnly() 129 new InstallMultiple().addFile(TEST_APK_TEST_ONLY).addArg("-t").run(); in testSystemHiddenSettingsKeysReadableWhenTestOnly() 137 new InstallMultiple().addFile(TEST_APK_TEST_ONLY).addArg("-t").run(); in testGlobalHiddenSettingsKeysReadableWhenTestOnly()
|
D | PackageResolutionHostTest.java | 60 new InstallMultiple(instant) in testResolveOrderedActivity() 78 new InstallMultiple(instant) in testResolveOrderedService() 96 new InstallMultiple(instant) in testResolveOrderedReceiver()
|
D | DirectBootHostTest.java | 136 new InstallMultiple().addFile(APK).run(); in doDirectBootTest() 137 new InstallMultiple().addFile(OTHER_APK).run(); in doDirectBootTest() 222 private class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in DirectBootHostTest 223 public InstallMultiple() { in InstallMultiple() method in DirectBootHostTest.InstallMultiple
|
D | AdoptableHostTest.java | 162 new InstallMultiple().useNaturalAbi().addFile(APK).addFile(apk).run(); in testApps() 228 new InstallMultiple().addFile(APK).run(); in verifyPrimaryInternal() 282 new InstallMultiple().addFile(APK).run(); in verifyPrimaryPhysical() 329 new InstallMultiple().locationAuto().forceUuid(vol.uuid) in testPackageInstaller() 335 new InstallMultiple().locationAuto().inheritFrom(PKG) in testPackageInstaller() 358 new InstallMultiple().locationAuto().forceUuid(vol.uuid).addFile(APK).run(); in testEjected() 369 new InstallMultiple().locationInternalOnly().addFile(APK).run(); in testEjected() 520 private class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in AdoptableHostTest 521 public InstallMultiple() { in InstallMultiple() method in AdoptableHostTest.InstallMultiple
|
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 | SharedUserIdTest.java | 65 new InstallMultiple().addFile(SHARED_UI_APK).run(); in testSharedUidDifferentCerts() 67 new InstallMultiple().addFile(SHARED_UI_DIFF_CERT_APK) in testSharedUidDifferentCerts()
|
D | LocationPolicyTest.java | 47 new InstallMultiple(true).addFile(TEST_APK).run(); in testLocationPolicyPermissions()
|
D | ResumeOnRebootHostTest.java | 536 new InstallMultiple().addFile(APK).run(); in installTestPackages() 537 new InstallMultiple().addFile(OTHER_APK).run(); in installTestPackages() 615 private class InstallMultiple extends BaseInstallMultiple<InstallMultiple> { class in ResumeOnRebootHostTest 616 public InstallMultiple() { in InstallMultiple() method in ResumeOnRebootHostTest.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 | AuthBoundKeyTest.java | 56 new InstallMultiple().addFile(APK).run(); in useInvalidatedAuthBoundKey()
|
D | PackageSetInstallerTest.kt | 125 InstallMultiple(false, false) in runTest() 136 InstallMultiple(false, false) in runTest()
|
/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/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | InstallDexMetadataHostTest.java | 150 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile, mDmBaseFsvSigFile).run(); in testInstallDmForBase() 161 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile, mDmBaseFsvSigFile) in testInstallDmForBaseAndSplit() 173 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile, mDmBaseFsvSigFile) in testInstallDmForBaseButNoSplit() 185 new InstallMultiple().addApk(mApkBaseFile) in testInstallDmForSplitButNoBase() 197 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile, mDmBaseFsvSigFile) in testUpdateDm() 204 new InstallMultiple().addArg("-r").addApk(mApkBaseFile) in testUpdateDm() 211 new InstallMultiple().addArg("-r").addApk(mApkBaseFile) in testUpdateDm() 225 new InstallMultiple().addApk(mApkBaseFile).addDm(mDmBaseFile, mDmBaseFsvSigFile) in testInstallDmForBaseButNoSplitWithNoMatchingDm() 337 new InstallMultiple() in testProfileSnapshotAfterInstall() 370 new InstallMultiple().addApk(mApkBaseFileWithVdex) in testInstallDmForBaseWithVdex() [all …]
|