Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 25 of 25) 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()
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 …]
Dincremental_utils.h39 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd,
Dincremental_utils.cpp347 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/
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()
Ddso.cpp494 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()
DOfflineUnwinder.cpp131 name = elf->filepath().c_str(); in CreateMapInfo()
Dcmd_record.cpp1160 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()
Dread_elf.cpp600 *status = OpenObjectFile(elf->filepath(), elf->entry_offset(), elf->entry_size(), &wrapper); in Open()
/system/tools/xsdc/build/
Dxsdc.go206 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/
Daidl_interface.go210 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 …]
Daidl_test.go574 libBar := filepath.Join("bar-cpp", nativeVariant, "bar-V1-cpp.so")
/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/ca-certificates/soong/
Dca_certificates.go43 filename := filepath.Base(src)
/system/tools/hidl/
DCoordinator.cpp109 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/
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/nfc/src/nfc/nfc/
Dnfc_ncif.cc69 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/
Dmkdtboimg.py856 filepath = args.dtbdir + os.sep + dt_arg['filename']
857 params['dt_file'] = open(filepath, 'rb')