本页包含 CTS 17 R1 中引入的 CTS 重要变更。
基础架构改进
测试结果聚合和报告
CTS-V 报告结构(包括 CameraITS)已重构,以支持精细的子测试结果。此增强功能支持并行执行子测试以缩短总运行时,并支持重新运行失败的子测试,而不是重新运行整个模块。
令牌分片
修复了 enable-token-sharding 功能的问题,该功能有时无法识别带有 SIM 卡的样本,导致测试运行不正确。
效率提升
生物识别测试优化
CTS-V 中的生物识别测试套件结合了多个基于时间的关键测试,将身份验证提示的数量从 120 个减少到 72 个。
连接和测距现代化
手动 Presence test(需要标准化 1 米设备设置才能进行准确验证)已替换为完全自动化的测距模块(Ranging test)。
Wi-Fi 测试现代化
Wi-Fi 测试套件的更新包括引入新的 Unsynchronized Service Discovery (USD) 测试、将现有 Permission tests 迁移到现代化框架,以及移除旧版手动 Connection tests。
多媒体和电信增强功能
引入了安全播放测试,用于验证安全播放功能, 确保正确的视频显示和帧速率一致性 安全播放测试设置。这是一项 CTS 验证程序测试,需要外围设备播放分析工具。
电信测试自动化
手动电信测试已替换为 CTS-V-HOST 中的 CtsTelecomTests 自动化模块。
CTS 模块
测试模块和测试用例的数量如下:
- 约 1,244 个模块,具体取决于设备类型。
- 约 310 万个测试用例(适用于单个 ABI)。
185 个新模块
CtsAActivityManagerTestCtsAlarmAtomHostTestCasesCtsAlarmAtomHostTestCases[instant]CtsAllowlistTestCasesCtsAllowlistTestCases[instant]CtsAngleEnd2EndTestCasesCtsAnomalyDetectorTestsCtsAppcompatStateAtomHostTestCasesCtsAppcompatStateAtomHostTestCases[instant]CtsAppExitAtomHostTestCasesCtsAppExitAtomHostTestCases[instant]CtsAppFunctionNoQueryAllPackagesTestCasesCtsAppFunctionNoQueryAllPackagesTestCases[run-on-clone-profile]CtsAppFunctionNoQueryAllPackagesTestCases[run-on-private-profile]CtsAppFunctionNoQueryAllPackagesTestCases[run-on-secondary-user]CtsAppFunctionNoQueryAllPackagesTestCases[run-on-work-profile]CtsAppFunctionsAtomHostTestCasesCtsAppFunctionsAtomHostTestCases[instant]CtsAppHibernationAtomHostTestCasesCtsAppHibernationAtomHostTestCases[instant]CtsAppInteractionTestCasesCtsAppInteractionTestCases[run-on-clone-profile]CtsAppInteractionTestCases[run-on-private-profile]CtsAppInteractionTestCases[run-on-secondary-user]CtsAppInteractionTestCases[run-on-work-profile]CtsAppOpsAtomHostTestCasesCtsAppOpsAtomHostTestCases[instant]CtsAppStartAtomHostTestCasesCtsAppStartAtomHostTestCases[instant]CtsBackportedFixesAtomHostTestCasesCtsBackportedFixesAtomHostTestCases[instant]CtsBatteryCycleAtomHostTestCasesCtsBatteryCycleAtomHostTestCases[instant]CtsBatteryStatsAtomHostTestCasesCtsBatteryStatsAtomHostTestCases[instant]CtsBinderStatsAtomHostTestCasesCtsBinderStatsAtomHostTestCases[instant]CtsBluetoothAtomHostTestCasesCtsBluetoothAtomHostTestCases[instant]CtsConscryptTestCasesCtsContactsPickerCoreTestCasesCtsContactsPickerCoreTestCases[run-on-clone-profile]CtsContactsPickerCoreTestCases[run-on-private-profile]CtsContactsPickerCoreTestCases[run-on-work-profile]CtsContactsPickerCoreTestCasesSdk36CtsContactsProviderHostTestCasesCtsContactsProviderSessionTestCasesCtsContactsProviderTestsStrictSqlCheckSdk37CtsContentPccTestCasesCtsContentRestrictionTestCasesCtsContentSafetyServiceTestCasesCtsContextualModeManagerTestCasesCtsContextualModeManagerTestCases[run-on-clone-profile]CtsContextualModeManagerTestCases[run-on-private-profile]CtsContextualModeManagerTestCases[run-on-secondary-user]CtsContextualModeManagerTestCases[run-on-work-profile]CtsCoreGraphicsAtomHostTestCasesCtsCoreGraphicsAtomHostTestCases[instant]CtsCpuAtomHostTestCasesCtsCpuAtomHostTestCases[instant]CtsCredentialsAtomHostTestCasesCtsCredentialsAtomHostTestCases[instant]CtsDevicePowerAtomHostTestCasesCtsDevicePowerAtomHostTestCases[instant]CtsDeviceStateAtomHostTestCasesCtsDeviceStateAtomHostTestCases[instant]CtsDisplayAtomHostTestCasesCtsDisplayAtomHostTestCases[instant]CtsDisplayStaticDeviceStateTestCasesCtsDisplayStaticDeviceStateTestCases[instant]CtsGameManagerAtomHostTestCasesCtsGameManagerAtomHostTestCases[instant]CtsGnssAtomHostTestCasesCtsGnssAtomHostTestCases[instant]CtsGpuTestCasesCtsGpuTestCases[instant]CtsHardwareHealthAtomHostTestCasesCtsHardwareHealthAtomHostTestCases[instant]CtsJobSchedulerAtomHostTestCasesCtsJobSchedulerAtomHostTestCases[instant]CtsLogcatHostTestCasesCtsMediaAtomHostTestCasesCtsMediaAtomHostTestCases[instant]CtsMediaRouterHostTestCasesCtsMediaRouterHostTestCases[instant]CtsMemoryAtomHostTestCasesCtsMemoryAtomHostTestCases[instant]CtsMemorySafetyAtomHostTestCasesCtsMemorySafetyAtomHostTestCases[instant]CtsMotionCuesTestCasesCtsMotionCuesTestCases[instant]CtsMultisensoryTestCasesCtsMultisensoryTestCases[instant]CtsMultisensoryTestCases[run-on-clone-profile]CtsMultisensoryTestCases[run-on-private-profile]CtsMultisensoryTestCases[run-on-secondary-user]CtsMultisensoryTestCases[run-on-work-profile]CtsNativeNdkAllowlistTestCtsNativeServiceTestCtsNetAtomHostTestCasesCtsNetAtomHostTestCases[instant]CtsNetSecConfigCustomTrustManagerTestCasesCtsNetSecConfigCustomTrustManagerTestCases[instant]CtsNetSecConfigEncryptedClientHelloTestCasesCtsNetSecConfigEncryptedClientHelloTestCases[instant]CtsNetSecEncryptedClientHelloTestCasesCtsNetSecEncryptedClientHelloTestCases[instant]CtsNetTestCasesLocalNetNoPermissionsCtsNetTestCasesLocalNetNoPermissions[instant]CtsNotificationAtomHostTestCasesCtsNotificationAtomHostTestCases[instant]CtsNpuManagerMoblyTestCasesCtsNpuManagerTestCasesCtsPackageManagerIsolatedSplitHostTestCasesCtsPackageManagerSplitHostTestCasesCtsPccFeatureTestsCtsPccFeatureTests[run-on-clone-profile]CtsPccFeatureTests[run-on-private-profile]CtsPccFeatureTests[run-on-secondary-user]CtsPccFeatureTests[run-on-work-profile]CtsPccProcessTestsCtsPccSandboxManagerNativeTestCtsPccSecurityTestCasesCtsPerfAtomHostTestCasesCtsPerfAtomHostTestCases[instant]CtsPerfettoAtomHostTestCasesCtsPerfettoAtomHostTestCases[instant]CtsPerformanceHintManagerAtomHostTestCasesCtsPerformanceHintManagerAtomHostTestCases[instant]CtsPermissionStateAtomHostTestCasesCtsPermissionStateAtomHostTestCases[instant]CtsPersonalContextTestCasesCtsPersonalContextTestCases[run-on-clone-profile]CtsPersonalContextTestCases[run-on-private-profile]CtsPersonalContextTestCases[run-on-secondary-user]CtsPersonalContextTestCases[run-on-work-profile]CtsPowerAtomHostTestCasesCtsPowerAtomHostTestCases[instant]CtsPowerManagerAtomHostTestCasesCtsPowerManagerAtomHostTestCases[instant]CtsPowerManagerPccTestCasesCtsPowerManagerPccTestCases[instant]CtsPowerManagerPccTestCases[run-on-work-profile]CtsSerialTestCasesCtsSettingsStatsAtomHostTestCasesCtsSettingsStatsAtomHostTestCases[instant]CtsSharesheetAppLockTestCasesCtsSizeCompatRestartButtonAtomHostTestCasesCtsSizeCompatRestartButtonAtomHostTestCases[instant]CtsSoundTriggerPccTestCasesCtsStatsdAtomHostRebootTestCasesCtsStatsdAtomHostRebootTestCases[instant]CtsStopAndKillHostTestCtsTelecomModuleTestsCtsTelephonyAtomHostTestCasesCtsTelephonyAtomHostTestCases[instant]CtsTelephonySatelliteTestCasesCtsTextClassifierPccTestCasesCtsTlsAtomHostTestCasesCtsTlsAtomHostTestCases[instant]CtsTrustTokenServiceTestCasesCtsTrustTokenServiceTestCases[instant]CtsUprobeStatsTestCtsUsageEventsPccTestCasesCtsUsbAtomHostTestCasesCtsUsbAtomHostTestCases[instant]CtsUsbManagerTestCases[run-on-clone-profile]CtsUsbManagerTestCases[run-on-private-profile]CtsUsbManagerTestCases[run-on-secondary-user]CtsUsbManagerTestCases[run-on-work-profile]CtsUsersAtomHostTestCasesCtsUsersAtomHostTestCases[instant]CtsVibratorAtomHostTestCasesCtsVibratorAtomHostTestCases[instant]CtsVirtualDevicesComputerControlTestsCtsVoiceInteractionAtomHostTestCasesCtsVoiceInteractionAtomHostTestCases[instant]CtsWifiAtomHostTestCasesCtsWifiAtomHostTestCases[instant]CtsWindowManagerHostTestCasesMctsVideoTestCasesMtsWebAppTestCasesPccServiceNonPccClientTestPccServicePccClientTestVmMultiTenancyTests.CTS
16 个已移除的模块
AdsPersonalizationStatusTestCtsAppFgsTestCases[instant]CtsCameraHeadlessSystemUserTestCasesCtsCarBuiltinApiHostTestCasesCtsFgsTimeoutTestCases[instant]CtsHealthConnectHostSideDeviceTestCasesCtsHealthConnectHostTestCasesCtsInstalledLoadingProgressHostTestsCtsSandboxedAdIdManagerTestsCtsSandboxedAppSetIdManagerTestsCtsSandboxedFledgeManagerTestsCtsSandboxedMeasurementManagerTestsCtsSandboxedTopicsManagerTestsCtsShortFgsTestCases[instant]CtsVideoEncodingQualityHostTestCases[instant]MctsTextClassifierTestCases
CTS 验证程序 17 新测试
已添加 36 个新的 CTS-V-HOST 测试用例,包括互动测试, 基于主机的验证程序测试用例。
从 7 个模块添加了 36 个测试
| 模块名称 | 新添加的测试用例列表 | 要求 ID 或 API |
|---|---|---|
| CtsNotificationSizeVerifierHostTest |
|
API 行为测试 |
| CtsPermissionInteractiveTestCases |
|
CDD 3.8.18[C-0-1] |
| CtsSysuiInteractiveTestCases |
|
android.app.StatusBarManager#showPowerMenu
|
| CtsUsbTypecTestCases |
|
CDD 7.7.1-[C-SR-3] |
| CtsTelecomTest |
|
现有电信测试的迁移 |
| CtsWifiConnectionTests |
|
java.lang.Stringandroid.net.MacAddressandroid.net.NetworkSpecifierandroid.net.NetworkRequest,android.net.ConnectivityManager.NetworkCallback,intandroid.os.PatternMatcherjava.util.concurrent.Executor,android.net.wifi.WifiManager.SuggestionUserApprovalStatusListenerandroid.net.wifi.WifiManager.SuggestionConnectionStatusListenerjava.util.concurrent.Executor,android.net.wifi.WifiManager.SuggestionConnectionStatusListener |
| CtsWifiUsdTests |
|
android.net.wifi.usd.PublishSessionCallbackandroid.net.wifi.usd.SubscribeSessionCallbackandroid.net.wifi.usd.DiscoveryResult |
为其他五个验证程序部分添加了 10 个新测试
| 部分 | 新添加的测试用例列表 |
|---|---|
AUDIO |
|
CAMERA |
|
FEATURES |
|
MEDIA |
|
SYSUI |
|