Searched refs:utf16ToUtf8 (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 174 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/ |
D | Pseudolocalizer_test.cpp | 31 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/ |
D | ManifestClassGenerator.cpp | 76 util::utf16ToUtf8(result.value()), util::utf16ToUtf8(attr->value)); in writeSymbol()
|
D | AnnotationProcessor.cpp | 55 std::string utf8Line = util::utf16ToUtf8(line); in appendComment()
|
D | JavaClassGenerator.cpp | 64 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()
|
D | JavaClassGenerator_test.cpp | 288 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/ |
D | TableMerger.cpp | 70 io::IFile* f = collection->findFile(util::utf16ToUtf8(*oldFile->path)); in mergeImpl() 115 io::IFile* f = collection->findFile(util::utf16ToUtf8(*oldFile->path)); in mergeAndMangle()
|
D | Link.cpp | 455 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/ |
D | Util.h | 209 std::string utf16ToUtf8(const StringPiece16& utf8);
|
D | Util.cpp | 437 std::string utf16ToUtf8(const StringPiece16& utf16) { in utf16ToUtf8() function
|
/frameworks/base/tools/aapt2/ |
D | StringPool.cpp | 323 std::string encoded = util::utf16ToUtf8(entry->value); in flatten()
|
D | ResourceParser.cpp | 277 parsedResource.product = util::utf16ToUtf8(maybeProduct.value()); in parseResources()
|