Home
last modified time | relevance | path

Searched refs:dhcpClientCallBack (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp30 static std::shared_ptr<DhcpClientCallBack> dhcpClientCallBack = nullptr; variable
33 static OHOS::sptr<DhcpClientCallBack> dhcpClientCallBack = nullptr; variable
46 if (dhcpClientCallBack == nullptr) { in RegisterDhcpClientCallBack()
47 dhcpClientCallBack = std::shared_ptr<DhcpClientCallBack>(new (std::nothrow)DhcpClientCallBack()); in RegisterDhcpClientCallBack()
50 if (dhcpClientCallBack == nullptr) { in RegisterDhcpClientCallBack()
51 dhcpClientCallBack = OHOS::sptr<DhcpClientCallBack>(new (std::nothrow)DhcpClientCallBack()); in RegisterDhcpClientCallBack()
54 CHECK_PTR_RETURN(dhcpClientCallBack, DHCP_INVALID_PARAM); in RegisterDhcpClientCallBack()
55 dhcpClientCallBack->RegisterCallBack(ifname, event); in RegisterDhcpClientCallBack()
56 return GetCErrorCode(dhcpClientPtr->RegisterDhcpClientCallBack(ifname, dhcpClientCallBack)); in RegisterDhcpClientCallBack()
64 if (dhcpClientCallBack in RegisterDhcpClientReportCallBack()
[all...]
/foundation/communication/dhcp/test/fuzztest/dhcpclient_fuzzer/
H A Ddhcpclient_fuzzer.cpp23 static OHOS::sptr<DhcpClientCallBack> dhcpClientCallBack = member
38 dhcpClient->RegisterDhcpClientCallBack(ifname, dhcpClientCallBack); in DhcpClientFuzzerTest()

Completed in 1 milliseconds