Home
last modified time | relevance | path

Searched refs:GetPeripheralDevice (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_ble_central_manager_server.cpp89 GetEncryptAddr(result.GetPeripheralDevice().GetRawAddress().GetAddress()).c_str()); in OnScanCallback()
137 if (iter->GetPeripheralDevice().IsRSSI()) { in OnBleBatchScanResultsEvent()
138 bleScanResult.SetRssi(iter->GetPeripheralDevice().GetRSSI()); in OnBleBatchScanResultsEvent()
141 bleScanResult.SetAdvertiseFlag(iter->GetPeripheralDevice().GetAdFlag()); in OnBleBatchScanResultsEvent()
143 if (iter->GetPeripheralDevice().IsManufacturerData()) { in OnBleBatchScanResultsEvent()
150 bleScanResult.SetConnectable(iter->GetPeripheralDevice().IsConnectable()); in OnBleBatchScanResultsEvent()
152 if (iter->GetPeripheralDevice().IsServiceUUID()) { in OnBleBatchScanResultsEvent()
153 std::vector<Uuid> uuids = iter->GetPeripheralDevice().GetServiceUUID(); in OnBleBatchScanResultsEvent()
159 if (iter->GetPeripheralDevice().IsServiceData()) { in OnBleBatchScanResultsEvent()
171 bleScanResult.SetPayload(std::string(iter->GetPeripheralDevice().GetPayload(), in OnBleBatchScanResultsEvent()
[all …]
H A Dbluetooth_ble_filter_matcher.cpp74 std::string resultAdderss = result.GetPeripheralDevice().GetAddress(); in MatchesAddress()
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dble_parcel_data.cpp23 const auto &device = other.GetPeripheralDevice(); in ScanResult()
H A Dble_parcel_data.h489 const RawAddress &GetPeripheralDevice() const in GetPeripheralDevice() function
H A Dble_service_data.h1281 BlePeripheralDevice GetPeripheralDevice() const;
H A Dble_service_data.cpp1570 BlePeripheralDevice BleScanResultImpl::GetPeripheralDevice() const in GetPeripheralDevice() function in OHOS::bluetooth::BleScanResultImpl
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_ble_central_manager.cpp74 … BluetoothRemoteDevice device(tempResult.GetPeripheralDevice().GetAddress(), BT_TRANSPORT_BLE); in OnScanCallback()
79 std::string address = result.GetPeripheralDevice().GetAddress(); in OnScanCallback()
114 … BluetoothRemoteDevice device(result.GetPeripheralDevice().GetAddress(), BT_TRANSPORT_BLE); in OnBleBatchScanResultsEvent()
558 BluetoothRemoteDevice BleScanResult::GetPeripheralDevice() const in GetPeripheralDevice() function in OHOS::Bluetooth::BleScanResult
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_central_manager_impl.cpp1678 if (!address.compare(value.GetPeripheralDevice().GetRawAddress().GetAddress())) { in GetDeviceType()
1679 return value.GetPeripheralDevice().GetDeviceType(); in GetDeviceType()
1691 if (!address.compare(value.GetPeripheralDevice().GetRawAddress().GetAddress())) { in GetDeviceAddrType()
1692 return value.GetPeripheralDevice().GetAddressType(); in GetDeviceAddrType()
1704 if (!address.compare(value.GetPeripheralDevice().GetRawAddress().GetAddress())) { in GetDeviceName()
1705 return value.GetPeripheralDevice().GetName(); in GetDeviceName()
1716 if (!address.compare(it->GetPeripheralDevice().GetRawAddress().GetAddress())) { in FindDevice()
1717 dev = it->GetPeripheralDevice(); in FindDevice()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble_central_manager_callback.cpp53 … env, bleScanResult.GetPeripheralDevice().GetDeviceAddr().c_str(), NAPI_AUTO_LENGTH, &value); in ConvertScanResult()
198 …HILOGD("enter, remote device address: %{public}s", GET_ENCRYPT_ADDR(result.GetPeripheralDevice())); in OnScanCallback()
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dlocator_required_data_manager.cpp167 btData->SetMac(result.GetPeripheralDevice().GetDeviceAddr()); in GetLocatingRequiredDataByBle()
168 btData->SetDeviceName(result.GetPeripheralDevice().GetDeviceName()); in GetLocatingRequiredDataByBle()
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_ble_central_manager.h94 BluetoothRemoteDevice GetPeripheralDevice() const;
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt.cpp101 GetAddrFromString(result.GetPeripheralDevice().GetDeviceAddr(), scanResult.addr.addr); in OnScanCallback()
114 string address = result.GetPeripheralDevice().GetDeviceAddr(); in OnScanCallback()