Home
last modified time | relevance | path

Searched refs:assert_true (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Devent_stream.py200 assert_true(
213 def assert_true(istream, expr, msg, extras=None): function
238 assert_true(
264 assert_true(
276assert_true(istream, correct_order, "Events not received in correct order %s %s" % (match_fns, mat…
295assert_true(istream, event is None, msg='Expected None matching, but got {}'.format(pretty_print(e…
302assert_true(istream, event is None, msg='Expected None, but got {}'.format(pretty_print(event)))
Dgd_base_test.py106 asserts.assert_true(
114 asserts.assert_true(
163 … asserts.assert_true(os.path.isfile(rootcanal), "Root canal does not exist at %s" % rootcanal)
172 asserts.assert_true(
193 … asserts.assert_true(self.rootcanal_process, msg="Cannot start root-canal at " + str(rootcanal))
194 asserts.assert_true(
Dgd_device.py162 … asserts.assert_true(all(arguments), "All arguments to GdDeviceBase must not be None nor empty")
163 asserts.assert_true(all(cmd), "cmd list should not have None nor empty component")
206 asserts.assert_true(
209 asserts.assert_true(
236 asserts.assert_true(
344 asserts.assert_true(
472 asserts.assert_true(serial_number, "serial_number must not be None nor empty")
478 … asserts.assert_true(self.adb.ensure_root(), "device %s cannot run as root", self.serial_number)
582 …asserts.assert_true(self.logcat_process, msg="Cannot start logcat_process at " + " ".join(self.log…
583 asserts.assert_true(
[all …]
Dtruth.py19 from mobly.asserts import assert_true
135 assert_true(self._value, "")
147 assert_true(self._value < time_bound, "")
Dcert_self_test.py205 asserts.assert_true(len(wrapped.Serialize()) == 23, "Packet serialized incorrectly")
431 …asserts.assert_true("pts_test_id" in e.extras, msg=("pts_test_id not in extra: %s" % str(e.extras)…
433 …asserts.assert_true("pts_test_name" in e.extras, msg=("pts_test_name not in extra: %s" % str(e.ext…
447 …asserts.assert_true("pts_test_id" in e.extras, msg=("pts_test_id not in extra: %s" % str(e.extras)…
449 …asserts.assert_true("pts_test_name" in e.extras, msg=("pts_test_name not in extra: %s" % str(e.ext…
452 asserts.assert_true(
/packages/modules/Bluetooth/system/blueberry/tests/gd/rust/topshim/facade/
Dtopshim_base_test.py172 …asserts.assert_true(self.info['rootcanal_exist'], "Root canal does not exist at %s" % self.info['r…
173 …asserts.assert_true(self.info['make_rootcanal_ports_available'], "Failed to make root canal ports …
176 asserts.assert_true(
178 …asserts.assert_true(self.info['is_subprocess_alive'], msg="root-canal stopped immediately after ru…
/packages/modules/Bluetooth/system/blueberry/tests/connectivity/
Dbluetooth_latency_test.py46 asserts.assert_true(write_read_successful, 'Failed to send/receive message')
83 asserts.assert_true(self.phone.connect_with_rfcomm(self.derived_bt_device),
102 asserts.assert_true(metrics['data_latency_min_millis'] > 0,
Dbluetooth_throughput_test.py73 asserts.assert_true(metrics['data_throughput_min_bytes_per_second'] > 0,
128 asserts.assert_true(self.phone.connect_with_rfcomm(self.derived_bt_device),
/packages/modules/Bluetooth/system/blueberry/controllers/
Dandroid_bt_target_device.py115 asserts.assert_true(
248 asserts.assert_true(
340 asserts.assert_true(
361 asserts.assert_true(
/packages/modules/Bluetooth/system/blueberry/tests/pbap/
Dbluetooth_pbap_test.py276 asserts.assert_true(
314 asserts.assert_true(
388 asserts.assert_true(
/packages/modules/Bluetooth/system/blueberry/decorators/
Dfitbit_app_decorator.py217 asserts.assert_true(
221 asserts.assert_true(
/packages/modules/Bluetooth/system/blueberry/tests/audio_capture/
Dbluetooth_audio_capture_test.py52 asserts.assert_true(self.derived_bt_device.a2dp_sink_connect(),