summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* logd: default user space loggerMark Salyzyn2014-03-121-2/+2
| | | | Change-Id: I16825c26f098241376d4014f3a8e93174387dbcf
* Merge "Added transfer progress reporting for push and pull commands."JP Abgrall2014-03-123-27/+128
|\
| * Added transfer progress reporting for push and pull commands.Mark Lindner2014-03-113-27/+128
|/ | | | | | | | | | Added a new '-p' switch to the 'push' and 'pull' commands that outputs the file transfer progress (bytes transmitted, total bytes, and % done). This provides useful feedback when transferring large files, and also makes it possible for other tools to easily monitor the progress of a forked push/pull command. Change-Id: Iee6f42f5bd41292e5bc80fba779f526f0072e356
* Merge "libadfhwc: use %zu for logging size_t"Greg Hackmann2014-03-111-1/+1
|\
| * libadfhwc: use %zu for logging size_tGreg Hackmann2014-03-111-1/+1
| | | | | | | | | | Change-Id: Ica75935a194509f9d85d8e577b81f9de03aaaea4 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | Merge "remove pixelflinger from healthd"Doug Zongker2014-03-1111-22/+22
|\ \ | |/ |/|
| * remove pixelflinger from healthdDoug Zongker2014-03-1111-22/+22
|/ | | | | | | | | | | | | | | | | | | | | | The minui library has changed to no longer use libpixelflinger. It also offers a more efficient way of storing and loading frames of animation; use it to represent the battery-full state images. Also removes the unused battery_charge.png image. Bug: 12131110 Change-Id: I6cc8b19f36a806c99cda30cc47b5968daf6b333b Conflicts: charger/charger.c charger/images/battery_0.png charger/images/battery_1.png charger/images/battery_2.png charger/images/battery_3.png charger/images/battery_4.png charger/images/battery_5.png charger/images/battery_charge.png healthd/Android.mk
* Merge "adb: Don't unlink special files on sync failure."JP Abgrall2014-03-081-5/+8
|\
| * adb: Don't unlink special files on sync failure.JP Abgrall2014-03-071-5/+8
| | | | | | | | | | | | | | | | adb push some_disk_image /dev/block/mmcblk0p9 should not unlink the dev just because adb was ctrl-c'd. Change-Id: I1b6669e8dba1f80fc1438b8deb618180b7e9a1b2 Signed-off-by: JP Abgrall <jpa@google.com>
* | Merge "adb: Don't clobber block devices during push"JP Abgrall2014-03-081-3/+6
|\ \ | |/
| * adb: Don't clobber block devices during pushJP Abgrall2014-03-071-3/+6
|/ | | | | | | | | | | | | In the past, an adb push would ALWAYS unlink the target path. Now, we only links and regular files (and links). This allows the following to work: adb shell ls -l /dev/block/mmcblk0p8 # brw------- root root 179, 8 2013-11-28 07:43 mmcblk0p8 adb push n7.jpa.mda.post_jb_encryption.raw /dev/block/mmcblk0p8 Bug: 11984121 Change-Id: I982c7a1cd87986621f2bebdcb41c4e281f67f772
* Merge "libcutils: 64-bit compile issues"Mark Salyzyn2014-03-071-9/+11
|\
| * libcutils: 64-bit compile issuesMark Salyzyn2014-03-071-9/+11
| | | | | | | | | | | | - Use inttypes.h to print uint64_t values. Change-Id: Ia10a3b67cadcce282563467a464ec07066cc2051
* | Merge "ueventd: easier debug logging"Alex Ray2014-03-073-2/+11
|\ \
| * | ueventd: easier debug loggingAlex Ray2014-03-073-2/+11
| | | | | | | | | | | | | | | | | | | | | Move ueventd debug flag into the Android.mk. Boost klog level if event logging enabled. Change-Id: Iae48edbc43c487092c2424023576af29c76ff401
* | | Merge "libcutils: add method to get klog level"Alex Ray2014-03-072-0/+5
|\ \ \ | |/ / | | / | |/ |/|
| * libcutils: add method to get klog levelAlex Ray2014-03-072-0/+5
|/ | | | Change-Id: I55e8311bae97703be26e57b415a8ab0a6d9b4361
* Merge "adb: fix windows build after "forward --list" fix."JP Abgrall2014-03-071-1/+1
|\
| * adb: fix windows build after "forward --list" fix.JP Abgrall2014-03-061-1/+1
|/ | | | | | | | | | EWOULDBLOCK is not there on windows. It gets translated by the adb_write() wrapper into EGAIN. But the Linux one does not translate EWOULDBLOCK into EGAIN. Without EWOULDBLOCK, it works just fine. Change-Id: Ic293be392aa4364637428ea94ef87890ffa09b9b Signed-off-by: JP Abgrall <jpa@google.com>
* Merge "Fix adb forward --list when forwarding a lot"JP Abgrall2014-03-073-19/+24
|\
| * Fix adb forward --list when forwarding a lotSnild Dolkow2014-02-213-19/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The list action had some problems with large numbers of forwards: * adb_query() limited replies to 1024 B (and the print was useless) * the reply header's length could overflow (also in other commands) * ...and the client had no way of detecting it * writex() didn't retry on EAGAIN ("Resource temporarily unavailable") This patch makes all "OKAY%04x" replies use a common function which checks the length and limits it to 0xffff. This means that the client can easily check for truncated replies. Before: forward --list starts failing at 15-30 forwards (depending on device serial and forward spec lengths). After: no problems with forward --list. Change-Id: Ie1e82c4d622f5c56e51abb26533ba17d40459914
* | Merge "logd: liblog: 64-bit issues"Mark Salyzyn2014-03-069-25/+81
|\ \
| * | logd: liblog: 64-bit issuesMark Salyzyn2014-03-059-25/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | - structure packing - move towards log_time from struct timespec - extend log_time to cover differences between log_time and struct timespec Change-Id: I106ed0b609917306d170044054b5b32645f2a295
* | | Merge "Fix the build for NEON in libpixelflinger"Colin Cross2014-03-062-1/+5
|\ \ \ | |/ / |/| |
| * | Fix the build for NEON in libpixelflingerKévin PETIT2014-03-062-1/+5
|/ / | | | | | | | | | | | | | | | | ARCH_ARM_HAVE_NEON is only ever defined to true, so test for that. For the NEON function to be used, the file has to include machine/cpu-features.h so that __ARM_HAVE_NEON is defined. Change-Id: I0db196b39c493092415859e009531fcff6fc1e8b Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
* | Merge "Add free to CloseArchive."Mathieu Chartier2014-03-051-7/+1
|\ \
| * | Add free to CloseArchive.Mathieu Chartier2014-03-041-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | Currently CloseArchive doesn't call free and call sites don't appear to either. I could not find any call sites which manually freed the archive by deleting the handle. This fixes several memory leaks. Change-Id: I21f187dde60fd87e6e54bde06de9e76fd0791104
* | | Merge "Use the getopt function in compliance with the standard."Colin Cross2014-03-051-1/+1
|\ \ \ | |/ / |/| |
| * | Use the getopt function in compliance with the standard.David Gumberg2014-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a simple change to the use of getopt in reboot.c, as per the standard, getopt does NOT return an EOF, it returns a -1, (this was done to remove getopt's dependence on stdio.h), and since the standard does not guarantee that EOF is -1, and the documentation tells us that getopt returns -1, in my judgement it would be best to test for -1, rather than EOF. Change-Id: I63a3bb7011eb60753eb910221bbe8ce0a71e6679 Signed-off-by: David Gumberg <davidzgumberg@gmail.com>
* | | Merge "fix: making lsof show devies and loaded .so file names correctly"Dmitriy Ivanov2014-03-041-1/+1
|\ \ \
| * | | fix: making lsof show devies and loaded .so file names correctlyDmitriy Ivanov2014-03-041-1/+1
|/ / / | | | | | | | | | Change-Id: I4b6f2e0015f8cfa18400fa4bd08460a07e29a51b
* | | Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"Mark Salyzyn2014-03-044-2/+9
|\ \ \
| * | | set /proc/sys/net/unix/max_dgram_qlen to large valueMark Salyzyn2014-03-034-2/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | - init: set /proc/sys/net/unix/max_dgram_qlen to 300 - libsysutils: Add listen backlog argument to startListener - logd: set listen backlog to 300 Change-Id: Id6d37d6c937ba2d221e76258d89c9516619caeec
* | | Merge "Fix the handling of CodeCache return codes in pixelflinger"Jesse Hall2014-03-031-2/+2
|\ \ \ | |/ / |/| |
| * | Fix the handling of CodeCache return codes in pixelflingerKévin PETIT2014-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error condition was not correctly detected: an error was reported by checking that the index returned by CodeCache::cache was non-zero. This did not work because this function can return a positive value on success. Change-Id: I1f90125ee62ab277b80da4dfb341733cd6e8e86a Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
* | | Merge "Declare (and simplify) uid_from_user."Elliott Hughes2014-03-013-12/+41
|\ \ \
| * | | Declare (and simplify) uid_from_user.Elliott Hughes2014-02-283-12/+41
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | uid_from_user doesn't need to cope with numeric ids in the BSD code like it did with the old Android code; the caller now handles those. Also explain what SUPPORT_DOT is for. Change-Id: I185c9f02b7039795069aa30545563b8a6ef54cd5
* | | Merge "Switch to BSD chown (for -R, primarily)."Elliott Hughes2014-03-013-69/+354
|\ \ \
| * | | Switch to BSD chown (for -R, primarily).Elliott Hughes2014-02-283-69/+354
| | | | | | | | | | | | | | | | Change-Id: I45381b8a04f4cb651123a2d43860418e06df6e65
* | | | Merge "Fix grep -f."Elliott Hughes2014-03-011-2/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Fix grep -f.Elliott Hughes2014-02-281-2/+0
|/ / / | | | | | | | | | | | | | | | bionic has getline now. Change-Id: I5e4ee137768ab3113dbe8a07406fa39f4b6546af
* | | Merge "logd: Always build logd"Mark Salyzyn2014-02-281-4/+0
|\ \ \
| * | | logd: Always build logdMark Salyzyn2014-02-281-4/+0
|/ / / | | | | | | | | | | | | | | | - build breakage aosp-idea133 @ 1049092 Change-Id: Iabac6009567926137f455044b33ab5d67924896d
* | | Merge "liblog: enable logging to logd."Mark Salyzyn2014-02-288-452/+1444
|\ \ \
| * | | liblog: enable logging to logd.Mark Salyzyn2014-02-288-452/+1444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Modify liblog to send all messages to the new syslog user space daemon. Original-Change-Id: I0ce439738cd921efb2db4c1d6a289a96bdbc8bc2 Original-Change-Id: If4eb0d09409f7e9be3eb4bb7017073dc7e931ab4 Signed-off-by: Nick Kralevich <nnk@google.com> * Add a TARGET_USES_LOGD make flag for BoardConfig.mk to manage whether logd is enabled for use or not. * rename syslog to logd to avert confusion with bionic syslog * Add fake log support back in * prefilter for logging messages from logd * Fill in timestamps at logging source * update abstract log reader * switch from using suffix for id to v3 format * log a message when creating devices that a deprecated interface is being utilized. Signed-off-by: Mark Salyzyn <salyzyn@google.com> (cherry pick from commit 099e2c1f6f706a8600c1cef74cce9066fc315480) Change-Id: I47929a5432977a1d7235267a435cec0a7d6bd440
* | | | Merge "logd: institute getGroups for socket credentials"Mark Salyzyn2014-02-284-17/+126
|\ \ \ \ | |/ / /
| * | | logd: institute getGroups for socket credentialsMark Salyzyn2014-02-284-17/+126
|/ / / | | | | | | | | | | | | | | | (cherry pick from commit 4d851290fc81eb36d2fcf76e6f06213a28b877f5) Change-Id: Ib8be84d2a3f873e91fb1495df439a498f395c137
* | | Merge "libsparse: deal with build warning messages"Mark Salyzyn2014-02-284-6/+34
|\ \ \
| * | | libsparse: deal with build warning messagesMark Salyzyn2014-02-284-6/+34
|/ / / | | | | | | | | | | | | | | | | | | - mostly unused parameters, added defs.h to hold __unused macro - read_all prototype not included, added output_file.h to acquire Change-Id: Ib7ee00614acab53a6bd6a64f7e26a8c13dbe6297
* | | Merge "logd: Remove $(KERNEL_HEADERS) include."Mark Salyzyn2014-02-271-2/+0
|\ \ \