A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release
anziché aosp-main
per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Note di rilascio della Test Suite di immagini della fotocamera per Android 14
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
La release di Android 14 include una serie di modifiche al ITS della fotocamera.
Questa pagina riassume le modifiche ITS della fotocamera per Android
14. Le modifiche rientrano in cinque ampie categorie:
Versioni di Python e dei pacchetti
Android 14 supporta le seguenti versioni di Python, oltre alle versioni e alle librerie di Python supportate in Android 12 e 13:
Aumento dei test LIMITATI della videocamera
In Android 14, i seguenti test sono stati sottoposti a refactoring per consentire il test delle videocamere LIMITATE con i test esistenti.
Scena |
Nome test |
Descrizione |
1_1 |
test_jpeg |
È stato eseguito il refactoring per eliminare il metodo manual_capture() . |
1_2 |
test_yuv_jpeg_all |
È stato eseguito il refactoring per eliminare il metodo manual_capture() . |
1_2 |
test_yuv_plus_jpeg |
È stato eseguito il refactoring per eliminare il metodo manual_capture() . |
1_2 |
test_yuv_plus_raw |
È stato eseguito il refactoring del metodo manual_capture() .
I test RAW/RAW10/RAW12 sono stati uniti in un unico test. |
4 |
test_multi_camera_alignment |
È stato eseguito il refactoring del metodo manual_capture() . |
In Android 14, i seguenti test di rilevamento dei volti sono stati sottoposti a refactoring.
Scena |
Nome test |
Descrizione |
2 |
test_num_faces |
Nuovi volti per una maggiore diversità. Posizioni dei volti confermate. |
Altre modifiche ai test
In Android 14, i seguenti test vengono sottoposti a refactoring per
aumentare la copertura dei test.
Scena |
Nome test |
Descrizione |
0 |
test_read_write |
È stato eseguito il refactoring per segnalare i valori dei metadati di rilevamento per la sensibilità che non rientrano
in android.sensor.sensitivityRange . |
1_1 |
test_burst_sameness_manual |
È stato eseguito il refactoring per eseguire due burst di 50 frame anziché cinque burst di 50
frame. |
1_2 |
test_yuv_jpeg_all |
È stato eseguito il refactoring per utilizzare il caso d'uso STILL_CAPTURE , se disponibile. |
1_2 |
test_yuv_plus_jpeg |
È stato eseguito il refactoring per utilizzare il caso d'uso STILL_CAPTURE , se disponibile. |
4 |
test_multi_camera_alignment |
È stato eseguito il refactoring per aggiungere acquisizioni YUV e acquisizioni 640x360 alle acquisizioni 640x480 esistenti. |
Nuovi test
Android 14 include i seguenti nuovi test.
Scena |
Nome test |
Descrizione |
2_a |
test_autoframing |
Verifica che il riquadro automatico possa regolare il FOV in modo da includere tutti i volti con diversi incarnati, indipendentemente dal rapporto di zoom impostato. |
2_a |
test_display_p3 |
Verifica che l'output di P3 JPEG sia corretto. |
2_a |
test_preview_min_frame_rate |
Verifica che i fotogrammi al secondo dell'anteprima raggiungano il valore minimo definito dalle proprietà della videocamera in condizioni di scarsa illuminazione. |
3 |
test_landscape_to_portrait |
Verifica che l'override da orizzontale a verticale ruoti correttamente l'immagine. |
4 |
test_preview_aspect_ratio_and_crop |
Verifica che le proporzioni, il ritaglio e il FOV dello stream Preview siano appropriati per i formati supportati. |
6 |
test_in_sensor_zoom |
Verifica il comportamento dello zoom in-sensor della fotocamera. |
6 |
test_low_latency_zoom |
Verifica che il rapporto di zoom venga scalato correttamente se è impostato lo zoom per l'override delle impostazioni. |
6 |
test_preview_video_zoom_match |
Verifica che lo zoom si comporti allo stesso modo negli stream Preview e Video . |
estensioni |
test_hdr_extension |
Verifica che l'estensione HDR si attivi correttamente quando richiesta. |
estensioni |
test_night_extension |
Verifica che l'estensione Night si attivi correttamente quando richiesta. |
sensor_fusion |
test_led_snapshot |
Verifica che gli istantanei LED non saturino o colorino l'immagine. |
Test DUT paralleli
Android 14 supporta i test DUT in parallelo, che consentono di testare i DUT in parallelo con più rig per velocizzare i test complessivi. Ad esempio, i test in parallelo ti consentono di testare contemporaneamente la videocamera 0 in un rig e la videocamera 1 in un altro rig.
Per ulteriori dettagli, consulta
Test DUT in parallelo.
Requisiti di test
La Figura 1 mostra l'anello di decodifica del secret ITS di Android 14. L'anello decodificatore segreto mostra le impostazioni di test in base alle quali vengono attivati i singoli test. Le impostazioni di test bloccate da
android.request.availableCapabilities
sono in lettere maiuscole.
Gli elementi principali di questo tipo sono:
MANUAL_SENSOR
READ_3A
PER_FRAME_CONTROL
RAW
faceDetectModes
timestampSource
flash.info.available
Figura 1. Anello decodificatore segreto ITS di Android 14
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# Android 14 Camera Image Test Suite Release Notes\n\nThe Android 14 release includes a number of changes to\n[Camera ITS](/docs/compatibility/cts/camera-hal#its_tests).\n\nThis page summarizes the Camera ITS changes for Android\n14. The changes fall into five broad categories:\n\n- [Python and package versions](#package-versions)\n- [Increased LIMITED camera testing](#increased-limited-camera-testing)\n- [Increased face-related testing](#increased-face-related-testing)\n- [Other test changes](#other-test-changes)\n- [New tests](#new-tests)\n- [Parallel DUT testing](#parallel-dut-testing)\n\nPython and package versions\n---------------------------\n\nAndroid 14 supports the following Python versions in\naddition to the Python versions and libraries supported in Android\n12 and 13:\n\n- [Python 3.9.2](https://www.python.org/downloads/)\n- [OpenCV 4.2.0](https://opencv.org/)\n- [Numpy 1.20.3](https://numpy.org/)\n- [Matplotlib 3.4.1](https://matplotlib.org/)\n- [Scipy 1.6.2](https://docs.scipy.org/doc/)\n- [pySerial 3.5](https://pyserial.readthedocs.io/)\n- [Pillow 8.3.1](https://pypi.org/project/Pillow/)\n- [PyYAML 5.4.1](https://pypi.org/project/PyYAML/)\n- [Mobly 1.11](https://github.com/google/mobly)\n- [FFmpeg 4.4.1](https://ffmpeg.org/)\n- (For Display P3 tests only) [Colour-science 0.4.2](https://pypi.org/project/colour-science/)\n\nIncreased LIMITED camera testing\n--------------------------------\n\nIn Android 14, the following tests are refactored\nto enable testing of LIMITED cameras with existing tests.\n\n| **Scene** | **Test name** | **Description** |\n|-----------|-----------------------------|-----------------------------------------------------------------------------------------------|\n| 1_1 | test_jpeg | Refactored to eliminate the `manual_capture()` method. |\n| 1_2 | test_yuv_jpeg_all | Refactored to eliminate the `manual_capture()` method. |\n| 1_2 | test_yuv_plus_jpeg | Refactored to eliminate the `manual_capture()` method. |\n| 1_2 | test_yuv_plus_raw | Refactored to the `manual_capture()` method. RAW/RAW10/RAW12 testing merged to a single test. |\n| 4 | test_multi_camera_alignment | Refactored to the `manual_capture()` method. |\n\nIncreased face-related testing\n------------------------------\n\nIn Android 14, the following face detection\ntests are refactored.\n\n| **Scene** | **Test name** | **Description** |\n|-----------|----------------|-------------------------------------------------------------------|\n| 2 | test_num_faces | New faces for increased face diversity. Face locations confirmed. |\n\n\u003cbr /\u003e\n\nOther test changes\n------------------\n\nIn Android 14, the following tests are refactored to\nincrease test coverage.\n\n| **Scene** | **Test name** | **Description** |\n|-----------|-----------------------------|--------------------------------------------------------------------------------------------------------------------|\n| 0 | test_read_write | Refactored to flag capture metadata values for sensitivity that fall outside of `android.sensor.sensitivityRange`. |\n| 1_1 | test_burst_sameness_manual | Refactored to do two bursts of 50 frames rather than five bursts of 50 frames. |\n| 1_2 | test_yuv_jpeg_all | Refactored to use the `STILL_CAPTURE` use case if available. |\n| 1_2 | test_yuv_plus_jpeg | Refactored to use the `STILL_CAPTURE` use case if available. |\n| 4 | test_multi_camera_alignment | Refactored to add YUV captures and to add `640x360` captures to the existing `640x480` captures. |\n\n\u003cbr /\u003e\n\nNew tests\n---------\n\nAndroid 14 includes the following new tests.\n\n| **Scene** | **Test name** | **Description** |\n|---------------|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| 2_a | test_autoframing | Verifies that autoframing can adjust the FoV to include all faces with different skin tones regardless of the zoom ratio set. |\n| 2_a | test_display_p3 | Verifies `P3 JPEG` output is correct. |\n| 2_a | test_preview_min_frame_rate | Verifies that preview FPS reaches minimum defined by camera properties under low light conditions. |\n| 3 | test_landscape_to_portrait | Verifies landscape to portrait override rotates image properly. |\n| 4 | test_preview_aspect_ratio_and_crop | Verifies `Preview` stream aspect ratio, crop, and FoV are appropriate for supported formats. |\n| 6 | test_in_sensor_zoom | Verifies the camera in-sensor zoom behavior. |\n| 6 | test_low_latency_zoom | Verifies zoom ratio scales correctly if settings override zoom is set. |\n| 6 | test_preview_video_zoom_match | Verifies that zoom behaves the same in `Preview` and `Video` streams. |\n| extensions | test_hdr_extension | Verifies `HDR` extension activates correctly when requested. |\n| extensions | test_night_extension | Verifies `Night` extension activates correctly when requested. |\n| sensor_fusion | test_led_snapshot | Verifies LED snapshots don't saturate or tint image. |\n\nParallel DUT testing\n--------------------\n\nAndroid 14 supports parallel DUT testing, which lets\nyou test DUTs in parallel with multiple rigs to speed up overall testing. For\nexample, parallel testing lets you test camera 0 in one rig and camera 1 in\nanother rig at the same time.\n\nFor more details, see\n[Parallel DUT testing](/docs/compatibility/cts/camera-its#parallel-dut-testing).\n\nTest requirements\n-----------------\n\nFigure 1 shows the Android 14 ITS *secret\ndecoder ring* . The secret decoder ring shows what test settings individual\ntests are gated by. Test settings gated by\n`android.request.availableCapabilities` are in uppercase letters.\nThe main gating items are:\n\n- `MANUAL_SENSOR`\n- `READ_3A`\n- `PER_FRAME_CONTROL`\n- `RAW`\n- `faceDetectModes`\n- `timestampSource`\n- `flash.info.available`\n\n**Figure 1.** Android 14 ITS secret decoder ring"]]