Lines Matching refs:path
24 bool WriteUpdaterMessage(const std::string &path, const UpdateMessage &boot)
26 char *realPath = realpath(path.c_str(), NULL);
56 bool ReadUpdaterMessage(const std::string &path, UpdateMessage &boot)
58 char *realPath = realpath(path.c_str(), NULL);
92 auto path = GetBlockDeviceByMountPoint(MISC_PATH);
93 if (path.empty()) {
95 path = MISC_FILE;
97 LOG(INFO) << "WriteUpdaterMiscMsg::misc path : " << path;
98 return WriteUpdaterMessage(path, boot);
103 auto path = GetBlockDeviceByMountPoint(MISC_PATH);
104 if (path.empty()) {
106 path = MISC_FILE;
108 return ReadUpdaterMessage(path, boot);
113 auto path = GetBlockDeviceByMountPoint(MISC_PATH);
114 if (path.empty()) {
116 path = MISC_FILE;
119 char *realPath = realpath(path.c_str(), NULL);
155 auto path = GetBlockDeviceByMountPoint(MISC_PATH);
156 if (path.empty()) {
158 path = MISC_FILE;
161 char *realPath = realpath(path.c_str(), NULL);