Android 12 CTS 發行說明

此頁麵包含 Android 12 中引入的關鍵 CTS 更改。

CTS 功能

Android 12 CTS 功能的新文檔和更新文檔如下。

特徵描述添加/更新
為 SIM 聯繫人讀/寫 API 添加了新測試。請參閱CTS 設置說明更新了 CTS 設置說明以指定使用支持 SIM 聯繫人提供商運行所需的實體文件的 SIM 卡。添加
測試 RCS 單一註冊 API這些測試需要插入運營商 SIM 卡,並且僅在支持 PackageManager#FEATURE_TELEPHONY_IMS_SINGLE_REGISTRATION 功能的設備上進行測試。添加
PY3 代碼端口和 mobly 支持多設備支持

所有 CameraITS/* 都移植到 python3。功能得以保留。

額外的 Mobly 支持有助於減少通信套接字錯誤,並且為 DUT 和測試圖表板保存的 logcat 可實現更好的調試支持。

更新
更新開發者 UICC 規範在 Android 12 中,要運行 CTS 運營商 API 測試,設備需要使用具有 CTS 運營商權限的開發者 UICC,滿足最新版本的第三方 GSMA TS.48 測試配置文件規範中規定的要求。更新
NFC 測試的 UICC 要求為 NFC CTS-V 測試添加了 UICC 要求。添加
CtsVerifier 報告日誌文件在 CTS-Verifier 報告中添加了 CtsVerifier ReportLog 文件。添加
GSI 已更新GSI 從 aosp_$arch 重命名為 GSI_$arch更新

CTS 模塊

在 Android 12 中,一共添加了 127 個新模塊,一共移除了 53 個模塊。有關詳細信息,請參閱下表。

新模塊

請參閱下表,了解為 Android 12 添加的所有新模塊。

測試模塊名稱ABI即時應用測試?
arm64-v8a CtsActivityRecognitionTestCases arm64-v8a
arm64-v8a CtsActivityRecognitionTestCases[instant] arm64-v8a是的
arm64-v8a CtsAdbManagerHostTestCases arm64-v8a
arm64-v8a CtsApacheHttpTestCases arm64-v8a
arm64-v8a CtsApacheHttpTestCases[instant] arm64-v8a是的
arm64-v8a CtsApexSharedLibrariesTestCases arm64-v8a
arm64-v8a CtsAppCloningHostTest arm64-v8a
arm64-v8a CtsAppCloningHostTest[instant] arm64-v8a是的
arm64-v8a CtsAppOps2TestCases arm64-v8a
arm64-v8a CtsAppOps2TestCases[instant] arm64-v8a是的
arm64-v8a CtsAppSearchHostTestCases arm64-v8a
arm64-v8a CtsAppSearchTestCases arm64-v8a
arm64-v8a CtsBiometricsTestCases arm64-v8a
arm64-v8a CtsBugreportTestCases arm64-v8a
arm64-v8a CtsCallLogTestCases arm64-v8a
arm64-v8a CtsCameraApi31TestCases arm64-v8a
arm64-v8a CtsClasspathsTestCases arm64-v8a
arm64-v8a CtsDevicePolicyTestCases arm64-v8a是的
arm64-v8a CtsDevicePolicyTestCases[run-on-secondary-user] arm64-v8a
arm64-v8a CtsDevicePolicyTestCases[run-on-work-profile] arm64-v8a
arm64-v8a CtsDeviceStateManagerTestCases arm64-v8a
arm64-v8a CtsDomainVerificationDeviceMultiUserTestCases arm64-v8a
arm64-v8a CtsDomainVerificationDeviceMultiUserTestCases[run-on-secondary-user] arm64-v8a
arm64-v8a CtsDomainVerificationDeviceMultiUserTestCases[run-on-work-profile] arm64-v8a
arm64-v8a CtsDomainVerificationDeviceStandaloneTestCases arm64-v8a
arm64-v8a CtsDomainVerificationHostTestCases arm64-v8a
arm64-v8a CtsFrameRateOverrideTestCases arm64-v8a
arm64-v8a CtsFrameRateOverrideTestCases[instant] arm64-v8a是的
arm64-v8a CtsGameManagerTestCases arm64-v8a
arm64-v8a CtsGameManagerTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlocklistApi27TestCases arm64-v8a
arm64-v8a CtsHiddenApiBlocklistApi27TestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlocklistApi28TestCases arm64-v8a
arm64-v8a CtsHiddenApiBlocklistApi28TestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlocklistCurrentApiTestCases arm64-v8a
arm64-v8a CtsHiddenApiBlocklistCurrentApiTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlocklistDebugClassTestCases arm64-v8a
arm64-v8a CtsHiddenApiBlocklistDebugClassTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlocklistTestApiTestCases arm64-v8a
arm64-v8a CtsHiddenApiBlocklistTestApiTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiKillswitchSdkListTestCases arm64-v8a
arm64-v8a CtsHiddenApiKillswitchSdkListTestCases[instant] arm64-v8a是的
arm64-v8a CtsHostsideHiddenapiTests arm64-v8a
arm64-v8a CtsHostsideHiddenapiTests[instant] arm64-v8a是的
arm64-v8a CtsIcu4cTestCases arm64-v8a
arm64-v8a CtsInputTestCases arm64-v8a
arm64-v8a CtsInstalledLoadingProgressHostTests arm64-v8a
arm64-v8a CtsInstallHostTestCases arm64-v8a
arm64-v8a CtsLegacyNotification30TestCases arm64-v8a
arm64-v8a CtsLibnativehelperTestCases arm64-v8a
arm64-v8a CtsLocationTimeZoneManagerHostTest arm64-v8a
arm64-v8a CtsMediaParserHostTestCases arm64-v8a
arm64-v8a CtsMediaParserHostTestCases[instant] arm64-v8a是的
arm64-v8a CtsMediaPerformanceClassTestCases arm64-v8a
arm64-v8a CtsMediaProviderTranscodeTests arm64-v8a
arm64-v8a CtsMediaTranscodingTestCases arm64-v8a
arm64-v8a CtsMusicRecognitionTestCases arm64-v8a
arm64-v8a CtsNativeVerifiedBootTestCases arm64-v8a
arm64-v8a CtsNativeVerifiedBootTestCases[instant] arm64-v8a是的
arm64-v8a CtsNNAPIJavaTestCases arm64-v8a
arm64-v8a CtsNNAPIJavaTestCases[instant] arm64-v8a是的
arm64-v8a CtsPackageManagerMultiUserHostTestCases arm64-v8a
arm64-v8a CtsPackageManagerParsingHostTestCases arm64-v8a
arm64-v8a CtsPackageManagerPreferredActivityHostTestCases arm64-v8a
arm64-v8a CtsPackageManagerStatsHostTestCases arm64-v8a
arm64-v8a CtsPermission4TestCases arm64-v8a
arm64-v8a CtsPermission5TestCases arm64-v8a
arm64-v8a CtsPermission5TestCases[instant] arm64-v8a是的
arm64-v8a CtsPermissionManagerNativeTestCases arm64-v8a
arm64-v8a CtsPermissionManagerNativeTestCases[instant] arm64-v8a是的
arm64-v8a CtsRebootReadinessTestCases arm64-v8a
arm64-v8a CtsRotationResolverServiceDeviceTestCases arm64-v8a
arm64-v8a CtsScopedStorageCoreHostTest arm64-v8a
arm64-v8a CtsScopedStorageCoreHostTest[instant] arm64-v8a是的
arm64-v8a CtsScopedStorageDeviceOnlyTest arm64-v8a
arm64-v8a CtsSearchUiServiceTestCases arm64-v8a
arm64-v8a CtsSensorPrivacyTestCases arm64-v8a
arm64-v8a CtsSensorPrivacyTestCases[instant] arm64-v8a是的
arm64-v8a CtsSensorRatePermissionTestCases arm64-v8a
arm64-v8a CtsSensorRatePermissionTestCases[instant] arm64-v8a是的
arm64-v8a CtsSettingsSuggestionsTest arm64-v8a
arm64-v8a CtsSettingsTestCases arm64-v8a
arm64-v8a CtsSilentUpdateHostTestCases arm64-v8a
arm64-v8a CtsSimPhonebookProviderTestCases arm64-v8a
arm64-v8a CtsSmartspaceServiceTestCases arm64-v8a
arm64-v8a CtsStatsdAtomHostTestCases arm64-v8a
arm64-v8a CtsStatsdAtomHostTestCases[instant] arm64-v8a是的
arm64-v8a CtsTimeTestCases arm64-v8a
arm64-v8a CtsTranslationTestCases arm64-v8a
arm64-v8a CtsTranslationTestCases[instant] arm64-v8a是的
arm64-v8a CtsUsesNativeLibraryTest arm64-v8a
arm64-v8a CtsUwbTestCases arm64-v8a
arm64-v8a CtsUwbTestCases[instant] arm64-v8a是的
arm64-v8a CtsVcnTestCases arm64-v8a
arm64-v8a CtsViewReceiveContentTestCases arm64-v8a
arm64-v8a CtsViewReceiveContentTestCases[instant] arm64-v8a是的
arm64-v8a CtsVoiceRecognitionTestCases arm64-v8a
arm64-v8a ResourceObserverNativeTest arm64-v8a
arm64-v8a ResourceObserverNativeTest[instant] arm64-v8a是的
arm64-v8a signed-CtsOmapiTestCases arm64-v8a
armeabi-v7a CtsApexSharedLibrariesTestCases armeabi-v7a
armeabi-v7a CtsAppOps2TestCases armeabi-v7a
armeabi-v7a CtsBiometricsTestCases armeabi-v7a
armeabi-v7a CtsCameraApi31TestCases armeabi-v7a
armeabi-v7a CtsDevicePolicyTestCases armeabi-v7a
armeabi-v7a CtsDomainVerificationDeviceMultiUserTestCases armeabi-v7a
armeabi-v7a CtsDomainVerificationDeviceStandaloneTestCases armeabi-v7a
armeabi-v7a CtsDomainVerificationHostTestCases armeabi-v7a
armeabi-v7a CtsGameManagerTestCases armeabi-v7a
armeabi-v7a CtsIcu4cTestCases armeabi-v7a
armeabi-v7a CtsInputTestCases armeabi-v7a
armeabi-v7a CtsInstalledLoadingProgressHostTests armeabi-v7a
armeabi-v7a CtsLibnativehelperTestCases armeabi-v7a
armeabi-v7a CtsMediaParserHostTestCases armeabi-v7a
armeabi-v7a CtsMediaPerformanceClassTestCases armeabi-v7a
armeabi-v7a CtsNativeVerifiedBootTestCases armeabi-v7a
armeabi-v7a CtsNNAPIJavaTestCases armeabi-v7a
armeabi-v7a CtsPackageManagerMultiUserHostTestCases armeabi-v7a
armeabi-v7a CtsPackageManagerParsingHostTestCases armeabi-v7a
armeabi-v7a CtsPackageManagerPreferredActivityHostTestCases armeabi-v7a
armeabi-v7a CtsPackageManagerStatsHostTestCases armeabi-v7a
armeabi-v7a CtsPermissionManagerNativeTestCases armeabi-v7a
armeabi-v7a CtsStatsdAtomHostTestCases armeabi-v7a
armeabi-v7a CtsTranslationTestCases armeabi-v7a
armeabi-v7a CtsViewReceiveContentTestCases armeabi-v7a
armeabi-v7a CtsVoiceRecognitionTestCases armeabi-v7a
armeabi-v7a ResourceObserverNativeTest armeabi-v7a

移除的模塊

請參閱下表,了解為 Android 12 移除的所有模塊。

測試模塊名稱ABI即時應用測試?
arm64-v8a CtsBlobStoreHostTestHelper arm64-v8a
arm64-v8a CtsBlobStoreTestHelper arm64-v8a
arm64-v8a CtsBlobStoreTestHelperDiffSig arm64-v8a
arm64-v8a CtsBlobStoreTestHelperDiffSig2 arm64-v8a
arm64-v8a CtsDeviceConfigTestCases[instant] arm64-v8a是的
arm64-v8a CtsExtendedMockingTestCases arm64-v8a
arm64-v8a CtsExtendedMockingTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlacklistApi27TestCases arm64-v8a
arm64-v8a CtsHiddenApiBlacklistApi27TestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlacklistApi28TestCases arm64-v8a
arm64-v8a CtsHiddenApiBlacklistApi28TestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlacklistCurrentApiTestCases arm64-v8a
arm64-v8a CtsHiddenApiBlacklistCurrentApiTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlacklistDebugClassTestCases arm64-v8a
arm64-v8a CtsHiddenApiBlacklistDebugClassTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiBlacklistTestApiTestCases arm64-v8a
arm64-v8a CtsHiddenApiBlacklistTestApiTestCases[instant] arm64-v8a是的
arm64-v8a CtsHiddenApiKillswitchWhitelistTestCases arm64-v8a
arm64-v8a CtsHiddenApiKillswitchWhitelistTestCases[instant] arm64-v8a是的
arm64-v8a cts-platform-version-check arm64-v8a
arm64-v8a CtsPrintTestCases arm64-v8a
arm64-v8a CtsPrintTestCases[instant] arm64-v8a是的
arm64-v8a CtsSecureElementAccessControlTestCases1 arm64-v8a
arm64-v8a CtsSecureElementAccessControlTestCases1[instant] arm64-v8a是的
arm64-v8a CtsSecureElementAccessControlTestCases2 arm64-v8a
arm64-v8a CtsSecureElementAccessControlTestCases2[instant] arm64-v8a是的
arm64-v8a CtsSecureElementAccessControlTestCases3 arm64-v8a
arm64-v8a CtsSecureElementAccessControlTestCases3[instant] arm64-v8a是的
arm64-v8a CtsSecurityTestCases[instant] arm64-v8a是的
arm64-v8a CtsShortcutManagerLauncher1 arm64-v8a
arm64-v8a CtsShortcutManagerLauncher2 arm64-v8a
arm64-v8a CtsShortcutManagerLauncher3 arm64-v8a
arm64-v8a CtsShortcutManagerLauncher4 arm64-v8a
arm64-v8a CtsShortcutManagerPackage1 arm64-v8a
arm64-v8a CtsShortcutManagerPackage2 arm64-v8a
arm64-v8a CtsShortcutManagerPackage3 arm64-v8a
arm64-v8a CtsShortcutManagerPackage4 arm64-v8a
arm64-v8a CtsShortcutManagerThrottlingTest arm64-v8a
arm64-v8a CtsSkQPTestCases arm64-v8a
arm64-v8a cts-system-all.api arm64-v8a
arm64-v8a cts-system-all.api[instant] arm64-v8a是的
arm64-v8a signed-CtsSecureElementAccessControlTestCases1[instant] arm64-v8a是的
arm64-v8a signed-CtsSecureElementAccessControlTestCases2[instant] arm64-v8a是的
arm64-v8a signed-CtsSecureElementAccessControlTestCases3[instant] arm64-v8a是的
armeabi-v7a CtsExtendedMockingTestCases armeabi-v7a
armeabi-v7a CtsLocationCoarseTestCases armeabi-v7a
armeabi-v7a CtsLocationFineTestCases armeabi-v7a
armeabi-v7a CtsLocationGnssTestCases armeabi-v7a
armeabi-v7a CtsLocationNoneTestCases armeabi-v7a
armeabi-v7a CtsLocationPrivilegedTestCases armeabi-v7a
armeabi-v7a CtsPerfettoTestCases armeabi-v7a
armeabi-v7a cts-platform-version-check armeabi-v7a
armeabi-v7a CtsSkQPTestCases armeabi-v7a