Commit Graph

14 Commits

Author SHA1 Message Date
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