CTS 16.1 版本说明

本页包含 Android 16 QPR2 中引入的 CTS 重要变更。

CTS 模块

测试模块和测试用例的数量如下:

  • 约 1,429 个模块,具体取决于设备类型。
  • 约 600 万个测试用例,涉及 2 个 ABI。

新模块

  • AdsPersonalizationStatusTest
  • CtsAppServiceTestCases
  • CtsBatteryManagerTestCases
  • CtsContactsProviderTestsRestrictDataFieldsSdk37
  • CtsContentProviderTestCases
  • CtsContentResolverTestCases
  • CtsDeveloperVerificationHostTestCases
  • CtsDownloadManagerTestCases
  • CtsFlaggedResourcesReadWrite
  • CtsKeystoreCAStoreTestCases
  • CtsLibcoreNetTestCases
  • CtsNetSecConfigCertificateTransparencySdk36DefaultTestCases
  • CtsNetSecConfigCertificateTransparencySdk36DefaultTestCases[instant]
  • CtsNetSecConfigLocalhostCleartextTestCases
  • CtsNetSecConfigLocalhostCleartextWithNscTestCases
  • CtsNetSecConfigLocalhostTlsBaseConfigTestCases
  • CtsNetSecConfigLocalhostTlsTestCases
  • CtsOpenGLWrapperTestCases
  • CtsPackageInstallerCUJDeveloperVerificationTestCases
  • CtsPackageManagerBroadcastTestCases
  • CtsProtectedPackagesTestCases
  • CtsProviderUiTestCases[run-on-clone-profile]
  • CtsProviderUiTestCases[run-on-private-profile]
  • CtsProviderUiTestCases[run-on-secondary-user]
  • CtsProviderUiTestCases[run-on-work-profile]
  • CtsScopedStorageCompatHostTest
  • CtsScopedStorageCompatHostTest[instant]
  • CtsScreenRecordTestCases
  • CtsSyncManagerTestCases
  • CtsTelecomAtomHostTestCases
  • CtsTelecomAtomHostTestCases[instant]
  • CtsTelephonyModuleTests
  • CtsTetheringTest[run-on-secondary-user]
  • CtsWebkitMultiuserTestCases
  • CtsWebkitMultiuserTestCases[instant]
  • CtsWebkitMultiuserTestCases[run-on-clone-profile]
  • CtsWebkitMultiuserTestCases[run-on-private-profile]
  • CtsWebkitMultiuserTestCases[run-on-secondary-user]
  • CtsWebkitMultiuserTestCases[run-on-work-profile]
  • CtsWindowManagerDeviceAppCompat
  • CtsWindowManagerDeviceDragAndDrop
  • CtsWindowManagerDeviceDreams
  • CtsWindowManagerDevicePip
  • CtsWindowManagerDeviceTv

已移除的模块

  • CtsAccessibilityServiceTestCases[instant]
  • CtsAccessibilityTestCases[instant]
  • CtsApexSharedLibrariesTestCases
  • CtsCarHostTestCases
  • CtsJvmtiRunTest912HostTestCases
  • CtsJvmtiRunTest913HostTestCases
  • CtsNativeNetTestCases
  • CtsNativeNetTestCases[instant]
  • CtsSupervisionTestCases[run-on-clone-profile]
  • CtsSupervisionTestCases[run-on-private-profile]
  • CtsSupervisionTestCases[run-on-secondary-user]
  • CtsSupervisionTestCases[run-on-work-profile]
  • CtsUiAutomationTestCases[instant]

CTS 验证程序 16.1 新增测试

系统已将总共 27 个多设备测试用例添加或迁移到基于主机的验证程序测试用例

从 4 个模块中添加了共计 27 项测试。

模块名称 新添加的测试用例列表
CtsCompanionDeviceManagerMultiDeviceTestCases
  • CompanionDeviceManagerTestClass# test_setLocalMetadata_broadcastsToAssociatedDevices
  • CtsMultiDeviceGenericRangingTests 添加的测试
  • RangingManagerTest#test_one_to_one_ble_cs_ranging_retry_1
  • RangingManagerTest#test_ble_cs_ranging_measurement_limit
  • RangingManagerTest#test_dynamic_peer_uwb_ranging
  • RangingManagerTest#test_uwb_ranging_move_to_bg_and_fg
  • RangingManagerTest#test_ble_rssi_ranging_move_to_bg_and_fg
  • RangingManagerTest#test_ble_cs_ranging_move_to_bg_and_fg
  • CtsUwbMultiDeviceFiraRangingTests 添加的测试
  • RangingTest#test_logical_link_mode_data_transfer_session
  • CtsWifiDirectTests 迁移的测试:
  • GroupOwnerNegotiationTest#test_group_owner_negotiation_with_pin_button
  • GroupOwnerNegotiationTest#test_group_owner_negotiation_with_push_button
  • GroupOwnerTest#test_connect_with_pin_code
  • GroupOwnerTest#test_connect_with_push_button
  • GroupOwnerWithConfigTest#test_p2p_group_with_band_2g
  • GroupOwnerWithConfigTest#test_p2p_group_with_band_auto
  • GroupOwnerWithConfigTest#test_p2p_group_with_fixed_frequency
  • ServiceDiscoveryTest#test_search_all_services_01
  • ServiceDiscoveryTest#test_search_all_services_02
  • ServiceDiscoveryTest#test_search_all_services_03
  • ServiceDiscoveryTest#test_serv_req_clear_request
  • ServiceDiscoveryTest#test_serv_req_dns_ptr
  • ServiceDiscoveryTest#test_serv_req_dns_txt
  • ServiceDiscoveryTest#test_serv_req_multi_channel_01
  • ServiceDiscoveryTest#test_serv_req_multi_channel_02
  • ServiceDiscoveryTest#test_serv_req_multi_channel_03
  • ServiceDiscoveryTest#test_serv_req_remove_request
  • ServiceDiscoveryTest#test_serv_req_upnp_all
  • ServiceDiscoveryTest#test_serv_req_upnp_root_device
  • 其他现有验证程序部分总共新增了 6 个测试

    部分 新添加的测试用例列表
    NFC
  • 轮询循环读取器注释
  • 轮询循环模拟器注释
  • NOTIFICATION
  • 实时动态通知测试
  • OTHER
  • 气压计参考设备
  • SHARESHEET
  • 交互式会话测试
  • Sharesheet Text Plus Image