本页包含 Android 15 中引入的 CTS 重要变更。
CTS 功能
Android 15 包含关于以下 CTS 功能的全新文档和更新版文档:
领域 | 功能 | 说明 | 新增/更新 |
---|---|---|---|
测试模块 | 将 CtsWindowManagerDeviceTestCases 分为多个模块
|
分为多个模块进行测试以减少测试错误,并将运行时从 1 小时 30 分钟缩短至将近 55 分钟。 | 更新 |
测试模块 | 将 CtsDynamicMimeHostTestCases 分为多个模块
|
不适用 | 更新 |
测试基础架构 | Mainline CTS 的自动动态下载 | 动态下载 Mainline CTS 并自动集成到 CTS 软件包中执行测试,以适当改进通过 CTS 针对相应的 Mainline 模块版本进行的兼容性测试。 | 新增 |
测试基础架构 | 引入了两个新的基准设置 | CTS/VTS/GTS 中已启用的两个新的基准设置:
|
新增 |
CTS 验证程序功能
Android 15 包含关于以下 CTS 验证程序功能的全新文档和更新版文档:
领域 | 功能 | 说明 | 新增/更新 |
---|---|---|---|
CTS-V 测试类 | 废弃了 CTS 验证程序中的 USB Audio Play 和 USB Audio Record 测试。 | 这些测试已被 Audio Datapaths USB 测试中经过改进的测试取代。 | 更新 |
CTS-V 测试类 | 新的 ITS 测试:LowLightBoostTest
|
在昏暗照明条件下测试弱光增强模式。 | 新增 |
CTS-V 测试类 | 新的 CTS 验证程序测试 Sharesheet ChooserResult 类
|
验证 Android 15 中 Sharesheet ChooserResult 类的功能。
|
新增 |
CTS 模块
测试模块和测试用例的数量如下:
- 约 1389 个模块,具体取决于设备
- 约 600 万个测试用例,涉及 2 个 ABI
Android 15 中总共添加了 191 个新模块,总共移除了 5 个模块。
新模块
- ABI:arm64-v8a
添加了测试模块名称 | 免安装应用测试 |
---|---|
CtsAddApkToApexHostTestCases
|
|
CtsAdoptableHostTestCases
|
|
CtsADPFHostTestCases
|
|
CtsAdServicesCobaltTest
|
|
CtsAdServicesCustomAudienceTests
|
|
CtsAdServicesExtDataStorageServiceTest
|
|
CtsApkVerityInstallHostTestCases
|
|
CtsAppCloningContactsSharingTest
|
|
CtsAppCloningIntentRedirectionTest
|
|
CtsAppDataIsolationHostTestCases
|
|
CtsAppFgsStartTestCases
|
|
CtsAppSearchTestCases[run-on-work-profile]
|
|
CtsAppStartTestCases
|
|
CtsAppStartTestCasesYes
|
是 |
CtsBRSTestCases
|
|
CtsCameraHeadlessSystemUserTestCases
|
|
CtsCompanionDeviceManagerMultiDeviceTestCases
|
|
CtsConnectivityMultiDevicesTestCases
|
|
CtsContactKeysManagerTestCases
|
|
CtsContactKeysProviderPrivilegedApp
|
|
CtsContextualSearchServiceTestCases
|
|
CtsCorruptApkHostTestCases
|
|
CtsCrashDetailHostTestCases
|
|
CtsCredentialManagerHostSideTestCases
|
|
CtsDeleteKeepDataHostTestCases
|
|
CtsDevicePolicyTestCases[run-on-private-profile]
|
|
CtsDirectBootHostTestCases
|
|
CtsDropBoxManagerTestCasesAPI34
|
|
CtsDynamicMimeChangedGroupAppUpdateHostTestCases
|
|
CtsDynamicMimeComplexFilterClearGroupRebootHostTestCases
|
|
CtsDynamicMimeComplexFilterRebootHostTestCases
|
|
CtsDynamicMimeIndependentGroupRebootHostTestCases
|
|
CtsDynamicMimePreferredActivitiesHostTestCases
|
|
CtsDynamicMimeRemoveRebootHostTestCases
|
|
CtsDynamicMimeSingleAppGroupRebootHostTestCases
|
|
CtsDynamicMimeSingleAppRebootHostTestCases
|
|
CtsExerciseRouteTestCases
|
|
CtsFgsTimeoutTestCases
|
|
CtsFgsTimeoutTestCasesYes
|
是 |
CtsFingerprintTestCases
|
|
CtsGetBindingUidImportanceTest
|
|
CtsHealthFitnessDeviceTestCasesHistoricAccessLimitWithPermission
|
|
CtsHealthFitnessDeviceTestCasesNotAllPermissionsAreGranted
|
|
CtsHealthFitnessDeviceTestCasesRateLimiter
|
|
CtsHealthFitnessShowMigrationInfoIntentAbsentTests
|
|
CtsHostsideNetworkPolicyTests
|
|
CtsHostsideNetworkPolicyTestsYes
|
是 |
CtsInputHostTestCases
|
|
CtsInputMethodInstallTestCases
|
|
CtsInputMethodInstallTestCasesYes
|
是 |
CtsInstantAppsHostTestCases
|
|
CtsLegacyNotification34TestCases
|
|
CtsMediaCUJLargeTest
|
|
CtsMediaCUJSmallTest
|
|
CtsMediaCUJSmallTestYes
|
是 |
CtsMediaEditingTestCases
|
|
CtsMediaProjectionSDK33TestCases
|
|
CtsMediaProjectionSDK33TestCasesYes
|
是 |
CtsMediaProjectionSDK34TestCases
|
|
CtsMediaProjectionSDK34TestCasesYes
|
是 |
CtsMediaProviderTestCases
|
|
CtsMemunreachableTestCases
|
|
CtsMultiUserTestCases[run-on-private-profile]
|
|
CtsNetSecConfigCertificateTransparencyDefaultTestCases
|
|
CtsNetSecConfigCertificateTransparencyDefaultTestCasesYes
|
是 |
CtsNetSecConfigCertificateTransparencyTestCases
|
|
CtsNetSecConfigCertificateTransparencyTestCasesYes
|
是 |
CtsNotificationExtendersTestCases
|
|
CtsOnDeviceIntelligenceServiceTestCases
|
|
CtsOnDevicePersonalizationConfigTests
|
|
CtsOnDevicePersonalizationE2ETests
|
|
CtsOverlayHostTestCases
|
|
CtsPackageInstallerCUJTestCases
|
|
CtsPackageManagerHostTestCases
|
|
CtsPackageManagerIncrementalStatsHostTestCases
|
|
CtsPackageManagerTestCases
|
|
CtsPackageManagerTestCasesYes
|
是 |
CtsPdfModuleTestCases
|
|
CtsPdfModuleTestCasesYes
|
是 |
CtsPendingIntentApi33TestCases
|
|
CtsPendingIntentApi33TestCasesYes
|
是 |
CtsPermissionMultiDeviceTestCases
|
|
CtsPermissionsHostTestCases
|
|
CtsPermissionUiTestCases
|
|
CtsProfilingModuleTests
|
|
CtsResourcesHostTestCases
|
|
CtsResourcesTestCases
|
|
CtsResourcesTestCasesYes
|
是 |
CtsResumeOnRebootHostTestCases
|
|
CtsRollbackManagerTestCases
|
|
CtsScopedStorageBypassDatabaseOperationsTest
|
|
CtsScopedStorageGeneralTest
|
|
CtsScopedStorageRedactUriTest
|
|
CtsSecureElementTestCases
|
|
CtsSensitiveContentProtectionTestCases
|
|
CtsSensitiveContentProtectionTestCasesYes
|
是 |
CtsSettingsTestCases[run-on-work-profile]
|
|
CtsStorageAccessTestCases
|
|
CtsStorageHostTestCases
|
|
CtsSystemApiAnnotationTestCases
|
|
CtsTelecomCujTestCases
|
|
CtsTelephonyCujTestCases
|
|
CtsTelephonyCujTestCasesYes
|
是 |
CtsUseEmbeddedDexHostTestCases
|
|
CtsUserRestrictionTestCases
|
|
CtsUserRestrictionTestCases[run-on-work-profile]
|
|
CtsUwbMultiDeviceTestCase_FiraRangingTests
|
|
CtsVibratorTestCases
|
|
CtsVibratorTestCasesYes
|
是 |
CtsVibratorTestCases[run-on-clone-profile]
|
|
CtsVibratorTestCases[run-on-private-profile]
|
|
CtsVibratorTestCases[run-on-secondary-user]
|
|
CtsVibratorTestCases[run-on-work-profile]
|
|
CtsVideoQualityFloorHostTestCases
|
|
CtsVirtualDevicesAppLaunchTestCases
|
|
CtsVirtualDevicesAudioTestCases
|
|
CtsVirtualDevicesCameraCtsTestCases
|
|
CtsVirtualDevicesCameraTestCases
|
|
CtsVirtualDevicesSensorTestCases
|
|
CtsWifiNonUpdatableTestCases
|
|
CtsWindowManagerDeviceActivity
|
|
CtsWindowManagerDeviceAm
|
|
CtsWindowManagerDeviceAnimations
|
|
CtsWindowManagerDeviceBackNavigation
|
|
CtsWindowManagerDeviceDisplay
|
|
CtsWindowManagerDeviceIme
|
|
CtsWindowManagerDeviceInput
|
|
CtsWindowManagerDeviceInsets
|
|
CtsWindowManagerDeviceKeyguard
|
|
CtsWindowManagerDeviceMultiDisplay
|
|
CtsWindowManagerDeviceOther
|
|
CtsWindowManagerDeviceTaskFragment
|
|
CtsWindowManagerDeviceWindow
|
|
CtsWindowManagerTestCases
|
|
CtsWindowManagerTestCasesYes
|
是 |
MicrodroidTestAppNoInternetPerm
|
|
MultiDeviceRangingTestCase_Uwb
|
新的 Mainline 相关 CTS 模块
添加了测试模块名称 | 免安装应用测试 |
MctsAppSecurityHostTestCases
|
|
MctsMediaBetterTogetherTestCases
|
|
MctsMediaBetterTogetherTestCasesYes
|
是 |
MctsMediaCodecTestCases
|
|
MctsMediaCodecTestCasesYes
|
是 |
MctsMediaDecoderTestCases
|
|
MctsMediaEncoderTestCases
|
|
MctsMediaExtractorTestCases
|
|
MctsMediaMiscTestCases
|
|
MctsMediaMiscTestCasesYes
|
是 |
MctsMediaMuxerTestCases
|
|
MctsMediaParserTestCases
|
|
MctsMediaPlayerTestCases
|
|
MctsMediaRecorderTestCases
|
|
MctsMediaStressTestCases
|
|
MctsMediaTranscodingTestCases
|
|
MctsMediaV2TestCases
|
已移除的模块
已删除的测试模块名称 | ABI | 免安装应用测试 |
---|---|---|
CtsLaunchNonExportedComponentsTestCases
|
arm64-v8a
|
|
CtsLegacyNotification20TestCases
|
arm64-v8a
|
|
CtsPermission3TestCases
|
arm64-v8a
|
|
CtsStrictJavaPackagesTestCases
|
arm64-v8a
|
|
CtsTareTestCases
|
arm64-v8a
|
|
CtsWindowManagerDeviceTestCases
|
arm64-v8a
|
|
libnativeloader_test
|
arm64-v8a
|