summaryrefslogtreecommitdiffstats
path: root/adb
Commit message (Collapse)AuthorAgeFilesLines
* am 57e53ed4: am c563c38d: am 905874ab: Merge "adb: avoid compilation errors ↵Kenny Root2014-05-131-2/+2
|\ | | | | | | | | | | | | for unused results" * commit '57e53ed4189cc49844e6afcea2a5861fd8ca93f1': adb: avoid compilation errors for unused results
| * am c563c38d: am 905874ab: Merge "adb: avoid compilation errors for unused ↵Kenny Root2014-05-131-2/+2
| |\ | | | | | | | | | | | | | | | | | | results" * commit 'c563c38d06e3af61ab8cf1c26536106985fec073': adb: avoid compilation errors for unused results
| | * am 905874ab: Merge "adb: avoid compilation errors for unused results"Kenny Root2014-05-131-2/+2
| | |\ | | | | | | | | | | | | | | | | * commit '905874abe45279d7c668e590d404880dd91b1869': adb: avoid compilation errors for unused results
| | | * adb: avoid compilation errors for unused resultsKenny Root2014-05-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The BIO_CTRL_FLUSH function for files doesn't return anything useful from the underlying fflush call, so it is safe to ignore this. Change-Id: If33a7efbbaaf158e3da1cd72d0a56da1d3b82fd9
* | | | am e7597115: am 328746da: am 129e9dad: Merge changes ↵Mark Salyzyn2014-05-087-25/+20
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Idfd1a114,If725a1cb,I61211165,If9a05ccb * commit 'e75971157c46a0fc57194a75d4dde0920f60f427': adb: turn on -Werror netcfg: turn on -Werror mkbootimg: turn on -Werror gpttool: turn on -Werror
| * | | am 328746da: am 129e9dad: Merge changes Idfd1a114,If725a1cb,I61211165,If9a05ccbMark Salyzyn2014-05-077-25/+20
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * commit '328746da8090a549e432da2358585b101e30d753': adb: turn on -Werror netcfg: turn on -Werror mkbootimg: turn on -Werror gpttool: turn on -Werror
| | * | am 129e9dad: Merge changes Idfd1a114,If725a1cb,I61211165,If9a05ccbMark Salyzyn2014-05-077-25/+20
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '129e9dada707d66eb3242b666b6187a031dc410a': adb: turn on -Werror netcfg: turn on -Werror mkbootimg: turn on -Werror gpttool: turn on -Werror
| | | * Merge changes Idfd1a114,If725a1cb,I61211165,If9a05ccbMark Salyzyn2014-05-077-25/+20
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: adb: turn on -Werror netcfg: turn on -Werror mkbootimg: turn on -Werror gpttool: turn on -Werror
| | | | * adb: turn on -WerrorMark Salyzyn2014-05-057-25/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Deal with some -Wunused issues Change-Id: Idfd1a114e68ae637978b52fde5144d0dca0ec79f
* | | | | am b18da571: am 1e6cd741: am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-081-2/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'b18da571f90eebedd99fe5607a6b0d7ae4e91893': Remove unused LOCAL_LDLIBS.
| * | | | am 1e6cd741: am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-071-2/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '1e6cd741fd130e5916337eb75c9ceef2152035d2': Remove unused LOCAL_LDLIBS.
| | * | | am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-071-2/+0
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '803fb62bb49b551afff546b4748d2d3e9ec54af1': Remove unused LOCAL_LDLIBS.
| | | * | Remove unused LOCAL_LDLIBS.Ying Wang2014-05-071-2/+0
| | | |/ | | | | | | | | | | | | Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
| | * | Merge commit '4102af05a86aae36d2560fd8b3f740a52399342c' into HEADBill Yi2014-04-292-16/+2
| | |\ \ | | | |/ | | |/|
| | | * am 4db6ce8e: Merge "Adding documentation on the sync part of the adb ↵JP Abgrall2014-03-201-0/+84
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | protocol previously missing." * commit '4db6ce8e353458de751394102084bb3a304a7ff6': Adding documentation on the sync part of the adb protocol previously missing.
| | | * \ am ee223d50: Merge "adb: Increase the max number of emulator instances to 64"David 'Digit' Turner2014-03-141-1/+1
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ee223d50a009af39be577c30cc35257c751f05a1': adb: Increase the max number of emulator instances to 64
| | | * \ \ am 5fb1a34a: Merge "Added transfer progress reporting for push and pull ↵JP Abgrall2014-03-133-27/+128
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands." * commit '5fb1a34af4128bfe7332b02e31b146a82bc2872d': Added transfer progress reporting for push and pull commands.
| | | * \ \ \ am 44390474: Merge "adb: Don\'t unlink special files on sync failure."JP Abgrall2014-03-111-5/+8
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '443904746301e4d519e51075487ea4c8b9a860e3': adb: Don't unlink special files on sync failure.
| | | * \ \ \ \ am b2c34ece: Merge "adb: Don\'t clobber block devices during push"JP Abgrall2014-03-111-3/+6
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b2c34ece647c212baa30c474394c498a2d6dd61f': adb: Don't clobber block devices during push
| | | * \ \ \ \ \ am 1367854a: Merge "adb: fix windows build after "forward --list" fix."JP Abgrall2014-03-111-1/+1
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1367854a891090d1be1edfb12515691b20b350cf': adb: fix windows build after "forward --list" fix.
| | | * \ \ \ \ \ \ am 66e95d76: Merge "Fix adb forward --list when forwarding a lot"JP Abgrall2014-03-113-19/+24
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '66e95d76c47a3a099931bbebe7f4a0af4d3f7fbb': Fix adb forward --list when forwarding a lot
| | | * \ \ \ \ \ \ \ am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon ↵Nick Kralevich2014-03-071-2/+2
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calls to new API." * commit '2e7347d617b02b13d227bb4cecf6bd69b7b20fa9': Convert all selinux_android_restorecon and _setfilecon calls to new API.
| | | * \ \ \ \ \ \ \ \ am 02916aa2: Remove obsolete vdc call.Nick Kralevich2014-03-042-16/+2
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '02916aa20e3ffbe4b738bb12dc1607a7ec6a8c37': Remove obsolete vdc call.
| | | | * | | | | | | | | Remove obsolete vdc call.Nick Kralevich2014-03-042-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since ca8e66a8b0f843812014a28d49208f9f6f64ecbc, init has been handling reboots and filesystem unmounts. Remove obsolete call to vdc. Bug: 12504045 Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881 (cherry picked from commit 225459a5da21e9397ca49b0d9af7d5fe3462706b)
* | | | | | | | | | | | | adb: replace utimes() with utime()Greg Hackmann2014-05-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the win_sdk host build by replacing utimes() with utime(). utime() is functionally equivalent to utimes() when dealing with non-fractional second timestamps, and is supported by the Windows CRT. (The Windows CRT uses the nonstandard name _utime(), but mingw creates aliases to the POSIX names.) Change-Id: I513c6c5de05376c34cbb0894a94259acba8ae6f1
* | | | | | | | | | | | | adb: added support for adb pull -a to preserve time stamps and modeLajos Molnar2014-05-023-36/+47
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added -a flag to adb pull that preserves time and mode. Mode is subjected to umask for security. We only receive modification time from adb server, so creation time will be set to the modification time as well. Change-Id: I37c0b94741ed464f19025d25dea3ff2f6ac43e7f Signed-off-by: Lajos Molnar <lajos@google.com>
* | | | | | | | | | | | am c33702dd: am 4785ea60: Merge "adb: Add USB vendor ID for Prestigio"Colin Cross2014-04-181-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c33702dd92da5f41d17ee9a64a8a0ff67f6e9d1b': adb: Add USB vendor ID for Prestigio
| * | | | | | | | | | | adb: Add USB vendor ID for PrestigioDanielMo2014-04-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib9e79043961b9b1fa27d87f5bc815000e7965706 Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
* | | | | | | | | | | | am a77bef47: Document the adb install -d option.Jeff Brown2014-04-151-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a77bef47decf2c0818397aced983999e235aa82f': Document the adb install -d option.
| * | | | | | | | | | | | Document the adb install -d option.Jeff Brown2014-04-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ife0da42c22e4408dc5c07ac0f20e0ecbbde20832
* | | | | | | | | | | | | am 707f5b40: am 6940bc08: Merge "adb: Add USB vendor ID for Intermec ↵Colin Cross2014-03-261-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Technologies Corp." * commit '707f5b401ec354851c0e1b22c8ddb6aba45fba66': adb: Add USB vendor ID for Intermec Technologies Corp.
| * | | | | | | | | | | | adb: Add USB vendor ID for Intermec Technologies Corp.DanielMo2014-03-261-0/+3
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6429bca087523829a13f905ae9dfa5f43b7abf8b Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
* | | | | | | | | | | | am 4db6ce8e: Merge "Adding documentation on the sync part of the adb ↵JP Abgrall2014-03-201-0/+84
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | protocol previously missing." * commit '4db6ce8e353458de751394102084bb3a304a7ff6': Adding documentation on the sync part of the adb protocol previously missing.
| * | | | | | | | | | | Merge "Adding documentation on the sync part of the adb protocol previously ↵JP Abgrall2014-03-201-0/+84
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | missing."
| | * | | | | | | | | | Adding documentation on the sync part of the adb protocol previously missing.Samuel Carlsson2014-03-201-0/+84
| | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the SERVICES.TXT a missing documentation file is mentioned - SYNC.TXT. This file is supposed to contain all the godie bits of the adb protocol for pushing and pulling files. I've read the source code and documented this in the file SYNC.TXT. I've used my own documentation to create a java implementation to verify the documentation here: https://github.com/vidstige/jadb Added line breaks at 78 characters. Added comments about remote files might be deleted. Change-Id: I48c87c2a9fb5b59b85c72679124dfbbfa9a701bc Signed-off-by: Samuel Carlsson <samuel.carlsson@gmail.com>
* | | | | | | | | | | am ee223d50: Merge "adb: Increase the max number of emulator instances to 64"David 'Digit' Turner2014-03-141-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ee223d50a009af39be577c30cc35257c751f05a1': adb: Increase the max number of emulator instances to 64
| * | | | | | | | | | adb: Increase the max number of emulator instances to 64David 'Digit' Turner2014-03-131-1/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the ADB server starts, it probes the localhost ports to find existing emulator instances, starting from 5555 with increments of 2, and stopping after ADB_LOCAL_TRANSPORT_MAX tries, which was set to 16. This means that the ADB server could not detect on startup more than 16 existing emulator instances. This increases the limit to 64, to match a corresponding change on the emulator side. See https://android-review.googlesource.com/#/c/83553/ Change-Id: I35c69f8017298c3e5797bd396b8d788d44eaa00f
* | | | | | | | | | am 5fb1a34a: Merge "Added transfer progress reporting for push and pull ↵JP Abgrall2014-03-123-27/+128
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands." * commit '5fb1a34af4128bfe7332b02e31b146a82bc2872d': Added transfer progress reporting for push and pull commands.
| * | | | | | | | | 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
* | | | | | | | | am 44390474: Merge "adb: Don\'t unlink special files on sync failure."JP Abgrall2014-03-081-5/+8
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '443904746301e4d519e51075487ea4c8b9a860e3': adb: Don't unlink special files on sync failure.
| * | | | | | | | 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>
* | | | | | | | am b2c34ece: Merge "adb: Don\'t clobber block devices during push"JP Abgrall2014-03-081-3/+6
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b2c34ece647c212baa30c474394c498a2d6dd61f': adb: Don't clobber block devices during push
| * | | | | | | 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
* | | | | | | am 1367854a: Merge "adb: fix windows build after "forward --list" fix."JP Abgrall2014-03-071-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '1367854a891090d1be1edfb12515691b20b350cf': adb: fix windows build after "forward --list" fix.
| * | | | | | 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>
* | | | | | am 66e95d76: Merge "Fix adb forward --list when forwarding a lot"JP Abgrall2014-03-073-19/+24
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '66e95d76c47a3a099931bbebe7f4a0af4d3f7fbb': Fix adb forward --list when forwarding a lot
| * | | | | 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
* | | | | am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon ↵Nick Kralevich2014-02-121-2/+2
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | | | | | | | | calls to new API." * commit '2e7347d617b02b13d227bb4cecf6bd69b7b20fa9': Convert all selinux_android_restorecon and _setfilecon calls to new API.
| * | | Convert all selinux_android_restorecon and _setfilecon calls to new API.Stephen Smalley2014-02-071-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libselinux selinux_android_restorecon API is changing to the more general interface with flags and dropping the older variants. Also get rid of the old, no longer used selinux_android_setfilecon API and rename selinux_android_setfilecon2 to it as it is the only API in use. Change-Id: I1e71ec398ccdc24cac4ec76f1b858d0f680f4925 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | | am 7b9bb36a: am 0256e1f6: am d2acdd82: Merge changes ↵Mark Salyzyn2014-01-285-104/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I70ab37d5,I716f89c0,I34c96adf,I77650923,I35b0d1ee, ... * commit '7b9bb36ade6c8fa2e77416143847b019ddda9e95': (29 commits) libsysutils: SocketListener export release libsysutils: Add iovec/runOnEachSocket liblog: support struct logger_event_v2 format liblog: update timestamp on NOTICE file libcutils: resolve warning in iosched_policy.c liblog: Add const pedantics logcat: Add -T flag (-t w/o assumption of -d) logcat: Add logcat test suite liblog: Add cpu utilization test liblog: Add liblog test suite debuggerd: Support newline split in log messages liblog: deprecate export LOGGER ioctl definitions liblog: deprecate export of LOGGER_LOG_* defines liblog: Add README liblog: resolve build warning messages liblog: high CPU usage from logcat liblog: fix build again liblog: drop use of sys/cdefs.h liblog: git_master@964770 build problem logcat: Incorporate liblog reading API ...