Commit graph

7290 commits

Author SHA1 Message Date
Elliott Hughes
60281d556d Use bionic's <linux/fuse.h>.
No need for an out-of-date copy of a uapi header.

Change-Id: Iec68c6ceb2bceca1ceef0c57e0b45a89a139e292
2014-05-07 14:39:58 -07:00
Elliott Hughes
7112e4c7cb Merge "Remove the dead corkscrew header files too." 2014-05-07 17:07:41 +00:00
Elliott Hughes
ddbdae8c3f Remove the dead corkscrew header files too.
Change-Id: I0dd5cf3966994db19d98f60805211ed39099465a
2014-05-07 09:38:04 -07:00
Elliott Hughes
2c55b454c7 Merge "Switch to the new bionic fatal logging interface." 2014-05-07 04:04:39 +00:00
Elliott Hughes
26864bf9cb Switch to the new bionic fatal logging interface.
This is more general and will work for anyone's custom logging
code, as long as they use ANDROID_LOG_FATAL priority.

Change-Id: Iaf7fc0858fce04f3af407882a58ee5a827d50ddd
2014-05-06 20:40:15 -07:00
JP Abgrall
66e952e254 Merge "fastboot: support for overriding format fs-type and size" 2014-05-07 02:16:06 +00:00
JP Abgrall
7e85974fc2 fastboot: support for overriding format fs-type and size
This changes allows overriding the fs-type and size that
are normally returned by the booloader.

This is in preparation for supporting other FSes.

Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870
Signed-off-by: JP Abgrall <jpa@google.com>
2014-05-06 15:14:15 -07:00
Mark Salyzyn
9570d8378c Merge "logd: logcat: Add persist.logd.size group of properties" 2014-05-06 22:00:11 +00:00
Mark Salyzyn
671e343c7d logd: logcat: Add persist.logd.size group of properties
- logd Add persist.logd.size (global), persist.logd.size.<logid>
- logcat report a more flexible multiplier in -g command.

Bug: 14563261
Bug: 14469172
Change-Id: Ie389caa14ad3ae3d4a3a3cc463425bb9dbc5e483
2014-05-06 14:58:41 -07:00
Mark Salyzyn
5c02b2760e Merge "logd: default off by-UID spam filter" 2014-05-06 21:32:23 +00:00
Mark Salyzyn
4141cb2391 logd: default off by-UID spam filter
Bug: 14469172
Change-Id: I37c8dbcea0490afb994cbe6f033591fea1c58bc8
2014-05-06 13:50:28 -07:00
JP Abgrall
2d2fd4cdea Merge changes Ibff1f74e,Ic82595cf,If4e01cab
* changes:
  fastboot: Added tos as an optional image
  fastboot: Fixed optional entries
  fastboot: allow format on devices with small buffers
2014-05-06 19:32:17 +00:00
Daniel Rosenberg
73a4ad288f fastboot: Added tos as an optional image
Change-Id: Ibff1f74ee4a949501ceae0b897f896067f022763
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2014-05-06 12:28:41 -07:00
Daniel Rosenberg
82280594ef fastboot: Fixed optional entries
Previously, if an image was listed as optional, but was not found,
flashall would fail. Now it will proceed if optional images are not
present.

Change-Id: Ic82595cf0cd6ddce4c676de590f03f1a95f32040
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2014-05-06 12:28:39 -07:00
Dmitry Grinberg
e6f3e9bd26 fastboot: allow format on devices with small buffers
Formatting large partitions on devices with small transfer buffers did
not work before since format used a strange path through the code to
send data. It now uses the normal path. Also cleaned up a bit. FS
code now lives in a separate file and the custom path for format is
gone.

Change-Id: If4e01cabc2e250b7c02ca7ce8c268e51d49e1529
2014-05-06 12:28:37 -07:00
Ying Wang
52dd7cc0bd Merge "Fix 64-bit host build." 2014-05-06 18:40:34 +00:00
Ying Wang
3403010186 Fix 64-bit host build.
Bug: 13751317
Change-Id: I8ba4fc9918fba0975eb61ec37a8a16b02acfa864
2014-05-06 11:39:31 -07:00
JP Abgrall
8e26b25222 Merge "Fastboot: fix fastboot timeout issue of Windows host side" 2014-05-06 02:24:19 +00:00
Christopher Ferris
b52a48affc Merge "Log stack even if tombstone cannot be created." 2014-05-05 23:05:28 +00:00
Christopher Ferris
c5bb49a138 Log stack even if tombstone cannot be created.
Bug: 14498701
Change-Id: I62c271bef2f73166eeb91d3fa3ce1e1b724a081f
2014-05-05 15:01:14 -07:00
Elliott Hughes
752115dda7 Merge "Add Silvermont architecture cache sizes" 2014-05-05 21:59:53 +00:00
Mark Salyzyn
f2c0f32887 Merge "libcutils: win_sdk build issues" 2014-05-05 19:30:47 +00:00
Mark Salyzyn
02a7c3a7c3 libcutils: win_sdk build issues
Change-Id: Ic431166f686aebfd0ee00ad3224b95237ff7a0de
2014-05-05 10:29:56 -07:00
Colin Cross
8ec42bb203 Merge "mkbootimg: fix padding calculation for 2ndstage loader" 2014-05-03 18:39:15 +00:00
JP Abgrall
3c049bbe99 Merge "init: add 'enable <service>' to negate "service <service>... disabled"" 2014-05-03 07:40:29 +00:00
JP Abgrall
3beec7e55f init: add 'enable <service>' to negate "service <service>... disabled"
enable <servicename>
   Turns a disabled service into an enabled one as if the service did not
   specify disabled in the rc file.
   It will also start the service if needed.

Bug: 14472973
Change-Id: Id0b49cc687a2bc74f6f92e066c617724cc94908d
Signed-off-by: JP Abgrall <jpa@google.com>
2014-05-03 00:14:59 -07:00
Mark Salyzyn
dc57f4d93a Merge "logd: build breakage in git_master-nova @ 1151709" 2014-05-02 22:52:26 +00:00
Mark Salyzyn
6e2c0f7010 logd: build breakage in git_master-nova @ 1151709
Change-Id: Ic7920d1b0930155c20a896720a79af62f8acacc1
2014-05-02 15:47:24 -07:00
Mark Salyzyn
ccae68e478 Merge "liblog: logcat: Move library print test into gTest" 2014-05-02 21:57:35 +00:00
Mark Salyzyn
6c37d59eac Merge "logd: turn on -Werror" 2014-05-02 21:56:52 +00:00
Mark Salyzyn
d9bb677036 Merge "logd: 64-bit compile issue" 2014-05-02 21:42:42 +00:00
Mark Salyzyn
6f3f7d71c5 Merge "debuggerd: turn on -Werror" 2014-05-02 21:41:36 +00:00
Mark Salyzyn
afa102924a Merge "logcat: turn on -Werror" 2014-05-02 21:41:08 +00:00
Mark Salyzyn
39f2ec2f81 Merge "logwrapper: turn on -Werror" 2014-05-02 21:40:37 +00:00
Mark Salyzyn
5045f57525 liblog: logcat: Move library print test into gTest
Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8315
2014-05-02 14:16:00 -07:00
Mark Salyzyn
c61895ac3a logd: turn on -Werror
- Deal with some -Wunused / -Wunused-variable issues

Change-Id: Ic86cd7b0680868ad0536198b71a34cb19134fc21
2014-05-02 14:16:00 -07:00
Mark Salyzyn
3cb5498785 logd: 64-bit compile issue
- ULONG_MAX is used against an uint32
- Add tv_sec_max and tv_nsec_max constants to log_time

Change-Id: Ic86cd7b0680868ad0536198b71a34cb19134fc22
2014-05-02 14:16:00 -07:00
Mark Salyzyn
f1a8dfa0eb debuggerd: turn on -Werror
- Deal with some -Wunused / -Wunused-variable issues

Change-Id: I39849fe30170f69d1cab7d4ad2629b3a49e14ee7
2014-05-02 14:16:00 -07:00
Mark Salyzyn
b149e245c8 logcat: turn on -Werror
- Deal with some -Wunused issues

Change-Id: Ic4ab9a49f13e156a73d40266e413dee3e6396178
2014-05-02 14:15:59 -07:00
Mark Salyzyn
5254c4a448 logwrapper: turn on -Werror
- Deal with some -Wunused / -Wunused-variable issues

Change-Id: I27a99ffb962289ebbf04b40870b9404842030d2f
2014-05-02 14:15:59 -07:00
Mark Salyzyn
1e10b661cc Merge "libcutils: Mac build pulls in __unused from sys/cdefs.h" 2014-05-02 20:05:46 +00:00
Mark Salyzyn
edc70938be libcutils: Mac build pulls in __unused from sys/cdefs.h
Change-Id: I2da8a52e07cef0b749f7e60709536e98bd96660e
2014-05-02 19:50:20 +00:00
Mark Salyzyn
a32e01d2f4 Merge "libcutils: turn on -Werror" 2014-05-02 17:03:48 +00:00
Mark Salyzyn
12717169a5 libcutils: turn on -Werror
- Deal with some -Wunused / -Wunused-variable issues

Change-Id: I28c23fb213382a392ec30935749fb359e072d664
2014-05-01 17:58:17 -07:00
JP Abgrall
3754791dd5 Merge "libusbhost: Fix issue of multiple inotify event at same time." 2014-05-01 23:07:30 +00:00
Mohamad Ayyash
e455814ca0 Merge "fastboot: Make tags_offset a command line option." 2014-05-01 21:18:21 +00:00
Mark Salyzyn
4f651d426d Merge "libsysutil: turn on -Werror (part deux)" 2014-05-01 20:40:43 +00:00
Mark Salyzyn
7627f105c0 Merge "init: 64-bit build issue" 2014-05-01 20:37:59 +00:00
Mark Salyzyn
ebd35b6716 Merge "logd: oneline statistics does not report PID gone" 2014-05-01 20:37:01 +00:00
Mohamad Ayyash
29fd7b1f4f fastboot: Make tags_offset a command line option.
cherry picked from commit bdf513c5f2

Change-Id: I4ceca528f88cc8ede5742f8a67bec972e41eebe7
2014-05-01 20:31:29 +00:00