Commit graph

12688 commits

Author SHA1 Message Date
Elliott Hughes
b45733319d am adc10102: am 4c1d4a0e: Merge "Be more intention-revealing with libcutils\' strlcpy."
* commit 'adc10102492a3d46478d6687a3cfcc4d6488c1fb':
  Be more intention-revealing with libcutils' strlcpy.
2015-04-03 00:08:54 +00:00
Elliott Hughes
adc1010249 am 4c1d4a0e: Merge "Be more intention-revealing with libcutils\' strlcpy."
* commit '4c1d4a0e8ec344799813ce5e6642946839e0036a':
  Be more intention-revealing with libcutils' strlcpy.
2015-04-02 23:54:37 +00:00
Elliott Hughes
4c1d4a0e8e Merge "Be more intention-revealing with libcutils' strlcpy." 2015-04-02 23:43:11 +00:00
Elliott Hughes
2040031f7b Be more intention-revealing with libcutils' strlcpy.
Several people have been independently confused about when this gets
built and why over the past couple of days.

Change-Id: I2d4a02f66e24c0734327585b7d27e50a344b1e94
2015-04-02 15:39:33 -07:00
Mark Salyzyn
dba7973f30 am f7f8f15b: am 34efe4cf: Merge "mkbootfs: move fs_config to libcutils"
* commit 'f7f8f15bfbbc49342fe4258833ae56bf8cf5cb5b':
  mkbootfs: move fs_config to libcutils
2015-04-02 22:06:00 +00:00
Mark Salyzyn
f7f8f15bfb am 34efe4cf: Merge "mkbootfs: move fs_config to libcutils"
* commit '34efe4cf1ad8d080b37fc02bf55e42eb2ea643b6':
  mkbootfs: move fs_config to libcutils
2015-04-02 21:55:03 +00:00
Elliott Hughes
8d2cd03547 am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed."
* commit '2ddb9cb106d13451cfd3d95fc8b4bc3619959900':
  Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.
2015-04-02 21:50:14 +00:00
Mark Salyzyn
34efe4cf1a Merge "mkbootfs: move fs_config to libcutils" 2015-04-02 21:46:41 +00:00
Elliott Hughes
797b246ff3 am a1f69f18: am 21593186: Merge "Move all libcutils tests into the gtests."
* commit 'a1f69f180876b0d9a74dd967c1dfdabb3722a318':
  Move all libcutils tests into the gtests.
2015-04-02 21:45:02 +00:00
Elliott Hughes
2ddb9cb106 am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed."
* commit 'ed43be3948b143af03ab52f0c9457fc35a44176c':
  Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.
2015-04-02 21:44:47 +00:00
Elliott Hughes
a1f69f1808 am 21593186: Merge "Move all libcutils tests into the gtests."
* commit '2159318647b6032a9d752012b923c579dc1f80da':
  Move all libcutils tests into the gtests.
2015-04-02 21:35:18 +00:00
Elliott Hughes
ed43be3948 Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed." 2015-04-02 21:34:40 +00:00
Elliott Hughes
bcc2b5f44a Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.
Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
2015-04-02 14:31:07 -07:00
Elliott Hughes
2159318647 Merge "Move all libcutils tests into the gtests." 2015-04-02 21:26:32 +00:00
Elliott Hughes
af98efbd15 Move all libcutils tests into the gtests.
This also fixes the bug where we were always testing against the fake
strlcpy we provide for glibc/Windows rather than the Android one.

This also removes some unnecessary library dependencies.

This also builds all the cutils tests for the host (static and dynamic).

Change-Id: Icd129d5b025c0ca801be5acf31a54ecd88608df9
2015-04-02 14:25:55 -07:00
Elliott Hughes
aaf25409b0 am 84ab5563: am d8fb29b0: Merge "Move mips/mips64 android_memset16/android_memset32 into libcutils."
* commit '84ab55632a76d95a769ef3c62f401bb35276c47c':
  Move mips/mips64 android_memset16/android_memset32 into libcutils.
2015-04-02 20:53:54 +00:00
Elliott Hughes
84ab55632a am d8fb29b0: Merge "Move mips/mips64 android_memset16/android_memset32 into libcutils."
* commit 'd8fb29b0c09de25c416141a4bb150cc7db9f28ca':
  Move mips/mips64 android_memset16/android_memset32 into libcutils.
2015-04-02 20:43:22 +00:00
Elliott Hughes
d8fb29b0c0 Merge "Move mips/mips64 android_memset16/android_memset32 into libcutils." 2015-04-02 20:35:20 +00:00
Elliott Hughes
a492f3797a Move mips/mips64 android_memset16/android_memset32 into libcutils.
Change-Id: Ia826dd872f64cc80635f50525a0c393f43ae5204
2015-04-02 11:59:22 -07:00
Elliott Hughes
83da8a4251 am 19d00adb: am 27a158be: Merge "toolbox: ioctl: fix signedness on ioctl_nr"
* commit '19d00adb2bcbf1a20d4c8d0e9d07651d0e959153':
  toolbox: ioctl: fix signedness on ioctl_nr
2015-04-02 17:40:39 +00:00
Elliott Hughes
19d00adb2b am 27a158be: Merge "toolbox: ioctl: fix signedness on ioctl_nr"
* commit '27a158befa90fd8fb965091510d9a3e9079b04f4':
  toolbox: ioctl: fix signedness on ioctl_nr
2015-04-02 17:30:39 +00:00
Elliott Hughes
27a158befa Merge "toolbox: ioctl: fix signedness on ioctl_nr" 2015-04-02 17:22:23 +00:00
Mark Salyzyn
d5cd3778cd mkbootfs: move fs_config to libcutils
Bug: 19908228

Change-Id: Ic843b32f575825dc89cd9fa15dc0619bc397ce82
2015-04-02 10:19:43 -07:00
Brian Carlstrom
a6fa57d23f am 8c755dfe: am c7cddffa: Merge "Fix shared version of libcutils on the host to include strlcpy"
* commit '8c755dfe4c1a479fe5f64d1ea0c32be89268da87':
  Fix shared version of libcutils on the host to include strlcpy
2015-04-02 13:55:16 +00:00
Brian Carlstrom
8c755dfe4c am c7cddffa: Merge "Fix shared version of libcutils on the host to include strlcpy"
* commit 'c7cddffa14369265c82e5a08797f7ba687d174ef':
  Fix shared version of libcutils on the host to include strlcpy
2015-04-02 13:44:40 +00:00
Brian Carlstrom
c7cddffa14 Merge "Fix shared version of libcutils on the host to include strlcpy" 2015-04-02 07:51:10 +00:00
Brian Carlstrom
60a347fc87 Fix shared version of libcutils on the host to include strlcpy
Change-Id: Ic727508d9cfadea0050d1ccc491ee61aac1ef55a
2015-04-02 00:43:45 -07:00
Elliott Hughes
d71b0943de am 2d4a347e: am fad9b3eb: Merge "sdcard: Turn on noatime for fuse mounted sdcard"
* commit '2d4a347eb58e1992ff39ed624ddab45b427b742c':
  sdcard: Turn on noatime for fuse mounted sdcard
2015-04-02 02:24:22 +00:00
Christopher Ferris
001ca70933 am 2be40f76: am 88628e2b: Merge "Discards frames for code within library."
* commit '2be40f767b254b25d2cb32616b3340bdd83ccf41':
  Discards frames for code within library.
2015-04-02 02:24:21 +00:00
Elliott Hughes
2d4a347eb5 am fad9b3eb: Merge "sdcard: Turn on noatime for fuse mounted sdcard"
* commit 'fad9b3ebb8f5966e2afd7ff65d78ecc3330aaa3e':
  sdcard: Turn on noatime for fuse mounted sdcard
2015-04-02 02:13:22 +00:00
Christopher Ferris
2be40f767b am 88628e2b: Merge "Discards frames for code within library."
* commit '88628e2baf83a604f9b443d0c1b67cd11f4ceef3':
  Discards frames for code within library.
2015-04-02 02:13:21 +00:00
Elliott Hughes
fad9b3ebb8 Merge "sdcard: Turn on noatime for fuse mounted sdcard" 2015-04-02 02:05:42 +00:00
Christopher Ferris
88628e2baf Merge "Discards frames for code within library." 2015-04-02 01:24:22 +00:00
Dan Albert
3ffe909c96 am a7be3440: am 7ab2c78e: Merge "Revert "Disable the static libcutils tests.""
* commit 'a7be34404c3089a7992fc61f8dea14204d6d2e82':
  Revert "Disable the static libcutils tests."
2015-04-02 01:09:22 +00:00
Dan Albert
a7be34404c am 7ab2c78e: Merge "Revert "Disable the static libcutils tests.""
* commit '7ab2c78ee9a7df21d149b6c5228f9d0fccb066e0':
  Revert "Disable the static libcutils tests."
2015-04-02 00:59:19 +00:00
Dan Albert
7ab2c78ee9 Merge "Revert "Disable the static libcutils tests."" 2015-04-01 23:48:06 +00:00
Dan Albert
43db1c347b Revert "Disable the static libcutils tests."
Also move them to libc++ since stlport is dead.

Bug: 18389856

This reverts commit bb28776db0.

Change-Id: Icdf9be3bc5cc40433727ff71a121b145002dda72
2015-04-01 16:45:28 -07:00
Christopher Ferris
ca09ce902c Discards frames for code within library.
When doing a local unwind, do not include the frames that come
from either libunwind or libbacktrace.

Bug: 11518609
Change-Id: I0ec8d823aebbfa0903e61b16b7e5663f3fd65e78
2015-04-01 15:58:20 -07:00
Chris Fries
4868b07931 toolbox: ioctl: fix signedness on ioctl_nr
ioctl_nr is passed signed to the kernel, but many users refer
to ioctl's in unsigned 32 bit notation.

Let's use stroll to set it, to let people specify either
negative numbers or large positive numbers.

Also improve error reporting.

Reported-By: Alex Piliev <ktnr74@motorola.com>
Change-Id: I789434895b70b051d4d5c1a5db566a1925478ef0
2015-04-01 15:46:20 -07:00
Dan Albert
1c4cdf72a6 am 4f6c526e: am 3891cfef: Merge "Link libc++_static into fs_mgr."
* commit '4f6c526e13eb00c94f8745fb9e52f10c3474a87f':
  Link libc++_static into fs_mgr.
2015-04-01 20:48:24 +00:00
Dan Albert
4f6c526e13 am 3891cfef: Merge "Link libc++_static into fs_mgr."
* commit '3891cfef5e27da0f33ccab42e9a14cc1e38331ee':
  Link libc++_static into fs_mgr.
2015-04-01 20:37:48 +00:00
Dan Albert
3891cfef5e Merge "Link libc++_static into fs_mgr." 2015-04-01 20:27:57 +00:00
Dan Albert
bbbc634e09 Link libc++_static into fs_mgr.
Change-Id: Ic2461d3a30dbd8a22f9800a33fac27c658340b21
2015-04-01 13:26:04 -07:00
Mark Salyzyn
93f7fbab77 am 4bf04380: am 22155474: Merge "logd: missing include for string.h"
* commit '4bf0438083bfd789ee7e59bf6c358c4a83b62f07':
  logd: missing include for string.h
2015-04-01 19:48:55 +00:00
Mark Salyzyn
382ab18c30 am 5bcbcb50: am 4f6e51a0: Merge "package missing include for string.h"
* commit '5bcbcb50bab88a01e49bddc6aab62039490298b1':
  package missing include for string.h
2015-04-01 19:48:54 +00:00
Mark Salyzyn
4bf0438083 am 22155474: Merge "logd: missing include for string.h"
* commit '221554749337a9c961c192596be5eb4e42083733':
  logd: missing include for string.h
2015-04-01 19:38:05 +00:00
Mark Salyzyn
5bcbcb50ba am 4f6e51a0: Merge "package missing include for string.h"
* commit '4f6e51a032892b1a053efa2b41ebb29e4f1bb5be':
  package missing include for string.h
2015-04-01 19:38:03 +00:00
Mark Salyzyn
2215547493 Merge "logd: missing include for string.h" 2015-04-01 19:27:09 +00:00
Mark Salyzyn
4f6e51a032 Merge "package missing include for string.h" 2015-04-01 19:26:50 +00:00
Elliott Hughes
d92e74bc5e am 0dd1dd2f: am a57fb596: Merge "Remove no-op "capabilities"."
* commit '0dd1dd2f318c1ae7a9f1844625e7ff85a1119a88':
  Remove no-op "capabilities".
2015-04-01 18:58:39 +00:00