Android 15 CTS 版本資訊

本頁列出 Android 15 中導入的主要 CTS 異動內容。

CTS 功能

Android 15 針對以下項目提供全新和更新的說明文件: 下列 CTS 功能:

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

CTS 驗證器功能

Android 15 針對以下項目提供全新和更新的說明文件: 下列 CTS 驗證器功能:

面積 功能與特色 說明 已新增/更新
CTS-V 測試類別 淘汰 CTS 驗證器中的 USB 音訊播放和 USB 錄音測試。 這些測試已由 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 個模組,並移除了 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