Home
last modified time | relevance | path

Searched refs:EthernetService (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_service.cpp44 EthernetService::EthernetService() : SystemAbility(COMM_ETHERNET_MANAGER_SYS_ABILITY_ID, true) {} in EthernetService() function in OHOS::NetManagerStandard::EthernetService
46 EthernetService::~EthernetService() = default;
48 void EthernetService::OnStart() in OnStart()
66 void EthernetService::OnStop() in OnStop()
102 bool EthernetService::Init() in Init()
109 if (!Publish(DelayedSingleton<EthernetService>::GetInstance().get())) { in Init()
133 void EthernetService::InitManagement() in InitManagement()
270 int32_t EthernetService::ResetFactory() in ResetFactory()
318 int32_t EthernetService::SetInterfaceUp(const std::string &iface) in SetInterfaceUp()
328 int32_t EthernetService::SetInterfaceDown(const std::string &iface) in SetInterfaceDown()
[all …]
H A Dethernet_service_common.cpp25 int32_t result = DelayedSingleton<EthernetService>::GetInstance()->ResetFactory(); in ResetEthernetFactory()
/ohos5.0/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
H A Dethernet_service_test.cpp119 EthernetService ethernetservice;
131 EthernetService ethernetservice;
143 EthernetService ethernetservice;
152 EthernetService ethernetservice;
161 EthernetService ethernetservice;
170 EthernetService ethernetservice;
179 EthernetService ethernetservice;
191 EthernetService ethernetservice;
200 EthernetService ethernetservice;
210 EthernetService ethernetService;
[all …]
H A Dethernet_manager_test.cpp549 EthernetService ethernetService;
551 ethernetService.state_ = EthernetService::ServiceRunningState::STATE_RUNNING;
553 ethernetService.state_ = EthernetService::ServiceRunningState::STATE_STOPPED;
/ohos5.0/foundation/communication/netmanager_ext/services/ethernetmanager/include/
H A Dethernet_service.h37 class EthernetService : public SystemAbility,
39 public std::enable_shared_from_this<EthernetService> {
40 DECLARE_DELAYED_SINGLETON(EthernetService)
41 DECLARE_SYSTEM_ABILITY(EthernetService) in DECLARE_SYSTEM_ABILITY() argument
45 …explicit GlobalInterfaceStateCallback(EthernetService &ethService) : ethernetService_(ethService) … in DECLARE_SYSTEM_ABILITY()
61 EthernetService &ethernetService_; in DECLARE_SYSTEM_ABILITY()
/ohos5.0/foundation/communication/netmanager_ext/test/ethernetmanager/fuzztest/ethernetclient_fuzzer/
H A Dethernet_client_fuzzer.cpp97 DelayedSingleton<EthernetService>::GetInstance()->Init(); in Init()
138 …return DelayedSingleton<EthernetService>::GetInstance()->OnRemoteRequest(code, data, reply, option… in OnRemoteRequest()