Home
last modified time | relevance | path

Searched refs:tx_phy (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/
Dgatt_shim.cc30 void ReadPhyCallback(int client_if, RawAddress addr, uint8_t tx_phy, uint8_t rx_phy, in ReadPhyCallback() argument
32 bluetooth::topshim::rust::read_phy_callback(client_if, addr, tx_phy, rx_phy, status); in ReadPhyCallback()
35 void ServerReadPhyCallback(int server_if, RawAddress addr, uint8_t tx_phy, uint8_t rx_phy, in ServerReadPhyCallback() argument
37 bluetooth::topshim::rust::server_read_phy_callback(server_if, addr, tx_phy, rx_phy, status); in ServerReadPhyCallback()
/packages/modules/Bluetooth/floss/pandora/floss/
Dgatt_client.py49 def on_phy_update(self, addr, tx_phy, rx_phy, status): argument
60 def on_phy_read(self, addr, tx_phy, rx_phy, status): argument
306 def OnPhyUpdate(self, addr, tx_phy, rx_phy, status): argument
316 observer.on_phy_update(addr, tx_phy, rx_phy, status)
318 def OnPhyRead(self, addr, tx_phy, rx_phy, status): argument
328 observer.on_phy_read(addr, tx_phy, rx_phy, status)
505 def on_phy_update(self, addr, tx_phy, rx_phy, status): argument
514 …logging.debug('on_phy_update: addr: %s, tx_phy: %s, rx_phy: %s, status: %s', addr, tx_phy, rx_phy,…
517 def on_phy_read(self, addr, tx_phy, rx_phy, status): argument
526 …logging.debug('on_phy_read: addr: %s, tx_phy: %s, rx_phy: %s, status: %s', addr, tx_phy, rx_phy, s…
[all …]
Dgatt_server.py153 def on_phy_update(self, addr, tx_phy, rx_phy, status): argument
164 def on_phy_read(self, addr, tx_phy, rx_phy, status): argument
500 def OnPhyUpdate(self, addr, tx_phy, rx_phy, status): argument
510 observer.on_phy_update(addr, tx_phy, rx_phy, status)
512 def OnPhyRead(self, addr, tx_phy, rx_phy, status): argument
522 observer.on_phy_read(addr, tx_phy, rx_phy, status)
1260 def on_phy_update(self, addr, tx_phy, rx_phy, status): argument
1269 …ebug('on_phy_update: device address: %s, tx_phy: %s, rx_phy: %s, status: %s', addr, tx_phy, rx_phy,
1273 def on_phy_read(self, addr, tx_phy, rx_phy, status): argument
1282 ….debug('on_phy_read: device address: %s, tx_phy: %s, rx_phy: %s, status: %s', addr, tx_phy, rx_phy,
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble.cc137 static void read_phy_cb(base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb, in read_phy_cb() argument
139 uint8_t status, tx_phy, rx_phy; in read_phy_cb() local
147 STREAM_TO_UINT8(tx_phy, pp); in read_phy_cb()
150 cb.Run(tx_phy, rx_phy, status); in read_phy_cb()
164 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb) { in BTM_BleReadPhy() argument
/packages/modules/Bluetooth/system/btif/src/
Dbtif_gatt_server.cc250 p_data->phy_update.tx_phy, p_data->phy_update.rx_phy, p_data->phy_update.status); in btapp_gatts_handle_cback()
426 static bt_status_t btif_gatts_set_preferred_phy(const RawAddress& bd_addr, uint8_t tx_phy, in btif_gatts_set_preferred_phy() argument
430 [](const RawAddress& bd_addr, uint8_t tx_phy, uint8_t rx_phy, uint16_t phy_options) { in btif_gatts_set_preferred_phy() argument
431 get_btm_client_interface().ble.BTM_BleSetPhy(bd_addr, tx_phy, rx_phy, phy_options); in btif_gatts_set_preferred_phy()
433 bd_addr, tx_phy, rx_phy, phy_options)); in btif_gatts_set_preferred_phy()
439 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb) { in btif_gatts_read_phy() argument
Dbtif_gatt_client.cc230 p_data->phy_update.tx_phy, p_data->phy_update.rx_phy, p_data->phy_update.status); in btif_gattc_upstreams_evt()
636 static bt_status_t btif_gattc_set_preferred_phy(const RawAddress& bd_addr, uint8_t tx_phy, in btif_gattc_set_preferred_phy() argument
640 [](const RawAddress& bd_addr, uint8_t tx_phy, uint8_t rx_phy, uint16_t phy_options) { in btif_gattc_set_preferred_phy() argument
641 get_btm_client_interface().ble.BTM_BleSetPhy(bd_addr, tx_phy, rx_phy, phy_options); in btif_gattc_set_preferred_phy()
643 bd_addr, tx_phy, rx_phy, phy_options)); in btif_gattc_set_preferred_phy()
649 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb) { in btif_gattc_read_phy() argument
/packages/modules/Bluetooth/system/include/hardware/
Dbt_gatt_server.h106 typedef void (*phy_updated_callback)(int conn_id, uint8_t tx_phy, uint8_t rx_phy, uint8_t status);
170 bt_status_t (*set_preferred_phy)(const RawAddress& bd_addr, uint8_t tx_phy, uint8_t rx_phy,
174 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb);
Dbt_gatt_client.h157 typedef void (*phy_updated_callback)(int conn_id, uint8_t tx_phy, uint8_t rx_phy, uint8_t status);
272 bt_status_t (*set_preferred_phy)(const RawAddress& bd_addr, uint8_t tx_phy, uint8_t rx_phy,
276 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb);
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs57 tx_phy: LePhy, in on_phy_update()
65 fn on_phy_read(&mut self, addr: RawAddress, tx_phy: LePhy, rx_phy: LePhy, status: GattStatus) { in on_phy_read()
247 tx_phy: LePhy, in on_phy_update()
255 fn on_phy_read(&mut self, addr: RawAddress, tx_phy: LePhy, rx_phy: LePhy, status: GattStatus) { in on_phy_read()
896 tx_phy: LePhy, in client_set_preferred_phy()
986 tx_phy: LePhy, in server_set_preferred_phy()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gatts_act.cc53 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint8_t tx_phy,
598 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, tCONN_ID conn_id, uint8_t tx_phy, in bta_gatts_phy_update_cback() argument
609 cb_data.phy_update.tx_phy = tx_phy; in bta_gatts_phy_update_cback()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs613 tx_phy: LePhy, in client_set_preferred_phy()
681 tx_phy: LePhy, in server_set_preferred_phy()
1093 fn on_phy_update(&mut self, addr: RawAddress, tx_phy: LePhy, rx_phy: LePhy, status: GattStatus); in on_phy_update()
1096 fn on_phy_read(&mut self, addr: RawAddress, tx_phy: LePhy, rx_phy: LePhy, status: GattStatus); in on_phy_read()
2552 tx_phy: LePhy, in client_set_preferred_phy()
2563 tx_phy.to_u8().unwrap(), in client_set_preferred_phy()
2715 tx_phy: LePhy, in server_set_preferred_phy()
2721 tx_phy.to_u8().unwrap_or_default(), in server_set_preferred_phy()
2803 fn phy_updated_cb(&mut self, conn_id: i32, tx_phy: u8, rx_phy: u8, status: GattStatus); in phy_updated_cb()
2823 tx_phy: u8, in read_phy_cb()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/CEN/
DBV_43_C.py133 tx_phy=hci.PhyType.LE_1M,
249 tx_phy=phy_from_mask(next_phy_c_to_p),
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcallbacks.rs746 tx_phy: LePhy, in on_phy_update()
753 tx_phy, in on_phy_update()
759 fn on_phy_read(&mut self, addr: RawAddress, tx_phy: LePhy, rx_phy: LePhy, status: GattStatus) { in on_phy_read()
763 tx_phy, in on_phy_read()
1100 tx_phy: LePhy, in on_phy_update()
1107 tx_phy, in on_phy_update()
1113 fn on_phy_read(&mut self, addr: RawAddress, tx_phy: LePhy, rx_phy: LePhy, status: GattStatus) { in on_phy_read()
1117 tx_phy, in on_phy_read()
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/PER/
DBV_42_C.py110 tx_phy=hci.PhyType.LE_2M,
252 tx_phy=phy_from_mask(next_phy_p_to_c),
DBV_40_C.py244 tx_phy=phy_from_mask(next_phy_p_to_c),
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_ble.h120 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> callback)>
122 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)>
125 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> callback) { in operator()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_connection_management_callbacks_mock.h50 MOCK_METHOD(void, OnPhyUpdate, (hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy),
Dle_connection_management_callbacks.h40 virtual void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) = 0;
Dle_acl_connection.cc87 void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) override { in OnPhyUpdate() argument
88 SAVE_OR_CALL(OnPhyUpdate, hci_status, tx_phy, rx_phy); in OnPhyUpdate()
/packages/modules/Bluetooth/system/stack/include/
Dbtm_ble_api.h325 base::Callback<void(uint8_t tx_phy, uint8_t rx_phy, uint8_t status)> cb);
/packages/modules/Bluetooth/system/main/shim/
Dacl_interface.cc24 void gatt_notify_phy_updated(tHCI_STATUS status, uint16_t handle, uint8_t tx_phy, uint8_t rx_phy);
Dacl_interface.h99 void (*on_phy_update)(tHCI_STATUS status, uint16_t handle, uint8_t tx_phy, uint8_t rx_phy);
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_gatt.cpp505 static void btgattc_phy_updated_cb(int conn_id, uint8_t tx_phy, uint8_t rx_phy, uint8_t status) { in btgattc_phy_updated_cb() argument
512 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onClientPhyUpdate, conn_id, tx_phy, rx_phy, in btgattc_phy_updated_cb()
777 static void btgatts_phy_updated_cb(int conn_id, uint8_t tx_phy, uint8_t rx_phy, uint8_t status) { in btgatts_phy_updated_cb() argument
784 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onServerPhyUpdate, conn_id, tx_phy, rx_phy, in btgatts_phy_updated_cb()
1343 jstring address, jint tx_phy, jint rx_phy, in gattClientSetPreferredPhyNative() argument
1348 sGattIf->client->set_preferred_phy(str2addr(env, address), tx_phy, rx_phy, phy_options); in gattClientSetPreferredPhyNative()
1351 static void readClientPhyCb(uint8_t clientIf, RawAddress bda, uint8_t tx_phy, uint8_t rx_phy, in readClientPhyCb() argument
1362 tx_phy, rx_phy, status); in readClientPhyCb()
2066 jstring address, jint tx_phy, jint rx_phy, in gattServerSetPreferredPhyNative() argument
2072 sGattIf->server->set_preferred_phy(bda, tx_phy, rx_phy, phy_options); in gattServerSetPreferredPhyNative()
[all …]
/packages/modules/Bluetooth/system/bta/include/
Dbta_gatt_api.h215 uint8_t tx_phy; member
396 uint8_t tx_phy; member
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dgatt.rs127 fn read_phy_callback(client_if: i32, addr: RawAddress, tx_phy: u8, rx_phy: u8, status: u8); in read_phy_callback()
132 tx_phy: u8, in server_read_phy_callback()
1399 tx_phy: u8, in set_preferred_phy()
1403 BtStatus::from(ccall!(self, set_preferred_phy, addr, tx_phy, rx_phy, phy_options)) in set_preferred_phy()
1529 tx_phy: u8, in set_preferred_phy()
1533 BtStatus::from(ccall!(self, set_preferred_phy, addr, tx_phy, rx_phy, phy_options)) in set_preferred_phy()

12