/system/bt/vendor_libs/test_vendor_lib/packets/hci/test/ |
D | event_builder_test.cc | 49 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/ |
D | inquiry_response_builder.h | 43 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/ |
D | scan_result.cc | 25 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()
|
D | remote_device_props.cc | 29 int32_t rssi) in RemoteDeviceProps() argument 35 rssi_(rssi) {} in RemoteDeviceProps()
|
D | scan_result.h | 31 const std::vector<uint8_t>& scan_record, int rssi); 43 int rssi() const { return rssi_; } in rssi() function
|
D | remote_device_props.h | 32 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/ |
D | utility.cc | 50 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()
|
D | scanresult_test.cc | 36 EXPECT_EQ(chre_scan_result.rssi, nanoapp_scan_result.rssi_dbm_); in TEST()
|
/system/bt/include/hardware/ |
D | ble_scanner.h | 43 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/ |
D | btm_ble_gap.cc | 153 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 …]
|
D | btm_inq.cc | 1618 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/ |
D | low_energy_scanner.cc | 142 hal::BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, in ScanResultCallback() argument 156 ScanResult result(BtAddrString(&bda), scan_record, rssi); in ScanResultCallback()
|
D | low_energy_scanner.h | 88 const RawAddress& bda, int rssi,
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | wifi.h | 442 int8_t rssi; member 640 int8_t rssi; member
|
/system/chre/apps/chqts/src/general_test/ |
D | basic_wifi_test.cc | 336 if (results[i].rssi >= 36) { in validateWifiScanResult() 338 results[i].rssi); in validateWifiScanResult()
|
/system/bt/tools/bdtool/ |
D | adapter.c | 245 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/ |
D | wifi.h | 442 int8_t rssi; member 640 int8_t rssi; member
|
/system/bt/btif/src/ |
D | btif_ble_scanner.cc | 105 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/ |
D | property.h | 50 bt_property_t* property_new_rssi(const int8_t rssi);
|
/system/bt/service/test/ |
D | low_energy_scanner_unittest.cc | 327 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/ |
D | IBluetoothGattCallback.aidl | 38 void onReadRemoteRssi(in String address, in int rssi, in int status); in onReadRemoteRssi() argument
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | le_meta_event_builder.cc | 100 const vector<uint8_t>& data, uint8_t rssi) { in AddLeAdvertisingReport() argument 112 CHECK(ad->AddOctets1(rssi)); in AddLeAdvertisingReport()
|
D | le_meta_event_builder.h | 58 const Address& addr, const std::vector<uint8_t>& data, uint8_t rssi);
|
/system/bt/test/suite/gatt/ |
D | gatt_test.h | 64 const RawAddress& bda, int rssi,
|
/system/bt/btcore/src/ |
D | property.cc | 106 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()
|