sepolicy: add policies for camera

Added security policies needed for camera daemon, for
domain transition, device policies

CRs-fixed: 569218
Change-Id: Ib7126a0465a88a629afee871d242e27ad8221a66
Ultrasound: Add digital pen service resources

Add digital pen resources needed for the system service

Change-Id: Ie1fa588149d392ca5075275d8db2fe99a9e6987d
audio: Add appropriate permission for voice_svc driver

Update the permisions for voice_svc driver so that only apps
with audio group permission can open it

CRs-fixed: 642690

Change-Id: I4a3697457884946cc9ff65c4307c944d3606bb42
generate_extra_images: Create $(PRODUCT_OUT)/system/etc

Required to fix a race condition due to a missing dependency on
$(PRODUCT_OUT)/system/etc in build-cdrom-target

Change-Id: I22ce8ee6bdd91fe65b582d6792aed62a07358391
USB: Use qdss function for charging mode

There is no way for data transmittion under usb qdss function.
Using qdss function can satisfy "charging only mode" requirement.

Change-Id: I52fba39df8423dc77b1b436b3c50a6f70ce716ef
cnss_diag init script to start the service during bootup.

This change is required to start the service during bootup.
This service is used for routing FW/HOST diag events/debug
messages to QXMD/RIDL(Self-host).

Change-Id: I5a726cd87a92930a09b1df9bae6c1b129c68b68f
CRs-fixed: 616275
init.qcom.post_boot: Correcting the interactive governor parameters

Updating the 8916 interactive governor parameters as per available
frequency.

Change-Id: I674ca353b5c909425e4500d8504b092e5fa3a52f
init: Add MSM-specific init extension library

Implement MSM-specific initialization during boot
up at "init" stage. Set DPI property based on panel
resolutions by reading virtual_size sysfs entry.

Change-Id: Ie0e1b5e68c72abe4aa11edbd4700bef3208dd461
Merge "init.qcom.post_boot: Correcting the interactive governor parameters"
display: tool: add display register dump tool

Use mdss_regdump.py to generate reg_dump.bin by dumping display register.

Usage steps:
  1.make sure device is connected.
  2.run "python mdss_regdump.py <platform name>" in command console.

Change-Id: I1ba8e6066ec39ae939f876d389c228589ab538ec
Merge "cnss_diag init script to start the service during bootup."
init.qcom.post_boot: Setting minimum freq for 8916 to 800MHz

For 8916 the acpu scaling_min_freq should be 800MHz.
Depends-on: 696750

Change-Id: Icbde45ffa230b3217e35ae5883eac8944ab2a5d2
build: Use same crosstool for kernel/DLKM as for DKLM stripping

Use the same cross compiler toolchain for DLKM stripping instead
of the default TARGET_STRIP as kernel could be compiled for a
different architecture.

Change-Id: I32767eb19af79bfdeaa7731def81167b5faa5ea7
Merge "USB: Use qdss function for charging mode"
Merge "build: Use same crosstool for kernel/DLKM as for DKLM stripping"
Merge "generate_extra_images: Create $(PRODUCT_OUT)/system/etc"
Merge "init.qcom.post_boot: Setting minimum freq for 8916 to 800MHz"
Merge "audio: Add appropriate permission for voice_svc driver"
Merge "Ultrasound: Add digital pen service resources"
USB: init.qcom.usb.sh: Add platform name msm8916_32 in default composition

If ADB or NONE composition is set, USB init script
switch the composition to default composition which
is different on MSM8916 with PID 9091.

Target name has recently changed from msm8916 to
msm8916_32. Because of this, USB init script is not
able to move to 9091 composition.  Add this target
name check to fix this issue.

CRs-Fixed: 646400
Change-Id: I7107ad2ef9d0f301813074da439f62938886d881