本頁面列出 CTS 17 R1 中導入的重要 CTS 變更。
基礎架構改良
彙整及回報測試結果
CTS-V 報表結構 (包括 CameraITS) 已重構,可支援精細的子測試結果。這項強化功能可平行執行子測試,縮短總執行時間,並專注於重新執行失敗的子測試,而非整個模組。
權杖分片
- 修正 enable-token-sharding 功能的問題,這個功能有時無法辨識含有 SIM 卡的樣本,導致測試執行不正確。
提升效率
CTS 17 包含下列效率提升項目。
生物特徵辨識測試最佳化
CTS-V 中的生物特徵辨識測試套件已重新架構,可合併多項以時間為準的關鍵測試,驗證提示也從 120 個減少至 72 個。
連線與測距現代化
手動 Presence 測試需要標準化的 1 公尺裝置設定,才能進行準確的驗證,現在已由全自動的 Ranging 模組取代。
Wi-Fi 測試現代化
Wi-Fi 測試套件的更新包括導入非同步服務探索 (USD) 測試、將現有權限測試遷移至現代化架構,以及移除舊版手動連線測試。
多媒體和電信功能強化
我們推出安全播放測試,用來驗證安全播放功能,確保影片顯示正確無誤,且影格率一致。請參閱安全播放測試設定。這是 CTS 驗證器測試,需要使用周邊播放分析工具。
電信測試自動化
手動電信測試已由 CTS-V-HOST 中的自動化模組 CtsTelecomTests 取代。
CTS 模組
測試模組和測試案例的數量如下:
- 約 1,244 個模組 (視裝置類型而定)
- 單一 ABI 約有 310 萬個測試案例
185 個新模組
- CtsAActivityManagerTest
- CtsAlarmAtomHostTestCases
- CtsAlarmAtomHostTestCases[instant]
- CtsAllowlistTestCases
- CtsAllowlistTestCases[instant]
- CtsAngleEnd2EndTestCases
- CtsAnomalyDetectorTests
- CtsAppcompatStateAtomHostTestCases
- CtsAppcompatStateAtomHostTestCases[instant]
- CtsAppExitAtomHostTestCases
- CtsAppExitAtomHostTestCases[instant]
- CtsAppFunctionNoQueryAllPackagesTestCases
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-clone-profile]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-private-profile]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-secondary-user]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-work-profile]
- CtsAppFunctionsAtomHostTestCases
- CtsAppFunctionsAtomHostTestCases[instant]
- CtsAppHibernationAtomHostTestCases
- CtsAppHibernationAtomHostTestCases[instant]
- CtsAppInteractionTestCases
- CtsAppInteractionTestCases[run-on-clone-profile]
- CtsAppInteractionTestCases[run-on-private-profile]
- CtsAppInteractionTestCases[run-on-secondary-user]
- CtsAppInteractionTestCases[run-on-work-profile]
- CtsAppOpsAtomHostTestCases
- CtsAppOpsAtomHostTestCases[instant]
- CtsAppStartAtomHostTestCases
- CtsAppStartAtomHostTestCases[instant]
- CtsBackportedFixesAtomHostTestCases
- CtsBackportedFixesAtomHostTestCases[instant]
- CtsBatteryCycleAtomHostTestCases
- CtsBatteryCycleAtomHostTestCases[instant]
- CtsBatteryStatsAtomHostTestCases
- CtsBatteryStatsAtomHostTestCases[instant]
- CtsBinderStatsAtomHostTestCases
- CtsBinderStatsAtomHostTestCases[instant]
- CtsBluetoothAtomHostTestCases
- CtsBluetoothAtomHostTestCases[instant]
- CtsConscryptTestCases
- CtsContactsPickerCoreTestCases
- CtsContactsPickerCoreTestCases[run-on-clone-profile]
- CtsContactsPickerCoreTestCases[run-on-private-profile]
- CtsContactsPickerCoreTestCases[run-on-work-profile]
- CtsContactsPickerCoreTestCasesSdk36
- CtsContactsProviderHostTestCases
- CtsContactsProviderSessionTestCases
- CtsContactsProviderTestsStrictSqlCheckSdk37
- CtsContentPccTestCases
- CtsContentRestrictionTestCases
- CtsContentSafetyServiceTestCases
- CtsContextualModeManagerTestCases
- CtsContextualModeManagerTestCases[run-on-clone-profile]
- CtsContextualModeManagerTestCases[run-on-private-profile]
- CtsContextualModeManagerTestCases[run-on-secondary-user]
- CtsContextualModeManagerTestCases[run-on-work-profile]
- CtsCoreGraphicsAtomHostTestCases
- CtsCoreGraphicsAtomHostTestCases[instant]
- CtsCpuAtomHostTestCases
- CtsCpuAtomHostTestCases[instant]
- CtsCredentialsAtomHostTestCases
- CtsCredentialsAtomHostTestCases[instant]
- CtsDevicePowerAtomHostTestCases
- CtsDevicePowerAtomHostTestCases[instant]
- CtsDeviceStateAtomHostTestCases
- CtsDeviceStateAtomHostTestCases[instant]
- CtsDisplayAtomHostTestCases
- CtsDisplayAtomHostTestCases[instant]
- CtsDisplayStaticDeviceStateTestCases
- CtsDisplayStaticDeviceStateTestCases[instant]
- CtsGameManagerAtomHostTestCases
- CtsGameManagerAtomHostTestCases[instant]
- CtsGnssAtomHostTestCases
- CtsGnssAtomHostTestCases[instant]
- CtsGpuTestCases
- CtsGpuTestCases[instant]
- CtsHardwareHealthAtomHostTestCases
- CtsHardwareHealthAtomHostTestCases[instant]
- CtsJobSchedulerAtomHostTestCases
- CtsJobSchedulerAtomHostTestCases[instant]
- CtsLogcatHostTestCases
- CtsMediaAtomHostTestCases
- CtsMediaAtomHostTestCases[instant]
- CtsMediaRouterHostTestCases
- CtsMediaRouterHostTestCases[instant]
- CtsMemoryAtomHostTestCases
- CtsMemoryAtomHostTestCases[instant]
- CtsMemorySafetyAtomHostTestCases
- CtsMemorySafetyAtomHostTestCases[instant]
- CtsMotionCuesTestCases
- CtsMotionCuesTestCases[instant]
- CtsMultisensoryTestCases
- CtsMultisensoryTestCases[instant]
- CtsMultisensoryTestCases[run-on-clone-profile]
- CtsMultisensoryTestCases[run-on-private-profile]
- CtsMultisensoryTestCases[run-on-secondary-user]
- CtsMultisensoryTestCases[run-on-work-profile]
- CtsNativeNdkAllowlistTest
- CtsNativeServiceTest
- CtsNetAtomHostTestCases
- CtsNetAtomHostTestCases[instant]
- CtsNetSecConfigCustomTrustManagerTestCases
- CtsNetSecConfigCustomTrustManagerTestCases[instant]
- CtsNetSecConfigEncryptedClientHelloTestCases
- CtsNetSecConfigEncryptedClientHelloTestCases[instant]
- CtsNetSecEncryptedClientHelloTestCases
- CtsNetSecEncryptedClientHelloTestCases[instant]
- CtsNetTestCasesLocalNetNoPermissions
- CtsNetTestCasesLocalNetNoPermissions[instant]
- CtsNotificationAtomHostTestCases
- CtsNotificationAtomHostTestCases[instant]
- CtsNpuManagerMoblyTestCases
- CtsNpuManagerTestCases
- CtsPackageManagerIsolatedSplitHostTestCases
- CtsPackageManagerSplitHostTestCases
- CtsPccFeatureTests
- CtsPccFeatureTests[run-on-clone-profile]
- CtsPccFeatureTests[run-on-private-profile]
- CtsPccFeatureTests[run-on-secondary-user]
- CtsPccFeatureTests[run-on-work-profile]
- CtsPccProcessTests
- CtsPccSandboxManagerNativeTest
- CtsPccSecurityTestCases
- CtsPerfAtomHostTestCases
- CtsPerfAtomHostTestCases[instant]
- CtsPerfettoAtomHostTestCases
- CtsPerfettoAtomHostTestCases[instant]
- CtsPerformanceHintManagerAtomHostTestCases
- CtsPerformanceHintManagerAtomHostTestCases[instant]
- CtsPermissionStateAtomHostTestCases
- CtsPermissionStateAtomHostTestCases[instant]
- CtsPersonalContextTestCases
- CtsPersonalContextTestCases[run-on-clone-profile]
- CtsPersonalContextTestCases[run-on-private-profile]
- CtsPersonalContextTestCases[run-on-secondary-user]
- CtsPersonalContextTestCases[run-on-work-profile]
- CtsPowerAtomHostTestCases
- CtsPowerAtomHostTestCases[instant]
- CtsPowerManagerAtomHostTestCases
- CtsPowerManagerAtomHostTestCases[instant]
- CtsPowerManagerPccTestCases
- CtsPowerManagerPccTestCases[instant]
- CtsPowerManagerPccTestCases[run-on-work-profile]
- CtsSerialTestCases
- CtsSettingsStatsAtomHostTestCases
- CtsSettingsStatsAtomHostTestCases[instant]
- CtsSharesheetAppLockTestCases
- CtsSizeCompatRestartButtonAtomHostTestCases
- CtsSizeCompatRestartButtonAtomHostTestCases[instant]
- CtsSoundTriggerPccTestCases
- CtsStatsdAtomHostRebootTestCases
- CtsStatsdAtomHostRebootTestCases[instant]
- CtsStopAndKillHostTest
- CtsTelecomModuleTests
- CtsTelephonyAtomHostTestCases
- CtsTelephonyAtomHostTestCases[instant]
- CtsTelephonySatelliteTestCases
- CtsTextClassifierPccTestCases
- CtsTlsAtomHostTestCases
- CtsTlsAtomHostTestCases[instant]
- CtsTrustTokenServiceTestCases
- CtsTrustTokenServiceTestCases[instant]
- CtsUprobeStatsTest
- CtsUsageEventsPccTestCases
- CtsUsbAtomHostTestCases
- CtsUsbAtomHostTestCases[instant]
- CtsUsbManagerTestCases[run-on-clone-profile]
- CtsUsbManagerTestCases[run-on-private-profile]
- CtsUsbManagerTestCases[run-on-secondary-user]
- CtsUsbManagerTestCases[run-on-work-profile]
- CtsUsersAtomHostTestCases
- CtsUsersAtomHostTestCases[instant]
- CtsVibratorAtomHostTestCases
- CtsVibratorAtomHostTestCases[instant]
- CtsVirtualDevicesComputerControlTests
- CtsVoiceInteractionAtomHostTestCases
- CtsVoiceInteractionAtomHostTestCases[instant]
- CtsWifiAtomHostTestCases
- CtsWifiAtomHostTestCases[instant]
- CtsWindowManagerHostTestCases
- MctsVideoTestCases
- MtsWebAppTestCases
- PccServiceNonPccClientTest
- PccServicePccClientTest
- VmMultiTenancyTests.CTS
已移除 16 個模組
- AdsPersonalizationStatusTest
- CtsAppFgsTestCases[instant]
- CtsCameraHeadlessSystemUserTestCases
- CtsCarBuiltinApiHostTestCases
- CtsFgsTimeoutTestCases[instant]
- CtsHealthConnectHostSideDeviceTestCases
- CtsHealthConnectHostTestCases
- CtsInstalledLoadingProgressHostTests
- CtsSandboxedAdIdManagerTests
- CtsSandboxedAppSetIdManagerTests
- CtsSandboxedFledgeManagerTests
- CtsSandboxedMeasurementManagerTests
- CtsSandboxedTopicsManagerTests
- CtsShortFgsTestCases[instant]
- CtsVideoEncodingQualityHostTestCases[instant]
- MctsTextClassifierTestCases
CTS 驗證器 17 項新測試
新增 36 個 CTS-V-HOST 測試案例,包括互動式測試、以主機為準的驗證器測試案例
從 7 個模組新增 36 項測試
| 模組名稱 | 新增測試案例清單 |
|---|---|
CtsNotificationSizeVerifierHostTest
|
android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapUnderLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapOverLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapUnderLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriOverLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriUnderLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapOverLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriOverLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriUnderLimit_ChangeDisabled |
| CtsPermissionInteractiveTestCases |
android.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonColorCustomizationandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonSupportsRtlLayoutandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonPaddingCustomizationandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonIconOnlyandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonShapeMorphsOnPressandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonShapeCustomization |
| CtsSysuiInteractiveTestCases |
android.sysui.cts.ShowPowerMenuInteractiveTest#showPowerMenuandroid.sysui.cts.ShowPowerMenuInteractiveTest#
showPowerMenu_alreadyShowingandroid.sysui.cts.ShowPowerMenuInteractiveTest#
showPowerMenu_multipleCallsInShortTime |
| CtsUsbTypecTestCases |
com.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Cdpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Dcpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Sdpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#
testPowerProfileSourceFixed |
| CtsTelecomTest |
CtsTelecomTest#test_call_audio_for_voice_and_voip_callsCtsTelecomTest#test_incall_ui_shows_when_screen_locked |
| CtsWifiConnectionTests |
NetworkRequestTests#test_with_a_specific_ssid_and_bssidNetworkRequestTests#test_with_invalid_credential_in_network_specifierNetworkRequestTests#test_with_pattern_network_specifierNetworkRequestTests#test_with_unavailable_network_specifierNetworkSuggestionTests#test_that_suggestion_modification_in_placeNetworkSuggestionTests#test_with_connection_failureNetworkSuggestionTests#test_with_ssid_and_bssid_specifiedNetworkSuggestionTests#test_with_ssid_and_post_connect_broadcastNetworkSuggestionTests#test_with_ssid_specified |
| CtsWifiUsdTests |
WifiUsdTest#test_active_subscriber_exchangeWifiUsdTest#test_bidirectional_large_message_exchangeWifiUsdTest#test_bidirectional_message_exchangeWifiUsdTest#test_passive_subscriber_exchange |
其他 5 個驗證器部分共新增 10 項測試
| 章節 | 新增測試案例清單 |
|---|---|
AUDIO |
|
CAMERA |
|
FEATURES |
|
MEDIA |
|
SYSUI |
|