/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | shell_command.cpp | 48 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 D | shell_command.cpp | 56 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 D | shell_command.cpp | 50 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 D | netsys_native_service.cpp | 753 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 D | netsys_native_service_stub.cpp | 1458 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 D | netsys_controller_test.cpp | 435 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 D | netsys_controller_service_impl_test.cpp | 530 std::string respond = ""; in HWTEST_F() local 532 ret = instance_->SetIptablesCommandForRes(cmd, respond, ipType); in HWTEST_F()
|
H A D | netsys_native_service_stub_test.cpp | 444 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) override
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 154 virtual int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond,
|
H A D | netsys_native_service_proxy.h | 120 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) override;
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 144 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 D | netsys_native_service_stub_test.cpp | 422 int32_t SetIptablesCommandForRes(const std::string &cmd, std::string &respond, IptablesType ipType) override
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller_service_impl.h | 739 * @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 D | i_netsys_controller_service.h | 768 * @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 D | netsys_controller.h | 754 * @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 D | netsys_native_client.h | 781 * @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 D | netsys_controller.cpp | 1169 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 D | netsys_controller_service_impl.cpp | 719 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 D | netsys_native_client.cpp | 1377 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 D | netsys_native_service_proxy.cpp | 2079 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()
|