Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: devil/docs/adb_wrapper.md

Issue 2707113002: [devil] Add an iteration timeout option to cmd_helper.IterCmdStdoutLines. (Closed)
Patch Set: mikecase comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « devil/devil/utils/cmd_helper_test.py ('k') | devil/docs/device_utils.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devil/docs/adb_wrapper.md
diff --git a/devil/docs/adb_wrapper.md b/devil/docs/adb_wrapper.md
index 1a64033921018e36ece242a1064b81a0b3690d2c..a8dc3b057db458e7ad58222867323c8833674cdf 100644
--- a/devil/docs/adb_wrapper.md
+++ b/devil/docs/adb_wrapper.md
@@ -2,41 +2,21 @@
*This page was autogenerated by `devil/utils/markdown.py --module-link https://github.com/catapult-project/catapult/blob/master/devil/devil/android/sdk/adb_wrapper.py`*
-## AdbWrapper
-
-A wrapper around a local Android Debug Bridge executable.
-### AdbWrapper.\_\_init\_\_
-
-Initializes the AdbWrapper.
-```
- Args:
- device_serial: The device serial number as a string.
-```
-
-
-### AdbWrapper.\_\_eq\_\_
-
-Consider instances equal if they refer to the same device.
-```
- Args:
- other: The instance to compare equality with.
-
- Returns:
- True if the instances are considered equal, false otherwise.
-```
-
+## DeviceStat
-### AdbWrapper.\_\_str\_\_
+DeviceStat(st\_mode, st\_size, st\_time)
+### DeviceStat.\_\_repr\_\_
-The string representation of an instance.
-```
- Returns:
- The device serial number as a string.
-```
+Return a nicely formatted representation string
+### DeviceStat.\_\_getnewargs\_\_
+Return self as a plain tuple. Used by copy and pickle.
+### DeviceStat.\_\_getstate\_\_
-### AdbWrapper.\_\_repr\_\_
+Exclude the OrderedDict from pickling
+## AdbWrapper
+A wrapper around a local Android Debug Bridge executable.
### AdbWrapper.GetDeviceSerial
Gets the device serial number associated with this object.
@@ -137,6 +117,9 @@ Get an iterable over the logcat output.
ring_buffer: If set, a list of alternate ring buffers to request.
Options include "main", "system", "radio", "events", "crash" or "all".
The default is equivalent to ["main", "system", "crash"].
+ iter_timeout: If set and neither clear nor dump is set, the number of
+ seconds to wait between iterations. If no line is found before the
+ given number of seconds elapses, the iterable will yield None.
timeout: (optional) If set, timeout per try in seconds. If clear or dump
is set, defaults to DEFAULT_TIMEOUT.
retries: (optional) If clear or dump is set, the number of retries to
@@ -359,18 +342,38 @@ Disable Marshmallow's Verity security feature
### AdbWrapper.EnableVerity
Enable Marshmallow's Verity security feature
-## DeviceStat
+### AdbWrapper.\_\_init\_\_
-DeviceStat(st\_mode, st\_size, st\_time)
-### DeviceStat.\_\_repr\_\_
+Initializes the AdbWrapper.
+```
+ Args:
+ device_serial: The device serial number as a string.
+```
-Return a nicely formatted representation string
-### DeviceStat.\_\_getnewargs\_\_
-Return self as a plain tuple. Used by copy and pickle.
-### DeviceStat.\_\_getstate\_\_
+### AdbWrapper.\_\_eq\_\_
+
+Consider instances equal if they refer to the same device.
+```
+ Args:
+ other: The instance to compare equality with.
+
+ Returns:
+ True if the instances are considered equal, false otherwise.
+```
+
+
+### AdbWrapper.\_\_str\_\_
+
+The string representation of an instance.
+```
+ Returns:
+ The device serial number as a string.
+```
+
+
+### AdbWrapper.\_\_repr\_\_
-Exclude the OrderedDict from pickling
### VerifyLocalFileExists
Verifies a local file exists.
« no previous file with comments | « devil/devil/utils/cmd_helper_test.py ('k') | devil/docs/device_utils.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698