tegra3-common: CM -> AICP conversion

Change-Id: I9bee46647e572ad50ea8a5b4889e1a5d92694b31
Revert "removing T3parts"

This reverts commit 366343e3ba231f234f4b06aadfc781e0f8327725

Change-Id: Ia88b45a399f59e1d442e3b8ba7088302fc549099
HTC T3-common: Clean up of Boardcommon

Change-Id: I8d803b4ebef3cdb6f48d5f63367efc02451448b5
tegra3-common: Remove surfaceflinger_client stub

Change-Id: Ifa4a7435453685f7ebb882fea78b0a4aa07bbe94
HTC T3-common: initial upload of sepolicy

Change-Id: Ifa3d72162345b66ecce784c7086491f946104b78
HTC T3-common: remove the old selinux folder

Change-Id: I1c4dc84a6bf4ce17f906e0da77cb55a7db8de675
HTC T3-common: No need for selinux to be default permissive

Change-Id: I6772051e887189b0ca560da52d03578f053647ff
tegra3-common: Start pollyd late

In-call volume problems are related to pollyd not correctly
starting/restarting. It's possible for pollyd to be in a permanent
"stopping" state without an actual running process. Init will not restart
pollyd in this case. This might be a bug in init.

Starting pollyd late seems to make it more reliable.

Change-Id: I38dcab7337da8cc2aa681308202f2124d8cab5aa
tegra3-common: Fix some permissions

Fixes the following errors on boot.

E/HtcCameraHal(  151): [CAM] [Calibration] open file ["/data/factory_main.bin"] failed, errno = 13 (Permission denied)

E/hwcomposer(  148): /sys/class/graphics/fb0/device/smartdimmer/enable: open failed: Permission denied
E/hwcomposer(  148): Failed to set initial DIDIM status to disable

E/nvaudio_hw(21838): open failed of sysfs entry /sys/power/suspend/mode
E/nvaudio_hw(21838): Error in save_lp_mode

Change-Id: I98a32a39a66f88f7dff3a4ab1ada867aaabff568
DT2W : Make changes inline with kernel commit

Change-Id: I4457cdd848264e6cc23a62883f95f5c848468a79
tegra3-common: replace "b" with "p" in tab

Change-Id: Ieaca6075139c9dcc1f714e39615fda024edaca58
HTC TEGRA3-COMMON: SElinux fixup

Change-Id: Iaba81e171fa18e87de89dfa159196703919dc01f
tegra3-common: add xposed prerequisites.

PS2: Change xposed policy: Don't change label of /data/data/de.robv....
     let zygote access app_data_file instead.

PS3: Correct commit message

PS4: Update policy inline with
      http://review.cyanogenmod.org/#/c/59390/

Big thanks to rovo89, Lloir and teemo @XDA

Change-Id: Iaf16a4fbf2b395b3fcbe85eec1309558ddf7e914
HTC:TEGRA3:update sepolicy

Change-Id: I860c35078d5112a8e67895c7e3e300607976a63a
Revert "HTC:TEGRA3:update sepolicy"

This reverts commit 26932986940ea8af0f28782290cb684813f27571.

Change-Id: I1e22e25b3b12a7ab83cd5d8bcceeb5f0570f612f
tegra3-common: add missing newline to file_contexts

Change-Id: I441d2ca3b0f95e4b16dee8b4579011107ebce76e
tegra3-common: Sync include/hardware headers

Updated audio.h required for the recent frameworks/av changes.

Change-Id: Ia1f8acb59cd5547fb9b03a4afa8b4db4f577896c
fix libstagefrighthw and other conflicts with other devices

- this includes jflte and many other devices

Change-Id: I2414571a04fe3deb1214ef97400f40bedb551efe
removes useless comments

Change-Id: I02cbd6d3233c879395067f52c2a9539ebe7c34c5
tegra3-common: Don't preload OpenGL in Zygote

Don't preload OpenGL in Zygote, the Tegra drivers do not like it.

Property is set for grouper, tf300t and other devices since CM 11. May help
with our memory leak problem.

Thanks to tejasphatak@XDA for pointing this out.

Change-Id: Ieadbc6fcfe3b9498ac9de0eb214560f37dc3b02d