Home
last modified time | relevance | path

Searched refs:gatt_event (Results 1 – 9 of 9) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgatts_lib.py26 from acts_contrib.test_utils.bt.bt_constants import gatt_event
113 desc_read = gatt_event['desc_read_req']['evt'].format(
115 desc_write = gatt_event['desc_write_req']['evt'].format(
117 char_read = gatt_event['char_read_req']['evt'].format(
119 char_write_req = gatt_event['char_write_req']['evt'].format(
121 char_write = gatt_event['char_write']['evt'].format(
123 execute_write = gatt_event['exec_write']['evt'].format(
272 desc_read = gatt_event['desc_read_req']['evt'].format(
274 desc_write = gatt_event['desc_write_req']['evt'].format(
276 char_read = gatt_event['char_read_req']['evt'].format(
[all …]
DGattConnectedBaseTest.py27 from acts_contrib.test_utils.bt.bt_constants import gatt_event
68 event = self._client_wait(gatt_event['gatt_serv_disc'])
105 def _server_wait(self, gatt_event): argument
106 return self._timed_pop(gatt_event, self.per_ad,
109 def _client_wait(self, gatt_event): argument
110 return self._timed_pop(gatt_event, self.cen_ad, self.gatt_callback)
112 def _timed_pop(self, gatt_event, droid, gatt_callback): argument
113 expected_event = gatt_event["evt"].format(gatt_callback)
117 raise AssertionError(gatt_event["err"].format(expected_event))
Dbt_constants.py365 gatt_event = { variable
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattWriteTest.py25 from acts_contrib.test_utils.bt.bt_constants import gatt_event
71 event = self._server_wait(gatt_event['char_write_req'])
87 event = self._client_wait(gatt_event['char_write'])
126 event = self._server_wait(gatt_event['desc_write_req'])
142 event = self._client_wait(gatt_event['desc_write'])
184 event = self._client_wait(gatt_event['char_write'])
189 event = self._server_wait(gatt_event['char_write_req'])
238 event = self._server_wait(gatt_event['char_write_req'])
249 event = self._client_wait(gatt_event['char_write'])
320 event = self._server_wait(gatt_event['char_write_req'])
[all …]
DGattReadTest.py25 from acts_contrib.test_utils.bt.bt_constants import gatt_event
60 event = self._server_wait(gatt_event['char_read_req'])
73 event = self._client_wait(gatt_event['char_read'])
129 event = self._server_wait(gatt_event['char_read_req'])
142 event = self._client_wait(gatt_event['char_read'])
179 event = self._server_wait(gatt_event['char_read_req'])
192 event = self._client_wait(gatt_event['char_read'])
DGattNotifyTest.py25 from acts_contrib.test_utils.bt.bt_constants import gatt_event
72 event = self._server_wait(gatt_event['desc_write_req'])
82 event = self._client_wait(gatt_event['desc_write'])
94 event = self._client_wait(gatt_event['char_change'])
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/
DPhyTest.py26 from acts_contrib.test_utils.bt.bt_constants import gatt_event
58 maybe_event = gatt_event['phy_update']['evt'].format(
65 maybe_event = gatt_event['serv_phy_update']['evt'].format(
74 event = self._client_wait(gatt_event['phy_update'])
83 event = self._server_wait(gatt_event['serv_phy_update'])
94 event = self._client_wait(gatt_event['phy_read'])
102 event = self._server_wait(gatt_event['serv_phy_read'])
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/
DGattLongevityTest.py25 from acts_contrib.test_utils.bt.bt_constants import gatt_event
85 event = self._client_wait(gatt_event['char_write'])
90 event = self._server_wait(gatt_event['char_write_req'])
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dbluetooth_device.py26 from acts_contrib.test_utils.bt.bt_constants import gatt_event
375 def _client_wait(self, gatt_event, gatt_callback): argument
376 return self._timed_pop(gatt_event, gatt_callback)
378 def _timed_pop(self, gatt_event, gatt_callback): argument
379 expected_event = gatt_event["evt"].format(gatt_callback)
383 raise AssertionError(gatt_event["err"].format(expected_event))
458 event = self._client_wait(gatt_event['char_write'],
488 event = self._client_wait(gatt_event['char_write'],
516 event = self._client_wait(gatt_event['char_read'],
548 event = self._client_wait(gatt_event['char_read'],
[all …]