Index: tools/telemetry/telemetry/core/platform/device.py |
diff --git a/tools/telemetry/telemetry/core/platform/device.py b/tools/telemetry/telemetry/core/platform/device.py |
index 5c0730165cb2dcaf123e4fbd69a71908155b247c..bb21a1e4530620eb023a99250846930731211ebe 100644 |
--- a/tools/telemetry/telemetry/core/platform/device.py |
+++ b/tools/telemetry/telemetry/core/platform/device.py |
@@ -11,22 +11,22 @@ class Device(object): |
Attributes: |
name: A device name string in human-understandable term. |
- device_id: A unique id of the device. Subclass of device must specify this |
+ guid: A unique id of the device. Subclass of device must specify this |
id properly so that device objects to a same actual device must have same |
- device_id. |
+ guid. |
""" |
- def __init__(self, name, device_id): |
+ def __init__(self, name, guid): |
self._name = name |
- self._device_id = device_id |
+ self._guid = guid |
@property |
def name(self): |
return self._name |
@property |
- def device_id(self): |
- return self._device_id |
+ def guid(self): |
+ return self._guid |
@classmethod |
def GetAllConnectedDevices(cls, logging=real_logging): |