本页包含 Android 16 QPR2 中引入的 CTS 重要变更。
CTS 模块
测试模块和测试用例的数量如下:
- 约 1,429 个模块,具体取决于设备类型。
- 约 600 万个测试用例,涉及 2 个 ABI。
新模块
AdsPersonalizationStatusTestCtsAppServiceTestCasesCtsBatteryManagerTestCasesCtsContactsProviderTestsRestrictDataFieldsSdk37CtsContentProviderTestCasesCtsContentResolverTestCasesCtsDeveloperVerificationHostTestCasesCtsDownloadManagerTestCasesCtsFlaggedResourcesReadWriteCtsKeystoreCAStoreTestCasesCtsLibcoreNetTestCasesCtsNetSecConfigCertificateTransparencySdk36DefaultTestCasesCtsNetSecConfigCertificateTransparencySdk36DefaultTestCases[instant]CtsNetSecConfigLocalhostCleartextTestCasesCtsNetSecConfigLocalhostCleartextWithNscTestCasesCtsNetSecConfigLocalhostTlsBaseConfigTestCasesCtsNetSecConfigLocalhostTlsTestCasesCtsOpenGLWrapperTestCasesCtsPackageInstallerCUJDeveloperVerificationTestCasesCtsPackageManagerBroadcastTestCasesCtsProtectedPackagesTestCasesCtsProviderUiTestCases[run-on-clone-profile]CtsProviderUiTestCases[run-on-private-profile]CtsProviderUiTestCases[run-on-secondary-user]CtsProviderUiTestCases[run-on-work-profile]CtsScopedStorageCompatHostTestCtsScopedStorageCompatHostTest[instant]CtsScreenRecordTestCasesCtsSyncManagerTestCasesCtsTelecomAtomHostTestCasesCtsTelecomAtomHostTestCases[instant]CtsTelephonyModuleTestsCtsTetheringTest[run-on-secondary-user]CtsWebkitMultiuserTestCasesCtsWebkitMultiuserTestCases[instant]CtsWebkitMultiuserTestCases[run-on-clone-profile]CtsWebkitMultiuserTestCases[run-on-private-profile]CtsWebkitMultiuserTestCases[run-on-secondary-user]CtsWebkitMultiuserTestCases[run-on-work-profile]CtsWindowManagerDeviceAppCompatCtsWindowManagerDeviceDragAndDropCtsWindowManagerDeviceDreamsCtsWindowManagerDevicePipCtsWindowManagerDeviceTv
已移除的模块
CtsAccessibilityServiceTestCases[instant]CtsAccessibilityTestCases[instant]CtsApexSharedLibrariesTestCasesCtsCarHostTestCasesCtsJvmtiRunTest912HostTestCasesCtsJvmtiRunTest913HostTestCasesCtsNativeNetTestCasesCtsNativeNetTestCases[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_1RangingManagerTest#test_ble_cs_ranging_measurement_limitRangingManagerTest#test_dynamic_peer_uwb_rangingRangingManagerTest#test_uwb_ranging_move_to_bg_and_fgRangingManagerTest#test_ble_rssi_ranging_move_to_bg_and_fgRangingManagerTest#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_buttonGroupOwnerNegotiationTest#test_group_owner_negotiation_with_push_buttonGroupOwnerTest#test_connect_with_pin_codeGroupOwnerTest#test_connect_with_push_buttonGroupOwnerWithConfigTest#test_p2p_group_with_band_2gGroupOwnerWithConfigTest#test_p2p_group_with_band_autoGroupOwnerWithConfigTest#test_p2p_group_with_fixed_frequencyServiceDiscoveryTest#test_search_all_services_01ServiceDiscoveryTest#test_search_all_services_02ServiceDiscoveryTest#test_search_all_services_03ServiceDiscoveryTest#test_serv_req_clear_requestServiceDiscoveryTest#test_serv_req_dns_ptrServiceDiscoveryTest#test_serv_req_dns_txtServiceDiscoveryTest#test_serv_req_multi_channel_01ServiceDiscoveryTest#test_serv_req_multi_channel_02ServiceDiscoveryTest#test_serv_req_multi_channel_03ServiceDiscoveryTest#test_serv_req_remove_requestServiceDiscoveryTest#test_serv_req_upnp_allServiceDiscoveryTest#test_serv_req_upnp_root_device |
其他现有验证程序部分总共新增了 6 个测试
| 部分 | 新添加的测试用例列表 |
|---|---|
NFC
|
|
NOTIFICATION
|
|
OTHER
|
|
SHARESHEET
|
|