/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/tools/xsdc/src/main/java/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/core/fastboot/ |
D | fs.cpp | 114 static int generate_ext4_image(const char* fileName, long long partSize, unsigned eraseBlkSize, in generate_ext4_image() argument 152 mke2fs_args.push_back(fileName); in generate_ext4_image() 181 static int generate_f2fs_image(const char* fileName, long long partSize, unsigned /* unused */, in generate_f2fs_image() argument 212 mkf2fs_args.push_back(fileName); in generate_f2fs_image() 226 int (*generate)(const char* fileName, long long partSize, unsigned eraseBlkSize, 243 int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize, in fs_generator_generate() argument 246 return gen->generate(fileName, partSize, eraseBlkSize, logicalBlkSize, fsOptions); in fs_generator_generate()
|
D | fs.h | 15 int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
|
/system/extras/perf_tools/bats/ |
D | lcan.py | 528 self.fileName = "none" 530 def scanKeyWords(self, fileName): argument 531 print("Scanning {}".format(fileName)) 532 cmd = "grep \"apexd: wait for '\/dev\/loop-control'\" {}".format(fileName) 534 cmd = "grep \"Service 'apexd-bootstrap\" {}".format(fileName) 536 cmd = "grep apexd.status=activated {}".format(fileName) 538 cmd = "grep \"Service 'bpfloader'\" {}".format(fileName) 540 cmd = "grep \"sys.boot_completed=1\" {} | head -n 1".format(fileName) 543 def scanTook(self, fileName): argument 544 lCLogFile = LCLogFile(fileName) [all …]
|
/system/chre/java/test/utils/src/com/google/android/utils/chre/ |
D | ChreTestUtil.java | 61 public static InputStream getNanoAppInputStream(Context context, String fileName) { in getNanoAppInputStream() argument 64 inputStream = context.getAssets().open(fileName); in getNanoAppInputStream() 66 Assert.fail("Could not find asset " + fileName + ": " + e.toString()); in getNanoAppInputStream() 77 public static NanoAppBinary createNanoAppBinary(String fileName) { in createNanoAppBinary() argument 80 InputStream stream = getNanoAppInputStream(context, fileName); in createNanoAppBinary() 86 Assert.fail("IOException while reading binary for " + fileName + ": " + e.getMessage()); in createNanoAppBinary()
|
/system/apex/tests/src/com/android/tests/apex/host/ |
D | VendorApexTests.java | 103 private void pushPreinstalledApex(String fileName) throws Exception { in pushPreinstalledApex() argument 105 final File apex = buildHelper.getTestFile(fileName); in pushPreinstalledApex() 107 assertTrue(getDevice().pushFile(apex, Paths.get("/vendor/apex", fileName).toString())); in pushPreinstalledApex()
|
D | ApexCompressionTests.java | 122 private void pushTestApex(final String fileName) throws Exception { in pushTestApex() argument 123 final File apex = mHostUtils.getTestFile(fileName); in pushTestApex() 125 assertTrue(getDevice().pushFile(apex, "/system/apex/" + fileName)); in pushTestApex()
|
/system/media/audio/include/system/ |
D | audio_config.h | 50 static inline std::string audio_find_readable_configuration_file(const char* fileName) { in audio_find_readable_configuration_file() argument 52 std::string tryPath = path + "/" + fileName; in audio_find_readable_configuration_file()
|
/system/logging/liblog/ |
D | event_tag_map.cpp | 282 EventTagMap* android_openEventTagMap(const char* fileName) { in android_openEventTagMap() argument 292 const char* tagfile = fileName ? fileName : eventTagFiles[which]; in android_openEventTagMap() 312 if (fileName) break; // Only allow one as specified in android_openEventTagMap() 333 const char* tagfile = fileName ? fileName : eventTagFiles[which]; in android_openEventTagMap()
|
/system/logging/liblog/include/log/ |
D | event_tag_map.h | 35 EventTagMap* android_openEventTagMap(const char* fileName);
|
/system/libvintf/ |
D | utils.h | 36 if (outObject->fileName().empty()) { in fetchAllInformation() 39 outObject->setFileName(outObject->fileName() + ":" + path); in fetchAllInformation()
|
D | CompatibilityMatrix.cpp | 344 *error = "File \"" + e.fileName() + "\" is not a framework compatibility matrix."; in combine() 380 *error = "Conflict when merging \"" + e.fileName() + "\": " + *error + "\n" + in combine() 385 parsedFiles.push_back(e.fileName()); in combine() 401 *error = "Conflict when merging \"" + e.fileName() + "\": " + *error + "\n" + in combineDeviceMatrices() 406 parsedFiles.push_back(e.fileName()); in combineDeviceMatrices() 417 *error = "File \"" + inputMatrix->fileName() + "\" cannot be added: " + *error + "."; in addAll() 428 *error = "File \"" + inputMatrix->fileName() + "\" cannot be added: " + *error; in addAllAsOptional()
|
D | HalManifest.cpp | 48 if (!hal.fileName().empty()) { in shouldAdd() 49 error->insert(0, "For file " + hal.fileName() + ": "); in shouldAdd() 88 if (!existingHal->fileName().empty()) { in addingConflictingMajorVersion() 89 *error += " (from " + existingHal->fileName() + ")"; in addingConflictingMajorVersion() 92 if (!hal.fileName().empty()) { in addingConflictingMajorVersion() 93 *error += " (from " + hal.fileName() + ")"; in addingConflictingMajorVersion() 143 if (!existingHal->fileName().empty()) { in addingConflictingFqInstance() 144 *error += " (from " + existingHal->fileName() + ")"; in addingConflictingFqInstance() 147 if (!halToAdd.fileName().empty()) { in addingConflictingFqInstance() 148 *error += " (from " + halToAdd.fileName() + ")"; in addingConflictingFqInstance()
|
D | AssembleVintf.cpp | 309 if (!e.fileName().empty()) { in outputInputs() 310 out() << " " << e.fileName() << std::endl; in outputInputs() 375 const std::string& path = it->fileName(); in assembleHalManifest() 385 << (manifestWithLevel ? manifestWithLevel->fileName() : "<unknown>") in assembleHalManifest() 569 << matrices->front().fileName() << "), '" << valueInMatrix.version() in assembleCompatibilityMatrix() 668 const std::string& fileName = it->name(); in tryAssemble() local 669 additionalSchema.setFileName(fileName); in tryAssemble() 671 err() << "File \"" << fileName << "\" is not a valid " << firstType << " " in tryAssemble() 677 err() << "File \"" << fileName << "\" is a " << additionalSchema.type() << " " in tryAssemble()
|
D | VintfObject.cpp | 578 for (const std::string& fileName : fileNames) { in getAllFrameworkMatrixLevels() local 579 std::string path = dir + fileName; in getAllFrameworkMatrixLevels() 1068 if (android::base::StartsWith(namedMatrix.fileName(), kProductVintfDir)) { in hasFrameworkCompatibilityMatrixExtensions() 1072 if (android::base::StartsWith(namedMatrix.fileName(), kSystemExtVintfDir)) { in hasFrameworkCompatibilityMatrixExtensions() 1076 if (android::base::StartsWith(namedMatrix.fileName(), kSystemVintfDir) && in hasFrameworkCompatibilityMatrixExtensions() 1289 LOG(INFO) << "Skip checkMatrixHalsHasDefinition() on " << matrix.fileName() in checkMatrixHalsHasDefinition() 1302 matrix.fileName() + in checkMatrixHalsHasDefinition() 1315 matrix.fileName() + in checkMatrixHalsHasDefinition()
|
D | parse_xml.cpp | 183 std::string fileName; member 240 std::string_view fileName{o->fileName()}; in fromXml() local 241 if (auto pos = fileName.rfind(':'); pos != fileName.npos) { in fromXml() 242 fileName.remove_prefix(pos + 1); in fromXml() 244 buildObjectParam.fileName = std::string(fileName); in fromXml() 840 std::string_view apexName = parseApexName(param.fileName); in buildObject() 1306 hal.setFileName(object->fileName()); in buildObject()
|
/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() 526 const std::string& fileName, bool* isVariant) { in hasVariantFile() argument 534 coordinator->getFilepath(fqName, Coordinator::Location::PACKAGE_ROOT, fileName, &path); in hasVariantFile()
|
/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/core/init/ |
D | selinux.cpp | 554 Result<void> PutFileInTmpfs(ZipArchiveHandle archive, const std::string& fileName) { in PutFileInTmpfs() argument 556 std::string dstPath = kTmpfsDir + fileName; in PutFileInTmpfs() 558 int ret = FindEntry(archive, fileName, &entry); in PutFileInTmpfs() 572 return Error() << "Failed to extract entry \"" << fileName << "\" (" in PutFileInTmpfs()
|
/system/extras/perf_tools/ |
D | sbtpull.py | 363 self.fileName = _fileName 370 print("Reporting on '{}'".format(self.fileName)) 408 self.fileName = []
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 150 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle);
|