/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApkVerityInstallTest.java | 123 .addFile(BASE_APK) in testInstallBase() 124 .addFile(BASE_APK + FSV_SIG_SUFFIX) in testInstallBase() 135 .addFile(BAD_BASE_APK) in testInstallBaseWithWrongSignature() 136 .addFile(BAD_BASE_APK + FSV_SIG_SUFFIX); in testInstallBaseWithWrongSignature() 149 .addFile(BASE_APK) in testInstallBaseWithSplit() 150 .addFile(BASE_APK + FSV_SIG_SUFFIX) in testInstallBaseWithSplit() 151 .addFile(SPLIT_APK) in testInstallBaseWithSplit() 152 .addFile(SPLIT_APK + FSV_SIG_SUFFIX) in testInstallBaseWithSplit() 164 .addFile(BASE_APK) in testInstallBaseWithDm() 165 .addFile(BASE_APK + FSV_SIG_SUFFIX) in testInstallBaseWithDm() [all …]
|
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 | 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() 269 .addFile(APK_xxhdpi).run(); 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() 361 .addFile(APK) in testNativeSingle_assertFail() 362 .addFile(apk) in testNativeSingle_assertFail() [all …]
|
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() 182 .addFile(APK_FEATURE_A_pl).run(); in testInstallOneFeatureSplitAndConfigSplits() 197 .addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_FEATURE_B).run(); in testInstallDependentFeatureSplits() 221 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_A).addFile(APK_FEATURE_B) in testInstallDependentFeatureSplitsAndConfigSplits() 222 .addFile(APK_BASE_pl).addFile(APK_FEATURE_A_pl).addFile(APK_FEATURE_B_pl).run(); in testInstallDependentFeatureSplitsAndConfigSplits() [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 | 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 | 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 | PackageResolutionHostTest.java | 61 .addFile(TINY_APK) in testResolveOrderedActivity() 79 .addFile(TINY_APK) in testResolveOrderedService() 97 .addFile(TINY_APK) 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 | SharedUserIdTest.java | 67 new InstallMultiple().addFile(SHARED_UI_APK).run(); in testSharedUidDifferentCerts() 69 new InstallMultiple().addFile(SHARED_UI_DIFF_CERT_APK) in testSharedUidDifferentCerts()
|
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() 332 .addFile(APK).addFile(APK_mdpi).run(); in testPackageInstaller() 338 .addFile(APK_xxhdpi).run(); in testPackageInstaller() 360 new InstallMultiple().locationAuto().forceUuid(vol.uuid).addFile(APK).run(); in testEjected() 371 new InstallMultiple().locationInternalOnly().addFile(APK).run(); in testEjected()
|
D | LocationPolicyTest.java | 47 new InstallMultiple(true).addFile(TEST_APK).run(); in testLocationPolicyPermissions()
|
D | DirectBootHostTest.java | 112 new InstallMultiple().addFile(APK).run(); in doDirectBootTest() 113 new InstallMultiple().addFile(OTHER_APK).run(); in doDirectBootTest()
|
D | SettingsProviderInvalidKeyTest.java | 37 new InstallMultiple().addFile(TEST_APK).run(); in setUp()
|
D | EphemeralTest.java | 600 .addFile(apk) in installApp() 606 .addFile(apk) in installApp() 613 .addFile(apk) in installEphemeralApp() 619 .addFile(apk) in installEphemeralApp() 626 .addFile(apk) in installFullApp()
|
D | BaseAppSecurityTest.java | 61 .addFile(apk) in installTestAppForUser()
|
D | PackageSetInstallerTest.kt | 126 .addFile(TARGET_APK) in runTest() 137 .addFile(WHITELIST_APK) in runTest()
|
D | StorageHostTest.java | 87 new InstallMultiple().addFile(APK_C).addFile(DM_C).disableFileNamePrefix().run(); in setUp()
|
D | ResumeOnRebootHostTest.java | 490 new InstallMultiple().addFile(APK).run(); in installTestPackages() 491 new InstallMultiple().addFile(OTHER_APK).run(); in installTestPackages()
|
D | BaseInstallMultiple.java | 111 T addFile(String file) throws FileNotFoundException { in addFile() method in BaseInstallMultiple
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ChecksumsTest.java | 1512 session.addFile(LOCATION_DATA_APP, name, size, metadata.toByteArray(), null); in installApkWithChecksumsIncrementally()
|
D | PackageManagerShellCommandInstallTest.java | 1049 session.addFile(LOCATION_DATA_APP, "base.apk", 123, "123".getBytes(), null); in testRemoveFileApiV2()
|