<feed xmlns='http://www.w3.org/2005/Atom'>
<title>system_core/adb/adb.cpp, branch replicant-6.0</title>
<subtitle>system/core
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/'/>
<entry>
<title>strrchr() returns const char*, so casting is necessary</title>
<updated>2021-08-25T16:26:58+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2016-01-07T17:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=ab3b19e4fe97a19d7a19a4a53292230876903643'/>
<id>ab3b19e4fe97a19d7a19a4a53292230876903643</id>
<content type='text'>
fixes build errors with custom toolchain

Change-Id: I6aeddf8007a467b3e08af0e86d0016db7dd8ac9e
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes build errors with custom toolchain

Change-Id: I6aeddf8007a467b3e08af0e86d0016db7dd8ac9e
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport missing null check in "adb get-state".</title>
<updated>2015-09-01T19:57:07+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-09-01T19:54:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=5b65f86a2f98dea63bdcd7ded1175ca17d305b44'/>
<id>5b65f86a2f98dea63bdcd7ded1175ca17d305b44</id>
<content type='text'>
Bug: https://code.google.com/p/android/issues/detail?id=184011
Bug: http://b/23709037
Change-Id: Ia33814bd2adc310c2471cd6a12b9a73f27d77182
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://code.google.com/p/android/issues/detail?id=184011
Bug: http://b/23709037
Change-Id: Ia33814bd2adc310c2471cd6a12b9a73f27d77182
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore ro.adb.secure in user builds.</title>
<updated>2015-06-19T20:26:02+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-06-17T22:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=1cddc2092f544c5eac339e59746436facfdd5dc7'/>
<id>1cddc2092f544c5eac339e59746436facfdd5dc7</id>
<content type='text'>
Require authorization by default, and remove the ability to override
that in user builds. (userdebug and eng are still free to do whatever
they want.)

Bug: http://b/21862859
Change-Id: Ibf8af375be5bf1141c1ad481eee7a59fb10a7adb
(cherry picked from commit 5cba504215ea91187cc36ec7aec5dce1b0f4b0fe)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Require authorization by default, and remove the ability to override
that in user builds. (userdebug and eng are still free to do whatever
they want.)

Bug: http://b/21862859
Change-Id: Ibf8af375be5bf1141c1ad481eee7a59fb10a7adb
(cherry picked from commit 5cba504215ea91187cc36ec7aec5dce1b0f4b0fe)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add WriteFdFmt and clean up more code.</title>
<updated>2015-05-02T00:37:28+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-05-02T00:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=e1a55004e9fa46055c59f86e952e9e457c36c3f2'/>
<id>e1a55004e9fa46055c59f86e952e9e457c36c3f2</id>
<content type='text'>
Also say *which* device wasn't found.

Bug: http://b/20666660
Change-Id: I50e234ad89e39ae0a8995083c0b642c61275c5a3
(cherry picked from commit ab52c181fa4c1c9891644635dc5653cda5b90e2b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also say *which* device wasn't found.

Bug: http://b/20666660
Change-Id: I50e234ad89e39ae0a8995083c0b642c61275c5a3
(cherry picked from commit ab52c181fa4c1c9891644635dc5653cda5b90e2b)
</pre>
</div>
</content>
</entry>
<entry>
<title>More adb buffer fixes.</title>
<updated>2015-05-02T00:09:34+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-05-01T00:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=92af733ee202caa3b5475fe27fcc81582f11e7c8'/>
<id>92af733ee202caa3b5475fe27fcc81582f11e7c8</id>
<content type='text'>
This patch factors out a lot of the basic protocol code: sending OKAY,
sending FAIL, and sending a length-prefixed string.

ADB_TRACE has been non-optional for a long time, so let's just remove
the #ifs.

Also actually build the device tracker test tool (and remove its duplicate).

Bug: http://b/20666660
Change-Id: I6c7d59f18707bdc62ca69dea45547617f9f31fc6
(cherry picked from commit e67f1f87d9b1188ec8617035db7006c37ee7b21e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch factors out a lot of the basic protocol code: sending OKAY,
sending FAIL, and sending a length-prefixed string.

ADB_TRACE has been non-optional for a long time, so let's just remove
the #ifs.

Also actually build the device tracker test tool (and remove its duplicate).

Bug: http://b/20666660
Change-Id: I6c7d59f18707bdc62ca69dea45547617f9f31fc6
(cherry picked from commit e67f1f87d9b1188ec8617035db7006c37ee7b21e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing 'else' to fix all devices showing up as "host".</title>
<updated>2015-04-30T05:44:47+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-30T05:37:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=0156589846117bccb2fbec6b3141cc21bc86c638'/>
<id>0156589846117bccb2fbec6b3141cc21bc86c638</id>
<content type='text'>
Bug: http://b/20705355
Change-Id: I4f7830278f0c2bc87d95d148d85455b8da894645
(cherry picked from commit 3ce9575af76fa6dc110506080434303b9459abf4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: http://b/20705355
Change-Id: I4f7830278f0c2bc87d95d148d85455b8da894645
(cherry picked from commit 3ce9575af76fa6dc110506080434303b9459abf4)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove strtok from adb.</title>
<updated>2015-04-28T17:55:24+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-25T06:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=d81f75ae41b2eed4ae7b0911f250778f3e6ec9c2'/>
<id>d81f75ae41b2eed4ae7b0911f250778f3e6ec9c2</id>
<content type='text'>
Also fix android::base::Split to behave like Java, Python, and google3.

(cherry picked from commit 8d5fa6da44d56511b3e173bc463cbc65ff221b4a)

Change-Id: I9388ae37ee8dd4a4a6c2a9a19f068b70d9a78353
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix android::base::Split to behave like Java, Python, and google3.

(cherry picked from commit 8d5fa6da44d56511b3e173bc463cbc65ff221b4a)

Change-Id: I9388ae37ee8dd4a4a6c2a9a19f068b70d9a78353
</pre>
</div>
</content>
</entry>
<entry>
<title>Always explain why bind(2) failed.</title>
<updated>2015-04-20T15:09:20+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-20T15:09:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=7b506090e1ac51f4990f17621c6e33847b0632a2'/>
<id>7b506090e1ac51f4990f17621c6e33847b0632a2</id>
<content type='text'>
This has confused several people lately.

Bug: http://b/20219978
Change-Id: I2537ceb83bff0b3166c230c728d4389a983db858
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has confused several people lately.

Bug: http://b/20219978
Change-Id: I2537ceb83bff0b3166c230c728d4389a983db858
</pre>
</div>
</content>
</entry>
<entry>
<title>Show $ADB_VENDOR_KEYS if authentication fails.</title>
<updated>2015-04-17T05:54:44+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-04-17T05:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=7be29c819b4fb8bf9b1d4b69a4333f8765de0281'/>
<id>7be29c819b4fb8bf9b1d4b69a4333f8765de0281</id>
<content type='text'>
Incorrectly set $ADB_VENDOR_KEYS is the most likely cause of failed
adb connections. Make it easier to debug such problems by including
the value in use in the error message.

Bug: 20165551
Change-Id: I64c1d98ae6d3fb40eea9e1f0ddcfcf4f2d9d7318
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Incorrectly set $ADB_VENDOR_KEYS is the most likely cause of failed
adb connections. Make it easier to debug such problems by including
the value in use in the error message.

Bug: 20165551
Change-Id: I64c1d98ae6d3fb40eea9e1f0ddcfcf4f2d9d7318
</pre>
</div>
</content>
</entry>
<entry>
<title>Additional cleanup of start_device_log.</title>
<updated>2015-03-20T16:49:15+00:00</updated>
<author>
<name>Dan Albert</name>
<email>danalbert@google.com</email>
</author>
<published>2015-03-20T05:53:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=8743ef98414b336f222327253f2cde6bf6aee386'/>
<id>8743ef98414b336f222327253f2cde6bf6aee386</id>
<content type='text'>
Addresses nnk's post commit review comments on
https://android-review.googlesource.com/#/c/139381/

Remove unneeded code for creating /data/adb.

Add an O_CLOEXEC.

Move the closing of stdin out to main().

Append the pid of the current process to the log file to avoid
clobbering the log if the process crashes and restarts within the same
second.

Change-Id: Ide0be86b4b33256486634c29ba02efaf10cf913d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses nnk's post commit review comments on
https://android-review.googlesource.com/#/c/139381/

Remove unneeded code for creating /data/adb.

Add an O_CLOEXEC.

Move the closing of stdin out to main().

Append the pid of the current process to the log file to avoid
clobbering the log if the process crashes and restarts within the same
second.

Change-Id: Ide0be86b4b33256486634c29ba02efaf10cf913d
</pre>
</div>
</content>
</entry>
</feed>
