Commit Graph

20050 Commits

Author SHA1 Message Date
Christopher Ferris 48d930d0a9 Merge "Do not do local unwinds through .oat or .dex maps." 2016-03-02 03:40:09 +00:00
Christopher Ferris 4265ed7cc8 Do not do local unwinds through .oat or .dex maps.
Bug: 27391690
Change-Id: I88a49537544b507a3b0bfa61eafc27400a05281b
2016-03-01 18:07:59 -08:00
bohu 4cc3354fb7 Merge "Emulator: fix adbd qemu pipe partial write"
am: ae607e149b

* commit 'ae607e149bbb4b8a8e441fd64147856c69862710':
  Emulator: fix adbd qemu pipe partial write
2016-03-02 01:47:57 +00:00
Bo Hu ae607e149b Merge "Emulator: fix adbd qemu pipe partial write" 2016-03-02 01:35:33 +00:00
bohu f66c5938be Emulator: fix adbd qemu pipe partial write
It does happens that the adb_write only writes to the
qemu pipe partially which throws host side's adb backend
into confusion and crashes.

This CL replaces adb_write with WriteFdExactly;
adb_read with ReadFdExactly.

Change-Id: I10424ad730c73516d16b0eb7318e8c9beea9b36b
2016-03-01 17:33:57 -08:00
Josh Gao d799184236 Merge "adb: report progress for small files."
am: 4c87588fa2

* commit '4c87588fa2676d99c4ebca9a59b26adf0ef89e82':
  adb: report progress for small files.
2016-03-01 20:38:13 +00:00
Josh Gao 4c87588fa2 Merge "adb: report progress for small files." 2016-03-01 20:37:13 +00:00
James Hawkins 65df16b05f Merge "system/core/lib[c]utils: Fix signedness comparison warnings."
am: bba2151b29

* commit 'bba2151b29eb585b572eafc735917d7d74a2c0ad':
  system/core/lib[c]utils: Fix signedness comparison warnings.
2016-03-01 20:28:13 +00:00
James Hawkins bba2151b29 Merge "system/core/lib[c]utils: Fix signedness comparison warnings." 2016-03-01 20:26:32 +00:00
Josh Gao 9fd2f77dcc adb: report progress for small files.
Bug: http://b/27407725
Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6
2016-03-01 11:52:55 -08:00
James Hawkins b898075f30 system/core/lib[c]utils: Fix signedness comparison warnings.
* Store the output of a length variable in size_t.
* Annotate unsigned constant values as such.

Bug: 27384813
Change-Id: I8504c0a8f5840d4d42e5c0df797a4e5d02d13eb9
2016-03-01 11:21:53 -08:00
Ying Wang aa88fa5837 Merge "Also archive adb.exe/fastboot.exe when building win_sdk."
am: f666ba41a7

* commit 'f666ba41a729834bf15296ab13a92f33c5b0d592':
  Also archive adb.exe/fastboot.exe when building win_sdk.
2016-03-01 17:30:05 +00:00
Ying Wang f666ba41a7 Merge "Also archive adb.exe/fastboot.exe when building win_sdk." 2016-03-01 17:27:56 +00:00
Ying Wang 71edfc8b9a Also archive adb.exe/fastboot.exe when building win_sdk.
On linux we archive both Linux and Windows binaries.

Bug: 27315911
Change-Id: I17d25cd1ea611a9c917f1e78b47f21a8959eea20
2016-02-29 19:27:06 -08:00
Sami Tolvanen 126527e74b Merge "logd: add a comment about untrusted content in the audit log"
am: 68de85bda9

* commit '68de85bda98d7d03f63134209f9e2c149cad1852':
  logd: add a comment about untrusted content in the audit log
2016-02-29 22:23:59 +00:00
Sami Tolvanen 68de85bda9 Merge "logd: add a comment about untrusted content in the audit log" 2016-02-29 22:22:15 +00:00
James Hawkins 974bae41da Merge "crash_reporter: Mark the euid parameter as __unused."
am: c625acf217

* commit 'c625acf21701af0f8a57a443a16240ea6e499774':
  crash_reporter: Mark the euid parameter as __unused.
2016-02-29 22:14:47 +00:00
James Hawkins c625acf217 Merge "crash_reporter: Mark the euid parameter as __unused." 2016-02-29 22:12:51 +00:00
Sami Tolvanen 2060a83775 logd: add a comment about untrusted content in the audit log
A single space character in search terms separates us from a denial of
service attack that forces the device into safe mode.  This CL adds a
comment that hopefully stops the spaces from being accidentally deleted
in future.

Change-Id: I33b2632ef4211fa1688ac9c8f0cf7d0c667766c1
2016-02-29 14:10:59 -08:00
Dimitry Ivanov 1dff1aa97c Fix locking of libnativeloader
This commit fixes race condition introduced in
d047c925af

Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I5d94f130937f18d3443878b3521715a8f87427e0
(cherry picked from commit 34d5a20c8b)
2016-02-29 13:31:26 -08:00
Sami Tolvanen 892cda4397 Merge "logd: stop log spam when integrity enforcement is suppressed"
am: 9218477ae7

* commit '9218477ae7a3561f258e587b225cadfd73f0ed04':
  logd: stop log spam when integrity enforcement is suppressed
2016-02-29 20:31:12 +00:00
Sami Tolvanen 9218477ae7 Merge "logd: stop log spam when integrity enforcement is suppressed" 2016-02-29 20:28:54 +00:00
Sami Tolvanen abda9340e6 logd: stop log spam when integrity enforcement is suppressed
Bug: 27389331
Change-Id: I9f3bc21eb1b85b9fda4fa0a5c5b4da94e5e7cc1c
2016-02-29 12:08:39 -08:00
Bernhard Rosenkränzer e487732935 Merge "Allow building with Python 3.x"
am: a335367bb0

* commit 'a335367bb02b759e5fa5aab535989f61ba691323':
  Allow building with Python 3.x
2016-02-29 19:18:27 +00:00
Dan Albert a335367bb0 Merge "Allow building with Python 3.x" 2016-02-29 19:16:52 +00:00
Dan Willemsen ea29d56873 Merge "liblog: Update Android.bp for Android.mk changes"
am: d480a99b0c

* commit 'd480a99b0cefd17a120919c662bfc6d303cffddd':
  liblog: Update Android.bp for Android.mk changes
2016-02-29 19:06:32 +00:00
Dan Willemsen d480a99b0c Merge "liblog: Update Android.bp for Android.mk changes" 2016-02-29 19:05:39 +00:00
Dan Willemsen 7d5457e150 liblog: Update Android.bp for Android.mk changes
Change-Id: I5062583a45efa2774f01339e7601767b817f54ee
2016-02-29 10:46:18 -08:00
David Pursell 89d749dbfc Merge "adb: use TCP keepalive."
am: e663c163ac

* commit 'e663c163ac5f1931c2f9ebb091bf09a8a588432b':
  adb: use TCP keepalive.
2016-02-29 17:44:56 +00:00
David Pursell e663c163ac Merge "adb: use TCP keepalive." 2016-02-29 17:43:35 +00:00
Mattias Nissler e84f68ad5d Merge "Remove libmincrypt/tools after move to bootable/recovery"
am: 50eb9b29db

* commit '50eb9b29db783b6bda724da0f021489e7ec7f25a':
  Remove libmincrypt/tools after move to bootable/recovery
2016-02-29 08:30:27 +00:00
Mattias Nissler 50eb9b29db Merge "Remove libmincrypt/tools after move to bootable/recovery" 2016-02-29 08:28:11 +00:00
Elliott Hughes b57e7786d6 Merge "Remove another test for a private API I\'m about to remove."
am: f71553cbe7

* commit 'f71553cbe7465f6094ad54fcdacc79cf9ce08d72':
  Remove another test for a private API I'm about to remove.
2016-02-27 17:12:05 +00:00
Elliott Hughes f71553cbe7 Merge "Remove another test for a private API I'm about to remove." 2016-02-27 17:11:26 +00:00
Elliott Hughes 74c9052fe4 Remove another test for a private API I'm about to remove.
Change-Id: I541d1de549aa62d43867889f41bd0757ed414636
2016-02-26 22:04:26 -08:00
Dimitry Ivanov 4cd0768115 Added function to explicitly initialize a namespace
This change replaces lazy get-or-create logic for
linker namespaces with the explicit one.

ApplicationLoaders.getClassLoader(..) is now resposible for
the namespace initialization for PathClassLoaders.

Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: Ife987c3ca1db33a47c20f363a5ed61512be8b5a7
(cherry picked from commit d047c925af)
2016-02-26 18:38:58 -08:00
Josh Gao 8564dc9085 Merge "adb: fix directory creation logic."
am: a887c4faca

* commit 'a887c4faca223765956200a86316eee196a49b43':
  adb: fix directory creation logic.
2016-02-27 01:55:38 +00:00
Josh Gao a887c4faca Merge "adb: fix directory creation logic." 2016-02-27 01:54:16 +00:00
Elliott Hughes e3473f3a4c Merge "Remove a test for an API I\'m removing."
am: 0962ecd4e3

* commit '0962ecd4e38b39331088081ab26fb182140bbb3d':
  Remove a test for an API I'm removing.
2016-02-27 01:27:07 +00:00
Elliott Hughes 0962ecd4e3 Merge "Remove a test for an API I'm removing." 2016-02-27 01:26:30 +00:00
Elliott Hughes 9ce327200c Remove a test for an API I'm removing.
Change-Id: I44ee84b92fdbf561551e5cf90e0c44df535de83f
2016-02-26 16:57:54 -08:00
Jorge Lucangeli Obes da6b7ef1e9 Merge "Add notice for adding users in AOSP."
am: acf69772ff

* commit 'acf69772ffbf2b4684f9bb44f5b9ed9ae3b8ddbd':
  Add notice for adding users in AOSP.
2016-02-27 00:51:12 +00:00
Jorge Lucangeli Obes acf69772ff Merge "Add notice for adding users in AOSP." 2016-02-27 00:49:49 +00:00
James Hawkins b2de40a4fc crash_reporter: Mark the euid parameter as __unused.
This fixes an unused parameter warning.

Bug: 27378717
Change-Id: Ieb50dfd60a565e0cd77e8179c21cbe8e65ebdd9d
2016-02-26 15:44:46 -08:00
James Hawkins df5ac40d6d Merge "crash_reporter: Fix a -Wmissing-field-initializers warning."
am: 2913fa1908

* commit '2913fa190831ff224e7a0ef1311c345fe67c758f':
  crash_reporter: Fix a -Wmissing-field-initializers warning.
2016-02-26 23:38:42 +00:00
James Hawkins 2913fa1908 Merge "crash_reporter: Fix a -Wmissing-field-initializers warning." 2016-02-26 23:35:26 +00:00
James Hawkins 69bd21f695 crash_reporter: Fix a -Wmissing-field-initializers warning.
The fix is to use the C++ empty struct initialization {} instead of the
C-style {0}.

Bug: 27378717
Change-Id: I36896d1202bf30b5db5689ac13acaff3b3f1b30b
2016-02-26 15:15:06 -08:00
Jorge Lucangeli Obes 5596cf04ff Add notice for adding users in AOSP.
Sometimes new users/groups get added in internal branches, and the list
gets out of sync. Add a comment to prompt developers to add users in
AOSP.

Bug: None
Change-Id: I5b2df391902b842f1af8a377c8eac4cdb36a0518
2016-02-26 15:03:44 -08:00
Josh Gao 71728ca300 adb: fix directory creation logic.
Previously, for `adb pull $remote $local`, we would do the equivalent of
mkdir -p on `dirname $local`. This patch changes the behavior to only
creating directories that are being pulled, like scp.

Bug: http://b/27362811
Change-Id: I79f975ee9f2d9bc9e8be6a7c4f2de6d7ae2d2d23
2016-02-26 14:50:24 -08:00
James Hawkins 48458219d5 Merge "crash_report: Fix several signed-unsigned comparison warnings in tests."
am: ac06dcd29f

* commit 'ac06dcd29fbc551ebc77abdee2557db98930058e':
  crash_report: Fix several signed-unsigned comparison warnings in tests.
2016-02-26 22:35:22 +00:00