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
tegra3-common: Add HTC RIL daemon service

We need at least the rild-audio-gsm socket for adjusting the in-call volume
when using the HTC libril/libcall_volume.

Change-Id: I4505ac575102c7914ef51d358c8e14af356dc307
tegra3-common: RIP polly, you served us well

Change-Id: Idf50c582598a851bb32baa1cc08ca751e80c0bad
tegra3-common: Fix init script

The ril-daemon is now correctly stopped.

Change-Id: I6223a2da94216c698385d249a999c422676022b9
tegra3-common: Fix rild-audio-gsm socket group for libcall_volume

Without this libcall_volume cannot open and write to the rild-audio-gsm
socket which breaks adjusting the in-call volume.

Change-Id: Ibc46060904915c032291f2e9ce66c79da2cb5e45
tegra3-common: Add and use HTCTegra3RIL to fix parsing of operator infos

We have two ways to fix the mobile network scanning issue:
  1) We use the open source libril and set BOARD_USE_NEW_LIBRIL_HTC := true
  2) or we use the HTC libril with a custom HTCTegra3RIL class in the framework
     that correctly parses the QUERY_AVAILABLE_NETWORKS response.

This commit simply converts 1 to 2 because the HTC libril does some things we
want. For example it listens on the various rild sockets like rild-audio-gsm for
signals from libcall_volume or other services.

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

Change-Id: Iaba81e171fa18e87de89dfa159196703919dc01f
HTC:TEGRA3:Xposed framework

Change-Id: I7f787313a8fc26959f4a2402b62610cc4dc38828
HTC:TEGRA3:update sepolicy

Change-Id: I860c35078d5112a8e67895c7e3e300607976a63a
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
tegra3-common: Add system/audio.h

Change-Id: I91c4f66d0590ee09a815fc8ed545c96493897250