Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 18 of 18) 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/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dtranslate_math.js13 const filepath = process.argv[3]; constant
15 var html = fs.readFileSync(filepath, "utf8");
33 fs.writeFileSync(filepath, html, 'utf8');
/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/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/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/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/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.cc98 CUwbNxpConfig(const char *filepath);
408 CUwbNxpConfig::CUwbNxpConfig(const char *filepath) : in CUwbNxpConfig() argument
410 mFilePath(filepath), in CUwbNxpConfig()
587 void loadMapping(const char *filepath) { in loadMapping() argument
588 CUwbNxpConfig config(filepath); in loadMapping()
594 ALOGI("Region mapping was provided by %s", filepath); in loadMapping()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.cpp624 const std::string filepath = GetTestDataPath(basename); in LoadImage() local
625 if (!std::filesystem::exists(filepath)) { in LoadImage()
626 return android::base::unexpected("File " + filepath + " does not exist."); in LoadImage()
628 if (!std::filesystem::is_regular_file(filepath)) { in LoadImage()
629 return android::base::unexpected("File " + filepath + " is not a regular file."); in LoadImage()
637 if (!LoadRGBAFromPng(filepath, &image.width, &image.height, &image.pixels)) { in LoadImage()
638 return android::base::unexpected("Failed to load " + filepath + " as RGBA PNG."); in LoadImage()
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp1257 int32_t load_png_image(const char* filepath, buffer_handle_t buffer) { in load_png_image() argument
1264 FILE* fp = fopen(filepath, "rb"); in load_png_image()
1266 ALOGE("%s open failed ", filepath); in load_png_image()
1272 ALOGE("%s png_ptr create failed", filepath); in load_png_image()
1279 ALOGE("%s info_ptr create failed", filepath); in load_png_image()
1286 ALOGE("%s setjmp failed", filepath); in load_png_image()
1300 ALOGE("%s source width/height (%dx%d) doesn't match with buffer (%dx%d)", filepath, width, in load_png_image()
1312 filepath, color_type, PNG_COLOR_TYPE_RGB_ALPHA, bpp, formatToBpp(gmeta.format)); in load_png_image()
1321 ALOGE("%s buffer handle size isn't within [png_size, gmeta.size]: %d vs [%d, %d]", filepath, in load_png_image()
DExynosHWCHelper.h624 int32_t load_png_image(const char *filepath, buffer_handle_t buffer);
/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()
/hardware/google/graphics/common/libhwc2.1/
Dpixel-display.cpp32 extern int32_t load_png_image(const char *filepath, buffer_handle_t buffer);