Lines Matching full:constants
5 #include "constants.hpp"
27 constants::pldmServiceName), in checkAndListenPldmService()
43 (l_name.compare(constants::pldmServiceName) == in checkAndListenPldmService()
44 constants::STR_CMP_SUCCESS)) in checkAndListenPldmService()
58 if (dbusUtility::isServiceRunning(constants::pldmServiceName)) in checkAndListenPldmService()
75 constants::biosConfigMgrObjPath, in listenBiosAttributes()
76 constants::biosConfigMgrInterface), in listenBiosAttributes()
188 constants::pimServiceName, constants::systemVpdInvPath, in processFieldCoreOverride()
189 constants::vsysInf, constants::kwdRG); in processFieldCoreOverride()
194 if (l_fcoInVpd->size() != constants::VALUE_4) in processFieldCoreOverride()
204 return l_val != constants::ASCII_OF_SPACE; in processFieldCoreOverride()
239 constants::pimServiceName, constants::systemVpdInvPath, in saveFcoToVpd()
240 constants::vsysInf, constants::kwdRG); in saveFcoToVpd()
245 if (l_fcoInVpd->size() != constants::VALUE_4) in saveFcoToVpd()
258 constants::VALUE_4) != constants::SUCCESS) in saveFcoToVpd()
260 if (constants::FAILURE == in saveFcoToVpd()
263 types::IpzData("VSYS", constants::kwdRG, in saveFcoToVpd()
267 "Failed to update " + std::string(constants::kwdRG) + in saveFcoToVpd()
280 if (i_fcoVal.size() != constants::VALUE_4) in saveFcoToBios()
291 i_fcoVal.at(constants::VALUE_3)))); in saveFcoToBios()
294 constants::biosConfigMgrService, constants::biosConfigMgrObjPath, in saveFcoToBios()
295 constants::biosConfigMgrInterface, "PendingAttributes", in saveFcoToBios()
315 constants::pimServiceName, constants::systemVpdInvPath, in saveAmmToVpd()
316 constants::utilInf, constants::kwdAMM); in saveAmmToVpd()
323 (i_memoryMirrorMode == "Enabled" ? constants::AMM_ENABLED_IN_VPD in saveAmmToVpd()
324 : constants::AMM_DISABLED_IN_VPD)}; in saveAmmToVpd()
332 if (constants::FAILURE == in saveAmmToVpd()
335 types::IpzData("UTIL", constants::kwdAMM, l_valToUpdateInVpd))) in saveAmmToVpd()
338 "Failed to update " + std::string(constants::kwdAMM) + in saveAmmToVpd()
353 (i_ammVal == constants::VALUE_2) ? "Enabled" : "Disabled"; in saveAmmToBios()
363 constants::biosConfigMgrService, constants::biosConfigMgrObjPath, in saveAmmToBios()
364 constants::biosConfigMgrInterface, "PendingAttributes", in saveAmmToBios()
376 constants::pimServiceName, constants::systemVpdInvPath, in processActiveMemoryMirror()
377 constants::utilInf, constants::kwdAMM); in processActiveMemoryMirror()
384 if (l_ammValInVpd.at(0) == constants::VALUE_0) in processActiveMemoryMirror()
420 constants::pimServiceName, constants::systemVpdInvPath, in saveCreateDefaultLparToVpd()
421 constants::utilInf, constants::kwdClearNVRAM_CreateLPAR); in saveCreateDefaultLparToVpd()
431 constants::STR_CMP_SUCCESS)) || in saveCreateDefaultLparToVpd()
434 constants::STR_CMP_SUCCESS))) in saveCreateDefaultLparToVpd()
442 constants::STR_CMP_SUCCESS) in saveCreateDefaultLparToVpd()
456 types::IpzData("UTIL", constants::kwdClearNVRAM_CreateLPAR, in saveCreateDefaultLparToVpd()
461 std::string(constants::kwdClearNVRAM_CreateLPAR) + in saveCreateDefaultLparToVpd()
475 if (i_createDefaultLparVal.size() != constants::VALUE_1) in saveCreateDefaultLparToBios()
493 constants::biosConfigMgrService, constants::biosConfigMgrObjPath, in saveCreateDefaultLparToBios()
494 constants::biosConfigMgrInterface, "PendingAttributes", in saveCreateDefaultLparToBios()
508 constants::pimServiceName, constants::systemVpdInvPath, in processCreateDefaultLpar()
509 constants::utilInf, constants::kwdClearNVRAM_CreateLPAR); in processCreateDefaultLpar()
531 constants::pimServiceName, constants::systemVpdInvPath, in saveClearNvramToVpd()
532 constants::utilInf, constants::kwdClearNVRAM_CreateLPAR); in saveClearNvramToVpd()
541 constants::STR_CMP_SUCCESS)) || in saveClearNvramToVpd()
544 constants::STR_CMP_SUCCESS))) in saveClearNvramToVpd()
551 if (i_clearNvramVal.compare("enabled") == constants::STR_CMP_SUCCESS) in saveClearNvramToVpd()
555 (*l_pVal).at(0) | constants::VALUE_4); in saveClearNvramToVpd()
561 (*l_pVal).at(0) & ~(constants::VALUE_4)); in saveClearNvramToVpd()
567 types::IpzData("UTIL", constants::kwdClearNVRAM_CreateLPAR, in saveClearNvramToVpd()
572 std::string(constants::kwdClearNVRAM_CreateLPAR) + in saveClearNvramToVpd()
585 if (i_clearNvramVal.size() != constants::VALUE_1) in saveClearNvramToBios()
594 (i_clearNvramVal.at(0) & constants::VALUE_4) ? "Enabled" : "Disabled"; in saveClearNvramToBios()
604 constants::biosConfigMgrService, constants::biosConfigMgrObjPath, in saveClearNvramToBios()
605 constants::biosConfigMgrInterface, "PendingAttributes", in saveClearNvramToBios()
617 constants::pimServiceName, constants::systemVpdInvPath, in processClearNvram()
618 constants::utilInf, constants::kwdClearNVRAM_CreateLPAR); in processClearNvram()
639 constants::pimServiceName, constants::systemVpdInvPath, in saveKeepAndClearToVpd()
640 constants::utilInf, constants::kwdKeepAndClear); in saveKeepAndClearToVpd()
649 constants::STR_CMP_SUCCESS)) || in saveKeepAndClearToVpd()
652 constants::STR_CMP_SUCCESS))) in saveKeepAndClearToVpd()
659 if (i_KeepAndClearVal.compare("enabled") == constants::STR_CMP_SUCCESS) in saveKeepAndClearToVpd()
663 (*l_pVal).at(0) | constants::VALUE_1); in saveKeepAndClearToVpd()
669 (*l_pVal).at(0) & ~(constants::VALUE_1)); in saveKeepAndClearToVpd()
674 types::IpzData("UTIL", constants::kwdKeepAndClear, in saveKeepAndClearToVpd()
678 "Failed to update " + std::string(constants::kwdKeepAndClear) + in saveKeepAndClearToVpd()
691 if (i_KeepAndClearVal.size() != constants::VALUE_1) in saveKeepAndClearToBios()
700 (i_KeepAndClearVal.at(0) & constants::VALUE_1) ? "Enabled" : "Disabled"; in saveKeepAndClearToBios()
710 constants::biosConfigMgrService, constants::biosConfigMgrObjPath, in saveKeepAndClearToBios()
711 constants::biosConfigMgrInterface, "PendingAttributes", in saveKeepAndClearToBios()
723 constants::pimServiceName, constants::systemVpdInvPath, in processKeepAndClear()
724 constants::utilInf, constants::kwdKeepAndClear); in processKeepAndClear()