Trang này bao gồm các thay đổi chính về CTS được giới thiệu trong Android 16.
Các tính năng của Trình xác minh CTS
Android 16 bao gồm tài liệu mới và cập nhật cho các tính năng sau của Trình xác minh CTS:
- Các trường hợp kiểm thử nhiều thiết bị đã được thêm hoặc di chuyển sang các trường hợp kiểm thử trình xác minh dựa trên máy chủ như trong bảng sau.
- Tổng cộng 83 bài kiểm thử đã được thêm từ 7 mô-đun.
| Tên mô-đun | Mô tả | Danh sách trường hợp kiểm thử đã thêm/di chuyển |
|---|---|---|
CtsCompanionDeviceManagerMultiDeviceTestCases
|
Kiểm thử nhiều thiết bị cho CompanionDeviceManager |
Kiểm thử đã di chuyển:
CompanionDeviceManagerTestClass#
test_associate_createsAssociation_classicBluetoothCompanionDeviceManagerTestClass#test_permissions_syncCompanionDeviceManagerTestClass#
test_removeBond_associatedDevice_succeeds |
CtsNfcHceMultiDeviceTestCases
|
Kiểm thử nhiều thiết bị cho NFC HCE |
Kiểm thử đã di chuyển:
CtsNfcHceMultiDeviceTestCases#test_conflicting_non_paymentCtsNfcHceMultiDeviceTestCases#test_conflicting_non_payment_prefixCtsNfcHceMultiDeviceTestCases#test_dual_non_paymentCtsNfcHceMultiDeviceTestCases#test_dual_payment_serviceCtsNfcHceMultiDeviceTestCases#test_dynamic_aid_emulatorCtsNfcHceMultiDeviceTestCases#test_tap_50_timesCtsNfcHceMultiDeviceTestCases#test_throughputCtsNfcHceMultiDeviceTestCases#test_event_listenerCtsNfcHceMultiDeviceTestCases#test_polling_frame_timestampCtsNfcHceMultiDeviceTestCases#
test_single_payment_service_toggle_nfc_off_onCtsNfcHceMultiDeviceTestCases#
test_single_payment_service_with_background_app |
CtsUwbMultiDeviceFiraRangingTests
|
Kiểm thử phạm vi UWB FiRa |
Kiểm thử đã di chuyển:
RangingTest#test_ranging_device_tracker_profile_defaultRangingTest#test_ranging_device_tracker_profile_p_sts_defaultRangingTest#test_ranging_nearby_share_profile_defaultRangingTest#test_ranging_nearby_share_profile_p_sts_defaultRangingTest#test_ranging_nearby_share_profile_reconfigure_controleeRangingTest#test_ranging_nearby_share_profile_add_remove_controleeRangingTest#
test_ranging_device_tracker_profile_reconfigure_ranging_intervalRangingTest#
test_ranging_nearby_share_profile_reconfigure_ranging_intervalRangingTest#test_ranging_device_tracker_profile_no_aoa_reportRangingTest#test_ranging_nearby_share_profile_hopping_mode_disabledRangingTest#test_ranging_rr_ss_twr_deferred_device_tracker_profileRangingTest#test_ranging_rr_ss_twr_deferred_nearby_share_profileRangingTest#test_stop_initiator_ranging_device_tracker_profileRangingTest#test_stop_initiator_ranging_nearby_share_profileRangingTest#test_stop_responder_ranging_device_tracker_profileRangingTest#test_stop_responder_ranging_nearby_share_profileRangingTest#test_ranging_nearby_share_profile_move_to_bg_and_fgRangingTest#
test_ranging_nearby_share_profile_verify_app_in_bg_stops_sessionRangingTest#test_ranging_nearby_share_profile_bg_failsRangingTest#
test_ranging_nearby_share_profile_no_valid_reports_stops_sessionRangingTest#test_ranging_device_tracker_profile_max_sessions_reject |
CtsMultiDeviceGenericRangingTests
|
Kiểm thử nhiều thiết bị cho API Phạm vi |
Kiểm thử đã di chuyển:
RangingManagerTest#test_one_to_one_uwb_ranging_unicast_static_stsRangingManagerTest#test_one_to_one_uwb_ranging_multicast_provisioned_stsRangingManagerTest#test_one_to_one_uwb_ranging_unicast_provisioned_stsRangingManagerTest#test_one_to_one_uwb_ranging_disable_range_data_ntfRangingManagerTest#test_one_to_one_wifi_rtt_rangingRangingManagerTest#test_one_to_one_wifi_periodic_rtt_rangingRangingManagerTest#test_one_to_one_ble_rssi_rangingRangingManagerTest#test_one_to_one_ble_cs_rangingRangingManagerTest#test_one_to_one_uwb_ranging_with_oobRangingManagerTest#test_one_to_one_ble_cs_ranging_with_oobRangingManagerTest#test_uwb_ranging_measurement_limitRangingManagerTest#test_ble_rssi_ranging_measurement_limitRangingManagerTest#test_one_to_one_wifi_rtt_ranging_with_oobRangingManagerTest#test_one_to_one_ble_rssi_ranging_with_oob |
CtsUwbMultiDeviceUwbManagerTests
|
Kiểm thử nhiều thiết bị cho API UwbManager |
Kiểm thử đã di chuyển:
UwbManagerTest#test_toggle_uwb_stateUwbManagerTest#test_uwb_state_with_airplane_mode_toggleUwbManagerTest#test_uwb_state_off_with_airplane_mode_toggle |
CtsWifiAwareTests
|
Kiểm thử nhiều thiết bị bằng tính năng Nhận biết Wi-Fi |
Kiểm thử đã di chuyển:
WifiAwareNetworkTest#test_data_path_force_channel_setupWifiAwareNetworkTest#
test_data_path_open_solicited_pub_accept_any_active_subWifiAwareNetworkTest#test_data_path_open_solicited_pub_and_active_subWifiAwareNetworkTest#
test_data_path_open_unsolicited_pub_accept_any_and_passive_subWifiAwareNetworkTest#test_data_path_open_unsolicited_pub_and_passive_subWifiAwareNetworkTest#
test_data_path_passphrase_solicited_pub_accept_any_and_active_subWifiAwareNetworkTest#
test_data_path_passphrase_solicited_pub_and_active_subWifiAwareNetworkTest#
test_data_path_passphrase_unsolicited_pub_accept_any_and_passive_subWifiAwareNetworkTest#
test_data_path_passphrase_unsolicited_pub_and_passive_subWifiAwareNetworkTest#
test_data_path_pmk_solicited_pub_accept_any_and_active_subWifiAwareNetworkTest#test_data_path_pmk_solicited_pub_and_active_subWifiAwareNetworkTest#
test_data_path_pmk_unsolicited_pub_accept_any_and_passive_subWifiAwareNetworkTest#
test_data_path_pmk_unsolicited_pub_and_passive_subWifiAwareDiscoveryRangingTest#test_discovery_ranging_to_peer_handleWifiAwareDiscoveryRangingTest#
test_discovery_ranging_to_peer_mac_address |
CtsWifiSoftApTestCases
|
Kiểm thử nhiều thiết bị Wi-Fi SoftAp |
Kiểm thử mới:
WifiSoftApTest#test_local_only_softap_disconnectWifiSoftApTest#test_tethering_softap_disconnect |
Mô-đun CTS
Số lượng mô-đun kiểm thử và trường hợp kiểm thử như sau:
- ~ 1394 mô-đun tuỳ thuộc vào thiết bị
- ~ 6 triệu trường hợp kiểm thử trên 2 ABI
Trong Android 16, tổng cộng có 86 mô-đun mới được thêm và tổng cộng có 41 mô-đun bị xoá.
Mô-đun mới
AconfigPublicApiCtsTestsCtsAppFunctionTestCasesCtsAppFunctionTestCases[run-on-clone-profile]CtsAppFunctionTestCases[run-on-private-profile]CtsAppFunctionTestCases[run-on-secondary-user]CtsAppFunctionTestCases[run-on-work-profile]CtsAppJankTestCasesCtsAppMetadataHostTestCasesCtsAppWidgetHostTestCasesCtsBroadcastHostTestCasesCtsContentProviderMultiUserTestCtsContextualSearchServiceTestCases[run-on-clone-profile]CtsContextualSearchServiceTestCases[run-on-private-profile]CtsContextualSearchServiceTestCases[run-on-secondary-user]CtsContextualSearchServiceTestCases[run-on-work-profile]CtsDynamicInstrumentationManagerTestCtsExtendedMockingTestCasesCtsExtendedMockingTestCases[instant]CtsFileDescriptorTestCasesCtsHealthFitnessPhrTestCasesCtsHeapprofdJavaCtsTestCtsJvmtiRunTest906HostTestCasesCtsJvmtiRunTest912HostTestCasesCtsJvmtiRunTest913HostTestCasesCtsMediaAudioPermissionTestCasesCtsMediaAudioPermissionTestCases[instant]CtsMediaQualityTestCasesCtsMediaRouterTestCasesCtsMediaRouterTestCases[instant]CtsMediaRouterTestCases[run-on-work-profile]CtsMediaSessionTestCasesCtsMediaSessionTestCases[instant]CtsMediaSessionTestCases[run-on-work-profile]CtsModernMediaProviderTestsCtsNotificationHostTestCasesCtsOsTestCases[run-on-work-profile]CtsPackageInstallerCUJDeviceAdminTestCasesCtsPackageInstallerCUJInstallationTestCasesCtsPackageInstallerCUJInstallationViaIntentForResultTestCasesCtsPackageInstallerCUJInstallationViaSessionTestCasesCtsPackageInstallerCUJMultiUsersTestCasesCtsPackageInstallerCUJMultiUsersTestCases[run-on-clone-profile]CtsPackageInstallerCUJMultiUsersTestCases[run-on-private-profile]CtsPackageInstallerCUJMultiUsersTestCases[run-on-secondary-user]CtsPackageInstallerCUJMultiUsersTestCases[run-on-work-profile]CtsPackageInstallerCUJUninstallationTestCasesCtsPackageInstallerCUJUpdateOwnerShipTestCasesCtsPackageInstallerCUJUpdateSelfTestCasesCtsPackageInstallSessionTestCasesCtsPackageInstallSessionTestCases[instant]CtsPackageUninstallTestCases[run-on-clone-profile]CtsPackageUninstallTestCases[run-on-private-profile]CtsPackageUninstallTestCases[run-on-secondary-user]CtsPackageUninstallTestCases[run-on-work-profile]CtsRangingTestCasesCtsRangingTestCases[instant]CtsResourcesConfigChangeTestCasesCtsRoleMultiUserTestCasesCtsRoleMultiUserTestCases[run-on-clone-profile]CtsRoleMultiUserTestCases[run-on-private-profile]CtsRoleMultiUserTestCases[run-on-secondary-user]CtsRoleMultiUserTestCases[run-on-work-profile]CtsSandboxOnDevicePersonalizationManagerTestsCtsSecurityTestCases_multiuserCtsSecurityTestCases_multiuser[run-on-clone-profile]CtsSecurityTestCases_multiuser[run-on-private-profile]CtsSecurityTestCases_multiuser[run-on-secondary-user]CtsSecurityTestCases_multiuser[run-on-work-profile]CtsSettingsPreferenceServiceTestCtsSupervisionTestCasesCtsSupervisionTestCases[instant]CtsSupervisionTestCases[run-on-clone-profile]CtsSupervisionTestCases[run-on-private-profile]CtsSupervisionTestCases[run-on-secondary-user]CtsSupervisionTestCases[run-on-work-profile]CtsSystemHealthTestCasesCtsTvAdTestCasesCtsVirtualDevicesAppLaunchSdk35TestCasesCtsVirtualDevicesCameraCtsTestCasesCtsVMDebugDeviceTestCasesCtsVMDebugDeviceTestCases[instant]CtsWindowManagerSdk34TestCasesCtsWindowManagerSdk35TestCasesMctsMediaSessionTestCasesMctsMediaSessionTestCases[instant]MctsMediaSessionTestCases[run-on-work-profile]
Mô-đun đã xoá
AndroidTest_MultiUserCtsAdServicesCustomAudienceTestsCtsApkVerityInstallHostTestCasesCtsAppIntegrityDeviceTestCasesCtsAppSearchTestCases[run-on-work-profile]CtsAudioRecordPermissionTestsCtsAudioRecordPermissionTests[instant]CtsBluetoothMultiDevicesTestCasesCtsCompanionDeviceManagerMultiDeviceTestCasesCtsDocumentContentTestCases[instant]CtsHealthFitnessDeviceTestCasesNoPermission[instant]CtsHealthFitnessDeviceTestCasesNotAllPermissionsAreGranted[instant]CtsHealthFitnessDeviceTestCasesRateLimiter[instant]CtsHealthFitnessShowMigrationInfoIntentAbsentTests[instant]CtsMediaBetterTogetherTestCasesCtsMediaBetterTogetherTestCases[instant]CtsMediaCUJLargeTest[instant]CtsMediaDecoderTestCases[instant]CtsMediaEditingTestCases[instant]CtsMediaEncoderTestCases[instant]CtsMediaExtractorTestCases[instant]CtsMediaMuxerTestCases[instant]CtsMediaRecorderTestCases[instant]CtsPackageInstallerCUJTestCasesCtsPhotoPickerTest[run-on-secondary-user]CtsResourcesHostTestCases[instant]CtsTvTunerTestCasesCtsWifiAwareTestCasesCtsWindowManagerSdk25TestCasesCtsWindowManagerSdk28TestCasesMctsAppSecurityHostTestCasesMctsMediaBetterTogetherTestCasesMctsMediaBetterTogetherTestCases[instant]MctsMediaDecoderTestCases[instant]MctsMediaEncoderTestCases[instant]MctsMediaExtractorTestCases[instant]MctsMediaMuxerTestCasesMctsMediaMuxerTestCases[instant]MctsMediaPlayerTestCases[instant]MctsMediaRecorderTestCasesMctsMediaRecorderTestCases[instant]