Josh Gao
eded388d64
Merge changes Ib55d304d,I6fa078ea,I18e9213d,Ife58f0aa,Iccc55557
...
am: 24f9fc7fee
Change-Id: Ie8289b0df453c3326a12ae8959724ece738024f3
2018-07-31 21:23:58 -07:00
Josh Gao
258d4a91c9
adb: fix error message for adb {forward,reverse}
...
Test: `adb reverse`
Change-Id: I6fa078ea7a0e019df5c6309df99ffdf2a3219194
2018-07-31 15:57:52 -07:00
Josh Gao
b272ccfd1b
Merge changes Ic90fac0b,Id9c12303,I2d9bdcb1,I9d699af1,Ia4d03f9e, ...
...
am: 46f281edf5
Change-Id: I58222a24da5d67526b8c9f492427d8420923f6c3
2018-07-26 13:19:14 -07:00
Josh Gao
86acb863ff
adb: split shell_service.h into client/daemon/protocol parts.
...
Test: treehugger
Change-Id: I67042f6b29a8a07619b8d56e7376d49b956a840c
2018-07-25 18:08:44 -07:00
Josh Gao
edec033b26
adb: split file_sync_service.h into client and daemon parts.
...
Test: treehugger
Change-Id: I648c7001903a91448c69986e08a6cd2dd76ed793
2018-07-25 18:08:32 -07:00
Luis Hector Chavez
0314aa7c9a
Merge changes Iccfe3bd4,I6380245b,I20d9f2fe
...
am: c23280a1e3
Change-Id: Ifbd8d9d41e69087f421cd1288bfc1337277d6b0d
2018-07-20 11:47:43 -07:00
Luis Hector Chavez
6150a37dbe
adb: Remove most C-style allocations
...
This change gets rid of most malloc/calloc/free calls. The future is
now!
Bug: None
Test: test_device.py
Change-Id: Iccfe3bd4fe45a0319bd9f23b8cbff4c7070c9f4d
2018-07-19 09:41:40 -07:00
Yi Kong
6705b6c7cd
Merge "[adb] Modernize codebase by replacing NULL with nullptr"
...
am: a63b3309ff
Change-Id: I7183b79b8210e15986418187b0dcc13233bed294
2018-07-17 10:55:17 -07:00
Yi Kong
aed415cc47
[adb] Modernize codebase by replacing NULL with nullptr
...
Fixes -Wzero-as-null-pointer-constant warning.
Test: m
Bug: 68236239
Change-Id: Ia8c4deacafed2f3b7dbc3d4c3c77c6c632e3de81
2018-07-13 18:21:00 -07:00
Josh Gao
a21afda733
Merge changes Ibfa5e7e6,I706b57a9,I53d21134,I69d4d585
...
am: 9674bcbd23
Change-Id: Ibfec0e2581ec6ec6167d63e05deeed1263f0f458
2018-06-18 19:52:02 -07:00
Josh Gao
172d0d44bc
adb: add adb raw to connect to an arbitrary service.
...
Add a command to connect to an arbitrary service, for debugging
purposes.
Test: `adb raw shell:ls`
Change-Id: I69d4d585e5ecfa7cb8c7a543a2a27df7033b26c7
2018-06-18 14:51:56 -07:00
Elliott Hughes
e6df12e68c
Merge "Fix adb logcat return code."
...
am: 5587aba58d
Change-Id: I7b79c9d5d938a3104613cf063658af3ad8f9858c
2018-06-14 13:07:00 -07:00
Elliott Hughes
31f0f1bcee
Fix adb logcat return code.
...
`adb shell logcat` works, and `adb logcat` should too.
Bug: http://b/110202648
Test: suspended the logd process and manually removed the socket
Change-Id: If14de7c2eb178c7b4210d6bdb44df084615db33a
2018-06-14 10:47:00 -07:00
android-build-prod (mdb)
15d36ded11
Merge "Documented adb install --instant" am: 53248e47f4
...
am: 936a41acc8
Change-Id: I9769a391a7a2d4c5cd636db0529ca62d904e598c
2018-05-09 11:40:36 -07:00
Felipe Leme
807be77c25
Documented adb install --instant
...
Test: m -j32 adb && ./out/host/linux-x86/bin/adb help 2>&1 | grep instant
Bug: 79422318
Change-Id: I2830a9e3cf81becac1a6334670d8dc487fe72322
2018-05-09 09:33:38 -07:00
Elliott Hughes
a5f2f7cc5e
Merge "Support /odm and /product in "adb remount" and "adb sync"." am: 6eb9248cb3
...
am: 9b0d281c4f
Change-Id: Icb2a0362e320f988aae20f7766f2fb39b85569c6
2018-04-05 19:49:11 -07:00
Elliott Hughes
57e97cb7aa
Support /odm and /product in "adb remount" and "adb sync".
...
Bug: http://b/77587036
Test: `adb remount` and `adb sync` still work on hikey
Change-Id: I960ae75099edf147f857a67d906b6bc133f817a7
2018-04-04 13:14:59 -07:00
Josh Gao
48aa138ac6
Merge changes I99b85f07,If28f6c8d am: 6156420fb7
...
am: 0204f8c2f2
Change-Id: I20b80d869279af82393c382ea837197633e4757c
2018-03-19 20:36:53 +00:00
Josh Gao
31b5be69f4
adb: implement std::make_unique, start using it.
...
Add an implementation of std::make_unique for Windows, where we're
currently stuck with C++11, and switch some uses of new over to it.
Test: treehugger
Change-Id: I99b85f07754adda7c525243480c3e0bce9a25ce7
2018-03-16 15:35:52 -07:00
Josh Gao
360cf3703b
Merge changes from topic "adb_bp" am: 9ee373ac2c
...
am: ca6ec5c48b
Change-Id: I1a9a4bc92bf48d1d0af6bf74f6f84d20d43d10c9
2018-03-06 01:36:57 +00:00
Josh Gao
2776845aa5
adb: switch over to Android.bp.
...
Rearrange some files while we're doing this.
Bug: http://b/71721338
Test: manually ran adb on windows
Change-Id: Ie47bda82279e4b9521505ad0353bf9ef649fc7d7
2018-02-28 15:29:50 -08:00