Home
last modified time | relevance | path

Searched refs:resFile (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DCompile.cpp376 ResourceFile resFile; in compilePng() local
377 resFile.name = ResourceName({}, *parseResourceType(pathData.resourceDir), pathData.name); in compilePng()
378 resFile.config = pathData.config; in compilePng()
379 resFile.source = pathData.source; in compilePng()
394 if (!writeHeaderAndBufferToWriter(outputPath, resFile, buffer, writer, in compilePng()
405 ResourceFile resFile; in compileFile() local
406 resFile.name = ResourceName({}, *parseResourceType(pathData.resourceDir), pathData.name); in compileFile()
407 resFile.config = pathData.config; in compileFile()
408 resFile.source = pathData.source; in compileFile()
417 if (!writeHeaderAndMmapToWriter(outputPath, resFile, f.value(), writer, in compileFile()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp562 std::string buildResourceFileName(const ResourceFile& resFile, const NameMangler* mangler) { in buildResourceFileName() argument
564 out << "res/" << resFile.name.type; in buildResourceFileName()
565 if (resFile.config != ConfigDescription{}) { in buildResourceFileName()
566 out << "-" << resFile.config; in buildResourceFileName()
570 if (mangler && mangler->shouldMangle(resFile.name.package)) { in buildResourceFileName()
571 out << NameMangler::mangleEntry(resFile.name.package, resFile.name.entry); in buildResourceFileName()
573 out << resFile.name.entry; in buildResourceFileName()
575 out << file::getExtension(resFile.source.path); in buildResourceFileName()
DResourceUtils.h167 std::string buildResourceFileName(const ResourceFile& resFile, const NameMangler* mangler);
/frameworks/base/tools/aapt2/link/
DLink.cpp273 std::unique_ptr<ResourceFile> resFile = deserializeCompiledFileFromPb(*pbFile, source, diag); in loadFileExportHeader() local
274 if (!resFile) { in loadFileExportHeader()
277 return resFile; in loadFileExportHeader()
/frameworks/base/tools/aapt/
DResource.cpp1617 sp<AaptFile> resFile; in buildResources() local
1649 resFile = flattenedTable; in buildResources()
1740 if (finalResTable.getTableCount() == 0 || resFile == NULL) { in buildResources()
2020 if (resFile != NULL) { in buildResources()
2023 err = assets->addIncludedResources(resFile); in buildResources()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2131 File resFile = new File(dir, packageToRestrictionsFileName(pkg)); in cleanAppRestrictionsForPackage() local
2132 if (resFile.exists()) { in cleanAppRestrictionsForPackage()
2133 resFile.delete(); in cleanAppRestrictionsForPackage()