Home
last modified time | relevance | path

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

12

/system/sepolicy/build/soong/
Dbuild_files.go61 path := filepath.Join(dir, file)
95 b.srcs[".reqd_mask"] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "reqd_mask"))
96 b.srcs[".plat_public"] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "public"))
97 b.srcs[".plat_private"] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "private"))
98 b.srcs[".plat_vendor"] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "vendor"))
120 …b.srcs[".plat_public_for_vendor"] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "prebuilt…
121 …b.srcs[".plat_private_for_vendor"] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "prebuil…
130 …b.srcs[".plat_public_"+ver] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "prebuilts", "a…
131 …b.srcs[".plat_private_"+ver] = b.findSrcsInDirs(ctx, filepath.Join(ctx.ModuleDir(), "prebuilts", "…
132 …b.srcs[".system_ext_public_"+ver] = b.findSrcsInDirs(ctx, filepath.Join(ctx.DeviceConfig().SystemE…
[all …]
Dsepolicy_freeze.go71 platPublic := filepath.Join(ctx.ModuleDir(), "public")
72 platPrivate := filepath.Join(ctx.ModuleDir(), "private")
73 prebuiltPublic := filepath.Join(ctx.ModuleDir(), "prebuilts", "api", platformVersion, "public")
74 prebuiltPrivate := filepath.Join(ctx.ModuleDir(), "prebuilts", "api", platformVersion, "private")
Dfilegroup.go121 path := filepath.Join(d, f)
138 fg.systemPublicSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "public"))
139 fg.systemPrivateSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "private"))
140 fg.systemReqdMaskSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "reqd_mask"))
150 systemVendorDirs = []string{filepath.Join(ctx.ModuleDir(), "vendor")}
/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.h36 EmbeddedElf(const std::string& filepath, const std::string& entry_name, uint64_t entry_offset, in EmbeddedElf() argument
38 : filepath_(filepath), in EmbeddedElf()
44 const std::string& filepath() const { return filepath_; } in filepath() function
Devent_type.h107 bool ReadTracepointsFromFile(const std::string& filepath);
108 bool WriteTracepointsToFile(const std::string& filepath);
DMapRecordReader.cpp37 kernel_mmap.filepath, event_id_); in ReadKernelMaps()
43 module_mmap.filepath, event_id_); in ReadKernelMaps()
Devent_type.cpp375 bool EventTypeManager::ReadTracepointsFromFile(const std::string& filepath) { in ReadTracepointsFromFile() argument
377 if (!android::base::ReadFileToString(filepath, &data)) { in ReadTracepointsFromFile()
378 PLOG(ERROR) << "Failed to read " << filepath; in ReadTracepointsFromFile()
387 bool EventTypeManager::WriteTracepointsToFile(const std::string& filepath) { in WriteTracepointsToFile() argument
390 if (!android::base::WriteStringToFile(s, filepath)) { in WriteTracepointsToFile()
Denvironment.h49 std::string filepath; member
Denvironment.cpp114 module.filepath = it->second; in GetModulesInUse()
129 kernel_mmap->filepath = kernel_mmap->name; in GetKernelAndModuleMmaps()
132 if (map.filepath.empty()) { in GetKernelAndModuleMmaps()
133 map.filepath = "[" + map.name + "]"; in GetKernelAndModuleMmaps()
/system/update_engine/scripts/
Dcow_converter.py27 def IsSparseImage(filepath): argument
36 with open(filepath, 'rb') as fp:
Dsimulate_ota.py45 def is_sparse_image(filepath): argument
46 with open(filepath, 'rb') as fp:
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc257 bool storeNfcSnoopLogs(std::string filepath, off_t maxFileSize) { in storeNfcSnoopLogs() argument
266 if (stat(filepath.c_str(), &st) == 0) { in storeNfcSnoopLogs()
274 fileStream = open(filepath.c_str(), O_RDWR | O_CREAT | O_TRUNC, in storeNfcSnoopLogs()
277 fileStream = open(filepath.c_str(), O_RDWR | O_CREAT | O_APPEND, in storeNfcSnoopLogs()
/system/nfc/src/include/
Ddebug_nfcsnoop.h54 bool storeNfcSnoopLogs(std::string filepath, off_t maxFileSize);
/system/apex/apexd/
Dapexd_test_utils.h317 const std::string& filepath) { in CreateLoopDeviceForTest() argument
330 base::unique_fd target_fd(open(filepath.c_str(), O_RDONLY | O_CLOEXEC)); in CreateLoopDeviceForTest()
332 return base::ErrnoError() << "Failed to open " << filepath; in CreateLoopDeviceForTest()
335 strlcpy((char*)li.lo_crypt_name, filepath.c_str(), LO_NAME_SIZE); in CreateLoopDeviceForTest()
347 const std::string& filepath, const std::string& mount_point) { in MountViaLoopDevice() argument
348 auto loop_device = CreateLoopDeviceForTest(filepath); in MountViaLoopDevice()
/system/tools/xsdc/build/
Dxsdc.go279 currentApiFileName := filepath.Join(api_dir, "current.txt")
280 removedApiFileName := filepath.Join(api_dir, "removed.txt")
288 filepath.Join(api_dir, "last_current.txt"))
290 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/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/ca-certificates/soong/
Dca_certificates.go43 filename := filepath.Base(src)
/system/linkerconfig/modules/
Dapex.cc51 Result<std::set<std::string>> ReadPublicLibraries(const std::string& filepath) { in ReadPublicLibraries() argument
53 if (!android::base::ReadFileToString(filepath, &file_content, true)) { in ReadPublicLibraries()
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc988 std::string filepath = getPath(args); in main() local
991 size_t index = filepath.find_last_of("."); in main()
993 filepath = filepath.substr(0, index); in main()
995 success = loadNanoapp(client, callbacks, filepath); in main()
/system/libufdt/utils/src/
Dmkdtboimg.py900 filepath = dt_arg['filename']
901 if not os.path.isabs(filepath):
903 for filename in fnmatch.filter(filenames, os.path.basename(filepath)):
904 filepath = os.path.join(root, filename)
905 params['dt_file'] = open(filepath, 'rb')
/system/extras/simpleperf/scripts/inferno/
Dinferno.py171 filepath = os.path.realpath(f.name)
233 return "file://" + filepath
/system/tools/aidl/build/
Daidl_gen_rule.go231 typeName := strings.TrimSuffix(filepath.Base(relPath), ".aidl")
232 packagePath := filepath.Dir(relPath)
/system/tools/hidl/c2hal/
DREADME.md13 c2hal [-g] [-o dir] -p package (-r interface-root)+ (header-filepath)+

12