Home
last modified time | relevance | path

Searched refs:utf16ToUtf8 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/proto/
DTableProtoSerializer.cpp174 pbItem->set_comment(util::utf16ToUtf8(item.getComment())); in serializeItemCommonToPb()
223 pbPackage->set_package_name(util::utf16ToUtf8(package->name)); in serializeTableToPb()
230 pbType->set_name(util::utf16ToUtf8(toString(type->type))); in serializeTableToPb()
237 pbEntry->set_name(util::utf16ToUtf8(entry->name)); in serializeTableToPb()
244 pbStatus->set_comment(util::utf16ToUtf8(entry->symbolStatus.comment)); in serializeTableToPb()
257 pbValue->set_comment(util::utf16ToUtf8(configValue->value->getComment())); in serializeTableToPb()
278 pbFile->set_resource_name(util::utf16ToUtf8(file.name.toString())); in serializeCompiledFileToPb()
284 pbSymbol->set_resource_name(util::utf16ToUtf8(exported.name.toString())); in serializeCompiledFileToPb()
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp31 std::string result = util::utf16ToUtf8( in simpleHelper()
43 std::string result = util::utf16ToUtf8(pseudo.start() + in compoundHelper()
224 ASSERT_EQ(StringPiece("Ĥéļļö, world!"), util::utf16ToUtf8(result)); in TEST()
/frameworks/base/tools/aapt2/java/
DManifestClassGenerator.cpp76 util::utf16ToUtf8(result.value()), util::utf16ToUtf8(attr->value)); in writeSymbol()
DAnnotationProcessor.cpp55 std::string utf8Line = util::utf16ToUtf8(line); in appendComment()
DJavaClassGenerator.cpp64 std::string output = util::utf16ToUtf8(symbol); in transform()
512 util::utf16ToUtf8(toString(type->type)), ClassQualifier::Static, in generate()
548 if (!ClassDefinition::writeJavaFile(&rClass, util::utf16ToUtf8(outPackageName), in generate()
DJavaClassGenerator_test.cpp288 EXPECT_NE(std::string::npos, actual.find(util::utf16ToUtf8(attr.getComment()))); in TEST()
289 EXPECT_NE(std::string::npos, actual.find(util::utf16ToUtf8(styleable.getComment()))); in TEST()
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp70 io::IFile* f = collection->findFile(util::utf16ToUtf8(*oldFile->path)); in mergeImpl()
115 io::IFile* f = collection->findFile(util::utf16ToUtf8(*oldFile->path)); in mergeAndMangle()
DLink.cpp455 fileOp.dstPath = util::utf16ToUtf8(*fileRef->path); in flatten()
732 file::appendPath(&outPath, file::packageToPath(util::utf16ToUtf8(outPackage))); in writeJavaFile()
786 const std::string packageUtf8 = util::utf16ToUtf8(mContext->getCompilationPackage()); in writeManifestJavaFile()
/frameworks/base/tools/aapt2/util/
DUtil.h209 std::string utf16ToUtf8(const StringPiece16& utf8);
DUtil.cpp437 std::string utf16ToUtf8(const StringPiece16& utf16) { in utf16ToUtf8() function
/frameworks/base/tools/aapt2/
DStringPool.cpp323 std::string encoded = util::utf16ToUtf8(entry->value); in flatten()
DResourceParser.cpp277 parsedResource.product = util::utf16ToUtf8(maybeProduct.value()); in parseResources()