Commit Graph

6829 Commits

Author SHA1 Message Date
Christopher Ferris 0f26808e2c am 98f87d92: Merge "Rewrite libbacktrace using C++."
* commit '98f87d92d89079f274374409efcf57ca52b13c1f':
  Rewrite libbacktrace using C++.
2013-10-29 13:25:06 -07:00
Christopher Ferris 98f87d92d8 Merge "Rewrite libbacktrace using C++." 2013-10-29 20:21:58 +00:00
Christopher Ferris 17e91d44ed Rewrite libbacktrace using C++.
The old code was essentially trying to be C++ in C and was awkward. This
change makes it all objects with a thin layer that C code can use.

There is a C++ backtrace object that is not very useful, this code will
replace it.

This change also includes moving the backtrace test to a gtest, and adding
coverage of all major functionality.

Bug: 8410085
Change-Id: Iae0f1b09b3dd60395f71ed66010c1ea5cdd37841
2013-10-28 17:55:25 -07:00
Brian Carlstrom 406abdc8a2 am 5dadac50: am 87af04a4: Merge "Improve some adb error logging"
* commit '5dadac50c4bbeaf8baf4d5e04c2d2706d9e74fc7':
  Improve some adb error logging
2013-10-28 14:30:26 -07:00
Brian Carlstrom 5dadac50c4 am 87af04a4: Merge "Improve some adb error logging"
* commit '87af04a42ec2d959cced0f1c01888f9cf3b2b9c5':
  Improve some adb error logging
2013-10-28 14:27:33 -07:00
Brian Carlstrom 87af04a42e Merge "Improve some adb error logging" 2013-10-28 21:24:51 +00:00
Brian Carlstrom 93c91fad77 Improve some adb error logging
Bug: 11290643
Change-Id: Ibad4e9f0b69421cd6017b70a52237e7f27aab848
2013-10-27 16:56:55 -07:00
Igor Murashkin ec79ef2e7b utils: Add ProcessCallStack to collect stack traces for all threads in a process
- Also add a Printer class (print lines to logcat, fd, or strings)

Bug: 11324229
Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3
2013-10-25 19:24:56 -07:00
Nick Kralevich 0bf7924df1 am 91704522: Don\'t return immediately from reboot commands.
* commit '917045222a69021eb36aea96708649c709685509':
  Don't return immediately from reboot commands.
2013-10-24 12:39:29 -07:00
Elliott Hughes 396f6b7771 am c3d04aab: am 4d87e743: Merge "Eliminate text relocations in x86 optimized memset versions"
* commit 'c3d04aab960c81a746579d67a17049d8f4efba9a':
  Eliminate text relocations in x86 optimized memset versions
2013-10-24 12:37:01 -07:00
Elliott Hughes c3d04aab96 am 4d87e743: Merge "Eliminate text relocations in x86 optimized memset versions"
* commit '4d87e743083c201edd0b565dd7d42e70945a6265':
  Eliminate text relocations in x86 optimized memset versions
2013-10-24 12:33:40 -07:00
Elliott Hughes 4d87e74308 Merge "Eliminate text relocations in x86 optimized memset versions" 2013-10-24 18:17:21 +00:00
Nick Kralevich 917045222a Don't return immediately from reboot commands.
The reboot commands return too fast, interfering with testing.
Add a pause(), which will allow the device time to complete the
reboot.

Change-Id: Ie9cc6eea67b7ff662ec71ea2329cbb94f8d55404
Bug: 11369303
2013-10-24 11:01:16 -07:00
Pavel Chupin 9ff8767bc6 Eliminate text relocations in x86 optimized memset versions
Change-Id: Ieb72af8cf7f93210a68a87b1e2538deb5642f4d5
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-24 21:42:30 +04:00
Elliott Hughes 37cc29e956 resolved conflicts for merge of 9ff588f8 to klp-dev-plus-aosp
Change-Id: I0250174055a16bc2d35ede1f6a0a7f033bb3c844
2013-10-18 17:56:50 -07:00
Elliott Hughes 9ff588f84b am f1296b9e: Merge "Use %zd for size_t."
* commit 'f1296b9e92cb04f9bba8c622560d37dfc53c7aa4':
  Use %zd for size_t.
2013-10-18 17:40:26 -07:00
Elliott Hughes f1296b9e92 Merge "Use %zd for size_t." 2013-10-19 00:38:07 +00:00
Elliott Hughes 9640b30dd7 Use %zd for size_t.
Change-Id: I0139243c309e85236eb00bb471736bdd99eeec84
2013-10-18 17:11:00 -07:00
Jeff Sharkey 9b41f45201 am a9e453f1: Merge "vold no longer does MS_MOVE; remove tmpfs." into klp-dev
* commit 'a9e453f1b552699f69dca19599c7624a581089bd':
  vold no longer does MS_MOVE; remove tmpfs.
2013-10-17 18:48:45 -07:00
Jeff Sharkey a9e453f1b5 Merge "vold no longer does MS_MOVE; remove tmpfs." into klp-dev 2013-10-18 01:45:05 +00:00
Jeff Sharkey 00c8e1a219 vold no longer does MS_MOVE; remove tmpfs.
MS_MOVE was used when staging external storage devices, which no
longer occurs.  In fact, having a writable tmpfs was masking a vold
bug around moving apps to SD cards.

Bug: 11175082
Change-Id: Ib2d7561c3a0b6fde94f651a496cb0c1f12f88d96
2013-10-17 16:47:20 -07:00
JP Abgrall e6cc565990 am 9c39c96a: am b387a7f2: Merge "Wait for device to disappear after reboot-bootloader."
* commit '9c39c96a524def86d4aeba9cbfe7c7fe717e20e3':
  Wait for device to disappear after reboot-bootloader.
2013-10-17 13:12:46 -07:00
JP Abgrall 9c39c96a52 am b387a7f2: Merge "Wait for device to disappear after reboot-bootloader."
* commit 'b387a7f2168a720fa486f31e8f3189114f69c0db':
  Wait for device to disappear after reboot-bootloader.
2013-10-17 13:09:56 -07:00
JP Abgrall b387a7f216 Merge "Wait for device to disappear after reboot-bootloader." 2013-10-17 20:07:05 +00:00
Mark Wachsler 157b00171a Wait for device to disappear after reboot-bootloader.
(Linux only for now) With fastboot reading serial numbers from sysfs, it had
become possible for a fastboot command issued immediately after rebooting
the bootloader to fail, because sysfs still thought the device was online.
To prevent this, after reboot-bootloader we wait for the device to disconnect.

Also made usb_read and usb_write fail immediately if the descriptor has been
closed; this prevents an incorrect error message ("Bad file descriptor")
when errors from fb_getvar are ignored (e.g., by fb_format_supported).

Also removed unused fd param from filter_usb_device, and simplified logic
in usb_write by using do/while instead of a special case for len == 0.

Change-Id: I799b857eab411fd8ad25f5777fc61c685152ea86
2013-10-17 20:06:32 +00:00
JP Abgrall 308f0f9bf2 am 95e69261: am ac568b8f: Merge "init: remove obsolete rle logo"
* commit '95e69261b22cd57c795e96e5ac122f120113f819':
  init: remove obsolete rle logo
2013-10-17 09:46:10 -07:00
JP Abgrall 95e69261b2 am ac568b8f: Merge "init: remove obsolete rle logo"
* commit 'ac568b8f783ee60a7a2cb0ab5b6db786bdb39b35':
  init: remove obsolete rle logo
2013-10-17 09:44:35 -07:00
JP Abgrall ac568b8f78 Merge "init: remove obsolete rle logo" 2013-10-17 16:42:15 +00:00
Ed Heyl 536dea9d61 am 169c12b5: merge in klp-release (no-op)
* commit '169c12b5cf55d9574f98935d5517d20f55f62be8':
2013-10-16 18:07:31 -07:00
Ed Heyl 169c12b5cf merge in klp-release (no-op) 2013-10-16 17:48:19 -07:00
Marcin Chojnacki 50dc936964 init: remove obsolete rle logo
Obsolete RLE 565 logo is used nowhere,
because 565 framebuffer isn't used for years.

It's not necessary to keep this thing alive anymore.

Change-Id: Ie61e168790f791230530cd3eb1c68b1f7344c9a7
2013-10-16 17:39:16 +02:00
Nick Kralevich aa4051dc4f am 2f924ebe: am a94d2b39: Merge "Add a restorecon_recursive built-in command to init."
* commit '2f924ebe0b0891dba1996c246839427b23705018':
  Add a restorecon_recursive built-in command to init.
2013-10-10 12:38:44 -07:00
Nick Kralevich 2f924ebe0b am a94d2b39: Merge "Add a restorecon_recursive built-in command to init."
* commit 'a94d2b392f830e3c0a1e4bd0d2d262314eada8d9':
  Add a restorecon_recursive built-in command to init.
2013-10-10 12:37:05 -07:00
Nick Kralevich a94d2b392f Merge "Add a restorecon_recursive built-in command to init." 2013-10-10 19:34:18 +00:00
Kenny Root 33d1e6294f am 4ff9c3f7: am aab1670b: Merge "Add support for ECDSA P-256 with SHA256"
* commit '4ff9c3f7d89fe418290288d0925f257f0fe15f20':
  Add support for ECDSA P-256 with SHA256
2013-10-10 11:14:49 -07:00
Kenny Root 4ff9c3f7d8 am aab1670b: Merge "Add support for ECDSA P-256 with SHA256"
* commit 'aab1670b7071e90786c6a23d404cb03f3e316568':
  Add support for ECDSA P-256 with SHA256
2013-10-10 11:11:50 -07:00
Stephen Smalley 726e8f7a8f Add a restorecon_recursive built-in command to init.
Functionally equivalent to the restorecon -R toolbox command.
A use case is given by:
I48eaa2b9901ac8c978192c14493ba1058a089423

Also, fix error handling and documentation for restorecon command.

Change-Id: Ia7fbcc82645baf52c6bff0490d3492f458881cbb
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2013-10-10 14:09:19 -04:00
Kenny Root aab1670b70 Merge "Add support for ECDSA P-256 with SHA256" 2013-10-10 18:07:20 +00:00
Elliott Hughes 6891df7a65 am 45ddf184: am 9b8a929d: Merge "libcutils doesn\'t need to be looking at bionic\'s privates."
* commit '45ddf184960225862c6e178588034cce676683e3':
  libcutils doesn't need to be looking at bionic's privates.
2013-10-10 10:40:11 -07:00
Elliott Hughes 7f7b12b8eb am 5baecee3: am be18538d: Merge "Cleanup x86 flags and memset versions"
* commit '5baecee3c6bf348b77b8785bcd8e35362a3507fb':
  Cleanup x86 flags and memset versions
2013-10-10 10:40:10 -07:00
Elliott Hughes 45ddf18496 am 9b8a929d: Merge "libcutils doesn\'t need to be looking at bionic\'s privates."
* commit '9b8a929dc4375b91dde2e8d34df1b0b485ae3b23':
  libcutils doesn't need to be looking at bionic's privates.
2013-10-10 10:33:46 -07:00
Elliott Hughes 5baecee3c6 am be18538d: Merge "Cleanup x86 flags and memset versions"
* commit 'be18538d4373364b6c9b1149a24974976169f52f':
  Cleanup x86 flags and memset versions
2013-10-10 10:33:43 -07:00
Elliott Hughes 9b8a929dc4 Merge "libcutils doesn't need to be looking at bionic's privates." 2013-10-10 17:00:46 +00:00
Elliott Hughes 478c566a90 libcutils doesn't need to be looking at bionic's privates.
Change-Id: Ib11a0c1bdc4b85c58274b21a07aa92f958d23713
2013-10-10 09:50:56 -07:00
Elliott Hughes be18538d43 Merge "Cleanup x86 flags and memset versions" 2013-10-10 16:46:50 +00:00
Pavel Chupin 4aa51cd468 Cleanup x86 flags and memset versions
ARCH_X86_HAVE_SSE2 is always true

Change-Id: I680493d14280aafad5448aec727e8d9a84a6db00
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-10 20:20:16 +04:00
Christopher Ferris f84f7fa4d2 am 9492b6e7: am 2de8102d: Merge "Fix bug in abort message processing."
* commit '9492b6e72cef71422ba624e3cd11f07156cfb34a':
  Fix bug in abort message processing.
2013-10-09 23:08:59 -07:00
Christopher Ferris 9492b6e72c am 2de8102d: Merge "Fix bug in abort message processing."
* commit '2de8102d422f48eec44fe8782cd2411f04f1dcb2':
  Fix bug in abort message processing.
2013-10-09 23:06:51 -07:00
Christopher Ferris 2de8102d42 Merge "Fix bug in abort message processing." 2013-10-10 06:03:41 +00:00
Christopher Ferris dbd2ab4dca Fix bug in abort message processing.
Bug: 11156592
Change-Id: I4b82e7be5d7fccd167f6c52f78a5af3d3a553779
2013-10-09 18:31:40 -07:00