BT: Killing Bluetooth process in case of disable timeout

When timeout occurs, it might happen that the disable
event does not come at all. In such case further calls
will get queued up waiting for it causing a lockup
This change will kill the app to start all the queues
so that the further commands don't get affected.

Crs-Fixed:951917
change-Id:I77ada2b2332aaadc224ba64ad0e3619fc94d5e72

BT: Changed the handling of Process-Messages in timeout cases

Changes the handling of Process-Messages in PendingCommandState
when timeout occurs. Following changes are included:

-> Killing the process to force restart as for cleanup
-> Removed the un-necessary operations for faster recovery.
-> Implemented method to stop ProfileServices to make sure
   Profile Services do not starts automatically once process
   is killed.

CRs-Fixed: 984477
Change-Id: I0d241c4a8a994003aa7225e5fb9810c8c42f9782
2 files changed