Searched refs:expected_event_name (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/lib/ |
D | le_scanner.py | 41 def __wait_for_scan_result_event(self, expected_event_name, timeout=60): argument 43 event_info = self.device.ed.pop_event(expected_event_name, timeout) 45 logging.error("Could not find scan result event: %s", expected_event_name) 58 expected_event_name = scan_result.format(self.scan_callback) 66 advertising_address = self.__wait_for_scan_result_event(expected_event_name, 1) 80 expected_event_name = scan_result.format(self.scan_callback) 88 advertising_address = self.__wait_for_scan_result_event(expected_event_name) 102 expected_event_name = scan_result.format(self.scan_callback) 110 advertising_address = self.__wait_for_scan_result_event(expected_event_name) 126 expected_event_name = "BleScan1onScanResults" [all …]
|
D | l2cap.py | 33 def __wait_for_event(self, expected_event_name): argument 35 … event_info = self.__device.ed.pop_event(expected_event_name, self.__l2cap_connection_timeout) 38 logging.error("Failed to find event: %s", expected_event_name)
|
D | le_advertiser.py | 43 def __wait_for_event(self, expected_event_name): argument 45 event_info = self.device.ed.pop_event(expected_event_name, self.default_timeout) 48 logging.error("Failed to find event: %s", expected_event_name)
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/security/ |
D | irk_rotation_test.py | 58 def _wait_for_event(self, expected_event_name, device): argument 60 event_info = device.ed.pop_event(expected_event_name, self.default_timeout) 63 logging.error("Failed to find event: %s", expected_event_name) 143 expected_event_name = GattCallbackString.GATT_CONN_CHANGE.format(gatt_callback) 144 assertThat(self._wait_for_event(expected_event_name, self.dut)).isTrue() 156 expected_event_name = GattCallbackString.GATT_CONN_CHANGE.format(gatt_callback) 157 assertThat(self._wait_for_event(expected_event_name, self.dut)).isTrue() 162 expected_event_name = GattCallbackString.GATT_CONN_CHANGE.format(gatt_callback) 163 assertThat(self._wait_for_event(expected_event_name, self.dut)).isTrue() 168 expected_event_name = GattCallbackString.GATT_CONN_CHANGE.format(gatt_callback) [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/ |
D | gatt_connect_with_irk_test.py | 51 def _wait_for_event(self, expected_event_name, device): argument 53 event_info = device.ed.pop_event(expected_event_name, self.default_timeout) 56 logging.error("Failed to find event: %s", expected_event_name) 60 def _wait_for_scan_result_event(self, expected_event_name, device): argument 62 event_info = device.ed.pop_event(expected_event_name, self.default_timeout) 64 logging.error("Could not find scan result event: %s", expected_event_name) 119 expected_event_name = scan_result.format(scan_callback) 128 mac_address = self._wait_for_scan_result_event(expected_event_name, self.dut) 139 expected_event_name = GattCallbackString.GATT_CONN_CHANGE.format(gatt_callback) 140 assertThat(self._wait_for_event(expected_event_name, self.dut)).isTrue()
|
D | gatt_connect_test.py | 937 expected_event_name = scan_result.format(scan_callback) 940 … expected_event_name, self.default_timeout)['data']['Result']['deviceInfo']['address'] 958 … expected_event_name, self.default_timeout)['data']['Result']['deviceInfo']['address']
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/hci/ |
D | le_advanced_scanning_test.py | 162 def _wait_for_scan_result_event(self, expected_event_name): argument 165 event_info = self.dut.ed.pop_event(expected_event_name, self.default_timeout) 201 expected_event_name = scan_result.format(scan_callback) 211 got_result = self._wait_for_scan_result_event(expected_event_name) 238 expected_event_name = "BleScan1onScanResults" 248 got_result = self._wait_for_scan_result_event(expected_event_name) 273 expected_event_name = scan_result.format(scan_callback) 283 got_result = self._wait_for_scan_result_event(expected_event_name) 327 expected_event_name = scan_result.format(scan_callback) 336 got_result = self._wait_for_scan_result_event(expected_event_name) [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/ |
D | gatt_connect_low_layer_test.py | 105 def _wait_for_scan_result_event(self, expected_event_name): argument 108 event_info = self.dut.ed.pop_event(expected_event_name, self.default_timeout) 182 expected_event_name = scan_result.format(scan_callback_token) 183 scanned_mac_address, event_info = self._wait_for_scan_result_event(expected_event_name) 242 expected_event_name = scan_result.format(scan_callback_token) 243 scanned_mac_address, event_info = self._wait_for_scan_result_event(expected_event_name) 322 expected_event_name = scan_result.format(scan_callback_token) 323 scanned_mac_address, event_info = self._wait_for_scan_result_event(expected_event_name) 393 expected_event_name = scan_result.format(scan_callback_token) 394 scanned_mac_address, event_info = self._wait_for_scan_result_event(expected_event_name) [all …]
|