BATestApp: Refactoring BATestApp and BATService.

This change removes framework dependency required for BATestApp
and BATService. To achieve the same, existing code of BATestApp
and BATService is refactored.

- Added Security Parameters for intents so that receivers with BT Admin permission can only receive it.
- Removed unnecessary logs.
- Removed Parcelable implementation.
- Removed StreamID and DIV implementation from BAAudio.java.
- Removed BATService Listener Class and getProfileProxy() implementation from BAAudio.java.
- Implemented a 30 sec timeout for Enabling BA in BAAudio.java
- Removed the ACTION_BLE_STATE_CHANGED intent and processBTStateChanged() implementation from GattBroadcastService.java.
- Removed extra intent variables, updated value of isStateChangePending in case of BT timeout scenario.
- Added functionality for ACTION_BAT_BRA_DISABLE intent by modifying existing logic.
- Removed extra parameters in some intents that are not required.

CRs-Fixed: 2475578
Change-Id: Ifc570915a2e0ea4c63499d27f4ddc542f60898d7
17 files changed