Added testOpenMixedMode to camera2 multi-client CTS
This test checks that when a java client opens the camera in shared mode
and a native client attempts to open it in exclusive mode, the native
client fails to open the camera. Likewise, when the native client opens
the camera in shared mode and the java client opens it in exclusive
mode, the native client is evicted from camera access.
Flag: com.android.internal.camera.flags.camera_multi_client
Bug: 377371012
Test: atest SharedCameraTest
Change-Id: I1d2c49176a66ce2359b9e0f742ad7ca42446bb0e
4 files changed