本頁列出 Android 16 QPR2 推出的主要 CTS 變更。
CTS 模組
測試模組和測試案例的數量如下:
- 視裝置類型而定,約有 1,429 個模組。
- 超過 2 個 ABI 的測試案例約有 600 萬個。
新模組
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 項測試
| Section | 新增測試案例清單 |
|---|---|
NFC
|
|
NOTIFICATION
|
|
OTHER
|
|
SHARESHEET
|
|