/system/libvintf/include/vintf/ |
D | WithFileName.h | 32 WithFileName(const std::string& fileName) : mFileName(fileName) {} in WithFileName() 33 const std::string& fileName() const { return mFileName; } in fileName() function 34 void setFileName(std::string&& fileName) { mFileName = std::move(fileName); } in setFileName() 35 void setFileName(const std::string& fileName) { mFileName = fileName; } in setFileName()
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | Config.java | 37 private static final String fileName = "config.json"; field in Config 60 … String content = new String(Files.readAllBytes(Paths.get(fileDir + File.separator + fileName))); in getConfiguration() 64 …System.err.println("" + fileDir + File.separator + fileName + " file does not exists because the t… in getConfiguration() 67 …System.err.println("" + fileDir + File.separator + fileName + " file read/write permission denied.… in getConfiguration() 70 … System.err.println("Exception while opening file " + fileDir + File.separator + fileName + "."); in getConfiguration() 73 … System.err.println("Invalid json format for file " + fileDir + File.separator + fileName + "."); in getConfiguration() 76 … System.err.println("Exception while parsing file " + fileDir + File.separator + fileName + "."); in getConfiguration() 88 File file = new File(directory, fileName); in saveConfiguration() 96 …n("Exception while saving configuration, " + fileDir + File.separator + fileName + " file not foun… in saveConfiguration() 118 … System.err.println("Exception while deleting file " + fileDir + File.separator + fileName + "."); in createLockFile()
|
/system/core/fastboot/ |
D | fs.cpp | 114 static int generate_ext4_image(const char* fileName, long long partSize, in generate_ext4_image() argument 140 mke2fs_args.push_back(fileName); in generate_ext4_image() 160 fileName, nullptr}; in generate_ext4_image() 165 static int generate_f2fs_image(const char* fileName, long long partSize, const std::string& initial… in generate_f2fs_image() argument 177 mkf2fs_args.push_back(fileName); in generate_f2fs_image() 191 "-f", initial_dir.c_str(), fileName, nullptr}; in generate_f2fs_image() 200 int (*generate)(const char* fileName, long long partSize, const std::string& initial_dir, 217 int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize, in fs_generator_generate() argument 220 return gen->generate(fileName, partSize, initial_dir, eraseBlkSize, logicalBlkSize); in fs_generator_generate()
|
D | fs.h | 9 int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | FileSystem.java | 37 public PrintWriter getPrintWriter(String fileName) throws IOException { in getPrintWriter() argument 39 return new PrintWriter(new File(rootDirectory, fileName)); in getPrintWriter() 42 fileOutputMap.put(fileName, sw.getBuffer()); in getPrintWriter()
|
/system/netd/server/ |
D | FirewallController.cpp | 358 uid_t FirewallController::discoverMaximumValidUid(const std::string& fileName) { in discoverMaximumValidUid() argument 360 if (!ReadFileToString(fileName, &content, false)) { in discoverMaximumValidUid() 362 ALOGD("Could not read %s, max uid defaulting to %u", fileName.c_str(), kDefaultMaximumUid); in discoverMaximumValidUid() 368 ALOGD("%s was empty, max uid defaulting to %u", fileName.c_str(), kDefaultMaximumUid); in discoverMaximumValidUid() 385 ALOGD("Format of %s unrecognized, max uid defaulting to %u", fileName.c_str(), in discoverMaximumValidUid()
|
D | FirewallController.h | 77 static uid_t discoverMaximumValidUid(const std::string& fileName);
|
/system/libvintf/ |
D | utils.h | 36 if (outObject->fileName().empty()) { in fetchAllInformation() 39 outObject->setFileName(outObject->fileName() + ":" + path); in fetchAllInformation()
|
D | CompatibilityMatrix.cpp | 343 *error = "File \"" + e.fileName() + "\" is not a framework compatibility matrix."; in combine() 379 *error = "Conflict when merging \"" + e.fileName() + "\": " + *error + "\n" + in combine() 384 parsedFiles.push_back(e.fileName()); in combine() 400 *error = "Conflict when merging \"" + e.fileName() + "\": " + *error + "\n" + in combineDeviceMatrices() 405 parsedFiles.push_back(e.fileName()); in combineDeviceMatrices() 416 *error = "File \"" + inputMatrix->fileName() + "\" cannot be added: " + *error + "."; in addAll() 427 *error = "File \"" + inputMatrix->fileName() + "\" cannot be added: " + *error; in addAllAsOptional()
|
D | AssembleVintf.cpp | 307 if (!e.fileName().empty()) { in outputInputs() 308 out() << " " << base::Basename(e.fileName()) << std::endl; in outputInputs() 371 const std::string& path = it->fileName(); in assembleHalManifest() 379 << " File '" << halManifests->front().fileName() << "' has level " in assembleHalManifest() 563 << matrices->front().fileName() << "), '" << valueInMatrix.version() in assembleCompatibilityMatrix() 661 const std::string& fileName = it->name(); in tryAssemble() local 662 additionalSchema.setFileName(fileName); in tryAssemble() 664 std::cerr << "File \"" << fileName << "\" is not a valid " << firstType << " " in tryAssemble() 670 std::cerr << "File \"" << fileName << "\" is a " << additionalSchema.type() << " " in tryAssemble()
|
D | HalManifest.cpp | 48 if (!hal.fileName().empty()) { in shouldAdd() 49 error->insert(0, "For file " + hal.fileName() + ": "); in shouldAdd() 76 if (!existingHal->fileName().empty()) { in shouldAdd() 77 *error += " (from " + existingHal->fileName() + ")"; in shouldAdd() 80 if (!hal.fileName().empty()) { in shouldAdd() 81 *error += " (from " + hal.fileName() + ")"; in shouldAdd()
|
D | VintfObject.cpp | 464 for (const std::string& fileName : fileNames) { in getAllFrameworkMatrixLevels() local 465 std::string path = dir + fileName; in getAllFrameworkMatrixLevels() 934 if (android::base::StartsWith(namedMatrix.fileName(), kProductVintfDir)) { in hasFrameworkCompatibilityMatrixExtensions() 938 if (android::base::StartsWith(namedMatrix.fileName(), kSystemExtVintfDir)) { in hasFrameworkCompatibilityMatrixExtensions() 942 if (android::base::StartsWith(namedMatrix.fileName(), kSystemVintfDir) && in hasFrameworkCompatibilityMatrixExtensions()
|
/system/core/liblog/include/log/ |
D | event_tag_map.h | 35 EventTagMap* android_openEventTagMap(const char* fileName);
|
/system/timezone/tzdatacheck/ |
D | tzdatacheck.cpp | 101 static bool readBytes(const std::string& fileName, char* buffer, size_t byteCount) { in readBytes() argument 102 FILE* file = fopen(fileName.c_str(), "r"); in readBytes() 105 PLOG(WARNING) << "Error opening file " << fileName; in readBytes() 112 LOG(WARNING) << fileName << " is too small. " << byteCount << " bytes required"; in readBytes()
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/ |
D | CreateTimeZoneDistro.java | 130 String fileName = getMandatoryProperty(p, propertyName); in getMandatoryPropertyFile() local 131 File file = new File(fileName); in getMandatoryPropertyFile()
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | FileUtils.java | 152 for (String fileName : fileNames) { in filesExist() 153 File file = new File(rootDir, fileName); in filesExist()
|
/system/core/liblog/ |
D | event_tag_map.cpp | 409 EventTagMap* android_openEventTagMap(const char* fileName) { in android_openEventTagMap() argument 419 const char* tagfile = fileName ? fileName : eventTagFiles[which]; in android_openEventTagMap() 439 if (fileName) break; // Only allow one as specified in android_openEventTagMap() 460 const char* tagfile = fileName ? fileName : eventTagFiles[which]; in android_openEventTagMap()
|
/system/tools/hidl/ |
D | Coordinator.cpp | 108 const std::string& fileName) const { in getFormatter() 114 status_t err = getFilepath(fqName, location, fileName, &filepath); in getFormatter() 137 const std::string& fileName, std::string* path) const { in getFilepath() argument 144 *path = mOutputPath + fileName; in getFilepath() 150 *path = mOutputPath + packagePath + fileName; in getFilepath() 158 *path = mOutputPath + packageRootPath + packagePath + fileName; in getFilepath() 166 *path = mOutputPath + packageRootPath + packagePath + fileName; in getFilepath() 517 for (const auto &fileName : fileNames) { in appendPackageInterfacesToVector() local 518 FQName subFQName(package.package(), package.version(), fileName); in appendPackageInterfacesToVector()
|
D | Coordinator.h | 65 status_t getFilepath(const FQName& fqName, Location location, const std::string& fileName, 69 const std::string& fileName) const;
|
D | main.cpp | 85 std::string fileName; in appendOutputFiles() local 86 status_t err = getOutputFile(fqName, coordinator, location, &fileName); in appendOutputFiles() 89 if (!fileName.empty()) { in appendOutputFiles() 90 outputFiles->push_back(fileName); in appendOutputFiles() 286 const std::string& fileName, const FileGenerator::GenerationFunction& generationFunction) { in singleFileGenerator() argument 288 FileGenerator::alwaysGenerate, [fileName](const FQName&) { return fileName; }, in singleFileGenerator()
|
/system/tools/hidl/c2hal/ |
D | AST.cpp | 258 std::string fileName = declaration->getInterfaceName() + ".hal"; in generateFile() local 260 FILE *file = fopen((getFileDir() + fileName).c_str(), "w"); in generateFile()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspendUnitTest.cpp | 407 bool writeStatToFile(int statDirFd, const std::string& fileName, const std::string& stat) { in writeStatToFile() argument 409 openat(statDirFd, fileName.c_str(), O_CREAT | O_CLOEXEC | O_RDWR, S_IRWXU))}; in writeStatToFile() 411 PLOG(ERROR) << "SystemSuspend: Error opening " << fileName; in writeStatToFile() 416 PLOG(ERROR) << "SystemSuspend: Error writing stat to " << fileName; in writeStatToFile() 423 bool writeStatToFile(int statDirFd, const std::string& fileName, int64_t stat) { in writeStatToFile() argument 424 return writeStatToFile(statDirFd, fileName, std::to_string(stat)); in writeStatToFile()
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | DeployAgent.java | 170 String fileName = in getFilenameFromPackageName() local 172 return fileName; in getFilenameFromPackageName()
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 148 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle);
|
/system/apex/apexd/ |
D | apexd.cpp | 1088 const std::string fileName = in emitApexInfoList() local 1093 open(fileName.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644))); in emitApexInfoList() 1095 return ErrnoErrorf("Can't open {}", fileName); in emitApexInfoList() 1121 return ErrnoErrorf("Can't write to {}", fileName); in emitApexInfoList() 1131 if (mount(fileName.c_str(), mountPoint.c_str(), nullptr, MS_BIND, nullptr) == in emitApexInfoList() 1133 return ErrnoErrorf("Can't bind mount {} to {}", fileName, mountPoint); in emitApexInfoList() 1135 return RestoreconPath(fileName); in emitApexInfoList()
|