Esta página inclui as principais mudanças do CTS introduzidas no CTS 17 R1.
Melhorias na infraestrutura
Agregação e geração de relatórios de resultados de testes
A estrutura de relatórios do CTS-V, incluindo o CameraITS, foi refatorada para oferecer suporte a resultados de subtestes granulares. Essa melhoria permite a execução paralela de subtestes para reduzir o tempo total de execução e a repetição focada de subtestes com falha em vez do módulo completo.
Fragmentação de tokens
- Foi corrigido um problema com o recurso enable-token-sharding, que às vezes não reconhece amostras com cartões SIM, fazendo com que os testes sejam executados incorretamente.
Melhorias de eficiência
O CTS 17 inclui as seguintes melhorias de eficiência.
Otimização de testes biométricos
O conjunto de testes biométricos no CTS-V foi reestruturado para combinar vários testes de chave baseados em tempo, e os avisos de autenticação diminuíram de 120 para 72.
Modernização de conectividade e alcance
O teste manual de presença, que exige uma configuração de dispositivo padronizada de 1 m para validação precisa, foi substituído por um módulo de alcance totalmente automatizado.
Modernização de testes de Wi-Fi
As atualizações no conjunto de testes de Wi-Fi incluem a introdução de testes de descoberta de serviço não sincronizada (USD, na sigla em inglês), a migração de testes de permissão atuais para uma estrutura modernizada e a remoção de testes de conexão manual legados.
Melhorias de multimídia e telecomunicações
O teste de reprodução segura é introduzido para validar os recursos de reprodução segura, garantindo a exibição correta de vídeo e a consistência da taxa de frames Configuração do teste de reprodução segura. Esse é um teste do CTS Verifier e requer uma ferramenta de análise de reprodução periférica.
Automação de testes de telecomunicações
Os testes manuais de telecomunicações são substituídos pelo módulo automatizado CtsTelecomTests em CTS-V-HOST.
Módulos do CTS
O número de módulos e casos de teste é o seguinte:
- Aproximadamente 1.244 módulos,dependendo do tipo de dispositivo
- Aproximadamente 3,1 milhões de casos de teste para uma única ABI
185 novos módulos
- CtsAActivityManagerTest
- CtsAlarmAtomHostTestCases
- CtsAlarmAtomHostTestCases[instant]
- CtsAllowlistTestCases
- CtsAllowlistTestCases[instant]
- CtsAngleEnd2EndTestCases
- CtsAnomalyDetectorTests
- CtsAppcompatStateAtomHostTestCases
- CtsAppcompatStateAtomHostTestCases[instant]
- CtsAppExitAtomHostTestCases
- CtsAppExitAtomHostTestCases[instant]
- CtsAppFunctionNoQueryAllPackagesTestCases
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-clone-profile]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-private-profile]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-secondary-user]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-work-profile]
- CtsAppFunctionsAtomHostTestCases
- CtsAppFunctionsAtomHostTestCases[instant]
- CtsAppHibernationAtomHostTestCases
- CtsAppHibernationAtomHostTestCases[instant]
- CtsAppInteractionTestCases
- CtsAppInteractionTestCases[run-on-clone-profile]
- CtsAppInteractionTestCases[run-on-private-profile]
- CtsAppInteractionTestCases[run-on-secondary-user]
- CtsAppInteractionTestCases[run-on-work-profile]
- CtsAppOpsAtomHostTestCases
- CtsAppOpsAtomHostTestCases[instant]
- CtsAppStartAtomHostTestCases
- CtsAppStartAtomHostTestCases[instant]
- CtsBackportedFixesAtomHostTestCases
- CtsBackportedFixesAtomHostTestCases[instant]
- CtsBatteryCycleAtomHostTestCases
- CtsBatteryCycleAtomHostTestCases[instant]
- CtsBatteryStatsAtomHostTestCases
- CtsBatteryStatsAtomHostTestCases[instant]
- CtsBinderStatsAtomHostTestCases
- CtsBinderStatsAtomHostTestCases[instant]
- CtsBluetoothAtomHostTestCases
- CtsBluetoothAtomHostTestCases[instant]
- CtsConscryptTestCases
- CtsContactsPickerCoreTestCases
- CtsContactsPickerCoreTestCases[run-on-clone-profile]
- CtsContactsPickerCoreTestCases[run-on-private-profile]
- CtsContactsPickerCoreTestCases[run-on-work-profile]
- CtsContactsPickerCoreTestCasesSdk36
- CtsContactsProviderHostTestCases
- CtsContactsProviderSessionTestCases
- CtsContactsProviderTestsStrictSqlCheckSdk37
- CtsContentPccTestCases
- CtsContentRestrictionTestCases
- CtsContentSafetyServiceTestCases
- CtsContextualModeManagerTestCases
- CtsContextualModeManagerTestCases[run-on-clone-profile]
- CtsContextualModeManagerTestCases[run-on-private-profile]
- CtsContextualModeManagerTestCases[run-on-secondary-user]
- CtsContextualModeManagerTestCases[run-on-work-profile]
- CtsCoreGraphicsAtomHostTestCases
- CtsCoreGraphicsAtomHostTestCases[instant]
- CtsCpuAtomHostTestCases
- CtsCpuAtomHostTestCases[instant]
- CtsCredentialsAtomHostTestCases
- CtsCredentialsAtomHostTestCases[instant]
- CtsDevicePowerAtomHostTestCases
- CtsDevicePowerAtomHostTestCases[instant]
- CtsDeviceStateAtomHostTestCases
- CtsDeviceStateAtomHostTestCases[instant]
- CtsDisplayAtomHostTestCases
- CtsDisplayAtomHostTestCases[instant]
- CtsDisplayStaticDeviceStateTestCases
- CtsDisplayStaticDeviceStateTestCases[instant]
- CtsGameManagerAtomHostTestCases
- CtsGameManagerAtomHostTestCases[instant]
- CtsGnssAtomHostTestCases
- CtsGnssAtomHostTestCases[instant]
- CtsGpuTestCases
- CtsGpuTestCases[instant]
- CtsHardwareHealthAtomHostTestCases
- CtsHardwareHealthAtomHostTestCases[instant]
- CtsJobSchedulerAtomHostTestCases
- CtsJobSchedulerAtomHostTestCases[instant]
- CtsLogcatHostTestCases
- CtsMediaAtomHostTestCases
- CtsMediaAtomHostTestCases[instant]
- CtsMediaRouterHostTestCases
- CtsMediaRouterHostTestCases[instant]
- CtsMemoryAtomHostTestCases
- CtsMemoryAtomHostTestCases[instant]
- CtsMemorySafetyAtomHostTestCases
- CtsMemorySafetyAtomHostTestCases[instant]
- CtsMotionCuesTestCases
- CtsMotionCuesTestCases[instant]
- CtsMultisensoryTestCases
- CtsMultisensoryTestCases[instant]
- CtsMultisensoryTestCases[run-on-clone-profile]
- CtsMultisensoryTestCases[run-on-private-profile]
- CtsMultisensoryTestCases[run-on-secondary-user]
- CtsMultisensoryTestCases[run-on-work-profile]
- CtsNativeNdkAllowlistTest
- CtsNativeServiceTest
- CtsNetAtomHostTestCases
- CtsNetAtomHostTestCases[instant]
- CtsNetSecConfigCustomTrustManagerTestCases
- CtsNetSecConfigCustomTrustManagerTestCases[instant]
- CtsNetSecConfigEncryptedClientHelloTestCases
- CtsNetSecConfigEncryptedClientHelloTestCases[instant]
- CtsNetSecEncryptedClientHelloTestCases
- CtsNetSecEncryptedClientHelloTestCases[instant]
- CtsNetTestCasesLocalNetNoPermissions
- CtsNetTestCasesLocalNetNoPermissions[instant]
- CtsNotificationAtomHostTestCases
- CtsNotificationAtomHostTestCases[instant]
- CtsNpuManagerMoblyTestCases
- CtsNpuManagerTestCases
- CtsPackageManagerIsolatedSplitHostTestCases
- CtsPackageManagerSplitHostTestCases
- CtsPccFeatureTests
- CtsPccFeatureTests[run-on-clone-profile]
- CtsPccFeatureTests[run-on-private-profile]
- CtsPccFeatureTests[run-on-secondary-user]
- CtsPccFeatureTests[run-on-work-profile]
- CtsPccProcessTests
- CtsPccSandboxManagerNativeTest
- CtsPccSecurityTestCases
- CtsPerfAtomHostTestCases
- CtsPerfAtomHostTestCases[instant]
- CtsPerfettoAtomHostTestCases
- CtsPerfettoAtomHostTestCases[instant]
- CtsPerformanceHintManagerAtomHostTestCases
- CtsPerformanceHintManagerAtomHostTestCases[instant]
- CtsPermissionStateAtomHostTestCases
- CtsPermissionStateAtomHostTestCases[instant]
- CtsPersonalContextTestCases
- CtsPersonalContextTestCases[run-on-clone-profile]
- CtsPersonalContextTestCases[run-on-private-profile]
- CtsPersonalContextTestCases[run-on-secondary-user]
- CtsPersonalContextTestCases[run-on-work-profile]
- CtsPowerAtomHostTestCases
- CtsPowerAtomHostTestCases[instant]
- CtsPowerManagerAtomHostTestCases
- CtsPowerManagerAtomHostTestCases[instant]
- CtsPowerManagerPccTestCases
- CtsPowerManagerPccTestCases[instant]
- CtsPowerManagerPccTestCases[run-on-work-profile]
- CtsSerialTestCases
- CtsSettingsStatsAtomHostTestCases
- CtsSettingsStatsAtomHostTestCases[instant]
- CtsSharesheetAppLockTestCases
- CtsSizeCompatRestartButtonAtomHostTestCases
- CtsSizeCompatRestartButtonAtomHostTestCases[instant]
- CtsSoundTriggerPccTestCases
- CtsStatsdAtomHostRebootTestCases
- CtsStatsdAtomHostRebootTestCases[instant]
- CtsStopAndKillHostTest
- CtsTelecomModuleTests
- CtsTelephonyAtomHostTestCases
- CtsTelephonyAtomHostTestCases[instant]
- CtsTelephonySatelliteTestCases
- CtsTextClassifierPccTestCases
- CtsTlsAtomHostTestCases
- CtsTlsAtomHostTestCases[instant]
- CtsTrustTokenServiceTestCases
- CtsTrustTokenServiceTestCases[instant]
- CtsUprobeStatsTest
- CtsUsageEventsPccTestCases
- CtsUsbAtomHostTestCases
- CtsUsbAtomHostTestCases[instant]
- CtsUsbManagerTestCases[run-on-clone-profile]
- CtsUsbManagerTestCases[run-on-private-profile]
- CtsUsbManagerTestCases[run-on-secondary-user]
- CtsUsbManagerTestCases[run-on-work-profile]
- CtsUsersAtomHostTestCases
- CtsUsersAtomHostTestCases[instant]
- CtsVibratorAtomHostTestCases
- CtsVibratorAtomHostTestCases[instant]
- CtsVirtualDevicesComputerControlTests
- CtsVoiceInteractionAtomHostTestCases
- CtsVoiceInteractionAtomHostTestCases[instant]
- CtsWifiAtomHostTestCases
- CtsWifiAtomHostTestCases[instant]
- CtsWindowManagerHostTestCases
- MctsVideoTestCases
- MtsWebAppTestCases
- PccServiceNonPccClientTest
- PccServicePccClientTest
- VmMultiTenancyTests.CTS
16 módulos removidos
- AdsPersonalizationStatusTest
- CtsAppFgsTestCases[instant]
- CtsCameraHeadlessSystemUserTestCases
- CtsCarBuiltinApiHostTestCases
- CtsFgsTimeoutTestCases[instant]
- CtsHealthConnectHostSideDeviceTestCases
- CtsHealthConnectHostTestCases
- CtsInstalledLoadingProgressHostTests
- CtsSandboxedAdIdManagerTests
- CtsSandboxedAppSetIdManagerTests
- CtsSandboxedFledgeManagerTests
- CtsSandboxedMeasurementManagerTests
- CtsSandboxedTopicsManagerTests
- CtsShortFgsTestCases[instant]
- CtsVideoEncodingQualityHostTestCases[instant]
- MctsTextClassifierTestCases
Novos testes do CTS Verifier 17
Foram adicionados 36 novos casos de teste CTS-V-HOST, incluindo testes interativos, casos de teste do verificador baseado no host
36 testes adicionados de 7 módulos
| Nome do módulo | Lista de casos de teste adicionados |
|---|---|
CtsNotificationSizeVerifierHostTest
|
android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapUnderLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapOverLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapUnderLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriOverLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriUnderLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testBitmapOverLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriOverLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest
#testUriUnderLimit_ChangeDisabled |
| CtsPermissionInteractiveTestCases |
android.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonColorCustomizationandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonSupportsRtlLayoutandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonPaddingCustomizationandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonIconOnlyandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonShapeMorphsOnPressandroid.permissioninteractive.cts.LocationButtonInteractiveTest#
verifyButtonShapeCustomization |
| CtsSysuiInteractiveTestCases |
android.sysui.cts.ShowPowerMenuInteractiveTest#showPowerMenuandroid.sysui.cts.ShowPowerMenuInteractiveTest#
showPowerMenu_alreadyShowingandroid.sysui.cts.ShowPowerMenuInteractiveTest#
showPowerMenu_multipleCallsInShortTime |
| CtsUsbTypecTestCases |
com.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Cdpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Dcpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Sdpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#
testPowerProfileSourceFixed |
| CtsTelecomTest |
CtsTelecomTest#test_call_audio_for_voice_and_voip_callsCtsTelecomTest#test_incall_ui_shows_when_screen_locked |
| CtsWifiConnectionTests |
NetworkRequestTests#test_with_a_specific_ssid_and_bssidNetworkRequestTests#test_with_invalid_credential_in_network_specifierNetworkRequestTests#test_with_pattern_network_specifierNetworkRequestTests#test_with_unavailable_network_specifierNetworkSuggestionTests#test_that_suggestion_modification_in_placeNetworkSuggestionTests#test_with_connection_failureNetworkSuggestionTests#test_with_ssid_and_bssid_specifiedNetworkSuggestionTests#test_with_ssid_and_post_connect_broadcastNetworkSuggestionTests#test_with_ssid_specified |
| CtsWifiUsdTests |
WifiUsdTest#test_active_subscriber_exchangeWifiUsdTest#test_bidirectional_large_message_exchangeWifiUsdTest#test_bidirectional_message_exchangeWifiUsdTest#test_passive_subscriber_exchange |
Total de 10 novos testes adicionados para outras 5 seções do verificador
| Seção | Lista de casos de teste adicionados |
|---|---|
AUDIO |
|
CAMERA |
|
FEATURES |
|
MEDIA |
|
SYSUI |
|