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 Verifier 功能

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

區域 功能 說明 新增/更新
CTS-V 測試類別 在 CTS Verifier 中淘汰 USB Audio Play 和 USB Audio Record 測試。 這些測試已由 Audio Datapaths USB 測試中的改善版測試取代。 更新時間:
CTS-V 測試類別 新 ITS 測試:LowLightBoostTest 在昏暗的光線下測試低光源增強模式。 已新增
CTS-V 測試類別 新增 CTS Verifier 測試 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

新的 Mainline 相關 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