Loading system/blueberry/tests/gd/cert/gd_device.py +3 −1 Original line number Diff line number Diff line Loading @@ -527,7 +527,9 @@ class GdAndroidDevice(GdDeviceBase): # Ensure Bluetooth is disabled self.ensure_no_output(self.adb.shell("settings put global ble_scan_always_enabled 0")) self.ensure_no_output(self.adb.shell("svc bluetooth disable")) self.adb.shell("cmd bluetooth_manager disable") device_bt_state = int(self.adb.shell("settings get global bluetooth_on")) asserts.assert_equal(device_bt_state, 0, "Failed to disable Bluetooth on device %s %s" % (self.label, self.serial_number)) logging.info("Bluetooth disabled on device %s %s" % (self.label, self.serial_number)) # Start logcat logging Loading Loading
system/blueberry/tests/gd/cert/gd_device.py +3 −1 Original line number Diff line number Diff line Loading @@ -527,7 +527,9 @@ class GdAndroidDevice(GdDeviceBase): # Ensure Bluetooth is disabled self.ensure_no_output(self.adb.shell("settings put global ble_scan_always_enabled 0")) self.ensure_no_output(self.adb.shell("svc bluetooth disable")) self.adb.shell("cmd bluetooth_manager disable") device_bt_state = int(self.adb.shell("settings get global bluetooth_on")) asserts.assert_equal(device_bt_state, 0, "Failed to disable Bluetooth on device %s %s" % (self.label, self.serial_number)) logging.info("Bluetooth disabled on device %s %s" % (self.label, self.serial_number)) # Start logcat logging Loading