What is "HAL remoting" in Android?

295 Views Asked by At

In Android HIDL description at hidl-cpp something called "HAL remoting" is mentioned. Is it part of existing Android? Named differently?

2

There are 2 best solutions below

0
On

HAL is Hardware Abstraction Layer, that links the higher level routines to the bare-metal code. Remote HAL is when the HAL of another device or of another hardware is used, meaning you use the higher level routines that are implemented by HAL on a remote device

0
On

The Good: HAL remoting is possible.

The Bad: HAL remoting is not documented.

The Ugly: Due to Binders multi-threaded synchronous communication it is quite hard to do HAL remoting. Especially if you want to achieve it with a single-threaded event-loop and a synchronous TCP socket.