libmedia_ecoservice: add and use aidl_interface

Instead of include *.aidl files directly, define an aidl_interface
and use *-cpp variant of that library.

This is needed to replace libbinder dependency from this
module which will be handled in subsequent CLs.

Bug: 301379330
Test: atest EcoServiceTest EcoSessionTest EcoDataTest

Change-Id: I835e6552cc2ab7ae568d92a6383e47e8b9fdcce3
3 files changed
tree: b97123ae00040b505a7d1b329e55246b4f0f856b
  1. hooks/
  2. media/
  3. Android.bp
  4. METADATA
  5. OWNERS