/system/core/adb/client/ |
D | incremental_server.cpp | 152 File(const char* filepath, FileId id, int64_t size, unique_fd fd, int64_t tree_offset, in File() argument 154 : File(filepath, id, size, tree_offset) { in File() 157 priority_blocks_ = PriorityBlocksForFile(filepath, fd_.get(), size); in File() 179 const char* const filepath; member in incremental::File 184 File(const char* filepath, FileId id, int64_t size, int64_t tree_offset) in File() argument 185 : filepath(filepath), id(id), size(size), tree_offset_(tree_offset) { in File() 389 fprintf(stderr, "Failed to get data for %s.idsig at blockIdx=%d.\n", file.filepath, in SendTreeBlock() 409 D("Skipped reading file %s at block %" PRId32 " (past end).", file.filepath, blockIdx); in SendDataBlock() 424 fprintf(stderr, "Failed to get data for %s at blockIdx=%d (%d).\n", file.filepath, blockIdx, in SendDataBlock() 653 static std::pair<unique_fd, int64_t> open_fd(const char* filepath) { in open_fd() argument [all …]
|
D | incremental_utils.h | 39 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd,
|
D | incremental_utils.cpp | 347 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd, in PriorityBlocksForFile() argument 349 if (!android::base::EndsWithIgnoreCase(filepath, ".apk")) { in PriorityBlocksForFile()
|
/system/sepolicy/build/soong/ |
D | filegroup.go | 116 path := filepath.Join(d, f) 133 fg.systemPublicSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "public")) 134 fg.systemPrivateSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "private")) 135 fg.systemVendorSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "vendor")) 136 fg.systemReqdMaskSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "reqd_mask"))
|
/system/tools/hidl/build/ |
D | fqName.go | 85 return filepath.Join(filepath.Join(f.packageComponents...), f.version()) + "/" 88 return filepath.Join(filepath.Join(f.packageComponents...), f.sanitizedVersion()) + "/"
|
/system/extras/simpleperf/ |
D | read_apk.h | 38 EmbeddedElf(const std::string& filepath, in EmbeddedElf() argument 42 : filepath_(filepath) in EmbeddedElf() 50 const std::string &filepath() const { return filepath_; } in filepath() function
|
D | event_type.h | 59 bool SetTracepointEventsFilePath(const std::string& filepath);
|
D | event_type.cpp | 59 bool SetTracepointEventsFilePath(const std::string& filepath) { in SetTracepointEventsFilePath() argument 60 if (!android::base::ReadFileToString(filepath, &tracepoint_events)) { in SetTracepointEventsFilePath() 61 PLOG(ERROR) << "Failed to read " << filepath; in SetTracepointEventsFilePath()
|
D | environment.h | 44 std::string filepath; member
|
D | environment.cpp | 173 module.filepath = it->second; in GetModulesInUse() 183 kernel_mmap->filepath = kernel_mmap->name; in GetKernelAndModuleMmaps() 186 if (map.filepath.empty()) { in GetKernelAndModuleMmaps() 187 map.filepath = "[" + map.name + "]"; in GetKernelAndModuleMmaps()
|
D | dso.cpp | 494 elf->filepath(), elf->entry_offset(), elf->entry_size(), build_id, &addr, &offset); in GetMinExecutableVaddr() 564 status = ParseSymbolsFromEmbeddedElfFile(elf->filepath(), elf->entry_offset(), in LoadSymbols() 737 result = GetBuildIdFromEmbeddedElfFile(elf->filepath(), elf->entry_offset(), in GetBuildIdFromDsoPath()
|
D | OfflineUnwinder.cpp | 131 name = elf->filepath().c_str(); in CreateMapInfo()
|
D | cmd_record.cpp | 1160 kernel_mmap.len, 0, kernel_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps() 1166 module_mmap.len, 0, module_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps()
|
D | read_elf.cpp | 600 *status = OpenObjectFile(elf->filepath(), elf->entry_offset(), elf->entry_size(), &wrapper); in Open()
|
/system/tools/xsdc/build/ |
D | xsdc.go | 206 currentApiFileName := filepath.Join(api_dir, "current.txt") 207 removedApiFileName := filepath.Join(api_dir, "removed.txt") 215 filepath.Join(api_dir, "last_current.txt")) 217 filepath.Join(api_dir, "last_removed.txt"))
|
/system/tools/aidl/build/ |
D | aidl_interface.go | 210 return filepath.Clean(path) == path && path != ".." && 319 relPath, _ := filepath.Rel(baseDir, src.String()) 360 typeName := strings.TrimSuffix(filepath.Base(relPath), ".aidl") 361 packagePath := filepath.Dir(relPath) 471 return filepath.Join(aidlApiDir, m.properties.BaseName) 519 relPath, _ := filepath.Rel(baseDir, src.String()) 554 targetDir := filepath.Join(modulePath, m.apiDir(), version) 683 files: ctx.Glob(filepath.Join(currentApiDir.Path().String(), "**/*.aidl"), nil), 707 apiDir := filepath.Join(ctx.ModuleDir(), m.apiDir(), ver) 712 files: ctx.Glob(filepath.Join(apiDirPath.String(), "**/*.aidl"), nil), [all …]
|
D | aidl_test.go | 574 libBar := filepath.Join("bar-cpp", nativeVariant, "bar-V1-cpp.so")
|
/system/core/healthd/ |
D | charger_test.cpp | 109 ::android::hardware::hidl_handle createHidlHandle(const char* filepath) { in createHidlHandle() argument 110 int fd = creat(filepath, S_IRUSR | S_IWUSR); in createHidlHandle()
|
/system/ca-certificates/soong/ |
D | ca_certificates.go | 43 filename := filepath.Base(src)
|
/system/tools/hidl/ |
D | Coordinator.cpp | 109 std::string filepath; in getFormatter() local 110 status_t err = getFilepath(fqName, location, fileName, &filepath); in getFormatter() 115 onFileAccess(filepath, "w"); in getFormatter() 117 if (!Coordinator::MakeParentHierarchy(filepath)) { in getFormatter() 118 fprintf(stderr, "ERROR: could not make directories for %s.\n", filepath.c_str()); in getFormatter() 122 FILE* file = fopen(filepath.c_str(), "w"); in getFormatter() 125 fprintf(stderr, "ERROR: could not open file %s: %d\n", filepath.c_str(), errno); in getFormatter()
|
/system/extras/simpleperf/scripts/inferno/ |
D | inferno.py | 168 filepath = os.path.realpath(f.name) 230 return "file://" + filepath
|
/system/tools/hidl/c2hal/ |
D | README.md | 13 c2hal [-g] [-o dir] -p package (-r interface-root)+ (header-filepath)+
|
/system/security/keystore/ |
D | blob.cpp | 720 static std::tuple<bool, uid_t, std::string> filename2UidAlias(const std::string& filepath) { in filename2UidAlias() argument 727 auto filenamebase = filepath.find_last_of('/'); in filename2UidAlias() 729 filenamebase == std::string::npos ? filepath : filepath.substr(filenamebase + 1); in filename2UidAlias()
|
/system/nfc/src/nfc/nfc/ |
D | nfc_ncif.cc | 69 std::string filepath = nfc_storage_path + filename; in storeNativeCrashLogs() local 73 << StringPrintf("%s: file=%s", __func__, filepath.c_str()); in storeNativeCrashLogs() 76 if (stat(filepath.c_str(), &st) == 0) { in storeNativeCrashLogs() 84 open(filepath.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in storeNativeCrashLogs() 87 open(filepath.c_str(), O_RDWR | O_CREAT | O_APPEND, S_IRUSR | S_IWUSR); in storeNativeCrashLogs()
|
/system/libufdt/utils/src/ |
D | mkdtboimg.py | 856 filepath = args.dtbdir + os.sep + dt_arg['filename'] 857 params['dt_file'] = open(filepath, 'rb')
|