audio_server: reduce map use on binder RPC [1/1]

PD#SWPL-136162

Problem:
Binder RPC stream operations require search in map to obtain the following:
- Pointer to stream for invocation of stream functions
- Data for shared memory operations.

Binder audio service garbage collection requires search in separate map.

Solution:
Store the information from maps in parent structures.
Use pointers to the parent structures to retrieve data
instead of search in map.

Verify:
yocto

Change-Id: Ia87405e91d85ccd7169b82abbb4497fab87e45db
Signed-off-by: jesse.huang <jesse.huang@amlogic.com>
8 files changed
tree: 648b5030a4ee5782d47687a6970d2e87550c73dd
  1. include/
  2. src/
  3. Makefile