Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 25 of 101) sorted by relevance

12345

/device/google/cuttlefish/tools/
Dgraphviz_generator.sh25 for file_path in $all_dot_file_paths
27 echo $file_path
29 file_name="$(basename "$file_path" | cut -d. -f1)"
31 file_dir="$(dirname -- $file_path)"
33 dot -Tpng $file_path > $file_dir/$file_name.png;
34 dot -Tsvg $file_path > $file_dir/$file_name.svg;
/device/google/cuttlefish/host/libs/config/
Dfetcher_config.cpp99 const std::string& build_target, const std::string& file_path) in CvdFile() argument
100 : source(source), build_id(build_id), build_target(build_target), file_path(file_path) { in CvdFile()
108 os << "file_path = " << cvd_file.file_path << ")"; in operator <<()
178 CvdFile JsonToCvdFile(const std::string& file_path, const Json::Value& json) { in JsonToCvdFile() argument
180 cvd_file.file_path = file_path; in JsonToCvdFile()
210 if ((*dictionary_)[kCvdFiles].isMember(file.file_path) && !override_entry) { in add_cvd_file()
213 (*dictionary_)[kCvdFiles][file.file_path] = CvdFileToJson(file); in add_cvd_file()
Dfetcher_config.h53 std::string file_path; member
57 const std::string& build_target, const std::string& file_path);
/device/google/cuttlefish/host/commands/cvd_import_locations/
Dmain.cc31 DEFINE_string(file_path, "", "path to input file location {Kml or gpx} format");
44 --file_path=[path]
56 cvd_import_locations --format="gpx" --file_path="input.gpx"
57 cvd_import_locations --format="kml" --file_path="input.kml"
59 cvd_import_locations --format="gpx" --file_path="input.gpx" --delay=.5
60 cvd_import_locations --format="kml" --file_path="input.kml" --delay=.5
62 cvd_import_locations --format="gpx" --file_path="input.gpx" --delay=.5 --instance_num=2
/device/google/cuttlefish/host/libs/image_aggregator/
Dimage_aggregator.cc162 std::uint64_t ExpandedStorageSize(const std::string& file_path) { in ExpandedStorageSize() argument
163 android::base::unique_fd fd(open(file_path.c_str(), O_RDONLY)); in ExpandedStorageSize()
164 CHECK(fd.get() >= 0) << "Could not open \"" << file_path << "\"" in ExpandedStorageSize()
167 std::uint64_t file_size = FileSize(file_path); in ExpandedStorageSize()
174 PLOG(FATAL) << "Fail to read: " << file_path; in ExpandedStorageSize()
178 << "Fail to seek(\"" << file_path << "\")" << strerror(errno); in ExpandedStorageSize()
184 << "Fail to seek(\"" << file_path << "\")" << strerror(errno); in ExpandedStorageSize()
187 PLOG(FATAL) << "Fail to read(cdisk): " << file_path; in ExpandedStorageSize()
192 PLOG(FATAL) << "Fail to parse(cdisk): " << file_path; in ExpandedStorageSize()
202 PLOG(FATAL) << "Fail to read(qcow2 header): " << file_path; in ExpandedStorageSize()
Dcdisk_spec.proto24 string file_path = 1; field
/device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller_test/
Dmain.cpp67 std::string file_path; in main() local
86 file_path = optarg; in main()
101 if (file_path.empty() || server_addr.empty()) { in main()
118 ss << "/usr/bin/aplay \"" << file_path << "\""; in main()
/device/google/gs-common/gear/dumpstate/
Dpixel_dump.cpp23 void dumpFileContent(const char* title, const char* file_path) { in dumpFileContent() argument
25 printf("------ %s (%s) ------\n", title, file_path); in dumpFileContent()
26 if (android::base::ReadFileToString(file_path, &content)) { in dumpFileContent()
29 printf("Unable to read %s\n", file_path); in dumpFileContent()
/device/google/trout/tools/tracing/client/
DTracingClient.cpp96 bool TracingClient::GetTracingFile(const uint64_t session_num, const std::string& file_path) { in GetTracingFile() argument
97 if (file_path.empty()) { in GetTracingFile()
101 std::ofstream file_stream(file_path, std::fstream::binary); in GetTracingFile()
105 << file_path << std::endl; in GetTracingFile()
DTracingClient.h33 bool GetTracingFile(const uint64_t session_number, const std::string& file_path);
/device/google/cuttlefish/host/commands/host_bugreport/
Dmain.cc37 const std::string& file_path) { in SaveFile() argument
39 std::fstream file(file_path, std::fstream::in | std::fstream::binary); in SaveFile()
47 LOG(ERROR) << "Error in logging " << file_path << " to " << zip_path; in SaveFile()
/device/google/cuttlefish/common/libs/utils/
Dproc_file_utils.cpp42 static Result<uid_t> FileOwnerUid(const std::string& file_path) { in FileOwnerUid() argument
44 CF_EXPECT_EQ(::stat(file_path.data(), &buf), 0); in FileOwnerUid()
98 static Result<std::string> ReadAll(const std::string& file_path) { in ReadAll() argument
99 SharedFD fd = SharedFD::Open(file_path, O_RDONLY); in ReadAll()
Dfiles.cpp601 auto file_path = dir + "/"; in WalkDirectory() local
602 file_path.append(filename); in WalkDirectory()
603 callback(file_path); in WalkDirectory()
604 if (DirectoryExists(file_path)) { in WalkDirectory()
605 WalkDirectory(file_path, callback); in WalkDirectory()
/device/google/gs-common/fingerprint/
Ddump_fingerprint.cpp33 std::string file_path(kTombstonesDirPath + file_name); in main() local
34 dumpFileContent(file_name.c_str(), file_path.c_str()); in main()
/device/google/cuttlefish_vmm/
Dgen_android_bp.py95 def update_generated_section(file_path: Path, tag: str, content: str):
110 with open(file_path, "rt", encoding="utf-8") as f:
127 with open(file_path, "wt", encoding="utf-8") as f:
/device/google/gs-common/ramdump_and_coredump/
Ddump_ramdump.cpp29 void dumpGzippedFileInBase64(const char* title, const char* file_path) { in dumpGzippedFileInBase64() argument
30 auto cmd = android::base::StringPrintf("gzip < %s | base64", file_path); in dumpGzippedFileInBase64()
/device/google/gs-common/soc/
Ddump_soc.cpp23 std::string readFile(const std::string& file_path) { in readFile() argument
25 if(android::base::ReadFileToString(file_path.c_str(), &content)) { in readFile()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dsuper_image_mixer.cc271 const auto& file_path = file_iter.first; in TargetFilesZip() local
277 if (file_path.find(expected_filename) != std::string::npos) { in TargetFilesZip()
278 return file_path; in TargetFilesZip()
Dvendor_dlkm_utils.cc88 &fs_root](const std::string& file_path) { in WriteFsConfig() argument
89 const auto filename = file_path.substr( in WriteFsConfig()
92 if (DirectoryExists(file_path)) { in WriteFsConfig()
/device/google/cuttlefish/host/commands/modem_simulator/
Dsim_service.cpp407 sim_file_system_.file_path = icc_profile_path; in InitializeSimFileSystemAndSimState()
640 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in SavePinStateToIccProfile()
673 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in SaveFacilityLockToIccProfile()
793 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in SetPhoneNumber()
1023 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in HandleSIM_IO()
Dsim_service.h187 std::string file_path; member
/device/google/gs-common/gear/dumpstate/include/dump/
Dpixel_dump.h9 void dumpFileContent(const char* title, const char* file_path);
/device/google/tangorpro/cast_auth/mediadrm/
DDrmPlugin.cpp61 std::vector<uint8_t> readBinaryFile(const std::string& file_path) { in readBinaryFile() argument
62 std::ifstream fin(file_path, std::ios::in | std::ios::binary); in readBinaryFile()
/device/google/trout/tools/tracing/tooling/
Dupdate_trace.py65 file_path = os.path.splitext(input_file)
/device/linaro/dragonboard-kernel/android-5.4/
DModule.symvers2799 0x00751241 file_path vmlinux EXPORT_SYMBOL

12345