Home | History | Annotate | Download | only in hidl

Lines Matching refs:StringHelper

27 #include <hidl-util/StringHelper.h>
52 if (!mRootPath.empty() && !StringHelper::EndsWith(mRootPath, "/")) {
176 mReadFiles.insert(StringHelper::LTrim(path, mRootPath));
200 out << StringHelper::LTrim(forFile, mOutputPath) << ": \\\n";
203 out << StringHelper::LTrim(file, mRootPath) << " \\\n";
393 if (StringHelper::StartsWith(path, "/") || mRootPath.empty()) {
425 std::string suffix = StringHelper::LTrim(fqName.package(), packageRoot->root.package());
426 suffix = StringHelper::LTrim(suffix, ".");
429 StringHelper::SplitString(suffix, '.', &suffixComponents);
433 components.push_back(StringHelper::RTrimAll(packageRoot->path, "/"));
438 *path = StringHelper::JoinStrings(components, "/") + "/";