init: support in init for replacing environment keys

 * Add support in init for replacing environment keys

Change-Id: I9940293f9932cf5ec4255d59d553dd3605c6bae5
qcom: grant access to /dev/diag to mediaserver

Change-Id: I645631d6046267b4aee544f331a037087110098b
Fixed improper size displaying in 'df' utility

'df' command used to display filesystem usage statistics as integer
values, in most cases rounding the actual value down. Because of
that 'df' tended to display faulty size values.
This fix to 'df' utility calculates the fractional part of the size,
then it rounds it when needed to the nearest one-digit integer value
and displays after decimal dot.

Change-Id: I9bc52635d45d3e55ce61b3b1c6b80d1267516e75
Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
Merge "Fixed improper size displaying in 'df' utility" into jellybean
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
mkbootimg: support pagesizes up to 16384

Change-Id: Idd6ff27e14eac8b98728f5f9a8e8fa87e6c8e23b
Merge "qcom: grant access to /dev/diag to mediaserver" into jellybean
FM Radio: Add support for FM Radio in Android

Creating interface and framework for using FM Radio
RX and TX from different vendors.

Change-Id: I19df764d242a18198618614b6486d4b3ee36396b
Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>
add 32K 64K and 128K pagesizes in bootimage

Change-Id: I4bc74ad6b0a473de68c906422bcd7eac00c89793
Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
libsuspend: Correctly handle errors initializing autosuspend, to avoid exceptions later on

When calling autosuspend_enable for the first time, it calls autosuspend_init(). If this is
not the first time, autosuspend_inited should be true and it only returns success. If not,
it initializes the autosuspend method to use. However, regardless of successful completion or
not, it sets autosuspend_inited to true. This causes that further calls to autosuspend_enable
cause an exception if there was an error initializing because autosuspend_ops is invalid.

This change causes autosuspend_inited to only be set to true when initialization is
successful. Further calls to autosuspend_enable will not do anything, as initialization will
probably fail again, but won't crash.

Note that the underlying cause of this is a missing feature on the kernel (either earlysuspend,
autosleep, or wakeup_count) that should be present, but a crash in unacceptable neverless.
 u8500: add ST Ericsson audio configs

to enable add STE_AUDIO

ported from commit 3edcf52fccf2ca946a19de43187edc8d710c451d

Change-Id: I2a9e21f839599548387d72ae91cf69f83275c4d9
Adding required ST-Ericsson changes to graphics.h

Pixel formats have been added to graphics.h (they used to be in
hardware.h). One is ST-Ericsson specific and the rest are just
added since they were there in GB.

Change-Id: Ib180a29a1fb0a57bae478dc9a3ba6607fa8cab23
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/70894
Signed-off-by: Alin Jerpelea <jerpelea@gmail.com>
HTC INIT

Change-Id: I126f8ba9fc0b5c4c664fd28686d1ce8c3d8226ac