Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dtunnel_test.c94 char filepath[MAX_FILE_PATH]; local
146 snprintf(filepath, sizeof(filepath), "%s", argv[i+1]);
147 … ALOGE("specify a output file path %s, argc i = %d, argv[%d] = %s", filepath, i, i+1, argv[i+1]);
186 strcpy(filepath, DEFAULT_PATH);
190 strcpy(filepath, DEFAULT_PATH);
192 strcpy(filepath, argv[argc-1]);
195 ALOGE("Output path %s", filepath);
217 snprintf(filename, MAX_FILE_PATH, "%s%s", filepath, UNPARSED_OUTPUT_FILE);
322 snprintf(filename, 256, "%s/%s", filepath, filename_str_format);
327 …rintf(filename, MAX_FILE_PATH, "%s%sid%d-src0x%x-enc0x%x_client%d.raw", filepath, FILE_PREFIX, tun…
[all …]
/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
73 auto pb_cfg = config::parseConfigFile(filepath); in configuratorStart()
Dcanprototools.h31 std::optional<CanBusConfig> parseConfigFile(const std::string& filepath);
/hardware/google/camera/common/profiler/
Dprofiler.cc184 virtual void DumpResult(const std::string& filepath);
187 void DumpTxt(std::string_view filepath);
190 void DumpPb(std::string_view filepath);
212 void ProfilerImpl::DumpResult(const std::string& filepath) { in DumpResult() argument
214 DumpPb(filepath + kStrPb); in DumpResult()
216 DumpTxt(filepath + kStrTxt); in DumpResult()
417 void ProfilerImpl::DumpTxt(std::string_view filepath) { in DumpTxt() argument
422 if (std::ofstream fout(filepath, std::ios::out); fout.is_open()) { in DumpTxt()
469 void ProfilerImpl::DumpPb(std::string_view filepath) { in DumpPb() argument
470 if (std::ofstream fout(filepath, std::ios::out); fout.is_open()) { in DumpPb()
[all …]
/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/google/pixel/usb/
DUsbGadgetUtils.cpp30 char filepath[kMaxFilePathLength]; in unlinkFunctions() local
42 snprintf(filepath, kMaxFilePathLength, "%s/%s", path, function->d_name); in unlinkFunctions()
43 ret = remove(filepath); in unlinkFunctions()
45 ALOGE("Unable remove file %s errno:%d", filepath, errno); in unlinkFunctions()
/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/google/graphics/common/libhwc2.1/
Dpixel-display.cpp28 extern int32_t load_png_image(const char *filepath, buffer_handle_t buffer);
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp1278 int32_t load_png_image(const char* filepath, buffer_handle_t buffer) { in load_png_image() argument
1285 FILE* fp = fopen(filepath, "rb"); in load_png_image()
1287 ALOGE("%s open failed ", filepath); in load_png_image()
DExynosHWCHelper.h575 int32_t load_png_image(const char *filepath, buffer_handle_t buffer);