Home
last modified time | relevance | path

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

/system/bt/binder/android/bluetooth/le/
DIAdvertisingSetCallback.aidl23 void onAdvertisingSetStarted(in int advertiserId, in int tx_power, in int status); in onAdvertisingSetStarted() argument
29 void onAdvertisingParametersUpdated(in int advertiserId, in int tx_power, in int status); in onAdvertisingParametersUpdated() argument
/system/bt/gd/hci/facade/
Dle_advertising_manager_facade.cc88 if (config_proto.tx_power() > UINT8_MAX || config_proto.tx_power() < 0) { in AdvertisingConfigFromProto()
89 LOG_WARN("Bad tx_power: %d", config_proto.tx_power()); in AdvertisingConfigFromProto()
95 config->tx_power = static_cast<uint8_t>(config_proto.tx_power()); in AdvertisingConfigFromProto()
Dle_advertising_manager_facade.proto47 int32 tx_power = 12; field
/system/bt/stack/btm/
Dble_advertiser_hci_interface.cc83 int8_t tx_power; in parameters_response_parser() local
87 STREAM_TO_INT8(tx_power, pp); in parameters_response_parser()
89 cb.Run(status, tx_power); in parameters_response_parser()
92 void known_tx_pwr(BleAdvertiserHciInterface::parameters_cb cb, int8_t tx_power, in known_tx_pwr() argument
94 cb.Run(status, tx_power); in known_tx_pwr()
120 uint8_t filter_policy, int8_t tx_power, in SetParameters() argument
154 INT8_TO_STREAM(pp, tx_power); in SetParameters()
158 base::Bind(&known_tx_pwr, std::move(command_complete), tx_power)); in SetParameters()
349 uint8_t filter_policy, int8_t tx_power, in SetParameters() argument
539 uint8_t filter_policy, int8_t tx_power, in SetParameters() argument
[all …]
Dbtm_ble_multi_adv.cc65 int8_t tx_power; member
96 tx_power(0), in AdvertisingInstance()
314 [](c_type c, uint8_t status, int8_t tx_power) { in StartAdvertising() argument
326 c->self->adv_inst[c->inst_id].tx_power = tx_power; in StartAdvertising()
417 [](c_type c, uint8_t status, int8_t tx_power) { in StartAdvertisingSet() argument
430 c->self->adv_inst[c->inst_id].tx_power = tx_power; in StartAdvertisingSet()
584 int8_t tx_power = c->self->adv_inst[c->inst_id].tx_power; in StartAdvertisingSetFinish() local
585 c->cb.Run(c->inst_id, tx_power, status); in StartAdvertisingSetFinish()
692 p_inst->tx_power = p_params->tx_power; in SetParameters()
704 p_params->adv_filter_policy, p_inst->tx_power, in SetParameters()
[all …]
Dble_advertiser_hci_interface.h59 const RawAddress& peer_address, uint8_t filter_policy, int8_t tx_power,
Dbtm_ble_int_types.h151 int8_t tx_power; member
Dbtm_ble_gap.cc169 uint8_t advertising_sid, int8_t tx_power,
1545 uint8_t advertising_sid, int8_t tx_power, in btm_ble_update_inq_result() argument
1559 p_cur->ble_tx_power = tx_power; in btm_ble_update_inq_result()
1689 int8_t rssi, tx_power; in btm_ble_process_ext_adv_pkt() local
1714 STREAM_TO_INT8(tx_power, p); in btm_ble_process_ext_adv_pkt()
1738 secondary_phy, advertising_sid, tx_power, rssi, in btm_ble_process_ext_adv_pkt()
1829 uint8_t advertising_sid, int8_t tx_power, in btm_ble_process_adv_pkt_cont() argument
1919 secondary_phy, advertising_sid, tx_power, rssi, in btm_ble_process_adv_pkt_cont()
Dbtm_ble_batchscan.cc95 STREAM_TO_UINT8(adv_data.tx_power, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
Dbtm_acl.cc2033 STREAM_TO_UINT8(result.tx_power, p); in btm_read_tx_power_complete()
2043 STREAM_TO_UINT8(result.tx_power, p); in btm_read_tx_power_complete()
2047 result.tx_power, result.hci_status); in btm_read_tx_power_complete()
Dbtm_inq.cc2052 STREAM_TO_UINT8(result.tx_power, p); in btm_read_inq_tx_power_complete()
2055 result.tx_power, result.hci_status); in btm_read_inq_tx_power_complete()
/system/bt/include/hardware/
Dble_scanner.h42 uint8_t advertising_sid, int8_t tx_power,
124 base::Callback<void(uint16_t sync_handle, int8_t tx_power, int8_t rssi,
Dbt_common_types.h37 uint8_t tx_power; member
Dble_advertiser.h31 int8_t tx_power; member
/system/bt/service/
Dlow_energy_advertiser.cc68 int8_t GetAdvertisingTxPower(AdvertiseSettings::TxPowerLevel tx_power) { in GetAdvertisingTxPower() argument
71 switch (tx_power) { in GetAdvertisingTxPower()
110 out_params->tx_power = GetAdvertisingTxPower(settings.tx_power_level()); in GetAdvertiseParams()
/system/bt/stack/test/
Dble_advertiser_test.cc123 uint8_t filter_policy, int8_t tx_power, in SetParameters() argument
131 SetParameters2(filter_policy, tx_power, primary_phy, secondary_max_skip, in SetParameters()
184 void SetParametersCb(uint8_t status, int8_t tx_power) { in SetParametersCb() argument
190 void StartAdvertisingSetCb(uint8_t advertiser_id, int8_t tx_power, in StartAdvertisingSetCb() argument
193 start_advertising_set_tx_power = tx_power; in StartAdvertisingSetCb()
312 params.tx_power = -15; in TEST_F()
315 EXPECT_CALL(*hci_mock, SetParameters2(_, params.tx_power, _, _, _, _, _, _)) in TEST_F()
334 0x0A /* tx_power */, static_cast<uint8_t>(params.tx_power)}; in TEST_F()
361 params.tx_power = -15; in TEST_F()
365 SetParameters2(_, (uint8_t)params.tx_power, _, _, _, _, _, _)) in TEST_F()
/system/bt/gd/hci/
Dle_advertising_manager.h38 uint8_t tx_power; // -127 to +20 (0x7f is no preference) variable
Dle_advertising_manager.cc226 config.tx_power), in create_advertiser()
299 config.tx_power, config.sid, config.enable_scan_request_notifications), in create_extended_advertiser()
310 … config.tx_power, (config.use_le_coded_phy ? PrimaryPhyType::LE_CODED : PrimaryPhyType::LE_1M), in create_extended_advertiser()
Dhci_packets.pdl1977 tx_power : 8, // (-70dBm to 20dBm)
1981 tx_power : 8,
3737 tx_power : 8,
4374 tx_power : 8,
/system/bt/btif/src/
Dbtif_ble_advertiser.cc69 p_params->tx_power = params.tx_power; in parseParams()
Dbtif_a2dp_source.cc1394 result->hci_status, result->tx_power); in btm_read_tx_power_cb()
1397 result->rem_bda.ToString().c_str(), result->tx_power); in btm_read_tx_power_cb()
/system/bt/stack/include/
Dble_advertiser.h51 int8_t tx_power; member
Dbtm_api_types.h645 int8_t tx_power; member
665 int8_t tx_power; member
/system/bt/main/shim/
Dbtm.cc64 int8_t tx_power, int8_t rssi, uint16_t periodic_adv_int, uint8_t data_len,
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.cc731 uint8_t tx_power = 20; // maximum in ReadInquiryResponseTransmitPowerLevel() local
734 Create(kNumCommandPackets, ErrorCode::SUCCESS, tx_power); in ReadInquiryResponseTransmitPowerLevel()