Home
last modified time | relevance | path

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

123

/system/bt/vendor_libs/test_vendor_lib/packets/hci/test/
Devent_builder_test.cc49 uint8_t rssi = -93; in TEST() local
52 le_adv->AddLeAdvertisingReport(adv_type, addr_type, addr, {payload}, rssi); in TEST()
55 uint8_t event_size = payload_size + sizeof(Address) + sizeof(rssi) + 5; in TEST()
73 expected.push_back(rssi); in TEST()
84 uint8_t rssi = -93; in TEST() local
86 le_adv->AddLeAdvertisingReport(adv_type, addr_type, addr, count, rssi); in TEST()
89 uint8_t event_size = count_size + sizeof(Address) + sizeof(rssi) + 5; in TEST()
109 expected.push_back(rssi); in TEST()
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dinquiry_response_builder.h43 uint8_t rssi) { in CreateRssi() argument
45 … Inquiry::InquiryType::RSSI, page_scan_repetition_mode, class_of_device, clock_offset, rssi)); in CreateRssi()
49 uint16_t clock_offset, uint8_t rssi, in CreateExtended() argument
52 …iryType::EXTENDED, page_scan_repetition_mode, class_of_device, clock_offset, rssi, extended_data)); in CreateExtended()
97 … const ClassOfDevice& class_of_device, uint16_t clock_offset, uint8_t rssi) in InquiryResponseBuilder() argument
99 class_of_device_(class_of_device), clock_offset_(clock_offset), rssi_(rssi) {} in InquiryResponseBuilder()
101 … const ClassOfDevice& class_of_device, uint16_t clock_offset, uint8_t rssi, in InquiryResponseBuilder() argument
104 …class_of_device_(class_of_device), clock_offset_(clock_offset), rssi_(rssi), extended_data_(extend… in InquiryResponseBuilder()
/system/bt/service/common/bluetooth/
Dscan_result.cc25 const std::vector<uint8_t>& scan_record, int rssi) in ScanResult() argument
26 : device_address_(device_address), scan_record_(scan_record), rssi_(rssi) { in ScanResult()
Dremote_device_props.cc29 int32_t rssi) in RemoteDeviceProps() argument
35 rssi_(rssi) {} in RemoteDeviceProps()
Dscan_result.h31 const std::vector<uint8_t>& scan_record, int rssi);
43 int rssi() const { return rssi_; } in rssi() function
Dremote_device_props.h32 int32_t device_class, int32_t device_type, int32_t rssi);
42 int32_t rssi() const { return rssi_; } in rssi() function
/system/chre/apps/wifi_offload/test/
Dutility.cc50 void init_rssi(int8_t &rssi, RandomGenerator &rand_gen) { in init_rssi() argument
51 rssi = rand_gen.get<int8_t>(); in init_rssi()
52 if (rssi > 0) { in init_rssi()
53 rssi = -rssi; in init_rssi()
154 init_rssi(result.rssi, rand_gen); in init()
Dscanresult_test.cc36 EXPECT_EQ(chre_scan_result.rssi, nanoapp_scan_result.rssi_dbm_); in TEST()
/system/bt/include/hardware/
Dble_scanner.h43 int8_t rssi, uint16_t periodic_adv_int,
124 base::Callback<void(uint16_t sync_handle, int8_t tx_power, int8_t rssi,
/system/bt/stack/btm/
Dbtm_ble_gap.cc153 int8_t tx_power, int8_t rssi, uint16_t periodic_adv_int, uint8_t data_len,
1632 int8_t rssi, uint16_t periodic_adv_int, in btm_ble_update_inq_result() argument
1641 p_cur->rssi = rssi; in btm_ble_update_inq_result()
1774 int8_t rssi, tx_power; in btm_ble_process_ext_adv_pkt() local
1800 STREAM_TO_INT8(rssi, p); in btm_ble_process_ext_adv_pkt()
1813 if (rssi >= 21 && rssi <= 126) { in btm_ble_process_ext_adv_pkt()
1815 rssi); in btm_ble_process_ext_adv_pkt()
1823 secondary_phy, advertising_sid, tx_power, rssi, in btm_ble_process_ext_adv_pkt()
1837 int8_t rssi; in btm_ble_process_adv_pkt() local
1860 if (p > data + data_len - sizeof(rssi)) { in btm_ble_process_adv_pkt()
[all …]
Dbtm_inq.cc1618 uint8_t rssi = 0; in btm_process_inq_results() local
1654 STREAM_TO_UINT8(rssi, p); in btm_process_inq_results()
1681 i_rssi = (int8_t)rssi; in btm_process_inq_results()
1684 if (p_inq->inqparms.report_dup && (rssi != 0) && p_i && in btm_process_inq_results()
1685 (i_rssi > p_i->inq_info.results.rssi || in btm_process_inq_results()
1686 p_i->inq_info.results.rssi == 0 in btm_process_inq_results()
1691 BTM_TRACE_DEBUG("update RSSI new:%d, old:%d", i_rssi, p_cur->rssi); in btm_process_inq_results()
1692 p_cur->rssi = i_rssi; in btm_process_inq_results()
1726 p_i->inq_info.results.rssi = (int8_t)rssi; in btm_process_inq_results()
1728 p_i->inq_info.results.rssi = BTM_INQ_RES_IGNORE_RSSI; in btm_process_inq_results()
[all …]
/system/bt/service/
Dlow_energy_scanner.cc142 hal::BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, in ScanResultCallback() argument
156 ScanResult result(BtAddrString(&bda), scan_record, rssi); in ScanResultCallback()
Dlow_energy_scanner.h88 const RawAddress& bda, int rssi,
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h442 int8_t rssi; member
640 int8_t rssi; member
/system/chre/apps/chqts/src/general_test/
Dbasic_wifi_test.cc336 if (results[i].rssi >= 36) { in validateWifiScanResult()
338 results[i].rssi); in validateWifiScanResult()
/system/bt/tools/bdtool/
Dadapter.c245 int8_t rssi = property_as_rssi(property); in parse_properties() local
246 fprintf(stdout, " rssi:%d\n", rssi); in parse_properties()
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h442 int8_t rssi; member
640 int8_t rssi; member
/system/bt/btif/src/
Dbtif_ble_scanner.cc105 int8_t rssi, uint8_t addr_type, in bta_scan_results_cb_impl() argument
157 ble_tx_power, rssi, ble_periodic_adv_int, std::move(value)); in bta_scan_results_cb_impl()
187 r->rssi, r->ble_addr_type, r->ble_evt_type, in bta_scan_results_cb()
/system/bt/btcore/include/
Dproperty.h50 bt_property_t* property_new_rssi(const int8_t rssi);
/system/bt/service/test/
Dlow_energy_scanner_unittest.cc327 EXPECT_EQ(kTestRssi, delegate.last_scan_result().rssi()); in TEST_F()
334 EXPECT_EQ(kTestRssi, delegate.last_scan_result().rssi()); in TEST_F()
341 EXPECT_EQ(kTestRssi, delegate.last_scan_result().rssi()); in TEST_F()
/system/bt/binder/android/bluetooth/
DIBluetoothGattCallback.aidl38 void onReadRemoteRssi(in String address, in int rssi, in int status); in onReadRemoteRssi() argument
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Dle_meta_event_builder.cc100 const vector<uint8_t>& data, uint8_t rssi) { in AddLeAdvertisingReport() argument
112 CHECK(ad->AddOctets1(rssi)); in AddLeAdvertisingReport()
Dle_meta_event_builder.h58 const Address& addr, const std::vector<uint8_t>& data, uint8_t rssi);
/system/bt/test/suite/gatt/
Dgatt_test.h64 const RawAddress& bda, int rssi,
/system/bt/btcore/src/
Dproperty.cc106 bt_property_t* property_new_rssi(int8_t rssi) { in property_new_rssi() argument
107 return property_new_((void*)&rssi, sizeof(int8_t), BT_PROPERTY_REMOTE_RSSI); in property_new_rssi()

123