camera: change camera node permissions and add certain parameters.

Change-Id: Ia68160601c2b2ba3eebde9963b3972f2a09ff84a

Conflicts:
	include/system/camera.h
camera: Remove histogram commands

Change-Id: Ice4012922936ee1d0f9005797f72f9f2b38b951c

Conflicts:
	include/system/camera.h
camera: Add new commands to compatibility block

Change-Id: I2952963661abf17f55eca811a8d4e8fc87933df0
init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes

Mount a tmpfs as /storage in order to create a mountpoint, so that Dalvik
can later mark /storage as slave in zygotes.  Must use tmpfs as rootfs
can't be bind mounted (otherwise "mount rootfs /storage /storage bind"
would work as an alternative).
rootdir: Add mediaserver to qcom_diag group

 * QCOM audio drivers need this.

Change-Id: I3cba0356e2995951208fee5e180e56b1afbc7158
liblog: add required function

Some Motorola proprietaries require a function named __android_log_loggable. This
change adds the function and solves problems with radio and other
binaries on qualcomm based Motorola phones. This code is activated with
TARGET_USES_MOTOROLA_LOG:=true

Change-Id: I722b42d34198c027f265c3cf9f220d9798814915

Conflicts:
	liblog/logd_write.c
libion: Support for old ION API

 * Kernel 3.0 doesn't have heap_mask or SYNC ioctl, so add a board flag
   so that proprietary code that uses the old kernel API directly still
   works.

Change-Id: I4227c79a5de46c60eeebd2e16ca88dd6d580916a
Fix /cache permissions for the dexopt cache

Change-Id: Ibbecac2b5a89d7fa7fb09c5be1d2bc3db766f885
Revert "init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes"

This reverts commit 36454361efaa4d30a6c8c2cca49121e35ef74f7e, since the tmpfs is clobbering mountpoints created by init.hardware.rc. Most (all?) devices with non-emulated SDs are currently b0rked.

Change-Id: Ib34660e2d45473775757e94800fc4ec57f6c8d77
init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes

Mount a tmpfs as /storage in order to create a mountpoint, so that Dalvik
can later mark /storage as slave in zygotes.

Must mount in early-init as some devices' init.hardware.rc populate
/storage then, which the tmpfs would overwrite if mounted later.

Must use tmpfs as rootfs can't be bind mounted (otherwise "mount rootfs
/storage /storage bind" would work as an alternative).
init: create mountpoint for fuse

Change-Id: I8bd80bbcacc8f01ac4df17e013d3d68d2b86e02f
Fix dalvik-cache permissions remove install-recovery.sh