/frameworks/base/tools/aapt2/io/ |
H A D | FileSystem.cpp | 36 return util::make_unique<MmappedData>(std::move(map.value())); 38 return util::make_unique<EmptyData>(); 62 return (mFiles[path.toString()] = util::make_unique<RegularFile>(Source(path))).get(); 74 return util::make_unique<FileCollectionIterator>(this);
|
H A D | ZipArchive.cpp | 41 return util::make_unique<MmappedData>(std::move(fileMap)); 51 return util::make_unique<MallocData>(std::move(data), mZipEntry.uncompressed_length); 111 collection->mFiles[zipEntryPath] = util::make_unique<ZipFile>(collection->mHandle, 132 return util::make_unique<ZipFileCollectionIterator>(this);
|
/frameworks/base/tools/aapt2/link/ |
H A D | AutoVersioner_test.cpp | 32 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, "")); 33 entry.values.push_back(util::make_unique<ResourceConfigValue>(landConfig, "")); 34 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpLandConfig, "")); 46 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, "")); 47 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpV13Config, "")); 48 entry.values.push_back(util::make_unique<ResourceConfigValue>(v21Config, "")); 60 util::make_unique<Id>()) 62 util::make_unique<Id>()) 64 ResourceId(0x01010364), util::make_unique<Id>()) 66 util::make_unique<I [all...] |
H A D | ReferenceLinker_test.cpp | 41 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 81 style->entries.back().value = util::make_unique<RawString>( 168 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 189 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 213 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
|
H A D | TableMerger.cpp | 285 std::unique_ptr<FileReference> newFileRef = util::make_unique<FileReference>( 298 std::unique_ptr<FileReference> fileRef = util::make_unique<FileReference>(
|
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.h | 34 std::unique_ptr<ResourceTable> mTable = util::make_unique<ResourceTable>(); 50 return addValue(name, id, util::make_unique<Id>()); 59 return addValue(name, id, util::make_unique<Reference>(parseNameOrDie(ref))); 68 return addValue(name, id, util::make_unique<String>(mTable->stringPool.makeRef(str))); 74 util::make_unique<String>(mTable->stringPool.makeRef(str))); 84 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); 90 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); 130 std::unique_ptr<Reference> reference = util::make_unique<Reference>(parseNameOrDie(ref)); 140 return util::make_unique<BinaryPrimitive>(value); 174 AttributeBuilder(bool weak = false) : mAttr(util::make_unique<Attribut [all...] |
H A D | Context.h | 108 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>( 118 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>( 157 std::unique_ptr<SymbolTable::Symbol> clone = util::make_unique<SymbolTable::Symbol>(); 169 std::unique_ptr<StaticSymbolSource> mSymbolSource = util::make_unique<StaticSymbolSource>();
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable_test.cpp | 108 "", util::make_unique<Attribute>(true), test::getDiagnostics())); 115 "", util::make_unique<Attribute>(false), test::getDiagnostics())); 128 util::make_unique<Id>(), 133 util::make_unique<Id>(),
|
H A D | ResourceUtils.cpp | 241 std::unique_ptr<Reference> value = util::make_unique<Reference>(ref); 250 return util::make_unique<Reference>(ref, Reference::Type::kAttribute); 269 return util::make_unique<BinaryPrimitive>(value); 283 return util::make_unique<BinaryPrimitive>(value); 297 return util::make_unique<BinaryPrimitive>(flags); 319 return util::make_unique<BinaryPrimitive>(flags); 386 return error ? std::unique_ptr<BinaryPrimitive>() : util::make_unique<BinaryPrimitive>(value); 416 return util::make_unique<BinaryPrimitive>(value); 426 return util::make_unique<BinaryPrimitive>(value); 434 return util::make_unique<BinaryPrimitiv [all...] |
H A D | ResourceParser.cpp | 382 outResource->value = util::make_unique<Id>(); 491 return util::make_unique<StyledString>( 497 std::unique_ptr<Id> id = util::make_unique<Id>(); 516 return util::make_unique<String>( 522 return util::make_unique<RawString>( 607 outResource->value = util::make_unique<Id>(); 852 childResource.value = util::make_unique<Id>(); 884 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(weak); 986 std::unique_ptr<Style> style = util::make_unique<Style>(); 1059 std::unique_ptr<Array> array = util::make_unique<Arra [all...] |
/frameworks/base/tools/aapt2/java/ |
H A D | ManifestClassGenerator.cpp | 75 std::unique_ptr<StringMember> stringMember = util::make_unique<StringMember>( 96 util::make_unique<ClassDefinition>("permission", ClassQualifier::Static, false); 98 util::make_unique<ClassDefinition>("permission_group", ClassQualifier::Static, false); 118 util::make_unique<ClassDefinition>("Manifest", ClassQualifier::None, false);
|
H A D | JavaClassGenerator_test.cpp | 33 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 55 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 83 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 105 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 129 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 176 Source{ "lib.xml", 33 }, util::make_unique<Id>())); 215 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 237 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 270 .addValue(u"@android:attr/one", util::make_unique<Attribute>(attr)) 276 .addSymbolSource(util::make_unique<ResourceTableSymbolSourc [all...] |
H A D | JavaClassGenerator.cpp | 214 util::make_unique<ResourceArrayMember>(className); 250 styleableAttr.symbol = util::make_unique<SymbolTable::Symbol>(*symbol); 375 std::unique_ptr<IntMember> indexMember = util::make_unique<IntMember>( 455 util::make_unique<ResourceMember>(transform(unmangledName), id); 511 std::unique_ptr<ClassDefinition> classDef = util::make_unique<ClassDefinition>(
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoDeserializer.cpp | 164 std::unique_ptr<Reference> ref = util::make_unique<Reference>(); 175 return util::make_unique<BinaryPrimitive>(prim); 178 return util::make_unique<Id>(); 195 return util::make_unique<StyledString>( 198 return util::make_unique<String>( 204 return util::make_unique<RawString>( 210 return util::make_unique<FileReference>( 235 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(isWeak); 250 std::unique_ptr<Style> style = util::make_unique<Style>(); 284 std::unique_ptr<Styleable> styleable = util::make_unique<Styleabl [all...] |
H A D | TableProtoSerializer_test.cpp | 36 .addValue(u"@com.app.a:id/foo", {}, util::make_unique<Id>()) 49 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); 50 plural->values[Plural::One] = util::make_unique<String>(table->stringPool.makeRef(u"one")); 73 util::make_unique<Reference>(expectedRef),
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | Archive.cpp | 105 mWriter = util::make_unique<ZipWriter>(mFile.get()); 168 std::unique_ptr<DirectoryWriter> writer = util::make_unique<DirectoryWriter>(); 177 std::unique_ptr<ZipFileWriter> writer = util::make_unique<ZipFileWriter>();
|
H A D | TableFlattener_test.cpp | 152 util::make_unique<BinaryPrimitive>(uint8_t(Res_value::TYPE_INT_DEC), 1u)) 155 util::make_unique<BinaryPrimitive>(uint8_t(Res_value::TYPE_INT_DEC), 2u)) 217 util::make_unique<Attribute>(attr))
|
/frameworks/base/tools/aapt2/split/ |
H A D | TableSplitter_test.cpp | 63 util::make_unique<Id>(), 66 util::make_unique<Id>(), 69 util::make_unique<Id>(),
|
H A D | TableSplitter.h | 55 mSplits.push_back(util::make_unique<ResourceTable>());
|
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 385 return util::make_unique<Id>(); 406 return util::make_unique<StyledString>(mTable->stringPool.makeRef( 412 return util::make_unique<FileReference>(mTable->stringPool.makeRef( 418 return util::make_unique<String>(mTable->stringPool.makeRef( 432 return util::make_unique<BinaryPrimitive>(nullType); 436 return util::make_unique<Reference>(data, type); 440 return util::make_unique<BinaryPrimitive>(*value); 467 std::unique_ptr<Style> style = util::make_unique<Style>(); 493 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(isWeak); 532 std::unique_ptr<Array> array = util::make_unique<Arra [all...] |
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.cpp | 77 std::unique_ptr<Namespace> ns = util::make_unique<Namespace>(); 106 std::unique_ptr<Element> el = util::make_unique<Element>(); 153 std::unique_ptr<Text> text = util::make_unique<Text>(); 198 return util::make_unique<XmlResource>(ResourceFile{ {}, {}, source }, std::move(stack.root)); 249 std::unique_ptr<Namespace> node = util::make_unique<Namespace>(); 265 std::unique_ptr<Element> node = util::make_unique<Element>(); 284 std::unique_ptr<Text> node = util::make_unique<Text>(); 322 return util::make_unique<XmlResource>(ResourceFile{}, std::move(root));
|
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.cpp | 110 std::unique_ptr<StyledString> localizedString = util::make_unique<StyledString>( 132 std::unique_ptr<Array> localized = util::make_unique<Array>(); 149 std::unique_ptr<Plural> localized = util::make_unique<Plural>(); 173 std::unique_ptr<String> localized = util::make_unique<String>(mPool->makeRef(result));
|
H A D | Pseudolocalizer.cpp | 71 mImpl = util::make_unique<PseudoMethodNone>(); 74 mImpl = util::make_unique<PseudoMethodAccent>(); 77 mImpl = util::make_unique<PseudoMethodBidi>();
|
H A D | PseudolocaleGenerator_test.cpp | 35 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(), 56 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(),
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 116 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>(); 154 std::unique_ptr<SymbolTable::Symbol> s = util::make_unique<SymbolTable::Symbol>(); 225 s = util::make_unique<SymbolTable::Symbol>(); 288 s = util::make_unique<SymbolTable::Symbol>();
|