Home
last modified time | relevance | path

Searched refs:is_legacy (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_adv.rs37 pub is_legacy: bool, field
222 if self.is_legacy { in into()
363 pub fn validate_raw_data(is_legacy: bool, bytes: &Vec<u8>) -> bool { in validate_raw_data()
364 bytes.len() <= if is_legacy { LEGACY_ADV_DATA_LEN_MAX } else { EXT_ADV_DATA_LEN_MAX } in validate_raw_data()
369 if parameters.is_legacy && !AdvertiseData::validate_raw_data(true, adv_bytes) { in can_upgrade()
371 parameters.is_legacy = false; in can_upgrade()
523 fn is_legacy(&self) -> bool { in is_legacy() method
912 let is_legacy = in start_advertising_set() localVariable
913 parameters.is_legacy && !AdvertiseData::can_upgrade(&mut parameters, &adv_bytes); in start_advertising_set()
915 if !AdvertiseData::validate_raw_data(is_legacy, &adv_bytes) { in start_advertising_set()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dbt_adv.rs29 pub(crate) fn new(is_legacy: bool) -> Self { in new()
34 is_legacy, in new()
Ddbus_iface.rs1304 is_legacy: bool, field
/packages/modules/Bluetooth/system/gd/hci/
Dle_scanning_reassembler.cc45 bool is_legacy = event_type & (1 << kLegacyBit); in ProcessAdvertisingReport() local
65 if (is_legacy && !is_scan_response) { in ProcessAdvertisingReport()
Dle_advertising_manager.cc81 bool is_legacy = false; member
800 advertising_sets_[advertiser_id].is_legacy = config.legacy_pdus; in set_parameters()
1079 advertising_sets_[advertiser_id].is_legacy) in set_data()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dpy_hal.py53 def __init__(self, handle, py_hal, is_legacy): argument
56 self.legacy = is_legacy
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_gap.cc2152 bool is_legacy = ble_evt_type_is_legacy(evt_type); in btm_ble_process_adv_pkt_cont() local
2159 if (is_legacy && is_scan_resp && !cache.Exist(addr_type, bda)) return; in btm_ble_process_adv_pkt_cont()
2161 bool is_start = is_legacy && is_scannable && !is_scan_resp; in btm_ble_process_adv_pkt_cont()
2163 if (is_legacy) AdvertiseDataParser::RemoveTrailingZeros(tmp); in btm_ble_process_adv_pkt_cont()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs566 is_legacy: bool, field
/packages/modules/Connectivity/service/src/com/android/metrics/
Dstats.proto32 optional bool is_legacy = 1; field
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dlink_layer_controller.cc4016 bool is_legacy = connections_.IsLegacyScoConnection(address); in IncomingScoConnectionResponse() local
4037 if (is_legacy) { in IncomingScoConnectionResponse()
4054 if (is_legacy) { in IncomingScoConnectionResponse()