Home
last modified time | relevance | path

Searched refs:pKey (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_config.cpp33 static int SetEnableConfigInfo(DhcpConfig *dhcpConfig, const char *pKey, const char *pValue) in SetEnableConfigInfo() argument
35 if ((dhcpConfig == nullptr) || (pKey == nullptr) || (pValue == nullptr)) { in SetEnableConfigInfo()
36 DHCP_LOGE("SetEnableConfigInfo param dhcpConfig or pKey or pValue is nullptr!"); in SetEnableConfigInfo()
46 if (strcmp(pKey, "distribution") == 0) { in SetEnableConfigInfo()
48 } else if (strcmp(pKey, "broadcast") == 0) { in SetEnableConfigInfo()
54 static int SetTimeConfigInfo(DhcpConfig *dhcpConfig, const char *pKey, const char *pValue) in SetTimeConfigInfo() argument
56 if ((dhcpConfig == nullptr) || (pKey == nullptr) || (pValue == nullptr)) { in SetTimeConfigInfo()
57 DHCP_LOGE("SetTimeConfigInfo param dhcpConfig or pKey or pValue is nullptr!"); in SetTimeConfigInfo()
67 if (strcmp(pKey, "leaseTime") == 0) { in SetTimeConfigInfo()
69 } else if (strcmp(pKey, "renewalTim in SetTimeConfigInfo()
77 SetNetConfigInfo(DhcpConfig *dhcpConfig, const char *pKey, const char *pValue, int common) SetNetConfigInfo() argument
[all...]
/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_test.cpp110 const char *pKey = OH_PreferencesPair_GetKey(pairs, i); in DataChangeObserverCallback() local
111 EXPECT_NE(pKey, nullptr); in DataChangeObserverCallback()
696 const char *pKey = OH_PreferencesPair_GetKey(pairs, i); in NullTestCallback() local
697 EXPECT_NE(pKey, nullptr); in NullTestCallback()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_service_impl.cpp459 PublishedDataKey pKey(context->uri, context->callerBundleName, subscriberId);
460 if (PublishedDataSubscriberManager::GetInstance().IsNotifyOnEnabled(pKey, context->callerTokenId)) {
461 publishedKeys.emplace_back(pKey);

Completed in 4 milliseconds