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

Unified Diff: build/android/buildbot/bb_device_status_check.py

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « build/all.gyp ('k') | build/android/findbugs_filter/findbugs_known_bugs.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_device_status_check.py
diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py
index a72a0c7e2c1a47fe4170884e6eea957ab3be44e0..08bccc962ba978ad0874cf830faaf4973db6c53f 100755
--- a/build/android/buildbot/bb_device_status_check.py
+++ b/build/android/buildbot/bb_device_status_check.py
@@ -46,10 +46,10 @@ def DeviceInfo(serial, options):
"""
device_adb = device_utils.DeviceUtils(serial)
- device_type = device_adb.GetProp('ro.build.product')
- device_build = device_adb.GetProp('ro.build.id')
- device_build_type = device_adb.GetProp('ro.build.type')
- device_product_name = device_adb.GetProp('ro.product.name')
+ device_type = device_adb.build_product
+ device_build = device_adb.build_id
+ device_build_type = device_adb.build_type
+ device_product_name = device_adb.product_name
try:
battery_info = device_adb.old_interface.GetBatteryInfo()
@@ -71,7 +71,7 @@ def DeviceInfo(serial, options):
lambda x: x[-6:])
report = ['Device %s (%s)' % (serial, device_type),
' Build: %s (%s)' %
- (device_build, device_adb.GetProp('ro.build.fingerprint')),
+ (device_build, device_adb.build_fingerprint),
' Current Battery Service state: ',
'\n'.join([' %s: %s' % (k, v)
for k, v in battery_info.iteritems()]),
« no previous file with comments | « build/all.gyp ('k') | build/android/findbugs_filter/findbugs_known_bugs.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698