Christopher Ferris
8d7440e13c
Merge "Use process_vm_readv to read memory."
...
am: bf0cf4e22d
Change-Id: I26ab63fa29f42d9f2402b360aeba6ef25987b7a5
2016-10-13 17:22:15 +00:00
Treehugger Robot
bf0cf4e22d
Merge "Use process_vm_readv to read memory."
2016-10-13 17:14:31 +00:00
Elliott Hughes
cd0e8cfd33
Merge "Start retiring socket_loopback_client."
...
am: 58f7f61266
Change-Id: I2b3d6ae5e90fb99163eb639e185b93cd55ff724a
2016-10-13 14:43:05 +00:00
Elliott Hughes
58f7f61266
Merge "Start retiring socket_loopback_client."
2016-10-13 14:38:48 +00:00
Mark Salyzyn
811696b1ce
Merge "logcat: test: report system(command) details"
...
am: 5980fe4aff
Change-Id: I63c8b1d3f21b280023c4a8536c49cfa588f522f9
2016-10-12 21:42:30 +00:00
Treehugger Robot
5980fe4aff
Merge "logcat: test: report system(command) details"
2016-10-12 21:28:49 +00:00
Christopher Ferris
279843e139
Use process_vm_readv to read memory.
...
Modify BacktracePtrace::Read to use the process_vm_readv syscall
instead of doing multiple ptrace calls.
Test: Ran the backtrace unit tests on host and on x86_64 emulator.
Change-Id: I24c2787f6713d8eb44312f3aa751d1f6d9d34719
2016-10-12 12:43:55 -07:00
Mark Salyzyn
56cddcd72e
logcat: test: report system(command) details
...
Provide more details regarding test failures
Test: manual, forced a failure, reports actual command issued
Bug: 30566487
Change-Id: I2431dbd335685b5eaef54ba6bd688b8588018aa9
2016-10-12 12:10:08 -07:00
Lingfeng Yang
d0dead710b
Merge "Fix adb flakiness on reboot"
...
am: f7a1c476ff
Change-Id: If74046384b04c8bae587c3194c85e1a1865e3cbb
2016-10-12 00:36:30 +00:00
Treehugger Robot
f7a1c476ff
Merge "Fix adb flakiness on reboot"
2016-10-12 00:25:11 +00:00
Lingfeng Yang
1197952e71
Fix adb flakiness on reboot
...
bug: 31950237
There are two lists of active ADB transports (devices),
and with the emulator, they can go out of sync.
This CL more conservatively checks if there are no
transports in either list before commiting to
register a new transport for the emulator.
(cherry picked from commit edaedfd5da )
Change-Id: Id1201dc59c70825881dad80925c2e5bcc13dbd5e
2016-10-11 23:19:51 +00:00
Elliott Hughes
139b372fab
Start retiring socket_loopback_client.
...
Bug: http://b/31537253
Test: can still talk to adb
Change-Id: Icfd7f00d35cf963befc139e81904790b4b8b67c0
2016-10-11 13:45:03 -07:00
Josh Gao
db50d1d6ef
Merge "Remove useless arguments from is_adb_interface."
...
am: bd6c6eb0e4
Change-Id: I1390870da63506df411dbd94f2b19d147d90009c
2016-10-11 17:36:09 +00:00
Treehugger Robot
bd6c6eb0e4
Merge "Remove useless arguments from is_adb_interface."
2016-10-10 22:50:13 +00:00
Mark Salyzyn
586c6985cf
Merge "liblog: adb: move security interfaces to private"
...
am: 09dac589f1
Change-Id: I05ad9cee5ffe00e842120aa960d6652517b94a16
2016-10-10 22:04:39 +00:00
Treehugger Robot
09dac589f1
Merge "liblog: adb: move security interfaces to private"
2016-10-10 21:54:31 +00:00
Josh Gao
d3896c106d
Merge "debuggerd: report crashes even when out of file descriptors."
...
am: 06928658c4
Change-Id: I58cbd1f062c59b185b142c3c301221db8c98add5
2016-10-10 21:31:02 +00:00
Treehugger Robot
06928658c4
Merge "debuggerd: report crashes even when out of file descriptors."
2016-10-10 21:22:27 +00:00
Tao Bao
148b85b050
Merge "Update the header path for ext4_utils."
...
am: 5bc3ce85cf
Change-Id: I962e2c4b311ea93c12de8be26b7a228fae1b1b22
2016-10-10 21:14:46 +00:00
Josh Gao
30186df0f0
Remove useless arguments from is_adb_interface.
...
Test: mma
Change-Id: I8b7b411d7d5ec9d401b61ed8f817b98c61114d4f
2016-10-10 13:44:00 -07:00
Tao Bao
5bc3ce85cf
Merge "Update the header path for ext4_utils."
2016-10-10 20:07:32 +00:00
Christopher Ferris
f620b87efe
Merge "Small clean up of fuse code."
...
am: 54c211db2e
Change-Id: I09fbb1879d506789956c30d4890e4f6908003fa0
2016-10-10 19:31:29 +00:00
Christopher Ferris
54c211db2e
Merge "Small clean up of fuse code."
2016-10-10 19:22:24 +00:00
Mark Salyzyn
6debf985aa
liblog: adb: move security interfaces to private
...
Test: Compile & adb functioning
Bug: 19235719
Bug: 26552300
Bug: 31289077
Bug: 31456426
Change-Id: I7ad8963bcca3d8b5c37b547c11d163b652d35556
2016-10-10 15:15:45 +00:00
Tao Bao
6d881d6db4
Update the header path for ext4_utils.
...
Test: `mmma system/core`
Change-Id: I6291d10d6c8d4972aeca55596baa83f555496193
2016-10-09 10:23:36 -07:00
Glenn Kasten
31dcb81e63
Merge "Traverse /etc/init in a well-defined order"
...
am: db7715c7dd
Change-Id: I548824b089b2abd462c83b459bb457fa1bf11a82
2016-10-09 17:17:03 +00:00
Glenn Kasten
db7715c7dd
Merge "Traverse /etc/init in a well-defined order"
2016-10-09 17:11:03 +00:00
Tao Bao
78b352624d
Merge "mkbootfs: Fix the default st_mode for root directory."
...
am: 3dee9f1f6f
Change-Id: I7672f883954112e0c1826eae8c3024f93824eaad
2016-10-08 20:24:32 +00:00
Treehugger Robot
3dee9f1f6f
Merge "mkbootfs: Fix the default st_mode for root directory."
2016-10-08 20:16:57 +00:00
Yifan Hong
11373394fd
Merge "Add 0X as a valid hex prefix for parseint"
...
am: 392a2c8f0f
Change-Id: Ia9409c0424fab1966197ea5bb7a4532ed9a8c709
2016-10-08 10:42:37 +00:00
Treehugger Robot
392a2c8f0f
Merge "Add 0X as a valid hex prefix for parseint"
2016-10-08 10:36:02 +00:00
Dimitry Ivanov
a46dfe2306
Merge "Revert "Revert "Revert "Revert "Remove liblog from libcutils as a whole static lib"""""
...
am: afda14e61d
Change-Id: I5f9d475db5e5f843f59c1a9484f4ed6174e62650
2016-10-08 07:56:21 +00:00
Dimitry Ivanov
afda14e61d
Merge "Revert "Revert "Revert "Revert "Remove liblog from libcutils as a whole static lib"""""
2016-10-08 07:51:33 +00:00
Chia-I Wu
462e087e40
Merge "Add native_handle_clone"
...
am: e8f6c7398b
Change-Id: I788664dbcd2663f197292368bb89cd1b98e9489f
2016-10-08 01:30:01 +00:00
Chia-I Wu
e8f6c7398b
Merge "Add native_handle_clone"
2016-10-08 01:25:35 +00:00
Josh Gao
218f7fb68e
debuggerd: report crashes even when out of file descriptors.
...
Use nasty clone hacks to let us close random file descriptors to be
able to connect to debuggerd when the fd table is full.
Bug: http://b/32013594
Test: crasher exhaustfd-SIGSEGV
Change-Id: I47772e9a5994da4473bd935b105d9c36827c017a
2016-10-07 18:04:05 -07:00
Yifan Hong
89fbd6349f
Add 0X as a valid hex prefix for parseint
...
Bug: 31983995
Test: make android.hardware.tests.expression@1.0
Change-Id: I526d73f96c519f84dec93befa442b1d2fff7979b
2016-10-07 16:50:16 -07:00
Tao Bao
3b5fbd8331
mkbootfs: Fix the default st_mode for root directory.
...
CL in [1] fixed the wrong mode for the root directory from 0644 to 0755.
However it only handles the path by calling mkbootfs with canned
fs_config (i.e. with -f flag). When calling mkbootfs without -f flag, it
still treats the root directory as a file. This renders the generated
boot/recovery images w/ and w/o -f being different, and leads to the
incorrect checksums in /system/bin/install-recovery.sh.
[1] commit aa8f2f65a030f71506277e2a8d64d83a099e9feb.
Bug: 31988535
Test: `make dist` and verify the checksums in /system/bin/install-recovery.sh.
Change-Id: Ib50fadb23367da0b46944ae0579093da21412593
2016-10-07 16:14:27 -07:00
Glenn Kasten
2de796491a
Traverse /etc/init in a well-defined order
...
Bug: 31996208
Test: will need a CTS, not yet done
Change-Id: I5ecc7f0519d42a83065b7b97a31cdb5b33549cda
2016-10-07 13:56:37 -07:00
Josh Gao
e335bea277
Merge "adb: rationalize types."
...
am: 8caf4e7443
Change-Id: I2e363c31a22b57964688f170c6f96cd8764959e0
2016-10-07 20:41:16 +00:00
Treehugger Robot
8caf4e7443
Merge "adb: rationalize types."
2016-10-07 20:35:00 +00:00
Christopher Ferris
d6b0d37549
Small clean up of fuse code.
...
- Add TEMP_FAILURE_RETRY around all relevant system calls.
- Cleanup some of the read calls.
- Add error log messages when read/write calls do not actually read/write the
expected number of bytes.
- Add error messages for write failures in fuse_status/fuse_replay.
Test: Attached to the sdcard process and stepped through most of the modified
Test: code. Also, create/read/write/delete files in /storage/emulated/0
Test: directory.
Change-Id: I73e4c0db861960f4c0af1bf96b06cd61fa74be69
2016-10-07 12:16:00 -07:00
Dimitry Ivanov
625484ddfa
Revert "Revert "Revert "Revert "Remove liblog from libcutils as a whole static lib""""
...
This reverts commit 6a452917b3 .
Bug: http://b/31289077
Bug: http://b/27171986
Change-Id: Id020fa10c50847bf16a2fcbc7d5e72cf8766b711
2016-10-07 18:43:37 +00:00
Colin Cross
faaeda8e12
Merge "libsparse: output_file.c, fix large data chunk issue"
...
am: 62c9101646
Change-Id: Ica50c8fd851ea2e9ff734253b102b3fa8362577f
2016-10-07 17:20:34 +00:00
Colin Cross
62c9101646
Merge "libsparse: output_file.c, fix large data chunk issue"
2016-10-07 17:17:10 +00:00
John Reck
8e7fa9fb7e
Merge "Revert "Revert "Revert "Remove liblog from libcutils as a whole static lib""""
...
am: b02a355d10
Change-Id: I0d520bbf002a317784ff8bb2963676a98df36706
2016-10-07 16:38:02 +00:00
John Reck
b02a355d10
Merge "Revert "Revert "Revert "Remove liblog from libcutils as a whole static lib""""
2016-10-07 16:32:38 +00:00
John Reck
6a452917b3
Revert "Revert "Revert "Remove liblog from libcutils as a whole static lib"""
...
This reverts commit 595c1480d0 .
Revert reason: broke bullhead-eng build in master
Change-Id: Ie64fc31c3c971366ab9f2543b91b8f5d2040868b
2016-10-07 16:22:38 +00:00
Josh Gao
06d61d4d96
adb: rationalize types.
...
Use fixed length types for structs going over the wire, constify
arguments where possible, use char* instead of unsigned char* for
apacket data, and assorted other refactoring.
Bug: http://b/29273531
Test: python test_device.py with every combination of old/new adb and adbd
Change-Id: I0b6f818a32be5386985aa4519f542003cf427f9d
2016-10-06 14:50:02 -07:00
Josh Gao
4546c8ac3d
Merge "adb: split up adb_auth.cpp."
...
am: 4a8b178c97
Change-Id: I846a06ca04aad456c6659dd6db4c8d0666fc6707
2016-10-06 19:47:11 +00:00