limit max number of background processes

Change-Id: Ib4fe33f462a1817adc7836ffad6179dcf1882fca
cleanups

Change-Id: Icc9e63c6dca3871776338743f2af620a3b12c46d
Automatically switch FM audio according to virtual device

Switch FM radio when DEVICE_OUT_FM connection state changes. This
simplifies FM audio routing setup.

Change-Id: I7a0727bf5354b379032d1c29a28a754829431ca1
Replace FmRadioReceiver by Effem

Change-Id: I827c38a45e68e239d502bfb1b9ad43d7877503ad
libaudio: AudioPolicyManager: bring in line with the base class

- enables overriden setDeviceConnectionState method
- fixes FM radio on/off, routing and volume control
- removes obsolete methods
update patches