Home
last modified time | relevance | path

Searched refs:AdvertisingStatus (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_adv.rs6 use bt_topshim::profiles::gatt::{AdvertisingStatus, Gatt, GattAdvCallbacks, LeDiscMode, LePhy};
105 status: AdvertisingStatus, in on_advertising_set_started() argument
121 status: AdvertisingStatus, in on_advertising_enabled() argument
125 fn on_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus); in on_advertising_data_set() argument
129 fn on_scan_response_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus); in on_scan_response_data_set() argument
137 status: AdvertisingStatus, in on_advertising_parameters_updated() argument
145 status: AdvertisingStatus, in on_periodic_advertising_parameters_updated() argument
150 fn on_periodic_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus); in on_periodic_advertising_data_set() argument
158 status: AdvertisingStatus, in on_periodic_advertising_enabled() argument
1163 status: AdvertisingStatus, in on_advertising_set_started() argument
[all …]
Dbluetooth_gatt.rs9 AdvertisingStatus, AdvertisingTrackInfo, BtGattDbElement, BtGattNotifyParams, BtGattReadParams,
4156 status: AdvertisingStatus, in on_advertising_set_started() argument
4166 fn on_advertising_enabled(&mut self, adv_id: u8, enabled: bool, status: AdvertisingStatus) { in on_advertising_enabled() argument
4170 fn on_advertising_data_set(&mut self, adv_id: u8, status: AdvertisingStatus) { in on_advertising_data_set() argument
4174 fn on_scan_response_data_set(&mut self, adv_id: u8, status: AdvertisingStatus) { in on_scan_response_data_set() argument
4182 status: AdvertisingStatus, in on_advertising_parameters_updated() argument
4190 status: AdvertisingStatus, in on_periodic_advertising_parameters_updated() argument
4195 fn on_periodic_advertising_data_set(&mut self, adv_id: u8, status: AdvertisingStatus) { in on_periodic_advertising_data_set() argument
4203 status: AdvertisingStatus, in on_periodic_advertising_enabled() argument
/packages/modules/Bluetooth/system/gd/hci/
Dle_advertising_manager_test.cc242 …ingSetStarted, void(int reg_id, uint8_t advertiser_id, int8_t tx_power, AdvertisingStatus status));
277 OnAdvertisingSetStarted(0x00, _, 0x00, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in SetUp()
348 OnAdvertisingSetStarted(0x00, _, 0x00, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in SetUp()
406 OnAdvertisingSetStarted(0x00, _, 0x00, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in SetUp()
473 OnAdvertisingSetStarted(0x00, _, -23, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in SetUp()
553 OnAdvertisingSetStarted(0x00, _, 0x00, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in TEST_F()
594 OnAdvertisingSetStarted(0, _, 0, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in TEST_F()
638 OnAdvertisingSetStarted(0, _, 0, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in TEST_F()
691 OnAdvertisingSetStarted(0, _, -23, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in TEST_F()
751 OnAdvertisingSetStarted(0, _, -23, AdvertisingCallback::AdvertisingStatus::SUCCESS)) in TEST_F()
[all …]
Dle_advertising_manager.cc439 start_advertising_fail(reg_id, AdvertisingCallback::AdvertisingStatus::TOO_MANY_ADVERTISERS); in create_advertiser()
457 …reg_id, id, le_physical_channel_tx_power_, AdvertisingCallback::AdvertisingStatus::DATA_TOO_LARGE); in create_advertiser_with_id()
555 start_advertising_fail(reg_id, AdvertisingCallback::AdvertisingStatus::TOO_MANY_ADVERTISERS); in create_extended_advertiser()
593 …reg_id, id, le_physical_channel_tx_power_, AdvertisingCallback::AdvertisingStatus::DATA_TOO_LARGE); in create_extended_advertiser_with_id()
782 callback(kInvalidId, AdvertisingCallback::AdvertisingStatus::TOO_MANY_ADVERTISERS); in register_advertiser()
784 callback(id, AdvertisingCallback::AdvertisingStatus::SUCCESS); in register_advertiser()
1013 advertiser_id, AdvertisingCallback::AdvertisingStatus::DATA_TOO_LARGE); in set_data()
1016 advertiser_id, AdvertisingCallback::AdvertisingStatus::DATA_TOO_LARGE); in set_data()
1066 advertiser_id, AdvertisingCallback::AdvertisingStatus::INTERNAL_ERROR); in set_data()
1069 advertiser_id, AdvertisingCallback::AdvertisingStatus::INTERNAL_ERROR); in set_data()
[all …]
Dle_advertising_manager.h82 enum AdvertisingStatus { enum
93 int reg_id, uint8_t advertiser_id, int8_t tx_power, AdvertisingStatus status) = 0;
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_advertising_manager_facade.cc202 using ::blueberry::facade::hci::AdvertisingStatus;
415 int reg_id, uint8_t advertiser_id, int8_t /* tx_power */, AdvertisingStatus status) { in OnAdvertisingSetStarted()
423 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnAdvertisingSetStarted()
432 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnAdvertisingEnabled()
441 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnAdvertisingDataSet()
449 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnScanResponseDataSet()
458 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnAdvertisingParametersUpdated()
466 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnPeriodicAdvertisingParametersUpdated()
474 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnPeriodicAdvertisingDataSet()
482 msg.set_status(static_cast<facade::AdvertisingStatus>(status)); in OnPeriodicAdvertisingEnabled()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs2 use bt_topshim::profiles::gatt::{AdvertisingStatus, GattStatus, LeDiscMode, LePhy};
369 impl_dbus_arg_enum!(AdvertisingStatus);
486 status: AdvertisingStatus, in on_advertising_set_started() argument
506 status: AdvertisingStatus, in on_advertising_enabled() argument
512 fn on_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) { in on_advertising_data_set() argument
517 fn on_scan_response_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) { in on_scan_response_data_set() argument
526 status: AdvertisingStatus, in on_advertising_parameters_updated() argument
535 status: AdvertisingStatus, in on_periodic_advertising_parameters_updated() argument
541 fn on_periodic_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) { in on_periodic_advertising_data_set() argument
550 status: AdvertisingStatus, in on_periodic_advertising_enabled() argument
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/
Dle_advertising_manager_test.py32 from blueberry.facade.hci.le_advertising_manager_facade_pb2 import AdvertisingStatus
186 … create_response.advertiser_id, AdvertisingStatus.ADV_SUCCESS,
198 … create_response.advertiser_id, AdvertisingStatus.ADV_SUCCESS,
210 … create_response.advertiser_id, AdvertisingStatus.ADV_SUCCESS,
226 … create_response.advertiser_id, AdvertisingStatus.ADV_SUCCESS))
241 … create_response.advertiser_id, AdvertisingStatus.ADV_SUCCESS))
266 … create_response.advertiser_id, AdvertisingStatus.ADV_SUCCESS))
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dgatt.rs559 pub enum AdvertisingStatus { enum
568 impl From<u8> for AdvertisingStatus { implementation
570 match AdvertisingStatus::from_u8(item) { in from()
572 None => AdvertisingStatus::InternalError, in from()
1043 OnAdvertisingSetStarted(i32, u8, i8, AdvertisingStatus),
1046 OnAdvertisingEnabled(u8, bool, AdvertisingStatus),
1049 OnAdvertisingDataSet(u8, AdvertisingStatus),
1052 OnScanResponseDataSet(u8, AdvertisingStatus),
1055 OnAdvertisingParametersUpdated(u8, i8, AdvertisingStatus),
1058 OnPeriodicAdvertisingParametersUpdated(u8, AdvertisingStatus),
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcallbacks.rs14 use bt_topshim::profiles::gatt::{AdvertisingStatus, GattStatus, LePhy};
549 status: AdvertisingStatus, in on_advertising_set_started() argument
560 if status != AdvertisingStatus::Success { in on_advertising_set_started()
592 status: AdvertisingStatus, in on_advertising_enabled() argument
602 fn on_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) { in on_advertising_data_set() argument
610 fn on_scan_response_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) { in on_scan_response_data_set() argument
622 status: AdvertisingStatus, in on_advertising_parameters_updated() argument
635 status: AdvertisingStatus, in on_periodic_advertising_parameters_updated() argument
644 fn on_periodic_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) { in on_periodic_advertising_data_set() argument
656 status: AdvertisingStatus, in on_periodic_advertising_enabled() argument
Ddbus_iface.rs12 use bt_topshim::profiles::gatt::{AdvertisingStatus, GattStatus, LeDiscMode, LePhy};
84 impl_dbus_arg_enum!(AdvertisingStatus);
1241 status: AdvertisingStatus, in on_advertising_set_started() argument
1256 status: AdvertisingStatus, in on_advertising_enabled() argument
1261 fn on_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) {} in on_advertising_data_set() argument
1264 fn on_scan_response_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) {} in on_scan_response_data_set() argument
1271 status: AdvertisingStatus, in on_advertising_parameters_updated() argument
1279 status: AdvertisingStatus, in on_periodic_advertising_parameters_updated() argument
1284 fn on_periodic_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus) {} in on_periodic_advertising_data_set() argument
1291 status: AdvertisingStatus, in on_periodic_advertising_enabled() argument
/packages/modules/Bluetooth/system/blueberry/facade/hci/
Dle_advertising_manager_facade.proto48 enum AdvertisingStatus { enum
172 AdvertisingStatus status = 3;
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dstate_machine.cc158 bluetooth::hci::AdvertisingCallback::AdvertisingStatus::SUCCESS) { in OnCreateAnnouncement()
175 bluetooth::hci::AdvertisingCallback::AdvertisingStatus::SUCCESS) { in OnEnableAnnouncement()
/packages/modules/Bluetooth/system/main/shim/
Dle_advertising_manager.cc235 AdvertisingStatus status) override { in OnAdvertisingSetStarted()
/packages/modules/Bluetooth/system/gd/security/
Dfacade.cc273 AdvertisingStatus /* status */) { in OnAdvertisingSetStarted() argument