此页面包含 Android 13 中引入的关键 CTS 更改。
CTS 功能
Android 13 包含以下 CTS 功能的新文档和更新文档。
特征 | 描述 | 添加/更新 |
---|---|---|
相机 ITS 更新 | 有关更改列表,请参阅Android T(AOSP 实验性)相机图像测试套件发行说明。 | 更新 |
Fused Presence 要求合规性验证 | 为存在校准要求添加了 CTS 验证程序测试。有关详细信息,请参阅 CDD 第 2.2.1、7.4.9 和 7.4.3 节。 | 添加 |
CTS 中的多设备测试 | Android 13 支持多设备测试。需要多个设备的测试会在 CTS 运行期间自动执行。 CTS 13 包括一些在使用分片时自动触发的多设备测试。虽然测试不需要对物理设置进行额外更改,但需要安装virtualenv 才能使测试正确运行。有关详细信息,请参阅多设备套件。 | 添加 |
Wifi AP 要求更新 | Android 13 增强了对同时连接到 STA+STA 的两个互联网提供 AP 的支持。对于这些可选功能,需要为具有两个 DBS AP (2.4GHz + 5GHz) 的 CTS 提供增强的 Wi-Fi 测试环境。可以对任何单个物理 DBS AP 进行编程以支持这两个逻辑 AP,例如带有 OpenWRT 的TPLink AC 1750 。详见Wi-Fi STA/STA 并发。 | 更新 |
CTS Verifier 中的 API 和 CDD 需求注释 | 为在 CTS 验证程序中强制执行 API 行为和 CDD 要求的测试添加了注释。 | 添加 |
开发者贡献了 CTS | 外部开发人员可以按照Developer-Powered CTS (CTS-D)博客文章中的指南为 CTS 和 CTS Verifier 贡献新的测试。 | 添加 |
自动折叠测试 | DeviceStateManager API 启用配置为在可折叠设备的不同设备状态上运行的备用模式选项的测试。测试执行基于设备中定义的显示折叠状态。有关详细信息,请参阅为备用模式运行 CTS 。 | 添加 |
基线设置 | 添加了两个通常默认采用的基线设置。在运行每个 CTS 测试模块之前,系统检查器会自动设置以下设备基线设置:
| 添加 |
CTS 测试质量改进 | 修复了某些测试的测试脆弱性并减少了较长的执行时间。 | 更新 |
CTS 模块
测试模块和测试用例的数量如下:
- ~1068 个模块,具体取决于设备
- 约 269 万个测试用例,超过 2 个 ABI
在 Android 13 中,一共新增了 119 个模块,一共移除了 19 个模块。有关详细信息,请参阅下表。
新模块
添加了测试模块名称 | ABI | 即时应用测试 |
---|---|---|
CtsAdServicesDeviceTestCases | arm64-v8a | |
CtsAdServicesDeviceTestCases[即时] | arm64-v8a | 是的 |
CtsAmbientContextServiceTestCases | arm64-v8a | |
CtsAndroidTestBase29ApiSignatureTestCases | arm64-v8a | |
CtsAndroidTestBase29ApiSignatureTestCases[即时] | arm64-v8a | 是的 |
CtsAndroidTestBaseUsesLibraryApiSignatureTestCases | arm64-v8a | |
CtsAndroidTestBaseUsesLibraryApiSignatureTestCases[即时] | arm64-v8a | 是的 |
CtsArtTestCases | arm64-v8a | |
CtsArtTestCases | armeabi-v7a | |
CtsArtTestCases[即时] | arm64-v8a | 是的 |
CtsBootDisplayModeTestCases | arm64-v8a | |
CtsBootDisplayModeTestCases[即时] | arm64-v8a | 是的 |
CtsCarBuiltinApiHostTestCases | arm64-v8a | |
CtsCarHostNonRecoverableTestCases | arm64-v8a | |
CtsCloudSearchServiceTestCases | arm64-v8a | |
CtsCompanionDeviceManagerCoreTestCases | arm64-v8a | |
CtsCompanionDeviceManagerCoreTestCases[即时] | arm64-v8a | 是的 |
CtsCompanionDeviceManagerNoCompanionServicesTestCases | arm64-v8a | |
CtsCompanionDeviceManagerNoCompanionServicesTestCases[即时] | arm64-v8a | 是的 |
CtsCompanionDeviceManagerUiAutomationTestCases | arm64-v8a | |
CtsCompanionDeviceManagerUiAutomationTestCases[即时] | arm64-v8a | 是的 |
CtsGameServiceTestCases | arm64-v8a | |
CtsGameServiceTestCases | armeabi-v7a | |
CtsGpuMetricsHostTestCases | arm64-v8a | |
CtsInputMethodTestCases32 | arm64-v8a | |
CtsInputMethodTestCases32[即时] | arm64-v8a | 是的 |
CtsKeystorePerformanceTestCases | arm64-v8a | |
CtsKeystorePerformanceTestCases | armeabi-v7a | |
CtsKeystoreWycheproof 测试用例 | arm64-v8a | |
CtsKeystoreWycheproof 测试用例 | armeabi-v7a | |
CtsLocaleConfigTestCases | arm64-v8a | |
CtsLocaleManagerHostTestCases | arm64-v8a | |
CtsLocaleManagerTestCases | arm64-v8a | |
CtsMediaAudio测试用例 | arm64-v8a | |
CtsMediaAudio测试用例 | armeabi-v7a | |
CtsMediaAudioTestCases[即时] | arm64-v8a | 是的 |
CtsMediaCodecTestCases | arm64-v8a | |
CtsMediaCodecTestCases | armeabi-v7a | |
CtsMediaCodecTestCases[即时] | arm64-v8a | 是的 |
CtsMediaDecoderTestCases | arm64-v8a | |
CtsMediaDecoderTestCases | armeabi-v7a | |
CtsMediaDecoderTestCases[即时] | arm64-v8a | 是的 |
CtsMediaDrmFrameworkTestCases | arm64-v8a | |
CtsMediaDrmFrameworkTestCases | armeabi-v7a | |
CtsMediaDrmFrameworkTestCases[即时] | arm64-v8a | 是的 |
CtsMediaEncoderTestCases | arm64-v8a | |
CtsMediaEncoderTestCases | armeabi-v7a | |
CtsMediaEncoderTestCases[即时] | arm64-v8a | 是的 |
CtsMediaExtractorTestCases | arm64-v8a | |
CtsMediaExtractorTestCases | armeabi-v7a | |
CtsMediaExtractorTestCases[即时] | arm64-v8a | 是的 |
CtsMediaMisc 测试用例 | arm64-v8a | |
CtsMediaMisc 测试用例 | armeabi-v7a | |
CtsMediaMiscTestCases[即时] | arm64-v8a | 是的 |
CtsMediaMuxer测试用例 | arm64-v8a | |
CtsMediaMuxer测试用例 | armeabi-v7a | |
CtsMediaMuxerTestCases[即时] | arm64-v8a | 是的 |
CtsMediaPlayer 测试用例 | arm64-v8a | |
CtsMediaPlayer 测试用例 | armeabi-v7a | |
CtsMediaPlayerTestCases[即时] | arm64-v8a | 是的 |
CtsMediaRecorderTestCases | arm64-v8a | |
CtsMediaRecorderTestCases | armeabi-v7a | |
CtsMediaRecorderTestCases[即时] | arm64-v8a | 是的 |
CtsMultiUserTestCases[运行在辅助用户] | arm64-v8a | |
CtsMultiUserTestCases [运行工作配置文件] | arm64-v8a | |
CtsNNAPIStatsdAtomHostTestCases | arm64-v8a | |
CtsNNAPIStatsdAtomHostTestCases | armeabi-v7a | |
CtsNNAPIStatsdAtomHostTestCases[即时] | arm64-v8a | 是的 |
CtsNativeNetPlatformTestCases | arm64-v8a | |
CtsNativeNetPlatformTestCases | armeabi-v7a | |
CtsNativeNetPlatformTestCases[即时] | arm64-v8a | 是的 |
CtsNearbyFastPair 测试用例 | arm64-v8a | |
CtsNetTestCasesMaxTargetSdk31 | arm64-v8a | |
CtsNetTestCasesMaxTargetSdk31[即时] | arm64-v8a | 是的 |
CtsOnDevicePersonalizationTestCases | arm64-v8a | |
CtsOnDevicePersonalizationTestCases[即时] | arm64-v8a | 是的 |
CtsOsTestCases [在辅助用户上运行] | arm64-v8a | |
CtsOsTestCases [运行工作配置文件] | arm64-v8a | |
CtsPackageSettingHostTestCases | arm64-v8a | |
CtsPackageSettingHostTestCases | armeabi-v7a | |
CtsPersistentDataBlockManagerTestCases | arm64-v8a | |
CtsPersistentDataBlockManagerTestCases | armeabi-v7a | |
CtsPhotoPickerTest | arm64-v8a | |
CtsPhotoPickerTest [在辅助用户上运行] | arm64-v8a | |
CtsPhotoPickerTest [在工作配置文件上运行] | arm64-v8a | |
CtsProcessTest | arm64-v8a | |
CtsSafetyCenter 测试用例 | arm64-v8a | |
CtsSelinuxTargetSdk30TestCases | arm64-v8a | |
CtsSettingsAPITestCases | arm64-v8a | |
CtsSettingsAPITestCases[即时] | arm64-v8a | 是的 |
CtsSharedUserMigrationTestCases | arm64-v8a | |
CtsSkQPTestCases | arm64-v8a | |
CtsSkQPTestCases | armeabi-v7a | |
CtsSupplementalApiDeviceTestCases | arm64-v8a | |
CtsSupplementalApiDeviceTestCases[即时] | arm64-v8a | 是的 |
CtsTaskFpsCallbackTestCases | arm64-v8a | |
CtsTaskFpsCallbackTestCases | armeabi-v7a | |
CtsTaskFpsCallbackTestCases[即时] | arm64-v8a | 是的 |
CtsTelephony5TestCases | arm64-v8a | |
CtsTileServiceTestCases | arm64-v8a | |
CtsVirtualDevicesTestCases | arm64-v8a | |
CtsVirtualDevicesTestCases[即时] | arm64-v8a | 是的 |
CtsWallpaperEffectsGenerationServiceTestCases | arm64-v8a | |
CtsWifiAware 测试用例 | arm64-v8a | |
MicrodroidHostTestCases | arm64-v8a | |
MicrodroidTestApp | arm64-v8a | |
艺术-运行-测试-048-反射-v8 | arm64-v8a | |
艺术-运行-测试-048-反射-v8 | armeabi-v7a | |
art_libnativebridge_cts_tests | arm64-v8a | |
art_libnativebridge_cts_tests | armeabi-v7a | |
art_standalone_dex2oat_cts_tests | arm64-v8a | |
art_standalone_dex2oat_cts_tests | armeabi-v7a | |
art_standalone_libartpalette_tests | arm64-v8a | |
art_standalone_libartpalette_tests | armeabi-v7a | |
art_standalone_libdexfile_external_tests | arm64-v8a | |
art_standalone_libdexfile_external_tests | armeabi-v7a | |
libnativeloader_test | arm64-v8a | |
libnativeloader_test | armeabi-v7a | |
odsign_e2e_tests | arm64-v8a |
移除的模块
删除了测试模块名称 | ABI | 即时应用测试 |
---|---|---|
CtsActivityRecognitionTestCases[即时] | arm64-v8a | 是的 |
CtsAndroidTestBase28ApiSignatureTestCases | arm64-v8a | |
CtsAndroidTestBase28ApiSignatureTestCases[即时] | arm64-v8a | 是的 |
CtsAppCloningHostTest[即时] | arm64-v8a | 是的 |
CtsCodePathHostTestCases | arm64-v8a | |
CtsCodePathHostTestCases | armeabi-v7a | |
CtsCurrentApiSignatureTestCases[即时] | arm64-v8a | 是的 |
CtsDreamsTestCases[即时] | arm64-v8a | 是的 |
CtsMediaTestCases | arm64-v8a | |
CtsMediaTestCases | armeabi-v7a | |
CtsMediaTestCases[即时] | arm64-v8a | 是的 |
CtsScopedStorageCoreHostTest[即时] | arm64-v8a | 是的 |
CtsTelephonySdk28TestCases | arm64-v8a | |
CtsTelephonyTestCasesPermissionReadPhoneState | arm64-v8a | |
CtsTelephonyTestCasesPermissionReadPhoneState[即时] | arm64-v8a | 是的 |
旧版存储测试 | arm64-v8a | |
LegacyStorageTest[即时] | arm64-v8a | 是的 |
ScopedStorageTest | arm64-v8a | |
ScopedStorageTest[即时] | arm64-v8a | 是的 |