| /device/google/cuttlefish/tools/ |
| D | graphviz_generator.sh | 25 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/ |
| D | fetcher_config.cpp | 94 const std::string& build_target, const std::string& file_path) in CvdFile() argument 95 : source(source), build_id(build_id), build_target(build_target), file_path(file_path) { in CvdFile() 103 os << "file_path = " << cvd_file.file_path << ")"; in operator <<() 162 CvdFile JsonToCvdFile(const std::string& file_path, const Json::Value& json) { in JsonToCvdFile() argument 164 cvd_file.file_path = file_path; in JsonToCvdFile() 194 if ((*dictionary_)[kCvdFiles].isMember(file.file_path) && !override_entry) { in add_cvd_file() 197 (*dictionary_)[kCvdFiles][file.file_path] = CvdFileToJson(file); in add_cvd_file()
|
| D | fetcher_config.h | 49 std::string file_path; member 53 const std::string& build_target, const std::string& file_path);
|
| /device/google/cuttlefish/host/commands/cvd_import_locations/ |
| D | main.cc | 31 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/ |
| D | image_aggregator.cc | 162 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()
|
| D | cdisk_spec.proto | 24 string file_path = 1; field
|
| /device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller_test/ |
| D | main.cpp | 67 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/insmod/ |
| D | pixel_dump.cpp | 23 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/ |
| D | TracingClient.cpp | 96 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()
|
| D | TracingClient.h | 33 bool GetTracingFile(const uint64_t session_number, const std::string& file_path);
|
| /device/google/cuttlefish/host/commands/cvd/ |
| D | lock_file.cpp | 74 Result<SharedFD> LockFileManager::OpenLockFile(const std::string& file_path) { in OpenLockFile() argument 75 auto parent_dir = android::base::Dirname(file_path); in OpenLockFile() 77 auto fd = SharedFD::Open(file_path.data(), O_CREAT | O_RDWR, 0666); in OpenLockFile() 78 CF_EXPECT(fd->IsOpen(), "open(\"" << file_path << "\"): " << fd->StrError()); in OpenLockFile()
|
| D | lock_file.h | 72 static Result<SharedFD> OpenLockFile(const std::string& file_path);
|
| /device/google/cuttlefish/host/commands/host_bugreport/ |
| D | main.cc | 37 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/host/commands/cvd/parser/ |
| D | load_configs_parser.cpp | 37 Result<Json::Value> ParseJsonFile(const std::string& file_path) { in ParseJsonFile() argument 40 CF_EXPECT(ReadFileToString(file_path.c_str(), &file_content, in ParseJsonFile()
|
| D | load_configs_parser.h | 29 Result<Json::Value> ParseJsonFile(const std::string& file_path);
|
| /device/google/cuttlefish/common/libs/utils/ |
| D | files.cpp | 463 auto file_path = dir + "/"; in WalkDirectory() local 464 file_path.append(filename); in WalkDirectory() 465 callback(file_path); in WalkDirectory() 466 if (DirectoryExists(file_path)) { in WalkDirectory() 467 WalkDirectory(file_path, callback); in WalkDirectory()
|
| D | proc_file_utils.cpp | 51 static Result<std::string> ReadAll(const std::string& file_path) { in ReadAll() argument 52 SharedFD fd = SharedFD::Open(file_path, O_RDONLY); in ReadAll()
|
| D | proc_file_utils.h | 76 Result<uid_t> OwnerUid(const std::string& file_path);
|
| /device/google/gs-common/ramdump/ |
| D | dump_ramdump.cpp | 29 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/cuttlefish/host/commands/assemble_cvd/ |
| D | super_image_mixer.cc | 57 const auto& file_path = file_iter.first; in TargetFilesZip() local 63 if (file_path.find(expected_filename) != std::string::npos) { in TargetFilesZip() 64 return file_path; in TargetFilesZip()
|
| D | vendor_dlkm_utils.cc | 86 &fs_root](const std::string& file_path) { in WriteFsConfig() argument 87 const auto filename = file_path.substr( in WriteFsConfig() 90 if (DirectoryExists(file_path)) { in WriteFsConfig()
|
| /device/google/gs-common/soc/ |
| D | dump_soc.cpp | 23 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/gs-common/insmod/include/dump/ |
| D | pixel_dump.h | 9 void dumpFileContent(const char* title, const char* file_path);
|
| /device/google/cuttlefish/host/commands/modem_simulator/ |
| D | sim_service.cpp | 407 sim_file_system_.file_path = icc_profile_path; in InitializeSimFileSystemAndSimState() 632 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in SavePinStateToIccProfile() 665 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in SaveFacilityLockToIccProfile() 775 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in SetPhoneNumber() 990 sim_file_system_.doc.SaveFile(sim_file_system_.file_path.c_str()); in HandleSIM_IO()
|
| /device/google/trout/tools/tracing/tooling/ |
| D | update_trace.py | 65 file_path = os.path.splitext(input_file)
|