此页面包含 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 音频播放和 USB 音频录制测试。 | 这些测试已被音频数据路径 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 |