/system/sepolicy/build/soong/ |
D | build_files.go | 61 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 …]
|
D | sepolicy_freeze.go | 71 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")
|
D | filegroup.go | 121 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/ |
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 | 36 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
|
D | event_type.h | 107 bool ReadTracepointsFromFile(const std::string& filepath); 108 bool WriteTracepointsToFile(const std::string& filepath);
|
D | MapRecordReader.cpp | 37 kernel_mmap.filepath, event_id_); in ReadKernelMaps() 43 module_mmap.filepath, event_id_); in ReadKernelMaps()
|
D | event_type.cpp | 375 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()
|
D | environment.h | 49 std::string filepath; member
|
D | environment.cpp | 114 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/ |
D | cow_converter.py | 27 def IsSparseImage(filepath): argument 36 with open(filepath, 'rb') as fp:
|
D | simulate_ota.py | 45 def is_sparse_image(filepath): argument 46 with open(filepath, 'rb') as fp:
|
/system/nfc/src/adaptation/ |
D | debug_nfcsnoop.cc | 257 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/ |
D | debug_nfcsnoop.h | 54 bool storeNfcSnoopLogs(std::string filepath, off_t maxFileSize);
|
/system/apex/apexd/ |
D | apexd_test_utils.h | 317 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/ |
D | xsdc.go | 279 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/ |
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/tools/hidl/ |
D | Coordinator.cpp | 113 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/ |
D | ca_certificates.go | 43 filename := filepath.Base(src)
|
/system/linkerconfig/modules/ |
D | apex.cc | 51 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/ |
D | chre_power_test_client.cc | 988 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/ |
D | mkdtboimg.py | 900 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/ |
D | inferno.py | 171 filepath = os.path.realpath(f.name) 233 return "file://" + filepath
|
/system/tools/aidl/build/ |
D | aidl_gen_rule.go | 231 typeName := strings.TrimSuffix(filepath.Base(relPath), ".aidl") 232 packagePath := filepath.Dir(relPath)
|
/system/tools/hidl/c2hal/ |
D | README.md | 13 c2hal [-g] [-o dir] -p package (-r interface-root)+ (header-filepath)+
|