Android 17 版本資訊

本頁面列出 CTS 17 R1 中導入的重要 CTS 變更。

基礎架構改良

彙整及回報測試結果

CTS-V 報表結構 (包括 CameraITS) 已重構,可支援精細的子測試結果。這項強化功能可平行執行子測試,縮短總執行時間,並專注於重新執行失敗的子測試,而非整個模組。

權杖分片

修正 enable-token-sharding 功能的問題,這個功能有時無法辨識含有 SIM 卡的樣本,導致測試執行不正確。

提升效率

生物特徵辨識測試最佳化

CTS-V 中的生物特徵辨識測試套件結合了多項以時間為準的關鍵測試,可將驗證提示次數從 120 次減少至 72 次。

連線與測距現代化

手動 Presence test 需以標準化 1 公尺裝置設定進行準確驗證,現已由全自動測距模組 (Ranging test) 取代。

Wi-Fi 測試現代化

Wi-Fi 測試套件的更新內容包括導入新的 Unsynchronized Service Discovery (USD)測試、將現有 Permission tests遷移至現代化框架,以及移除舊版手動 Connection tests

多媒體和電信功能強化

我們推出安全播放測試,用來驗證安全播放功能,確保影片顯示正確無誤,且影格率一致安全播放測試設定。這是 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 項測試

模組名稱 新增的測試案例清單 需求 ID 或 API
CtsNotificationSizeVerifierHostTest
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testBitmapUnderLimit_ChangeDisabled
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testBitmapOverLimit_ChangeEnabled
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testBitmapUnderLimit_ChangeEnabled
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testUriOverLimit_ChangeEnabled
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testUriUnderLimit_ChangeEnabled
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testBitmapOverLimit_ChangeDisabled
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testUriOverLimit_ChangeDisabled
  • android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest#testUriUnderLimit_ChangeDisabled
API 行為測試
CtsPermissionInteractiveTestCases
  • android.permissioninteractive.cts.LocationButtonInteractiveTest#verifyButtonColorCustomization
  • android.permissioninteractive.cts.LocationButtonInteractiveTest#verifyButtonSupportsRtlLayout
  • android.permissioninteractive.cts.LocationButtonInteractiveTest#verifyButtonPaddingCustomization
  • android.permissioninteractive.cts.LocationButtonInteractiveTest#verifyButtonIconOnly
  • android.permissioninteractive.cts.LocationButtonInteractiveTest#verifyButtonShapeMorphsOnPress
  • android.permissioninteractive.cts.LocationButtonInteractiveTest#verifyButtonShapeCustomization
CDD 3.8.18[C-0-1]
CtsSysuiInteractiveTestCases
  • android.sysui.cts.ShowPowerMenuInteractiveTest#showPowerMenu
  • android.sysui.cts.ShowPowerMenuInteractiveTest#showPowerMenu_alreadyShowing
  • android.sysui.cts.ShowPowerMenuInteractiveTest#showPowerMenu_multipleCallsInShortTime
android.app.StatusBarManager#showPowerMenu
CtsUsbTypecTestCases
  • com.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Cdp
  • com.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Dcp
  • com.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Sdp
  • com.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testPowerProfileSourceFixed
CDD 7.7.1-[C-SR-3]
CtsTelecomTest
  • CtsTelecomTest#test_call_audio_for_voice_and_voip_calls
  • CtsTelecomTest#test_incall_ui_shows_when_screen_locked
遷移現有電信測試
CtsWifiConnectionTests
  • NetworkRequestTests#test_with_a_specific_ssid_and_bssid
  • NetworkRequestTests#test_with_invalid_credential_in_network_specifier
  • NetworkRequestTests#test_with_pattern_network_specifier
  • NetworkRequestTests#test_with_unavailable_network_specifier
  • NetworkSuggestionTests#test_that_suggestion_modification_in_place
  • NetworkSuggestionTests#test_with_connection_failure
  • NetworkSuggestionTests#test_with_ssid_and_bssid_specified
  • NetworkSuggestionTests#test_with_ssid_and_post_connect_broadcast
  • NetworkSuggestionTests#test_with_ssid_specified
  • java.lang.String
  • android.net.MacAddress
  • android.net.NetworkSpecifier
  • android.net.NetworkRequest,android.net.ConnectivityManager.NetworkCallback,int
  • android.os.PatternMatcher
  • java.util.concurrent.Executor,android.net.wifi.WifiManager.SuggestionUserApprovalStatusListener
  • android.net.wifi.WifiManager.SuggestionConnectionStatusListener
  • java.util.concurrent.Executor,android.net.wifi.WifiManager.SuggestionConnectionStatusListener
  • CtsWifiUsdTests
    • WifiUsdTest#test_active_subscriber_exchange
    • WifiUsdTest#test_bidirectional_large_message_exchange
    • WifiUsdTest#test_bidirectional_message_exchange
    • WifiUsdTest#test_passive_subscriber_exchange
  • android.net.wifi.usd.PublishSessionCallback
  • android.net.wifi.usd.SubscribeSessionCallback
  • android.net.wifi.usd.DiscoveryResult
  • 為其他五個驗證器部分新增 10 項測試

    區段 新增的測試案例清單
    AUDIO
    • 音訊通訊延遲測試
    • 音訊資料路徑 USB 多聲道測試
    • 音訊 MMAP PCM 卸載測試
    • 音訊播放參數測試
    • 音訊工作負載測試
    CAMERA
    • 攝影機 ITS 功能組合測試
    FEATURES
    • EyeDropper 測試
    MEDIA
    • 安全播放測試
    SYSUI
    • 固定視窗層測試
    • Self Movable Tasks 測試