Home
last modified time | relevance | path

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

/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
73 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/acts_contrib/test_utils/bt/
Dgatts_lib.py27 from acts_contrib.test_utils.bt.bt_constants import gatt_event
114 desc_read = gatt_event['desc_read_req']['evt'].format(
116 desc_write = gatt_event['desc_write_req']['evt'].format(
118 char_read = gatt_event['char_read_req']['evt'].format(
120 char_write_req = gatt_event['char_write_req']['evt'].format(
122 char_write = gatt_event['char_write']['evt'].format(
124 execute_write = gatt_event['exec_write']['evt'].format(
271 desc_read = gatt_event['desc_read_req']['evt'].format(
273 desc_write = gatt_event['desc_write_req']['evt'].format(
275 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/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/acts_contrib/test_utils/abstract_devices/
Dbluetooth_device.py26 from acts_contrib.test_utils.bt.bt_constants import gatt_event
373 def _client_wait(self, gatt_event, gatt_callback): argument
374 return self._timed_pop(gatt_event, gatt_callback)
376 def _timed_pop(self, gatt_event, gatt_callback): argument
377 expected_event = gatt_event["evt"].format(gatt_callback)
381 raise AssertionError(gatt_event["err"].format(expected_event))
457 event = self._client_wait(gatt_event['char_write'],
487 event = self._client_wait(gatt_event['char_write'],
515 event = self._client_wait(gatt_event['char_read'],
547 event = self._client_wait(gatt_event['char_read'],
[all …]
/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'])