Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/automotive/can/1.0/tools/configurator/
Dcanprototools.cpp45 std::optional<CanBusConfig> parseConfigFile(const std::string& filepath) { in parseConfigFile() argument
46 std::ifstream cfg_stream(filepath); in parseConfigFile()
53 LOG(ERROR) << "Can't open " << filepath << " for reading"; in parseConfigFile()
71 LOG(ERROR) << "Failed to parse (text format) " << filepath; in parseConfigFile()
75 LOG(ERROR) << "Failed to parse (binary format) " << filepath; in parseConfigFile()
Dcanhalconfigurator.cpp70 static bool configuratorStart(const std::string& filepath) { in configuratorStart() argument
76 auto pb_cfg = config::parseConfigFile(filepath); in configuratorStart()
Dcanprototools.h31 std::optional<CanBusConfig> parseConfigFile(const std::string& filepath);
/hardware/interfaces/usb/gadget/1.1/default/lib/
DUsbGadgetUtils.cpp29 char filepath[kMaxFilePathLength]; in unlinkFunctions() local
39 sprintf(filepath, "%s/%s", path, function->d_name); in unlinkFunctions()
40 ret = remove(filepath); in unlinkFunctions()
42 ALOGE("Unable remove file %s errno:%d", filepath, errno); in unlinkFunctions()
/hardware/interfaces/usb/gadget/1.2/default/lib/
DUsbGadgetUtils.cpp29 char filepath[kMaxFilePathLength]; in unlinkFunctions() local
39 sprintf(filepath, "%s/%s", path, function->d_name); in unlinkFunctions()
40 ret = remove(filepath); in unlinkFunctions()
42 ALOGE("Unable remove file %s errno:%d", filepath, errno); in unlinkFunctions()
/hardware/interfaces/automotive/can/aidl/default/tools/configurator/
Dcanprototools.cpp54 std::optional<CanBusConfig> parseConfigFile(const std::string& filepath) { in parseConfigFile() argument
55 std::ifstream cfg_stream(filepath); in parseConfigFile()
62 LOG(ERROR) << "Can't open " << filepath << " for reading"; in parseConfigFile()
80 LOG(ERROR) << "Failed to parse (text format) " << filepath; in parseConfigFile()
84 LOG(ERROR) << "Failed to parse (binary format) " << filepath; in parseConfigFile()
Dcanhalconfigurator.cpp87 static bool configuratorStart(const std::string& filepath) { in configuratorStart() argument
89 auto pbCfg = config::parseConfigFile(filepath); in configuratorStart()
Dcanprototools.h33 std::optional<CanBusConfig> parseConfigFile(const std::string& filepath);
/hardware/google/camera/common/profiler/
Dprofiler.cc200 virtual void DumpResult(const std::string& filepath);
203 void DumpTxt(const std::string& filepath);
206 void DumpPb(const std::string& filepath);
228 void ProfilerImpl::DumpResult(const std::string& filepath) { in DumpResult() argument
230 DumpPb(filepath + kStrPb); in DumpResult()
232 DumpTxt(filepath + kStrTxt); in DumpResult()
434 void ProfilerImpl::DumpTxt(const std::string& filepath) { in DumpTxt() argument
439 if (std::ofstream fout(filepath, std::ios::out); fout.is_open()) { in DumpTxt()
488 void ProfilerImpl::DumpPb(const std::string& filepath) { in DumpPb() argument
489 if (std::ofstream fout(filepath, std::ios::out); fout.is_open()) { in DumpPb()
[all …]
/hardware/google/pixel/usb/
DCommonUtils.cpp111 char filepath[kMaxFilePathLength]; in unlinkFunctions() local
123 snprintf(filepath, kMaxFilePathLength, "%s/%s", path, function->d_name); in unlinkFunctions()
124 ret = remove(filepath); in unlinkFunctions()
126 ALOGE("Unable remove file %s errno:%d", filepath, errno); in unlinkFunctions()
/hardware/nxp/uwb/halimpl/utils/
DphNxpConfig.cc153 CUwbNxpConfig(std::string_view filepath);
482 CUwbNxpConfig::CUwbNxpConfig(std::string_view filepath) : mFilePath(filepath) in CUwbNxpConfig() argument
542 void loadMapping(std::string_view filepath) { in loadMapping() argument
543 CUwbNxpConfig config(filepath); in loadMapping()
549 ALOGI("Region mapping was provided by %s", std::string(filepath).c_str()); in loadMapping()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.cpp613 const std::string filepath = GetTestDataPath(basename); in LoadImage() local
614 if (!std::filesystem::exists(filepath)) { in LoadImage()
615 return gfxstream::unexpected("File " + filepath + " does not exist."); in LoadImage()
617 if (!std::filesystem::is_regular_file(filepath)) { in LoadImage()
618 return gfxstream::unexpected("File " + filepath + " is not a regular file."); in LoadImage()
626 if (!LoadRGBAFromPng(filepath, &image.width, &image.height, &image.pixels)) { in LoadImage()
627 return gfxstream::unexpected("Failed to load " + filepath + " as RGBA PNG."); in LoadImage()
/hardware/interfaces/tv/cec/1.0/default/
DHdmiCecDefault.cpp319 string filepath = parentPath + filename; in init() local
320 Result result = hdmiCecPort->init(filepath.c_str()); in init()