Searched refs:pKey (Results 1 - 3 of 3) sorted by relevance
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_config.cpp | 33 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 D | preferences_ndk_test.cpp | 110 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 D | data_share_service_impl.cpp | 459 PublishedDataKey pKey(context->uri, context->callerBundleName, subscriberId); 460 if (PublishedDataSubscriberManager::GetInstance().IsNotifyOnEnabled(pKey, context->callerTokenId)) { 461 publishedKeys.emplace_back(pKey);
|
Completed in 4 milliseconds