/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.h | 41 static bool isSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, 48 static const SymbolTable::Symbol* resolveSymbol(const Reference& reference, 56 static const SymbolTable::Symbol* resolveSymbolCheckVisibility(const Reference& reference, 66 static const SymbolTable::Symbol* resolveAttributeCheckVisibility(const Reference& reference, 76 static Maybe<xml::AaptAttribute> compileXmlAttribute(const Reference& reference, 86 static void writeResourceName(DiagMessage* outMsg, const Reference& orig, 87 const Reference& transformed); 95 static bool linkReference(Reference* reference, IAaptContext* context, SymbolTable* symbols,
|
D | ReferenceLinker.cpp | 54 void visit(Reference* ref) override { in visit() 76 Reference transformedReference = entry.key; in visit() 167 bool ReferenceLinker::isSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in isSymbolVisible() 181 const SymbolTable::Symbol* ReferenceLinker::resolveSymbol(const Reference& reference, in resolveSymbol() 195 const Reference& reference, NameMangler* nameMangler, SymbolTable* symbols, in resolveSymbolCheckVisibility() 211 const Reference& reference, NameMangler* nameMangler, SymbolTable* symbols, in resolveAttributeCheckVisibility() 227 Maybe<xml::AaptAttribute> ReferenceLinker::compileXmlAttribute(const Reference& reference, in compileXmlAttribute() 244 void ReferenceLinker::writeResourceName(DiagMessage* outMsg, const Reference& orig, in writeResourceName() 245 const Reference& transformed) { in writeResourceName() 258 bool ReferenceLinker::linkReference(Reference* reference, IAaptContext* context, in linkReference() [all …]
|
D | XmlReferenceLinker_test.cpp | 103 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get()); in TEST_F() 187 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get()); in TEST_F() 215 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get()); in TEST_F() 230 ref = valueCast<Reference>(xmlAttr->compiledValue.get()); in TEST_F() 254 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get()); in TEST_F()
|
D | ReferenceLinker_test.cpp | 50 Reference* ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/foo"); in TEST() 55 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/bar"); in TEST() 60 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/baz"); in TEST()
|
/frameworks/base/tools/aapt2/ |
D | ValueVisitor_test.cpp | 30 Reference* visited = nullptr; 32 void visit(Reference* ref) override { in visit() 40 std::list<Reference*> visitedRefs; 43 void visit(Reference* ref) override { in visit() 54 Reference ref(ResourceName{u"android", ResourceType::kAttr, u"foo"}); in TEST() 77 std::unique_ptr<Reference> ref = test::buildReference(u"@android:color/white"); in TEST() 78 EXPECT_NE(valueCast<Reference>(ref.get()), nullptr); in TEST() 84 EXPECT_EQ(valueCast<Reference>(style.get()), nullptr); in TEST()
|
D | ResourceValues.h | 146 struct Reference : public BaseItem<Reference> { struct 154 Reference::Type referenceType; argument 157 Reference(); 158 explicit Reference(const ResourceNameRef& n, Type type = Type::kResource); 159 explicit Reference(const ResourceId& i, Type type = Type::kResource); 162 Reference* clone(StringPool* newPool) const override; 260 Reference symbol; 279 Reference key; 283 Maybe<Reference> parent; 322 std::vector<Reference> entries;
|
D | ResourceValues.cpp | 59 Reference::Reference() : referenceType(Reference::Type::kResource) { in Reference() function in aapt::Reference 62 Reference::Reference(const ResourceNameRef& n, Type t) : in Reference() function in aapt::Reference 66 Reference::Reference(const ResourceId& i, Type type) : id(i), referenceType(type) { in Reference() function in aapt::Reference 69 bool Reference::flatten(android::Res_value* outValue) const { in flatten() 70 outValue->dataType = (referenceType == Reference::Type::kResource) ? in flatten() 76 Reference* Reference::clone(StringPool* /*newPool*/) const { in clone() 77 return new Reference(*this); in clone() 80 void Reference::print(std::ostream* out) const { in print() 82 if (referenceType == Reference::Type::kResource) { in print()
|
D | Format.proto | 92 message Reference { message 127 optional Reference name = 3; 140 optional Reference key = 3; 144 optional Reference parent = 1; 153 optional Reference attr = 3; 187 optional Reference ref = 1;
|
D | ResourceUtils.cpp | 188 Maybe<Reference> parseStyleParentReference(const StringPiece16& str, std::string* outError) { in parseStyleParentReference() 232 Reference result(ref); in parseStyleParentReference() 237 std::unique_ptr<Reference> tryParseReference(const StringPiece16& str, bool* outCreate) { in tryParseReference() 241 std::unique_ptr<Reference> value = util::make_unique<Reference>(ref); in tryParseReference() 250 return util::make_unique<Reference>(ref, Reference::Type::kAttribute); in tryParseReference() 485 std::unique_ptr<Reference> reference = tryParseReference(value, &create); in parseItemForAttribute()
|
D | ResourceUtils.h | 91 Maybe<Reference> parseStyleParentReference(const StringPiece16& str, std::string* outError); 98 std::unique_ptr<Reference> tryParseReference(const StringPiece16& str, bool* outCreate = nullptr);
|
D | ValueVisitor.h | 33 virtual void visit(Reference* value) { visitItem(value); } in visit() 94 for (Reference& reference : styleable->entries) { in visitSubValues()
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityMetricsEvent.java | 86 public final static class Reference implements Parcelable { class in ConnectivityMetricsEvent 90 public Reference(long ref) { in Reference() method in ConnectivityMetricsEvent.Reference 95 public static final Parcelable.Creator<Reference> CREATOR 96 = new Parcelable.Creator<Reference> (){ 97 public Reference createFromParcel(Parcel source) { 98 return new Reference(source.readLong()); 101 public Reference[] newArray(int size) { 102 return new Reference[size];
|
D | ConnectivityMetricsEvent.aidl | 20 parcelable ConnectivityMetricsEvent.Reference;
|
/frameworks/base/tools/aapt2/proto/ |
D | ProtoHelpers.cpp | 95 pb::Reference_Type serializeReferenceTypeToPb(Reference::Type type) { in serializeReferenceTypeToPb() 97 case Reference::Type::kResource: return pb::Reference_Type_Ref; in serializeReferenceTypeToPb() 98 case Reference::Type::kAttribute: return pb::Reference_Type_Attr; in serializeReferenceTypeToPb() 104 Reference::Type deserializeReferenceTypeFromPb(pb::Reference_Type pbType) { in deserializeReferenceTypeFromPb() 106 case pb::Reference_Type_Ref: return Reference::Type::kResource; in deserializeReferenceTypeFromPb() 107 case pb::Reference_Type_Attr: return Reference::Type::kAttribute; in deserializeReferenceTypeFromPb() 110 return Reference::Type::kResource; in deserializeReferenceTypeFromPb()
|
D | ProtoHelpers.h | 44 pb::Reference_Type serializeReferenceTypeToPb(Reference::Type type); 45 Reference::Type deserializeReferenceTypeFromPb(pb::Reference_Type pbType);
|
D | TableProtoDeserializer.cpp | 38 void visit(Reference* reference) override { in visit() 163 const pb::Reference& pbRef = pbItem.ref(); in deserializeItemFromPb() 164 std::unique_ptr<Reference> ref = util::make_unique<Reference>(); in deserializeItemFromPb() 252 style->parent = Reference(); in deserializeValueFromPb() 286 Reference attrRef; in deserializeValueFromPb() 339 bool deserializeReferenceFromPb(const pb::Reference& pbRef, Reference* outRef) { in deserializeReferenceFromPb()
|
D | TableProtoSerializer_test.cpp | 68 Reference expectedRef; in TEST() 73 util::make_unique<Reference>(expectedRef), in TEST() 105 Reference* actualRef = test::getValue<Reference>(newTable.get(), u"@com.app.a:layout/abc"); in TEST()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 59 return addValue(name, id, util::make_unique<Reference>(parseNameOrDie(ref))); in addReference() 128 inline std::unique_ptr<Reference> buildReference(const StringPiece16& ref, 130 std::unique_ptr<Reference> reference = util::make_unique<Reference>(parseNameOrDie(ref)); 185 Reference(ResourceName{ {}, ResourceType::kId, name.toString()}), in addItem() 201 mStyle->parent = Reference(parseNameOrDie(str)); in setParent() 206 mStyle->entries.push_back(Style::Entry{ Reference(parseNameOrDie(str)), std::move(value) }); in addItem() 227 mStyleable->entries.push_back(Reference(parseNameOrDie(str)));
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener.cpp | 85 Reference key = Reference(ResTable_map::ATTR_TYPE); in visit() 91 Reference key = Reference(ResTable_map::ATTR_MIN); in visit() 97 Reference key = Reference(ResTable_map::ATTR_MAX); in visit() 110 const Reference& parentRef = style->parent.value(); in visit() 178 Reference key(q); in visit() 192 void flattenKey(Reference* key, ResTable_map* outEntry) { in flattenKey() 202 void flattenEntry(Reference* key, Item* value) { in flattenEntry()
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 55 void visit(Reference* reference) override { in visit() 425 const Reference::Type type = (value->dataType == Res_value::TYPE_REFERENCE) ? in parseValue() 426 Reference::Type::kResource : Reference::Type::kAttribute; in parseValue() 436 return util::make_unique<Reference>(data, type); in parseValue() 470 style->parent = Reference(util::deviceToHost32(map->parent.ident)); in parseStyle() 479 styleEntry.key = Reference(util::deviceToHost32(mapEntry.name.ident)); in parseStyle() 520 symbol.symbol = Reference(util::deviceToHost32(mapEntry.name.ident)); in parseAttr()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.h | 95 const Symbol* findByReference(const Reference& ref); 122 virtual std::unique_ptr<SymbolTable::Symbol> findByReference(const Reference& ref) { in findByReference() 162 std::unique_ptr<SymbolTable::Symbol> findByReference(const Reference& ref) override;
|
/frameworks/base/docs/html/ndk/reference/ |
D | dir_d44c64559bbebec7f509842c48db8b23.jd | 1 page.title=include Directory Reference 12 <div class="title">include Directory Reference</div> </div>
|
D | native__window__jni_8h.jd | 1 page.title=native_window_jni.h File Reference 14 <div class="title">native_window_jni.h File Reference<div class="ingroups"><a class="el" href="grou…
|
D | asset__manager__jni_8h.jd | 1 page.title=asset_manager_jni.h File Reference 14 <div class="title">asset_manager_jni.h File Reference<div class="ingroups"><a class="el" href="grou…
|
D | rect_8h.jd | 1 page.title=rect.h File Reference 15 <div class="title">rect.h File Reference<div class="ingroups"><a class="el" href="group___native_ac…
|