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