android: Replace ThreadRPC with blocking method call

Use the newly introduced InvocationTypeBlocking message type to replace
the blocking message delivery implemented with the ThreadRPC class in the
Android camera HAL.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Jacopo Mondi
2019-10-27 02:01:08 +01:00
committed by Laurent Pinchart
parent 1f1d27cc14
commit 53eab99680
7 changed files with 11 additions and 118 deletions
-3
View File
@@ -14,7 +14,6 @@
#include <libcamera/camera.h>
class CameraDevice;
class ThreadRpc;
class CameraProxy
{
@@ -35,8 +34,6 @@ public:
camera3_device_t *camera3Device() { return &camera3Device_; }
private:
void threadRpcCall(ThreadRpc &rpcRequest);
unsigned int id_;
CameraDevice *cameraDevice_;
camera3_device_t camera3Device_;