Home
last modified time | relevance | path

Searched refs:SetDevicePasskey (Results 1 - 16 of 16) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_adapter.h231 virtual bool SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const = 0;
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_remote_device.h291 bool SetDevicePasskey(int passkey, bool accept);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_security.h49 int SetDevicePasskey(const RawAddress &device, int passkey, int accept) const;
H A Dble_adapter.h113 bool SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const override;
H A Dble_adapter.cpp799 bool BleAdapter::SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const in SetDevicePasskey() function in OHOS::bluetooth::BleAdapter
805 LOG_ERROR("[BleAdapter] %{public}s:SetDevicePasskey failed!", __func__); in SetDevicePasskey()
810 LOG_ERROR("[BleAdapter] %{public}s:SetDevicePasskey failed, because of invalid bt address!", __func__); in SetDevicePasskey()
816 LOG_ERROR("[BleAdapter] %{public}s:SetDevicePasskey failed, because of address not exist!", __func__); in SetDevicePasskey()
822 ret = pimpl->bleSecurity_->SetDevicePasskey(device, passkey, GAP_NOT_ACCEPT); in SetDevicePasskey()
824 ret = pimpl->bleSecurity_->SetDevicePasskey(device, passkey, GAP_ACCEPT); in SetDevicePasskey()
827 LOG_ERROR("[BleAdapter] %{public}s:SetDevicePasskey failed!", __func__); in SetDevicePasskey()
H A Dble_security.cpp908 int BleSecurity::SetDevicePasskey(const RawAddress &device, int passkey, int accept) const in SetDevicePasskey() function in OHOS::bluetooth::BleSecurity
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp299 bool BluetoothRemoteDevice::SetDevicePasskey(int passkey, bool accept) in SetDevicePasskey() function in OHOS::Bluetooth::BluetoothRemoteDevice
305 return hostProxy->SetDevicePasskey(transport_, address_, passkey, accept); in SetDevicePasskey()
/foundation/communication/bluetooth_service/test/unittest/host/
H A Dhost_test.cpp759 EXPECT_FALSE(device_.SetDevicePasskey(123456, true)); in HWTEST_F()
760 EXPECT_FALSE(device_.SetDevicePasskey(123456, false)); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_host.h115 virtual bool SetDevicePasskey(int32_t transport, const std::string &address, int32_t passkey, bool accept) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_host_server.h109 bool SetDevicePasskey(int32_t transport, const std::string &address, int32_t passkey, bool accept) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_host_proxy.h90 bool SetDevicePasskey(int32_t transport, const std::string &address, int32_t passkey, bool accept) override;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter.h197 bool SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const override;
H A Dclassic_adapter.cpp1253 SetDevicePasskey(device, passkey, accept); in UserConfirmAutoReply()
1960 bool ClassicAdapter::SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const in SetDevicePasskey() function in OHOS::bluetooth::ClassicAdapter
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp1595 bool BluetoothHostServer::SetDevicePasskey(int32_t transport, const std::string &address, int32_t passkey, bool accept) in SetDevicePasskey() function in OHOS::Bluetooth::BluetoothHostServer
1607 return classicService->SetDevicePasskey(addr, passkey, accept); in SetDevicePasskey()
1609 return bleService->SetDevicePasskey(addr, passkey, accept); in SetDevicePasskey()
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_host_proxy.cpp1265 bool BluetoothHostProxy::SetDevicePasskey(int32_t transport, const std::string &address, int32_t passkey, bool accept) in SetDevicePasskey() function in OHOS::Bluetooth::BluetoothHostProxy
1269 HILOGE("BluetoothHostProxy::SetDevicePasskey WriteInterfaceToken error"); in SetDevicePasskey()
1273 HILOGE("BluetoothHostProxy::SetDevicePasskey transport error"); in SetDevicePasskey()
1277 HILOGE("BluetoothHostProxy::SetDevicePasskey address error"); in SetDevicePasskey()
1281 HILOGE("BluetoothHostProxy::SetDevicePasskey passkey error"); in SetDevicePasskey()
1285 HILOGE("BluetoothHostProxy::SetDevicePasskey accept error"); in SetDevicePasskey()
1292 HILOGE("BluetoothHostProxy::SetDevicePasskey done fail, error: %{public}d", error); in SetDevicePasskey()
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_host_stub.cpp1130 HILOGE("BluetoothHostStub::SetDevicePasskey transport failed"); in SetDevicePasskeyInner()
1135 HILOGE("BluetoothHostStub::SetDevicePasskey address failed"); in SetDevicePasskeyInner()
1140 HILOGE("BluetoothHostStub::SetDevicePasskey passkey failed"); in SetDevicePasskeyInner()
1145 HILOGE("BluetoothHostStub::SetDevicePasskey accept failed"); in SetDevicePasskeyInner()
1148 bool result = SetDevicePasskey(transport, address, passkey, accept); in SetDevicePasskeyInner()

Completed in 31 milliseconds