Camera: Add Hal version 1 image capture test cases
Tests involving Hal version 1 image capture APIs are required. Several cases cover this: - 'takePicture' - Regular image capture after preview gets enabled. - 'takePictureFail' - Checks correct behavior in case preview is not running. - 'cancelPicture' - Verifies that image capture can be cancelled. - 'cancelPictureFail' - Checks that image capture cancel fails as expected in case 'takePicture' didn't get called. Switch to BufferItemConsumer instead of CpuConsumer and use GLConsumer default usage flags. Bug: 32022758 Test: compile and run the gtest binary on device Change-Id: I8db60aa8a21b6f829574fc9538da5644a4051e49
Loading
Please register or sign in to comment