Home
last modified time | relevance | path

Searched refs:respond (Results 1 - 20 of 20) sorted by relevance

/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dshell_command.cpp48 auto respond = commandMap_[cmd_]; in OnCommand() local
49 if (respond == nullptr) { in OnCommand()
51 respond = commandMap_["help"]; in OnCommand()
55 respond(); in OnCommand()
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Dshell_command.cpp56 auto respond = commandMap_[cmd_]; in OnCommand() local
57 if (respond == nullptr) { in OnCommand()
59 respond = commandMap_["help"]; in OnCommand()
63 respond(); in OnCommand()
/foundation/ability/ability_runtime/tools/aa/src/
H A Dshell_command.cpp50 auto respond = commandMap_[cmd_]; in OnCommand() local
51 if (respond == nullptr) { in OnCommand()
53 respond = commandMap_["help"]; in OnCommand()
57 respond(); in OnCommand()
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnetsys_native_service.cpp753 int32_t NetsysNativeService::SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) in SetIptablesCommandForRes() argument
765 respond = iptablesWrapper_->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, cmd); in SetIptablesCommandForRes()
768 respond = iptablesWrapper_->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV6, cmd); in SetIptablesCommandForRes()
771 respond = iptablesWrapper_->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4V6, cmd); in SetIptablesCommandForRes()
H A Dnetsys_native_service_stub.cpp1458 std::string respond; in CmdSetIptablesCommandForRes() local
1459 int32_t result = SetIptablesCommandForRes(cmd, respond, ipType); in CmdSetIptablesCommandForRes()
1464 if (!reply.WriteString(respond)) { in CmdSetIptablesCommandForRes()
1465 NETNATIVE_LOGE("Write CmdSetIptablesCommandForRes respond failed"); in CmdSetIptablesCommandForRes()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnetsys_controller_test.cpp435 std::string respond; in HWTEST_F() local
436 int32_t ret = NetsysController::GetInstance().SetIptablesCommandForRes("-L", respond); in HWTEST_F()
440 ret = NetsysController::GetInstance().SetIptablesCommandForRes("abc", respond); in HWTEST_F()
443 ret = NetsysController::GetInstance().SetIptablesCommandForRes("-L", respond); in HWTEST_F()
916 std::string respond = ""; in HWTEST_F() local
917 ret = instance_->SetIptablesCommandForRes(cmd, respond); in HWTEST_F()
H A Dnetsys_controller_service_impl_test.cpp530 std::string respond = ""; in HWTEST_F() local
532 ret = instance_->SetIptablesCommandForRes(cmd, respond, ipType); in HWTEST_F()
H A Dnetsys_native_service_stub_test.cpp444 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) override
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Di_netsys_service.h154 virtual int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond,
H A Dnetsys_native_service_proxy.h120 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) override;
/foundation/communication/netmanager_base/services/netmanagernative/include/
H A Dnetsys_native_service.h144 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) override;
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/
H A Dnetsys_native_service_stub_test.cpp422 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) override
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dnetsys_controller_service_impl.h739 * @param respond The respond of execute iptables command
743 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond,
750 * @param callback The respond of execute ping cmd.
H A Di_netsys_controller_service.h768 * @param respond The respond of execute iptables command
772 virtual int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond,
779 * @param callback The respond of execute ping cmd.
H A Dnetsys_controller.h754 * @param respond The respond of execute iptables command
758 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond,
765 * @param callback The respond of execute ping cmd.
H A Dnetsys_native_client.h781 * @param respond The respond of execute iptables command
785 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, NetsysNative::IptablesType ipType);
791 * @param callback The respond of execute ping cmd.
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller.cpp1169 int32_t NetsysController::SetIptablesCommandForRes(const std::string &cmd, std::string &respond, in SetIptablesCommandForRes() argument
1183 return netsysService_->SetIptablesCommandForRes(cmd, respond, ipType); in SetIptablesCommandForRes()
H A Dnetsys_controller_service_impl.cpp719 int32_t NetsysControllerServiceImpl::SetIptablesCommandForRes(const std::string &cmd, std::string &respond, in SetIptablesCommandForRes() argument
722 return netsysClient_.SetIptablesCommandForRes(cmd, respond, ipType); in SetIptablesCommandForRes()
H A Dnetsys_native_client.cpp1377 int32_t NetsysNativeClient::SetIptablesCommandForRes(const std::string &cmd, std::string &respond, in SetIptablesCommandForRes() argument
1385 return proxy->SetIptablesCommandForRes(cmd, respond, ipType); in SetIptablesCommandForRes()
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetsys_native_service_proxy.cpp2079 int32_t NetsysNativeServiceProxy::SetIptablesCommandForRes(const std::string &cmd, std::string &respond, in SetIptablesCommandForRes() argument
2110 if (!reply.ReadString(respond)) { in SetIptablesCommandForRes()
2111 NETNATIVE_LOGE("SetIptablesCommandForRes proxy read respond failed"); in SetIptablesCommandForRes()

Completed in 30 milliseconds