Home
last modified time | relevance | path

Searched refs:scan_result (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/floss/pandora/floss/
Dscanner_client.py42 def on_scan_result(self, scan_result): argument
50 def on_advertisement_found(self, scanner_id, scan_result): argument
59 def on_advertisement_lost(self, scanner_id, scan_result): argument
207 def OnScanResult(self, scan_result): argument
214 observer.on_scan_result(scan_result)
216 def OnAdvertisementFound(self, scanner_id, scan_result): argument
224 observer.on_advertisement_found(scanner_id, scan_result)
226 def OnAdvertisementLost(self, scanner_id, scan_result): argument
234 observer.on_advertisement_lost(scanner_id, scan_result)
292 def on_scan_result(self, scan_result): argument
[all …]
/packages/modules/Bluetooth/floss/pandora/server/
Dhost.py468 def on_scan_result(self, scan_result): argument
469 … asyncio.run_coroutine_threadsafe(self.task['scan_results'].put(scan_result), self.loop)
489 scan_result = await scan['scan_results'].get()
492 response.tx_power = scan_result['tx_power']
493 response.rssi = scan_result['rssi']
494 response.sid = scan_result['advertising_sid']
495 response.periodic_advertising_interval = scan_result['periodic_adv_int']
497 if scan_result['primary_phy'] == floss_enums.LePhy.PHY1M:
499 elif scan_result['primary_phy'] == floss_enums.LePhy.PHY_CODED:
504 if scan_result['secondary_phy'] == floss_enums.LePhy.INVALID:
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/lib/
Dle_scanner.py26 from blueberry.tests.gd_sl4a.lib.bt_constants import scan_result
58 expected_event_name = scan_result.format(self.scan_callback)
80 expected_event_name = scan_result.format(self.scan_callback)
102 expected_event_name = scan_result.format(self.scan_callback)
148 expected_event_name = scan_result.format(1)
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/hci/
Dle_advanced_scanning_test.py28 …4a.lib.bt_constants import ble_scan_settings_modes, ble_address_types, scan_result, ble_scan_setti…
201 expected_event_name = scan_result.format(scan_callback)
273 expected_event_name = scan_result.format(scan_callback)
327 expected_event_name = scan_result.format(scan_callback)
381 expected_event_name = scan_result.format(scan_callback)
437 expected_event_name = scan_result.format(scan_callback)
510 expected_event_name = scan_result.format(scan_callback)
590 expected_event_name = scan_result.format(scan_callback)
695 expected_event_name = scan_result.format(scan_callback)
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/
Dgatt_connect_low_layer_test.py31 …4a.lib.bt_constants import ble_scan_settings_modes, ble_address_types, scan_result, ble_scan_setti…
182 expected_event_name = scan_result.format(scan_callback_token)
242 expected_event_name = scan_result.format(scan_callback_token)
322 expected_event_name = scan_result.format(scan_callback_token)
393 expected_event_name = scan_result.format(scan_callback_token)
486 expected_event_name = scan_result.format(scan_callback_token)
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/
Dgatt_connect_with_irk_test.py31 from blueberry.tests.gd_sl4a.lib.bt_constants import scan_result
119 expected_event_name = scan_result.format(scan_callback)
Dgatt_connect_test.py28 from blueberry.tests.gd_sl4a.lib.bt_constants import scan_result
937 expected_event_name = scan_result.format(scan_callback)
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/lib/
Dbt_constants.py55 scan_result = "BleScan{}onScanResults" variable
/packages/modules/Bluetooth/android/pandora/test/
Dasha_test.py261 scan_result = await self.dut_scan_for_asha(dut_address_type=RANDOM, ear=ear)
265 assert_in(ASHA_UUID, scan_result.data.service_data_uuid16)
266 assert_equal(type(scan_result.data.complete_local_name), str)
270 (scan_result.data.service_data_uuid16[ASHA_UUID]).hex(),
292 scan_result = await self.dut_scan_for_asha(dut_address_type=RANDOM, ear=Ear.LEFT)
296 assert_in(ASHA_UUID, scan_result.data.service_data_uuid16)
300 (scan_result.data.service_data_uuid16[ASHA_UUID]).hex(),
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcallbacks.rs428 fn on_scan_result(&mut self, scan_result: ScanResult) { in on_scan_result()
430 print_info!("Scan result: {:#?}", scan_result); in on_scan_result()
434 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_found()
436 print_info!("Advertisement found for scanner_id {} : {:#?}", scanner_id, scan_result); in on_advertisement_found()
440 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_lost()
442 print_info!("Advertisement lost for scanner_id {} : {:#?}", scanner_id, scan_result); in on_advertisement_lost()
Ddbus_iface.rs694 fn on_scan_result(&mut self, scan_result: ScanResult) { in on_scan_result()
699 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_found()
704 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_lost()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs296 fn on_scan_result(&mut self, scan_result: ScanResult) { in on_scan_result()
301 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_found()
306 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_lost()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs1130 fn on_scan_result(&mut self, scan_result: ScanResult); in on_scan_result()
1134 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult); in on_advertisement_found()
1140 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult); in on_advertisement_lost()
4119 let scan_result = ScanResult { in on_track_adv_found_lost() localVariable
4141 callback.on_advertisement_found(scanner_id, scan_result); in on_track_adv_found_lost()
4144 callback.on_advertisement_lost(scanner_id, scan_result); in on_track_adv_found_lost()
Dbluetooth.rs2135 fn on_scan_result(&mut self, scan_result: ScanResult) { in on_scan_result()
2140 scan_result, in on_scan_result()