The Android 14 release includes a number of changes to Camera ITS.
This page summarizes the Camera ITS changes for Android 14. The changes fall into five broad categories:
- Python and package versions
- Increased LIMITED camera testing
- Increased face-related testing
- Other test changes
- New tests
- Parallel DUT testing
Python and package versions
Android 14 supports the following Python versions in addition to the Python versions and libraries supported in Android 12 and 13:
- Python 3.9.2
- OpenCV 4.2.0
- Numpy 1.20.3
- Matplotlib 3.4.1
- Scipy 1.6.2
- pySerial 3.5
- Pillow 8.3.1
- PyYAML 5.4.1
- Mobly 1.11
- FFmpeg 4.4.1
- (For Display P3 tests only) Colour-science 0.4.2
Increased LIMITED camera testing
In Android 14, the following tests are refactored to enable testing of LIMITED cameras with existing tests.
|1_1||test_jpeg||Refactored to eliminate the
|1_2||test_yuv_jpeg_all||Refactored to eliminate the
|1_2||test_yuv_plus_jpeg||Refactored to eliminate the
|1_2||test_yuv_plus_raw||Refactored to the
|4||test_multi_camera_alignment||Refactored to the
Increased face-related testing
In Android 14, the following face detection tests are refactored.
|2||test_num_faces||New faces for increased face diversity. Face locations confirmed.|
Other test changes
In Android 14, the following tests are refactored to increase test coverage.
|0||test_read_write||Refactored to flag capture metadata values for sensitivity that fall outside
|1_1||test_burst_sameness_manual||Refactored to do two bursts of 50 frames rather than five bursts of 50 frames.|
|1_2||test_yuv_jpeg_all||Refactored to use the
|1_2||test_yuv_plus_jpeg||Refactored to use the
|4||test_multi_camera_alignment||Refactored to add YUV captures and to add
Android 14 includes the following new tests.
|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.|
|2_a||test_preview_min_frame_rate||Verifies that preview FPS reaches minimum defined by camera properties under low light conditions.|
|3||test_landscape_to_portrait||Verifies landscape to portrait override rotates image properly.|
|6||test_in_sensor_zoom||Verifies the camera in-sensor zoom behavior.|
|6||test_low_latency_zoom||Verifies zoom ratio scales correctly if settings override zoom is set.|
|6||test_preview_video_zoom_match||Verifies that zoom behaves the same in
|sensor_fusion||test_led_snapshot||Verifies LED snapshots don't saturate or tint image.|
Parallel DUT testing
Android 14 supports parallel DUT testing, which lets you test DUTs in parallel with multiple rigs to speed up overall testing. For example, parallel testing lets you test camera 0 in one rig and camera 1 in another rig at the same time.
For more details, see Parallel DUT testing.
Figure 1 shows the Android 14 ITS secret
decoder ring. The secret decoder ring shows what test settings individual
tests are gated by. Test settings gated by
android.request.availableCapabilities are in uppercase letters.
The main gating items are:
Figure 1. Android 14 ITS secret decoder ring