Questa pagina include le principali modifiche CTS introdotte in CTS 17 R1.
Miglioramenti dell'infrastruttura
Aggregazione e report dei risultati dei test
La struttura di reporting CTS-V (incluso CameraITS) è stata sottoposta a refactoring per supportare risultati di sottotest granulari. Questo miglioramento consente l'esecuzione parallela dei sottotest per ridurre il runtime totale e le ripetizioni mirate dei sottotest non riusciti anziché dell'intero modulo.
Sharding dei token
È stato risolto un problema con la funzionalità enable-token-sharding, che a volte non riconosce i campioni con le schede SIM, causando l'esecuzione errata dei test.
Miglioramenti dell'efficienza
Ottimizzazione dei test biometrici
La suite di test biometrici in CTS-V combina più test chiave basati sul tempo, riducendo il numero di prompt di autenticazione da 120 a 72.
Modernizzazione della connettività e del ranging
Il Presence test manuale, che richiede una configurazione del dispositivo standardizzata di 1 m per una convalida accurata, è stato sostituito da un modulo di ranging completamente automatizzato (Ranging test).
Modernizzazione dei test Wi-Fi
Gli aggiornamenti della suite di test Wi-Fi includono l'introduzione di nuovi test Unsynchronized Service Discovery (USD), la migrazione dei Permission tests esistenti in un framework modernizzato e la rimozione dei Connection tests manuali legacy.
Miglioramenti multimediali e di telecomunicazione
Il test di riproduzione sicura viene introdotto per convalidare le funzionalità di riproduzione sicura, garantendo la visualizzazione corretta dei video e la coerenza della frequenza fotogrammi nella configurazione del test di riproduzione sicura. Si tratta di un test di CTS Verifier e richiede uno strumento di analisi della riproduzione periferica.
Automazione dei test di telecomunicazione
I test di telecomunicazione manuali vengono sostituiti dal modulo automatizzato CtsTelecomTests in CTS-V-HOST.
Moduli CTS
Il numero di moduli di test e scenari di test è il seguente:
- Circa 1244 moduli a seconda del tipo di dispositivo.
- Circa 3,1 milioni di scenari di test per una singola ABI.
185 nuovi moduli
CtsAActivityManagerTestCtsAlarmAtomHostTestCasesCtsAlarmAtomHostTestCases[instant]CtsAllowlistTestCasesCtsAllowlistTestCases[instant]CtsAngleEnd2EndTestCasesCtsAnomalyDetectorTestsCtsAppcompatStateAtomHostTestCasesCtsAppcompatStateAtomHostTestCases[instant]CtsAppExitAtomHostTestCasesCtsAppExitAtomHostTestCases[instant]CtsAppFunctionNoQueryAllPackagesTestCasesCtsAppFunctionNoQueryAllPackagesTestCases[run-on-clone-profile]CtsAppFunctionNoQueryAllPackagesTestCases[run-on-private-profile]CtsAppFunctionNoQueryAllPackagesTestCases[run-on-secondary-user]CtsAppFunctionNoQueryAllPackagesTestCases[run-on-work-profile]CtsAppFunctionsAtomHostTestCasesCtsAppFunctionsAtomHostTestCases[instant]CtsAppHibernationAtomHostTestCasesCtsAppHibernationAtomHostTestCases[instant]CtsAppInteractionTestCasesCtsAppInteractionTestCases[run-on-clone-profile]CtsAppInteractionTestCases[run-on-private-profile]CtsAppInteractionTestCases[run-on-secondary-user]CtsAppInteractionTestCases[run-on-work-profile]CtsAppOpsAtomHostTestCasesCtsAppOpsAtomHostTestCases[instant]CtsAppStartAtomHostTestCasesCtsAppStartAtomHostTestCases[instant]CtsBackportedFixesAtomHostTestCasesCtsBackportedFixesAtomHostTestCases[instant]CtsBatteryCycleAtomHostTestCasesCtsBatteryCycleAtomHostTestCases[instant]CtsBatteryStatsAtomHostTestCasesCtsBatteryStatsAtomHostTestCases[instant]CtsBinderStatsAtomHostTestCasesCtsBinderStatsAtomHostTestCases[instant]CtsBluetoothAtomHostTestCasesCtsBluetoothAtomHostTestCases[instant]CtsConscryptTestCasesCtsContactsPickerCoreTestCasesCtsContactsPickerCoreTestCases[run-on-clone-profile]CtsContactsPickerCoreTestCases[run-on-private-profile]CtsContactsPickerCoreTestCases[run-on-work-profile]CtsContactsPickerCoreTestCasesSdk36CtsContactsProviderHostTestCasesCtsContactsProviderSessionTestCasesCtsContactsProviderTestsStrictSqlCheckSdk37CtsContentPccTestCasesCtsContentRestrictionTestCasesCtsContentSafetyServiceTestCasesCtsContextualModeManagerTestCasesCtsContextualModeManagerTestCases[run-on-clone-profile]CtsContextualModeManagerTestCases[run-on-private-profile]CtsContextualModeManagerTestCases[run-on-secondary-user]CtsContextualModeManagerTestCases[run-on-work-profile]CtsCoreGraphicsAtomHostTestCasesCtsCoreGraphicsAtomHostTestCases[instant]CtsCpuAtomHostTestCasesCtsCpuAtomHostTestCases[instant]CtsCredentialsAtomHostTestCasesCtsCredentialsAtomHostTestCases[instant]CtsDevicePowerAtomHostTestCasesCtsDevicePowerAtomHostTestCases[instant]CtsDeviceStateAtomHostTestCasesCtsDeviceStateAtomHostTestCases[instant]CtsDisplayAtomHostTestCasesCtsDisplayAtomHostTestCases[instant]CtsDisplayStaticDeviceStateTestCasesCtsDisplayStaticDeviceStateTestCases[instant]CtsGameManagerAtomHostTestCasesCtsGameManagerAtomHostTestCases[instant]CtsGnssAtomHostTestCasesCtsGnssAtomHostTestCases[instant]CtsGpuTestCasesCtsGpuTestCases[instant]CtsHardwareHealthAtomHostTestCasesCtsHardwareHealthAtomHostTestCases[instant]CtsJobSchedulerAtomHostTestCasesCtsJobSchedulerAtomHostTestCases[instant]CtsLogcatHostTestCasesCtsMediaAtomHostTestCasesCtsMediaAtomHostTestCases[instant]CtsMediaRouterHostTestCasesCtsMediaRouterHostTestCases[instant]CtsMemoryAtomHostTestCasesCtsMemoryAtomHostTestCases[instant]CtsMemorySafetyAtomHostTestCasesCtsMemorySafetyAtomHostTestCases[instant]CtsMotionCuesTestCasesCtsMotionCuesTestCases[instant]CtsMultisensoryTestCasesCtsMultisensoryTestCases[instant]CtsMultisensoryTestCases[run-on-clone-profile]CtsMultisensoryTestCases[run-on-private-profile]CtsMultisensoryTestCases[run-on-secondary-user]CtsMultisensoryTestCases[run-on-work-profile]CtsNativeNdkAllowlistTestCtsNativeServiceTestCtsNetAtomHostTestCasesCtsNetAtomHostTestCases[instant]CtsNetSecConfigCustomTrustManagerTestCasesCtsNetSecConfigCustomTrustManagerTestCases[instant]CtsNetSecConfigEncryptedClientHelloTestCasesCtsNetSecConfigEncryptedClientHelloTestCases[instant]CtsNetSecEncryptedClientHelloTestCasesCtsNetSecEncryptedClientHelloTestCases[instant]CtsNetTestCasesLocalNetNoPermissionsCtsNetTestCasesLocalNetNoPermissions[instant]CtsNotificationAtomHostTestCasesCtsNotificationAtomHostTestCases[instant]CtsNpuManagerMoblyTestCasesCtsNpuManagerTestCasesCtsPackageManagerIsolatedSplitHostTestCasesCtsPackageManagerSplitHostTestCasesCtsPccFeatureTestsCtsPccFeatureTests[run-on-clone-profile]CtsPccFeatureTests[run-on-private-profile]CtsPccFeatureTests[run-on-secondary-user]CtsPccFeatureTests[run-on-work-profile]CtsPccProcessTestsCtsPccSandboxManagerNativeTestCtsPccSecurityTestCasesCtsPerfAtomHostTestCasesCtsPerfAtomHostTestCases[instant]CtsPerfettoAtomHostTestCasesCtsPerfettoAtomHostTestCases[instant]CtsPerformanceHintManagerAtomHostTestCasesCtsPerformanceHintManagerAtomHostTestCases[instant]CtsPermissionStateAtomHostTestCasesCtsPermissionStateAtomHostTestCases[instant]CtsPersonalContextTestCasesCtsPersonalContextTestCases[run-on-clone-profile]CtsPersonalContextTestCases[run-on-private-profile]CtsPersonalContextTestCases[run-on-secondary-user]CtsPersonalContextTestCases[run-on-work-profile]CtsPowerAtomHostTestCasesCtsPowerAtomHostTestCases[instant]CtsPowerManagerAtomHostTestCasesCtsPowerManagerAtomHostTestCases[instant]CtsPowerManagerPccTestCasesCtsPowerManagerPccTestCases[instant]CtsPowerManagerPccTestCases[run-on-work-profile]CtsSerialTestCasesCtsSettingsStatsAtomHostTestCasesCtsSettingsStatsAtomHostTestCases[instant]CtsSharesheetAppLockTestCasesCtsSizeCompatRestartButtonAtomHostTestCasesCtsSizeCompatRestartButtonAtomHostTestCases[instant]CtsSoundTriggerPccTestCasesCtsStatsdAtomHostRebootTestCasesCtsStatsdAtomHostRebootTestCases[instant]CtsStopAndKillHostTestCtsTelecomModuleTestsCtsTelephonyAtomHostTestCasesCtsTelephonyAtomHostTestCases[instant]CtsTelephonySatelliteTestCasesCtsTextClassifierPccTestCasesCtsTlsAtomHostTestCasesCtsTlsAtomHostTestCases[instant]CtsTrustTokenServiceTestCasesCtsTrustTokenServiceTestCases[instant]CtsUprobeStatsTestCtsUsageEventsPccTestCasesCtsUsbAtomHostTestCasesCtsUsbAtomHostTestCases[instant]CtsUsbManagerTestCases[run-on-clone-profile]CtsUsbManagerTestCases[run-on-private-profile]CtsUsbManagerTestCases[run-on-secondary-user]CtsUsbManagerTestCases[run-on-work-profile]CtsUsersAtomHostTestCasesCtsUsersAtomHostTestCases[instant]CtsVibratorAtomHostTestCasesCtsVibratorAtomHostTestCases[instant]CtsVirtualDevicesComputerControlTestsCtsVoiceInteractionAtomHostTestCasesCtsVoiceInteractionAtomHostTestCases[instant]CtsWifiAtomHostTestCasesCtsWifiAtomHostTestCases[instant]CtsWindowManagerHostTestCasesMctsVideoTestCasesMtsWebAppTestCasesPccServiceNonPccClientTestPccServicePccClientTestVmMultiTenancyTests.CTS
16 moduli rimossi
AdsPersonalizationStatusTestCtsAppFgsTestCases[instant]CtsCameraHeadlessSystemUserTestCasesCtsCarBuiltinApiHostTestCasesCtsFgsTimeoutTestCases[instant]CtsHealthConnectHostSideDeviceTestCasesCtsHealthConnectHostTestCasesCtsInstalledLoadingProgressHostTestsCtsSandboxedAdIdManagerTestsCtsSandboxedAppSetIdManagerTestsCtsSandboxedFledgeManagerTestsCtsSandboxedMeasurementManagerTestsCtsSandboxedTopicsManagerTestsCtsShortFgsTestCases[instant]CtsVideoEncodingQualityHostTestCases[instant]MctsTextClassifierTestCases
Nuovi test di CTS Verifier 17
Sono stati aggiunti 36 nuovi scenari di test CTS-V-HOST, inclusi test interattivi, scenari di test Verifier basati sull'host.
36 test aggiunti da 7 moduli
| Nome modulo | Elenco degli scenari di test appena aggiunti | ID requisito o API |
|---|---|---|
| CtsNotificationSizeVerifierHostTest |
|
Test del comportamento dell'API |
| CtsPermissionInteractiveTestCases |
|
CDD 3.8.18[C-0-1] |
| CtsSysuiInteractiveTestCases |
|
android.app.StatusBarManager#showPowerMenu
|
| CtsUsbTypecTestCases |
|
CDD 7.7.1-[C-SR-3] |
| CtsTelecomTest |
|
Migrazione dei test di telecomunicazione esistenti |
| CtsWifiConnectionTests |
|
java.lang.Stringandroid.net.MacAddressandroid.net.NetworkSpecifierandroid.net.NetworkRequest,android.net.ConnectivityManager.NetworkCallback,intandroid.os.PatternMatcherjava.util.concurrent.Executor,android.net.wifi.WifiManager.SuggestionUserApprovalStatusListenerandroid.net.wifi.WifiManager.SuggestionConnectionStatusListenerjava.util.concurrent.Executor,android.net.wifi.WifiManager.SuggestionConnectionStatusListener |
| CtsWifiUsdTests |
|
android.net.wifi.usd.PublishSessionCallbackandroid.net.wifi.usd.SubscribeSessionCallbackandroid.net.wifi.usd.DiscoveryResult |
Aggiunti 10 nuovi test per altre cinque sezioni di Verifier
| Sezione | Elenco degli scenari di test appena aggiunti |
|---|---|
AUDIO |
|
CAMERA |
|
FEATURES |
|
MEDIA |
|
SYSUI |
|