Index: build/android/pylib/device/device_utils.py |
diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py |
index bc1f2ab27339c25b18d03ccac517649c15017c55..9f4e7ea3fd8e577ccc0fbf80d01f1d8664bb5559 100644 |
--- a/build/android/pylib/device/device_utils.py |
+++ b/build/android/pylib/device/device_utils.py |
@@ -216,6 +216,22 @@ class DeviceUtils(object): |
"""Returns the device serial.""" |
return self.adb.GetDeviceSerial() |
+ @property |
+ def default_timeout(self): |
jbudorick
2015/08/23 02:01:28
I don't mind the getter, though I don't really see
agrieve
2015/08/26 00:22:40
Done.
|
+ return self._default_timeout |
+ |
+ @default_timeout.setter |
+ def default_timeout(self, value): |
jbudorick
2015/08/23 02:01:28
I don't like the setter. I don't think we should a
agrieve
2015/08/26 00:22:40
Done.
|
+ self._default_timeout = value |
+ |
+ @property |
+ def default_retries(self): |
+ return self._default_retries |
+ |
+ @default_retries.setter |
+ def default_retries(self, value): |
+ self._default_retries = value |
+ |
@decorators.WithTimeoutAndRetriesFromInstance() |
def IsOnline(self, timeout=None, retries=None): |
"""Checks whether the device is online. |