Add Mips memset speedup

Change-Id: I157aa8b500e271c213bf615dd4ceb25b3aedd7c2
Fix fs_mgr to properly invoke e2fsck on encrypted devices

Change-Id: Ie220f5cb7b614a48ec8afe66f4721ede3a368166
Merge "Fix fs_mgr to properly invoke e2fsck on encrypted devices" into jb-mr1.1-dev
am b20fa762: Merge "Fix fs_mgr to properly invoke e2fsck on encrypted devices" into jb-mr1.1-dev

* commit 'b20fa762b515b5e96c158959d8c8d0c2ff1bf46b':
  Fix fs_mgr to properly invoke e2fsck on encrypted devices
am 7fd51b36: am b20fa762: Merge "Fix fs_mgr to properly invoke e2fsck on encrypted devices" into jb-mr1.1-dev

* commit '7fd51b36dabedee4de159213237e71ba20865812':
  Fix fs_mgr to properly invoke e2fsck on encrypted devices
am 3ddc0059: am ee854b07: Merge "Allocate a UID for clatd"

* commit '3ddc0059bb897c4d7d2e0c6d9812d590388480d1':
  Allocate a UID for clatd
run-as:  set the SELinux security context.

Before invoking the specified command or a shell, set the
SELinux security context.

Change-Id: Ifc7f91aed9d298290b95d771484b322ed7a4c594
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Close adb_usb.ini after reading it

Signed-off-by: Chris Dearman <chris@mips.com>
Change-Id: I7d3ee8cbd54af206dac89225c438e6c7322c571f
am 9b82ce20: Merge "Document the SELinux extensions to the Android init language."

* commit '9b82ce20ebca3eb5bf782c38ca36d8acbb2ffae6':
  Document the SELinux extensions to the Android init language.
am a649fafb: Merge "Switch keystore to binder"

* commit 'a649fafbe8a83e9b86ea99f89b6554d93eb1937c':
  Switch keystore to binder
am 2a2f6408: Merge "autosuspend_inited flag set even if initialization fails"

* commit '2a2f640886c9d356de1407b0888507823a7663b7':
  autosuspend_inited flag set even if initialization fails
am 777991d9: Merge "Fixed improper size displaying in \'df\' utility"

* commit '777991d9399f1268d27c72a03d56c1a36068a57f':
  Fixed improper size displaying in 'df' utility
libsuspend: compile as a static library

Compile libsuspend as a static library as well, currently needed by the charger
code in some cases.

Related-to-bug: 7429504
Change-Id: I113017c2c855f915b77c76d8934b6e57c0bb532c
Signed-off-by: Iliyan Malchev <malchev@google.com>
init.usb.rc: set sys.usb.config to none before changing it

On encrypted devices, persistent properties are loaded after the device
is decrypted. To properly change sys.usb.config to its persistent value,
it must first be set to "none" and then to ${persist.sys.usb.config}.

Bug: 7678835
Change-Id: I4f91245cedc04e3178ce9cee21390f5b657733c9
am 2cc3527a: libsuspend: compile as a static library

* commit '2cc3527ae70138cc8a40d9ad6e92b98d81e44701':
  libsuspend: compile as a static library
Merge "init.usb.rc: set sys.usb.config to none before changing it" into jb-mr1.1-dev
am a2411eed: Merge "init.usb.rc: set sys.usb.config to none before changing it" into jb-mr1.1-dev

* commit 'a2411eedb2f005e344e7d920715727e136a806aa':
  init.usb.rc: set sys.usb.config to none before changing it
charger: suspend enable in charger mode

To reduce power consumption after charging completion, enable suspend when LCD
is turned off.

Bug: 7429504
Change-Id: I34731dc392661c9051a20cea74f70d94a8aaeb42
Signed-off-by: Iliyan Malchev <malchev@google.com>
am 9255713b: charger: suspend enable in charger mode

* commit '9255713bcf929e7cdd2817481f0dd08f838285c3':
  charger: suspend enable in charger mode
charger: fix build

Looks like libsuspend is not available on all platforms.

Change-Id: Ic32dc93221f3c488e846da35235f247f4ddb4c69
Signed-off-by: Iliyan Malchev <malchev@google.com>