hal: add missing flags for extended features.

- add missing feature flags to compile hal
  without extended features enabled.

Change-Id: Idd43dfac20cb14798b20f4aa2bee5ff11a8da491
hal: update audio feature flags

- update audio feature flags to use
  AUDIO_FEATURE_ENABLED_XXX instead of
  AUDIO_FEATURE_DISABLED_XXX.
- These feature flags are defined
  by target board config file

Conflicts:
	hal/Android.mk
	hal/audio_extn/audio_extn.h
	policy_hal/Android.mk
	post_proc/Android.mk

Conflicts:
	mm-audio/Android.mk
	policy_hal/Android.mk
	post_proc/Android.mk

Change-Id: Iba482d8b72bfa2675877d833d7abcb93d4cf4907
hal: add extended audio definitions in hal

- Add audio_defs.h in hal for extended audio
  definitions.

Change-Id: I7d574a222d405d8c62d8b833d9ef413708f19639
hal: remove ANC headset devices in hal

- Remove AUDIO_DEVICE_OUT_ANC_HEADPHONE and
  AUDIO_DEVICE_OUT_ANC_HEADSET in hal.
- These devices are not used

Change-Id: Ib8692906edb3460a6325adcf3c3cce9ef4641120
Merge "hal: add extended audio definitions in hal" into LA.BF.1.1_BU
hal: add support for pcm_ioctl() api

- Tinyalsa doesn't expose an api to call
  ioctls exposed by the audio drivers.
- Add pcm_ioctl() api to support pcm ioctl.

Change-Id: I448252e8d3347257a73c56bc8ed341abc2dd2dab
hal: Correcting syntax to check Speaker Protection Macro

Change-Id: If5c97010479fca84a5f172c7a047813ee7c06e73
Merge "hal: Correcting syntax to check Speaker Protection Macro"
hal: update the vifeedback pcm device id

Due to changes in machine driver pcm device id has changed,
which causes the failure during the pcm_open.
Fix by updating the pcm device_id for vifeedback usecase.

Change-Id: I47a035f59ccaefe296ecd721d08670a6ffc57363
hal: make file change to export audio_defs.h

- copy audio_defs.h to out target so that it
  can be included in AOSP code.

Change-Id: I84996dd8821a48a9ec71a1164764bf28b91cd390
Merge "hal: make file change to export audio_defs.h"
Merge "hal: update the vifeedback pcm device id"
hal: Update HAL to handle offload format with AAC profile info.

-Framework now passes AAC profile information alongwith the format.
-Check for the supported AAC profiles by HW decoder.

Change-Id: I5c0625d53f07c1d3374f2cbdf4848ef438883b2d
Merge "hal: Update HAL to handle offload format with AAC profile info."
hal: fix for open input failure while SSR is not enabled.

- Do not return failure if SSR is not enabled.

Change-Id: I49d1e47b700165f8d9fd073792eeef57b40a5cb4
Merge "hal: fix for open input failure while SSR is not enabled."
 audio:Set the input device for VOIP calls using audio path

 For Voip calls using audio path ,the input devices is not
 getting selected when output device is changed.
 Now,removed the source type check to select the input device
 when there is an active input and output device switch .

Change-Id: Icc7e1c3085771526cde01ea0a06afca1ffd1278b
audio: Changes to enable Local Hold for DSDA calls

 Local hold was not enabled for DSDA calls . Fixed the issue
 by enabling the macro.

 CRs-Fixed: 727221

Change-Id: Ib29a08fd52740919f0ca240f9506705977dcb521
hal: Fix compilation error

"audio_extn_usb_stop_capture()" method modified to fix compilation error.

Change-Id: Ibea3eed2bef687ad328ff6a0f00bdb796bbf0036
Merge "hal: Fix compilation error"