Commit Graph

18165 Commits

Author SHA1 Message Date
Dan Albert a9d3ab44e5 Merge "Don\'t use libstdc++."
am: f4e2045319

* commit 'f4e204531933027000bd58a5a3366510fb471a27':
  Don't use libstdc++.
2015-10-23 16:13:12 +00:00
Dan Albert f4e2045319 Merge "Don't use libstdc++." 2015-10-23 15:47:37 +00:00
Dan Albert 82a6c845b0 Don't use libstdc++.
No one should be using libstdc++. All the cool projects use libc++.

Change-Id: Ifa357f0dcaba0b57e1af583baf2e40332c2b58d9
2015-10-23 08:46:20 -07:00
Andreas Gampe d9b6a09587 Merge "system/core: add libpackagelistparser"
am: 77e4677db0

* commit '77e4677db06e3ed2def322ec22f043a1cf2ca467':
  system/core: add libpackagelistparser
2015-10-23 04:17:14 +00:00
Andreas Gampe 31e78998b0 Merge "Logd: Fix missing include of rc file"
am: 054c099f1b

* commit '054c099f1bbc814e7b20cc20c3ba369161e130e7':
  Logd: Fix missing include of rc file
2015-10-23 04:15:51 +00:00
Andreas Gampe 77e4677db0 Merge "system/core: add libpackagelistparser" 2015-10-23 03:46:41 +00:00
Andreas Gampe 054c099f1b Merge "Logd: Fix missing include of rc file" 2015-10-23 03:46:16 +00:00
Andreas Gampe f5852ce11b Logd: Fix missing include of rc file
This went missing in commit aeca97ba1c.

Change-Id: I9d7e48a2ffb1649f3fa515a9d12d5fbdd2ed58b7
2015-10-22 20:36:53 -07:00
Andreas Gampe 438eb759dd system/core: add libpackagelistparser
There are 4 components that all implement package parsing, they are:
1. sdcardd
2. libselinux
3. logd
4. runas

Create a library that can be used by all of them, and new ones as needed.

(Moved from frameworks/base)

Change-Id: I282ec1204e592502ef3b28fedf577af824338c58
2015-10-22 19:51:51 -07:00
Daniel Cashman 27ff12443d Merge "init/adb: correct static lib dependencies for libselinux"
am: 38aee48fc6

* commit '38aee48fc695c25e15435e4ef235c8bc2e0afde9':
  init/adb: correct static lib dependencies for libselinux
2015-10-22 23:12:22 +00:00
Daniel Cashman ac4e509328 Merge "sdcard: use libpackageparser"
am: e2693640ea

* commit 'e2693640ea7df7acac3d1d564434ddb9f39a8673':
  sdcard: use libpackageparser
2015-10-22 23:12:16 +00:00
Daniel Cashman 2d78403633 Merge "logd: use libpackageparser"
am: 89065609c9

* commit '89065609c904c8ffdf0fdaec13ede2989ceb110e':
  logd: use libpackageparser
2015-10-22 23:12:10 +00:00
Daniel Cashman 38aee48fc6 Merge "init/adb: correct static lib dependencies for libselinux" 2015-10-22 23:03:51 +00:00
Daniel Cashman e2693640ea Merge "sdcard: use libpackageparser" 2015-10-22 23:03:51 +00:00
Daniel Cashman 89065609c9 Merge "logd: use libpackageparser" 2015-10-22 23:03:51 +00:00
William Roberts e509980542 sdcard: use libpackageparser
Switch from the internal packages.list file parser
implementation to a common parser library.

See Change-Id: I87a406802f95d8e7bfd8ee85f723f80e9e6b6c0c
for all of the details.

Change-Id: I98924dce406b322e0d402bca7fdac51f6a1e6a4b
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2015-10-22 22:52:35 +00:00
William Roberts bd2d961cc2 init/adb: correct static lib dependencies for libselinux
Now that libselinux uses libpackagelistparser, in order
for libpackagelistparser to be properly statically linked
liblog must come after libselinux for all the liblog
references to be defined in libpackagelistparser which
is included in libselinux. This patch corrects that order.

Change-Id: I7aee10c9395310919779ed2463aab6b2f8b380cc
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2015-10-22 15:21:26 -07:00
Elliott Hughes 998bd12c3f Merge "Fix some compiler warnings in libpixelflinger."
am: 5643f80947

* commit '5643f8094753e4672cb64ff9b4a7b307d43a80ac':
  Fix some compiler warnings in libpixelflinger.
2015-10-22 22:15:31 +00:00
Elliott Hughes 5643f80947 Merge "Fix some compiler warnings in libpixelflinger." 2015-10-22 22:11:29 +00:00
Dan Willemsen eea68c6f98 Merge "Remove __DATE__/__TIME__ from init and debuggerd"
am: 512b0e60b4

* commit '512b0e60b4fb33ec5535c1784a99a27539787790':
  Remove __DATE__/__TIME__ from init and debuggerd
2015-10-22 22:00:20 +00:00
Dan Willemsen 512b0e60b4 Merge "Remove __DATE__/__TIME__ from init and debuggerd" 2015-10-22 21:58:05 +00:00
Dan Willemsen 30622bbb20 Remove __DATE__/__TIME__ from init and debuggerd
Keeping these means that every build has different init and debuggerd
binaries, even if the source was the same. So OTAs that don't touch
these sources would still need to update the binaries.

Both of these messages are only informational, so can be safely removed.
Bootchart already encodes build-specific information from the system
properties.

Bug: 24204119
Change-Id: I7ebd65a20a3e031e7528c9f741616e20b3cd7446
2015-10-22 13:12:18 -07:00
Andy Hung 0d3b144372 Merge "Disable sanitization for LinearTransform"
am: c52b3c08fa

* commit 'c52b3c08fa5ea3680ffcd68c2a1d0542d09f0509':
  Disable sanitization for LinearTransform
2015-10-22 19:46:20 +00:00
Andy Hung c52b3c08fa Merge "Disable sanitization for LinearTransform" 2015-10-22 19:43:23 +00:00
Andy Hung 13c19e7703 Disable sanitization for LinearTransform
Avoids potential crash on Fugu.

Bug: 25160007
Change-Id: I2e883539e36204821f3eb97f0ae4a4854014f048
2015-10-22 11:20:45 -07:00
Elliott Hughes cd6b53fd83 Fix some compiler warnings in libpixelflinger.
class/struct mismatch and use of 'register'.

Change-Id: I6cfe0f7fdc214c3a009eb01251f5ea9a8fdb895d
2015-10-21 18:52:17 -07:00
Elliott Hughes 9f1edaece7 Merge "Fix parameter to lseek"
am: 4a8d1255de

* commit '4a8d1255dec24716b537a742ae67c0bc5ad8a41e':
  Fix parameter to lseek
2015-10-20 21:44:21 +00:00
Elliott Hughes 4a8d1255de Merge "Fix parameter to lseek" 2015-10-20 21:36:49 +00:00
caozhiyuan f21f0f16e7 Fix parameter to lseek
Change-Id: I9c497a3ebc24ca1db92d0b9d3d1e9ac49dc40f75
2015-10-20 14:15:31 -07:00
Elliott Hughes 5d5e8c2f4d Merge "Fix lseek argument order."
am: 56543606b5

* commit '56543606b55e1e1455ef5c0bf9aa9f4febab967f':
  Fix lseek argument order.
2015-10-20 20:37:05 +00:00
Elliott Hughes 56543606b5 Merge "Fix lseek argument order." 2015-10-20 20:28:05 +00:00
Elliott Hughes c96de0d36e Fix lseek argument order.
Change-Id: I12feed2de8a4e0782f90609254a3e2ec66d7d98e
2015-10-20 13:18:22 -07:00
Mike Frysinger 7c4c3e9b15 Merge "crash_reporter: add missing mkdir for crash_server rule"
am: 0a85d04610

* commit '0a85d046108179c5c6ce2b70292da9ee7055801d':
  crash_reporter: add missing mkdir for crash_server rule
2015-10-20 19:25:36 +00:00
Mike Frysinger 0a85d04610 Merge "crash_reporter: add missing mkdir for crash_server rule" 2015-10-20 18:59:35 +00:00
Mike Frysinger cb31b1db9c crash_reporter: add missing mkdir for crash_server rule
When doing a clean build, creating this file fails because the dir does
not yet exist:
echo "" > out/target/product/brilloemulator_arm/obj/ETC/crash_server_intermediates/crash_server
/bin/bash: out/target/product/brilloemulator_arm/obj/ETC/crash_server_intermediates/crash_server: No such file or directory

Bug: 24989289
Change-Id: If204dc0eb32e95ee66f97b568b4b9ae4050d3591
2015-10-20 14:28:08 -04:00
Sami Tolvanen 17e80ff5fc Merge "adb: use libfec in disable-verity"
am: ed38714426

* commit 'ed38714426b0f6bf67057dd28d6417a13807590c':
  adb: use libfec in disable-verity
2015-10-20 14:41:03 +00:00
Sami Tolvanen ed38714426 Merge "adb: use libfec in disable-verity" 2015-10-20 14:34:29 +00:00
Sami Tolvanen 8ad80763e4 adb: use libfec in disable-verity
Use libfec to locate verity metadata and disable verity.

Needs changes from
  I02f83b0d1d4e7ef5cd5d13a37ff0b84f17e23376

Bug: 21893453
Change-Id: Ib43c352400a368664c949c7b8c9961829adf48f4
2015-10-20 13:55:24 +01:00
Elliott Hughes 3f9ad41e0a am c2492937: Merge "adb: win32: Improve Winsock error code mappings and strings"
* commit 'c24929373ec0686e0695320d8f10f3bf4fc4547e':
  adb: win32: Improve Winsock error code mappings and strings
2015-10-19 14:09:12 -07:00
Elliott Hughes c24929373e Merge "adb: win32: Improve Winsock error code mappings and strings" 2015-10-19 18:52:59 +00:00
Spencer Low 0a79600e72 adb: win32: Improve Winsock error code mappings and strings
Improved mapping of Winsock error codes to POSIX error codes, especially
WSAECONNABORTED to EPIPE (which WriteFdExactly() looks for) when sending
to a closed socket and WSAECONNRESET to ECONNRESET when the peer resets
the connection.

Use a macro to map strerror() to adb_strerror() which handles these
POSIX error codes that the Windows C Runtime doesn't recognize.

Also:

* Unittest for adb_strerror().

* Don't trace when send() returns WSAEWOULDBLOCK because that is
  expected.

Change-Id: If46aeb7b36de3eebfbbccf5478ff5b1bb087714b
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-10-18 16:45:09 -07:00
Daniel Erat 487153014b am fb371d6a: Merge "libbinderwrapper: Add GetCallingUid() and GetCallingPid()."
* commit 'fb371d6a6bc59be3eebf089b93b5aa07ad13b5b2':
  libbinderwrapper: Add GetCallingUid() and GetCallingPid().
2015-10-16 14:49:42 -07:00
Daniel Erat fb371d6a6b Merge "libbinderwrapper: Add GetCallingUid() and GetCallingPid()." 2015-10-16 21:43:36 +00:00
Elliott Hughes 8eb8f3ba6c am 4d7591b9: Merge "fix misuse of formatting specifiers"
* commit '4d7591b98e2bb066c1a151ef21fe5fc4bb0ed19b':
  fix misuse of formatting specifiers
2015-10-16 14:35:43 -07:00
Elliott Hughes 4d7591b98e Merge "fix misuse of formatting specifiers" 2015-10-16 21:28:36 +00:00
Steve Fung f14e5c6bc6 am 2218720d: Merge "crash_reporter: Use os-release.d to store the crash server url"
* commit '2218720d398961dd9191141a3780d48a4df46a1b':
  crash_reporter: Use os-release.d to store the crash server url
2015-10-16 17:22:00 +00:00
Steve Fung 2218720d39 Merge "crash_reporter: Use os-release.d to store the crash server url" 2015-10-16 17:16:10 +00:00
Adam Lesinski b7ccd83fe3 am 39477373: Merge "Implement ZipWriter for quickly writing ZipFiles."
* commit '39477373c516153e8c14c2159508eaf52bfa728e':
  Implement ZipWriter for quickly writing ZipFiles.
2015-10-16 17:06:42 +00:00
Adam Lesinski 39477373c5 Merge "Implement ZipWriter for quickly writing ZipFiles." 2015-10-16 17:02:19 +00:00
Daniel Erat 7cba9db9cd libbinderwrapper: Add GetCallingUid() and GetCallingPid().
Add methods to BinderWrapper for getting the caller's UID
and PID while in a transaction.

Bug: 24988639
Change-Id: Ibd711fc6b3d83623d4bb1060838c65aaef30d76e
2015-10-16 09:04:33 -06:00