[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add vconf key for memory saving mode
[SCMRequest] N/A
Change-Id: Ia368331d630467fb402aae967b78a409aa630d26
return "/filesystem_usage";
}
+inline const char* GetVconfKeyMemorySavingModePath()
+{
+ return "/memory_saving_mode";
+}
+
} // namespace GlobalConfig
} // namespace WrtDB
.GetFullPath();
}
+inline std::string GetVconfKeyMemorySavingMode(DPL::String pkgName)
+{
+ return PathBuilder()
+ .Append(GlobalConfig::GetVconfKeyPrefixPath())
+ .Append(DPL::ToUTF8String(pkgName))
+ .Concat(GlobalConfig::GetVconfKeyMemorySavingModePath())
+ .GetFullPath();
+}
+
} // namespace VconfConfig
} // namespace WrtDB