/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_adapter.h | 231 virtual bool SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const = 0;
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_remote_device.h | 291 bool SetDevicePasskey(int passkey, bool accept);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_security.h | 49 int SetDevicePasskey(const RawAddress &device, int passkey, int accept) const;
|
H A D | ble_adapter.h | 113 bool SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const override;
|
H A D | ble_adapter.cpp | 799 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 D | ble_security.cpp | 908 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 D | bluetooth_remote_device.cpp | 299 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 D | host_test.cpp | 759 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 D | i_bluetooth_host.h | 115 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 D | bluetooth_host_server.h | 109 bool SetDevicePasskey(int32_t transport, const std::string &address, int32_t passkey, bool accept) override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_host_proxy.h | 90 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 D | classic_adapter.h | 197 bool SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const override;
|
H A D | classic_adapter.cpp | 1253 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 D | bluetooth_host_server.cpp | 1595 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 D | bluetooth_host_proxy.cpp | 1265 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 D | bluetooth_host_stub.cpp | 1130 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()
|