Google is committed to advancing racial equity for Black communities. See how.
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

Android 11 CTS發行說明

Android 11 for CTS中引入了許多關鍵的新模塊和測試更改。

CTS功能

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

特徵描述添加/更新
自動測試重試交易自動重試有助於減少片狀感對運行的影響。更新
自動登錄故障收集自動日誌收集有助於直接獲取更好的故障日誌。更新
允許訪問非SDK接口的命令用戶應在安裝CTS驗證程序之前運行CTS驗證程序新命令adb shell settings put global hidden_api_policy 1 ,以便它可以訪問非SDK接口更新
CTS驗證器新的模擬耳機測試增加了對模擬耳機插孔的CTS Verifier測試。任何與Android兼容的模擬耳機均可使用。更新
命令安裝所有必需的APK用戶可以使用新命令adb install xxxx.apk安裝任何必需的APK。更新
保存報告的命令用戶應驗證新的命令運行CTS adb shell appops set com android.cts.verifier MANAGE_EXTERNAL_STORAGE 0保存報告之前命令。更新
DisplayCutout安全插入的測試此測試是為了確保DisplayCutout的安全插圖內的區域應完全可見且可觸摸。更新
CTS設備交互幫助器模塊CTS設備交互幫助器模塊允許自定義CTS如何與有限的一組替換UI元素交互。更新
適用於APK fs-verity集成的CTS測試添加了帶有測試助手應用程序的CTS主機端測試,以強制執行新的CDD要求(C-0-3,C-0-4和C-0-5)。對於具有內核依賴性的Android 11啟動的新設備,此功能是必需的。與CtsShimPrebuilt相似,Google的公鑰在AOSP中進行檢查,並且應保留在發布版本中。更新
APEX管理API的CTS測試

從Android 11開始, CtsShimApex程序包包含兩個預構建的應用程序,CTS使用它們來測試特權和權限。如果OEM設備不支持APEX軟件包管理,或者該設備運行的是版本10或更低版本,則必須在系統中分別預先安裝兩個預構建的應用程序。

有關更多詳細信息,請參閱CTS墊片程序包

更新
CtsStatsdHostTestCases被標記為需要SIM卡CtsStatsdHostTestCase測試模塊帶有SIM_CARD令牌標記,因為UidAtomTests#testMobileBytesTransfer要求使用具有工作數據連接的常規SIM卡進行測試。更新
CTS SIM測試計劃提供了新的cts-sim計劃,因此可以在帶有SIM卡的設備上輕鬆運行測試的子集。用戶需要語音和數據激活的SIM卡才能運行這些測試。更新
更新的Wi-Fi RTT接入點新的AP設備支持ResponderLocation功能。有關更多信息,請參閱RTT的Wi-Fi位置更新
OpenJDK 11 Android 11 CTS應該使用OpenJDK 11工具鏈運行。更新
用於CTS測試的開發人員UICC規範要運行CTS運營商API測試,設備需要使用具有運營商特權的SIM卡。更新

添加模塊

CTS 11 R1(開發建造6656047)構建與CTS 10_R5和平台構建RP1A.200706.002 - 許多重要的新模塊和測試更改在Android的11(2020年7月6日構建日期)推出。

總共添加了225個模塊。

測試模塊名稱阿比
cts-platform-version-check arm64-v8a
cts-system-all.api[instant] arm64-v8a
CtsAccessibilityServiceSdk29TestCases arm64-v8a
CtsAccessibilityServiceSdk29TestCases[instant] arm64-v8a
CtsAccountsHostTestCases arm64-v8a
CtsAccountsHostTestCases[instant] arm64-v8a
CtsAndroidTestBase28ApiSignatureTestCases[instant] arm64-v8a
CtsAndroidTestBaseCurrentApiSignatureTestCases[instant] arm64-v8a
CtsAndroidTestMockCurrentApiSignatureTestCases[instant] arm64-v8a
CtsAndroidTestRunnerCurrentApiSignatureTestCases[instant] arm64-v8a
CtsApacheHttpLegacy27ApiSignatureTestCases[instant] arm64-v8a
CtsApacheHttpLegacyCurrentApiSignatureTestCases[instant] arm64-v8a
CtsApacheHttpLegacyUsesLibraryApiSignatureTestCases[instant] arm64-v8a
CtsAppCompatHostTestCases arm64-v8a
CtsAppCompatHostTestCases[instant] arm64-v8a
CtsAppEnumerationTestCases arm64-v8a
CtsAppExitTestCases arm64-v8a
CtsAppExitTestCases[instant] arm64-v8a
CtsAppIntegrityDeviceTestCases arm64-v8a
CtsBionicAppTestCases arm64-v8a
CtsBionicAppTestCases[instant] arm64-v8a
CtsBlobStoreHostTestCases arm64-v8a
CtsBlobStoreHostTestHelper arm64-v8a
CtsBlobStoreTestCases arm64-v8a
CtsBlobStoreTestHelper arm64-v8a
CtsBlobStoreTestHelperDiffSig arm64-v8a
CtsBlobStoreTestHelperDiffSig2 arm64-v8a
CtsCalendarProviderTestCases arm64-v8a
CtsCarHostTestCases arm64-v8a
CtsCodePathHostTestCases arm64-v8a
CtsContactsProviderTestCases arm64-v8a
CtsControlsDeviceTestCases arm64-v8a
CtsCurrentApiSignatureTestCases[instant] arm64-v8a
CtsDownloadManagerInstaller arm64-v8a
CtsDynamicMimeHostTestCases arm64-v8a
CtsExtractNativeLibsHostTestCases arm64-v8a
CtsFsMgrTestCases arm64-v8a
CtsGpuProfilingDataTestCases arm64-v8a
CtsGwpAsanTestCases arm64-v8a
CtsGwpAsanTestCases[instant] arm64-v8a
CtsHdmiCecHostTestCases arm64-v8a
CtsHiddenApiBlacklistApi27TestCases[instant] arm64-v8a
CtsHiddenApiBlacklistApi28TestCases[instant] arm64-v8a
CtsHiddenApiBlacklistCurrentApiTestCases[instant] arm64-v8a
CtsHiddenApiBlacklistDebugClassTestCases[instant] arm64-v8a
CtsHiddenApiBlacklistTestApiTestCases arm64-v8a
CtsHiddenApiBlacklistTestApiTestCases[instant] arm64-v8a
CtsHiddenApiKillswitchDebugClassTestCases[instant] arm64-v8a
CtsHiddenApiKillswitchWhitelistTestCases[instant] arm64-v8a
CtsHiddenApiKillswitchWildcardTestCases[instant] arm64-v8a
CtsIdentityTestCases arm64-v8a
CtsIkeTestCases arm64-v8a
CtsIncrementalInstallHostTestCases arm64-v8a
CtsInitTestCases arm64-v8a
CtsInstantAppTests arm64-v8a
CtsJvmtiRunTest1962HostTestCases arm64-v8a
CtsJvmtiRunTest1967HostTestCases arm64-v8a
CtsJvmtiRunTest1968HostTestCases arm64-v8a
CtsJvmtiRunTest1969HostTestCases arm64-v8a
CtsJvmtiRunTest1970HostTestCases arm64-v8a
CtsJvmtiRunTest1971HostTestCases arm64-v8a
CtsJvmtiRunTest1974HostTestCases arm64-v8a
CtsJvmtiRunTest1975HostTestCases arm64-v8a
CtsJvmtiRunTest1976HostTestCases arm64-v8a
CtsJvmtiRunTest1977HostTestCases arm64-v8a
CtsJvmtiRunTest1978HostTestCases arm64-v8a
CtsJvmtiRunTest1979HostTestCases arm64-v8a
CtsJvmtiRunTest1981HostTestCases arm64-v8a
CtsJvmtiRunTest1982HostTestCases arm64-v8a
CtsJvmtiRunTest1983HostTestCases arm64-v8a
CtsJvmtiRunTest1984HostTestCases arm64-v8a
CtsJvmtiRunTest1988HostTestCases arm64-v8a
CtsJvmtiRunTest1989HostTestCases arm64-v8a
CtsJvmtiRunTest1990HostTestCases arm64-v8a
CtsJvmtiRunTest1991HostTestCases arm64-v8a
CtsJvmtiRunTest1992HostTestCases arm64-v8a
CtsJvmtiRunTest1994HostTestCases arm64-v8a
CtsJvmtiRunTest1995HostTestCases arm64-v8a
CtsJvmtiRunTest1996HostTestCases arm64-v8a
CtsJvmtiRunTest1997HostTestCases arm64-v8a
CtsJvmtiRunTest1998HostTestCases arm64-v8a
CtsJvmtiRunTest1999HostTestCases arm64-v8a
CtsJvmtiRunTest2001HostTestCases arm64-v8a
CtsJvmtiRunTest2002HostTestCases arm64-v8a
CtsJvmtiRunTest2003HostTestCases arm64-v8a
CtsJvmtiRunTest2004HostTestCases arm64-v8a
CtsJvmtiRunTest2005HostTestCases arm64-v8a
CtsJvmtiRunTest2006HostTestCases arm64-v8a
CtsJvmtiRunTest2007HostTestCases arm64-v8a
CtsLocationCoarseTestCases arm64-v8a
CtsLocationCoarseTestCases[instant] arm64-v8a
CtsLocationFineTestCases arm64-v8a
CtsLocationFineTestCases[instant] arm64-v8a
CtsLocationGnssTestCases arm64-v8a
CtsLocationGnssTestCases[instant] arm64-v8a
CtsLocationNoneTestCases arm64-v8a
CtsLocationNoneTestCases[instant] arm64-v8a
CtsLocationPrivilegedTestCases arm64-v8a
CtsLocationPrivilegedTestCases[instant] arm64-v8a
CtsMatchFlagTestCases arm64-v8a
CtsMediaParserTestCases arm64-v8a
CtsMediaV2TestCases arm64-v8a
CtsMimeMapTestCases arm64-v8a
CtsNativeEncryptionTestCases arm64-v8a
CtsNativeEncryptionTestCases[instant] arm64-v8a
CtsNativeMediaMetricsTestCases arm64-v8a
CtsNativeMediaMetricsTestCases[instant] arm64-v8a
CtsNfcTestCases arm64-v8a
CtsPackageInstallAppOpDefaultTestCases arm64-v8a
CtsPackageInstallAppOpDefaultTestCases[instant] arm64-v8a
CtsPackageInstallAppOpDeniedTestCases arm64-v8a
CtsPackageInstallAppOpDeniedTestCases[instant] arm64-v8a
CtsPackageWatchdogTestCases arm64-v8a
CtsPermission3TestCases arm64-v8a
CtsQuickAccessWalletTestCases arm64-v8a
CtsQuickAccessWalletTestCases[instant] arm64-v8a
CtsResourcesLoaderTests arm64-v8a
CtsSdkExtensionsTestCases arm64-v8a
CtsSdkExtensionsTestCases[instant] arm64-v8a
CtsSecureFrpInstallTestCases arm64-v8a
CtsSelinuxTargetSdk29TestCases arm64-v8a
CtsSettingsHostTestCases arm64-v8a
CtsSharedLibsApiSignatureTestCases[instant] arm64-v8a
CtsSharesheetTestCases arm64-v8a
CtsShortcutManagerLauncher1 arm64-v8a
CtsShortcutManagerLauncher2 arm64-v8a
CtsShortcutManagerLauncher3 arm64-v8a
CtsShortcutManagerLauncher4 arm64-v8a
CtsShortcutManagerPackage1 arm64-v8a
CtsShortcutManagerPackage2 arm64-v8a
CtsShortcutManagerPackage3 arm64-v8a
CtsShortcutManagerPackage4 arm64-v8a
CtsShortcutManagerThrottlingTest arm64-v8a
CtsSoundTriggerTestCases arm64-v8a
CtsSoundTriggerTestCases[instant] arm64-v8a
CtsStrictJavaPackagesTestCases arm64-v8a
CtsSuspendAppsPermissionTestCases arm64-v8a
CtsSuspendAppsTestCases arm64-v8a
CtsSystemApiAnnotationTestCases[instant] arm64-v8a
CtsSystemApiSignatureTestCases[instant] arm64-v8a
CtsTaggingHostTestCases arm64-v8a
CtsTaggingHostTestCases[instant] arm64-v8a
CtsTelephonyHostCases arm64-v8a
CtsTelephonyProviderHostCases arm64-v8a
CtsTelephonyTestCasesPermissionReadPhoneState arm64-v8a
CtsTelephonyTestCasesPermissionReadPhoneState[instant] arm64-v8a
CtsTetheringTest arm64-v8a
CtsTextClassifierTestCases arm64-v8a
CtsThermalTestCases arm64-v8a
CtsUsbManagerTestCases arm64-v8a
CtsUserspaceRebootHostSideTestCases arm64-v8a
CtsWidgetTestCases29 arm64-v8a
CtsWidgetTestCases29[instant] arm64-v8a
CtsWifiTestCases arm64-v8a
CtsWifiTestCases[instant] arm64-v8a
CtsWindowManagerJetpackTestCases arm64-v8a
CtsWindowManagerSdk29TestCases arm64-v8a
signed-CtsOmapiTestCases arm64-v8a
signed-CtsOmapiTestCases[instant] arm64-v8a
CtsScopedStorageHostTest arm64-v8a
CtsScopedStorageHostTest[instant] arm64-v8a
LegacyStorageTest arm64-v8a
LegacyStorageTest[instant] arm64-v8a
ScopedStorageTest arm64-v8a
ScopedStorageTest[instant] armeabi-v7a
CtsAdbHostTestCases arm64-v8a
CtsCarTestCases[instant] arm64-v8a
CtsAppOpsTestCases armeabi-v7a
CtsBionicAppTestCases armeabi-v7a
CtsCodePathHostTestCases armeabi-v7a
CtsExtractNativeLibsHostTestCases armeabi-v7a
CtsFsMgrTestCases armeabi-v7a
CtsGpuProfilingDataTestCases armeabi-v7a
CtsGwpAsanTestCases armeabi-v7a
CtsIdentityTestCases armeabi-v7a
CtsIncrementalInstallHostTestCases armeabi-v7a
CtsJvmtiRunTest1962HostTestCases armeabi-v7a
CtsJvmtiRunTest1967HostTestCases armeabi-v7a
CtsJvmtiRunTest1968HostTestCases armeabi-v7a
CtsJvmtiRunTest1969HostTestCases armeabi-v7a
CtsJvmtiRunTest1970HostTestCases armeabi-v7a
CtsJvmtiRunTest1971HostTestCases armeabi-v7a
CtsJvmtiRunTest1974HostTestCases armeabi-v7a
CtsJvmtiRunTest1975HostTestCases armeabi-v7a
CtsJvmtiRunTest1976HostTestCases armeabi-v7a
CtsJvmtiRunTest1977HostTestCases armeabi-v7a
CtsJvmtiRunTest1978HostTestCases armeabi-v7a
CtsJvmtiRunTest1979HostTestCases armeabi-v7a
CtsJvmtiRunTest1981HostTestCases armeabi-v7a
CtsJvmtiRunTest1982HostTestCases armeabi-v7a
CtsJvmtiRunTest1983HostTestCases armeabi-v7a
CtsJvmtiRunTest1984HostTestCases armeabi-v7a
CtsJvmtiRunTest1988HostTestCases armeabi-v7a
CtsJvmtiRunTest1989HostTestCases armeabi-v7a
CtsJvmtiRunTest1990HostTestCases armeabi-v7a
CtsJvmtiRunTest1991HostTestCases armeabi-v7a
CtsJvmtiRunTest1992HostTestCases armeabi-v7a
CtsJvmtiRunTest1994HostTestCases armeabi-v7a
CtsJvmtiRunTest1995HostTestCases armeabi-v7a
CtsJvmtiRunTest1996HostTestCases armeabi-v7a
CtsJvmtiRunTest1997HostTestCases armeabi-v7a
CtsJvmtiRunTest1998HostTestCases armeabi-v7a
CtsJvmtiRunTest1999HostTestCases armeabi-v7a
CtsJvmtiRunTest2001HostTestCases armeabi-v7a
CtsJvmtiRunTest2002HostTestCases armeabi-v7a
CtsJvmtiRunTest2003HostTestCases armeabi-v7a
CtsJvmtiRunTest2004HostTestCases armeabi-v7a
CtsJvmtiRunTest2005HostTestCases armeabi-v7a
CtsJvmtiRunTest2006HostTestCases armeabi-v7a
CtsJvmtiRunTest2007HostTestCases armeabi-v7a
CtsLocationCoarseTestCases armeabi-v7a
CtsLocationFineTestCases armeabi-v7a
CtsLocationGnssTestCases armeabi-v7a
CtsLocationNoneTestCases armeabi-v7a
CtsLocationPrivilegedTestCases armeabi-v7a
CtsMediaV2TestCases armeabi-v7a
CtsMimeMapTestCases armeabi-v7a
CtsNativeEncryptionTestCases armeabi-v7a
CtsNativeMediaMetricsTestCases armeabi-v7a
CtsPackageWatchdogTestCases armeabi-v7a
CtsSdkExtensionsTestCases armeabi-v7a
CtsTextClassifierTestCases armeabi-v7a
CtsThermalTestCases armeabi-v7a
CtsUsbManagerTestCases armeabi-v7a

卸下的模塊

Android 11中針對(構建日期-2020年6月6日)CTS 11 R1(Dev構建6656047)構建與CTS 10_R5構建以及針對平台構建RP1A.200706.002引入了許多關鍵的新模塊和測試更改。

總共刪除了13個模塊。

測試模塊名稱阿比
CtsDownloadManagerLegacy arm64-v8a
CtsLocation2TestCases arm64-v8a
CtsLocation2TestCases[instant] arm64-v8a
CtsLocationTestCases arm64-v8a
CtsLocationTestCases[instant] arm64-v8a
cts-shared-libs-all.api arm64-v8a
CtsLocation2TestCases阿瑪比-v7a
CtsLocationTestCases阿瑪比-v7a
CtsSelinuxEphemeralTestCases阿瑪比-v7a
CtsSelinuxTargetSdk25TestCases阿瑪比-v7a
CtsSelinuxTargetSdk27TestCases阿瑪比-v7a
CtsSelinuxTargetSdk28TestCases阿瑪比-v7a
CtsSelinuxTargetSdkCurrentTestCases阿瑪比-v7a