Home
last modified time | relevance | path

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

/system/core/adb/client/
Dincremental_server.cpp152 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()
181 const char* const filepath; member in incremental::File
186 File(const char* filepath, FileId id, int64_t size, int64_t tree_offset) in File() argument
187 : filepath(filepath), id(id), size(size), tree_offset_(tree_offset) { in File()
394 fprintf(stderr, "Failed to get data for %s.idsig at blockIdx=%d.\n", file.filepath, in SendTreeBlock()
414 D("Skipped reading file %s at block %" PRId32 " (past end).", file.filepath, blockIdx); in SendDataBlock()
429 fprintf(stderr, "Failed to get data for %s at blockIdx=%d (%d).\n", file.filepath, blockIdx, in SendDataBlock()
658 static std::pair<unique_fd, int64_t> open_fd(const char* filepath) { in open_fd() argument
[all …]
Dincremental_utils.h40 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd,
Dincremental_utils.cpp359 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd, in PriorityBlocksForFile() argument
361 if (!android::base::EndsWithIgnoreCase(filepath, ".apk"sv)) { in PriorityBlocksForFile()
/system/sepolicy/build/soong/
Dfilegroup.go116 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/
DfqName.go85 return filepath.Join(filepath.Join(f.packageComponents...), f.version()) + "/"
88 return filepath.Join(filepath.Join(f.packageComponents...), f.sanitizedVersion()) + "/"
/system/extras/simpleperf/
Dread_apk.h38 EmbeddedElf(const std::string& filepath, in EmbeddedElf() argument
42 : filepath_(filepath) in EmbeddedElf()
50 const std::string &filepath() const { return filepath_; } in filepath() function
Devent_type.h59 bool SetTracepointEventsFilePath(const std::string& filepath);
Devent_type.cpp59 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()
Denvironment.h44 std::string filepath; member
Denvironment.cpp173 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()
DOfflineUnwinder.cpp136 name = elf->filepath().data(); in CreateMapInfo()
Dread_elf.cpp495 *status = OpenObjectFile(elf->filepath(), elf->entry_offset(), elf->entry_size(), &wrapper); in Open()
Dcmd_record.cpp1182 kernel_mmap.len, 0, kernel_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps()
1188 module_mmap.len, 0, module_mmap.filepath, dumping_attr_id_.ids[0]); in DumpKernelMaps()
/system/tools/xsdc/build/
Dxsdc.go214 currentApiFileName := filepath.Join(api_dir, "current.txt")
215 removedApiFileName := filepath.Join(api_dir, "removed.txt")
223 filepath.Join(api_dir, "last_current.txt"))
225 filepath.Join(api_dir, "last_removed.txt"))
/system/core/healthd/
Dcharger_test.cpp109 ::android::hardware::hidl_handle createHidlHandle(const char* filepath) { in createHidlHandle() argument
110 int fd = creat(filepath, S_IRUSR | S_IWUSR); in createHidlHandle()
/system/tools/aidl/build/
Daidl_interface.go284 return filepath.Clean(path) == path && path != ".." &&
393 relPath, _ := filepath.Rel(baseDir, src.String())
434 typeName := strings.TrimSuffix(filepath.Base(relPath), ".aidl")
435 packagePath := filepath.Dir(relPath)
545 return filepath.Join(aidlApiDir, m.properties.BaseName)
593 relPath, _ := filepath.Rel(baseDir, src.String())
628 targetDir := filepath.Join(modulePath, m.apiDir(), version)
757 files: ctx.Glob(filepath.Join(currentApiDir.Path().String(), "**/*.aidl"), nil),
781 apiDir := filepath.Join(ctx.ModuleDir(), m.apiDir(), ver)
786 files: ctx.Glob(filepath.Join(apiDirPath.String(), "**/*.aidl"), nil),
[all …]
Daidl_test.go574 libBar := filepath.Join("bar-cpp", nativeVariant, "bar-V1-cpp.so")
/system/ca-certificates/soong/
Dca_certificates.go43 filename := filepath.Base(src)
/system/tools/hidl/
DCoordinator.cpp113 std::string filepath; in getFormatter() local
114 status_t err = getFilepath(fqName, location, fileName, &filepath); in getFormatter()
119 onFileAccess(filepath, "w"); in getFormatter()
121 if (!Coordinator::MakeParentHierarchy(filepath)) { in getFormatter()
122 fprintf(stderr, "ERROR: could not make directories for %s.\n", filepath.c_str()); in getFormatter()
126 FILE* file = fopen(filepath.c_str(), "w"); in getFormatter()
129 fprintf(stderr, "ERROR: could not open file %s: %d\n", filepath.c_str(), errno); in getFormatter()
/system/extras/simpleperf/scripts/inferno/
Dinferno.py168 filepath = os.path.realpath(f.name)
230 return "file://" + filepath
/system/tools/hidl/c2hal/
DREADME.md13 c2hal [-g] [-o dir] -p package (-r interface-root)+ (header-filepath)+
/system/security/keystore/
Dblob.cpp720 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/libufdt/utils/src/
Dmkdtboimg.py856 filepath = args.dtbdir + os.sep + dt_arg['filename']
857 params['dt_file'] = open(filepath, 'rb')