Home
last modified time | relevance | path

Searched refs:SetMessagePermission (Results 1 - 12 of 12) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_adapter_manager.h268 virtual bool SetMessagePermission(const std::string &address, BTPermissionType permission) const = 0;
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_remote_device.h97 bool SetMessagePermission(int permission);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dadapter_manager.h210 bool SetMessagePermission(const std::string &address, BTPermissionType permission) const override;
H A Dadapter_manager.cpp762 bool AdapterManager::SetMessagePermission(const std::string &address, BTPermissionType permission) const in SetMessagePermission() function in OHOS::bluetooth::AdapterManager
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp97 bool BluetoothRemoteDevice::SetMessagePermission(int permission) in SetMessagePermission() function in OHOS::Bluetooth::BluetoothRemoteDevice
103 return hostProxy->SetMessagePermission(address_, permission); in SetMessagePermission()
/foundation/communication/bluetooth_service/test/unittest/host/
H A Dhost_test.cpp435 EXPECT_FALSE(device_.SetMessagePermission(static_cast<int>(BTPermissionType::ACCESS_ALLOWED))); in HWTEST_F()
451 EXPECT_FALSE(device_.SetMessagePermission(static_cast<int>(BTPermissionType::ACCESS_FORBIDDEN))); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_host.h99 virtual bool SetMessagePermission(const std::string &address, int32_t permission) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_host_server.h94 bool SetMessagePermission(const std::string &address, int32_t permission) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_host_proxy.h74 bool SetMessagePermission(const std::string &address, int32_t permission) override;
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp1317 bool BluetoothHostServer::SetMessagePermission(const std::string &address, int32_t permission) in SetMessagePermission() function in OHOS::Bluetooth::BluetoothHostServer
1320 return IAdapterManager::GetInstance()->SetMessagePermission(address, (BTPermissionType)permission); in SetMessagePermission()
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_host_proxy.cpp867 bool BluetoothHostProxy::SetMessagePermission(const std::string &address, int32_t permission) in SetMessagePermission() function in OHOS::Bluetooth::BluetoothHostProxy
871 HILOGE("BluetoothHostProxy::SetMessagePermission WriteInterfaceToken error"); in SetMessagePermission()
875 HILOGE("BluetoothHostProxy::SetMessagePermission address error"); in SetMessagePermission()
879 HILOGE("BluetoothHostProxy::SetMessagePermission permission error"); in SetMessagePermission()
886 HILOGE("BluetoothHostProxy::SetMessagePermission done fail, error: %{public}d", error); in SetMessagePermission()
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_host_stub.cpp682 HILOGE("BluetoothHostStub::SetMessagePermission address failed"); in SetMessagePermissionInner()
687 HILOGE("BluetoothHostStub::SetMessagePermission permission failed"); in SetMessagePermissionInner()
690 bool result = SetMessagePermission(address, permission); in SetMessagePermissionInner()

Completed in 28 milliseconds