Android 15 CTS 版本資訊

本頁面列出 Android 15 推出的重要 CTS 變更。

CTS 功能

Android 15 包含下列 CTS 功能的新版和更新版說明文件:

區域 功能 說明 新增/更新
測試模組 將 CtsWindowManagerDeviceTestCases 分割成多個模組 分割測試模組,減少測試錯誤,並將執行時間從 1 小時 30 分鐘縮短至接近 55 分鐘。 更新日期
測試模組 將 CtsDynamicMimeHostTestCases 分割成多個模組 未供應 更新日期
測試基礎架構 自動動態下載主系列 CTS 動態下載 Mainline CTS 並自動整合至 CTS 套件,以便執行測試,透過 CTS 對應的 Mainline 模組版本,改善適當的相容性測試。 已新增
測試基礎架構 推出兩項新的基準設定 CTS/VTS/GTS 已啟用兩項新的基準設定:
  • 清除 hidden_api_policy 設定,確保隱藏的 API 無法存取,除非在模組內明確設定。
  • 返回主畫面,避免因活動未關閉而導致測試失敗。
已新增

CTS 驗證器功能

Android 15 包含下列 CTS 驗證器功能的新版和更新版文件:

區域 功能 說明 新增/更新
CTS-V 測試類別 在 CTS 驗證器中淘汰 USB 音訊播放和 USB 音訊錄音測試。 這些測試已由音訊資料路徑 USB 測試中的改良測試取代。 更新日期
CTS-V 測試類別 新的 ITS 測試:LowLightBoostTest 在昏暗的照明條件下測試低光源增強模式。 已新增
CTS-V 測試類別 新的 CTS 驗證器測試 Sharesheet ChooserResult 類別 這會驗證 Android 15 中 Sharesheet ChooserResult 類別的功能。 已新增

CTS 模組

測試模組和測試案例的數量如下:

  • ~ 1389 個模組,視裝置而定
  • 超過 2 個 ABI 的約 600 萬個測試案例

Android 15 新增了 191 個模組,並移除了 5 個模組。

新模組

  • ABI:arm64-v8a
已新增測試模組名稱 免安裝應用程式測試
CtsAddApkToApexHostTestCases
CtsAdoptableHostTestCases
CtsADPFHostTestCases
CtsAdServicesCobaltTest
CtsAdServicesCustomAudienceTests
CtsAdServicesExtDataStorageServiceTest
CtsApkVerityInstallHostTestCases
CtsAppCloningContactsSharingTest
CtsAppCloningIntentRedirectionTest
CtsAppDataIsolationHostTestCases
CtsAppFgsStartTestCases
CtsAppSearchTestCases[run-on-work-profile]
CtsAppStartTestCases
CtsAppStartTestCasesYes 是
CtsBRSTestCases
CtsCameraHeadlessSystemUserTestCases
CtsCompanionDeviceManagerMultiDeviceTestCases
CtsConnectivityMultiDevicesTestCases
CtsContactKeysManagerTestCases
CtsContactKeysProviderPrivilegedApp
CtsContextualSearchServiceTestCases
CtsCorruptApkHostTestCases
CtsCrashDetailHostTestCases
CtsCredentialManagerHostSideTestCases
CtsDeleteKeepDataHostTestCases
CtsDevicePolicyTestCases[run-on-private-profile]
CtsDirectBootHostTestCases
CtsDropBoxManagerTestCasesAPI34
CtsDynamicMimeChangedGroupAppUpdateHostTestCases
CtsDynamicMimeComplexFilterClearGroupRebootHostTestCases
CtsDynamicMimeComplexFilterRebootHostTestCases
CtsDynamicMimeIndependentGroupRebootHostTestCases
CtsDynamicMimePreferredActivitiesHostTestCases
CtsDynamicMimeRemoveRebootHostTestCases
CtsDynamicMimeSingleAppGroupRebootHostTestCases
CtsDynamicMimeSingleAppRebootHostTestCases
CtsExerciseRouteTestCases
CtsFgsTimeoutTestCases
CtsFgsTimeoutTestCasesYes 是
CtsFingerprintTestCases
CtsGetBindingUidImportanceTest
CtsHealthFitnessDeviceTestCasesHistoricAccessLimitWithPermission
CtsHealthFitnessDeviceTestCasesNotAllPermissionsAreGranted
CtsHealthFitnessDeviceTestCasesRateLimiter
CtsHealthFitnessShowMigrationInfoIntentAbsentTests
CtsHostsideNetworkPolicyTests
CtsHostsideNetworkPolicyTestsYes 是
CtsInputHostTestCases
CtsInputMethodInstallTestCases
CtsInputMethodInstallTestCasesYes 是
CtsInstantAppsHostTestCases
CtsLegacyNotification34TestCases
CtsMediaCUJLargeTest
CtsMediaCUJSmallTest
CtsMediaCUJSmallTestYes 是
CtsMediaEditingTestCases
CtsMediaProjectionSDK33TestCases
CtsMediaProjectionSDK33TestCasesYes 是
CtsMediaProjectionSDK34TestCases
CtsMediaProjectionSDK34TestCasesYes 是
CtsMediaProviderTestCases
CtsMemunreachableTestCases
CtsMultiUserTestCases[run-on-private-profile]
CtsNetSecConfigCertificateTransparencyDefaultTestCases
CtsNetSecConfigCertificateTransparencyDefaultTestCasesYes 是
CtsNetSecConfigCertificateTransparencyTestCases
CtsNetSecConfigCertificateTransparencyTestCasesYes 是
CtsNotificationExtendersTestCases
CtsOnDeviceIntelligenceServiceTestCases
CtsOnDevicePersonalizationConfigTests
CtsOnDevicePersonalizationE2ETests
CtsOverlayHostTestCases
CtsPackageInstallerCUJTestCases
CtsPackageManagerHostTestCases
CtsPackageManagerIncrementalStatsHostTestCases
CtsPackageManagerTestCases
CtsPackageManagerTestCasesYes 是
CtsPdfModuleTestCases
CtsPdfModuleTestCasesYes 是
CtsPendingIntentApi33TestCases
CtsPendingIntentApi33TestCasesYes 是
CtsPermissionMultiDeviceTestCases
CtsPermissionsHostTestCases
CtsPermissionUiTestCases
CtsProfilingModuleTests
CtsResourcesHostTestCases
CtsResourcesTestCases
CtsResourcesTestCasesYes 是
CtsResumeOnRebootHostTestCases
CtsRollbackManagerTestCases
CtsScopedStorageBypassDatabaseOperationsTest
CtsScopedStorageGeneralTest
CtsScopedStorageRedactUriTest
CtsSecureElementTestCases
CtsSensitiveContentProtectionTestCases
CtsSensitiveContentProtectionTestCasesYes 是
CtsSettingsTestCases[run-on-work-profile]
CtsStorageAccessTestCases
CtsStorageHostTestCases
CtsSystemApiAnnotationTestCases
CtsTelecomCujTestCases
CtsTelephonyCujTestCases
CtsTelephonyCujTestCasesYes 是
CtsUseEmbeddedDexHostTestCases
CtsUserRestrictionTestCases
CtsUserRestrictionTestCases[run-on-work-profile]
CtsUwbMultiDeviceTestCase_FiraRangingTests
CtsVibratorTestCases
CtsVibratorTestCasesYes 是
CtsVibratorTestCases[run-on-clone-profile]
CtsVibratorTestCases[run-on-private-profile]
CtsVibratorTestCases[run-on-secondary-user]
CtsVibratorTestCases[run-on-work-profile]
CtsVideoQualityFloorHostTestCases
CtsVirtualDevicesAppLaunchTestCases
CtsVirtualDevicesAudioTestCases
CtsVirtualDevicesCameraCtsTestCases
CtsVirtualDevicesCameraTestCases
CtsVirtualDevicesSensorTestCases
CtsWifiNonUpdatableTestCases
CtsWindowManagerDeviceActivity
CtsWindowManagerDeviceAm
CtsWindowManagerDeviceAnimations
CtsWindowManagerDeviceBackNavigation
CtsWindowManagerDeviceDisplay
CtsWindowManagerDeviceIme
CtsWindowManagerDeviceInput
CtsWindowManagerDeviceInsets
CtsWindowManagerDeviceKeyguard
CtsWindowManagerDeviceMultiDisplay
CtsWindowManagerDeviceOther
CtsWindowManagerDeviceTaskFragment
CtsWindowManagerDeviceWindow
CtsWindowManagerTestCases
CtsWindowManagerTestCasesYes 是
MicrodroidTestAppNoInternetPerm
MultiDeviceRangingTestCase_Uwb

與主系列相關的新 CTS 模組

已新增測試模組名稱 免安裝應用程式測試
MctsAppSecurityHostTestCases
MctsMediaBetterTogetherTestCases
MctsMediaBetterTogetherTestCasesYes 是
MctsMediaCodecTestCases
MctsMediaCodecTestCasesYes 是
MctsMediaDecoderTestCases
MctsMediaEncoderTestCases
MctsMediaExtractorTestCases
MctsMediaMiscTestCases
MctsMediaMiscTestCasesYes 是
MctsMediaMuxerTestCases
MctsMediaParserTestCases
MctsMediaPlayerTestCases
MctsMediaRecorderTestCases
MctsMediaStressTestCases
MctsMediaTranscodingTestCases
MctsMediaV2TestCases

已移除的模組

已刪除測試模組名稱 ABI 免安裝應用程式測試
CtsLaunchNonExportedComponentsTestCases arm64-v8a
CtsLegacyNotification20TestCases arm64-v8a
CtsPermission3TestCases arm64-v8a
CtsStrictJavaPackagesTestCases arm64-v8a
CtsTareTestCases arm64-v8a
CtsWindowManagerDeviceTestCases arm64-v8a
libnativeloader_test arm64-v8a