Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0a99d83a authored by Avichal Rakesh's avatar Avichal Rakesh
Browse files

camera2: Add CameraDeviceSetup

This patch adds a CameraDeviceSetup class within CameraDevice
class which provides access to a limited subset of CameraDevice
class methods without requiring the apps to pay the latency
cost of opening a full CameraDevice.

In addition to functions parallel to CameraDevice, it also
provides a utility method to open the CameraDevice, effectively
serving as a proto CameraDevice.

Bug: 320741775
Test: atest CtsCameraTestCases:CameraDeviceTest passes.
Test: atest CtsCameraTestCases:FeatureCombinationTest passes.
Test: atest CtsCameraTestCases:CameraDeviceSetupTest passes.
Change-Id: Id281e2365c87d69dd3e8b7f4875d9ea1ae1efe1f
parent ad646cf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment