Searched refs:Id (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tools/aapt2/link/
H A DProductFilter_test.cpp34 test::ValueBuilder<Id>()
39 test::ValueBuilder<Id>()
45 test::ValueBuilder<Id>()
50 test::ValueBuilder<Id>()
57 EXPECT_EQ(nullptr, test::getValueForConfigAndProduct<Id>(&table, u"@android:string/one",
59 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<Id>(&table, u"@android:string/one",
61 EXPECT_EQ(nullptr, test::getValueForConfigAndProduct<Id>(&table, u"@android:string/one",
63 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<Id>(&table, u"@android:string/one",
73 test::ValueBuilder<Id>()
78 test::ValueBuilder<Id>()
[all...]
H A DAutoVersioner_test.cpp60 util::make_unique<Id>())
62 util::make_unique<Id>())
64 ResourceId(0x01010364), util::make_unique<Id>())
66 util::make_unique<Id>())
71 util::make_unique<Id>())
H A DLink.cpp614 if (valueCast<Id>(configValue->value.get()) &&
977 std::unique_ptr<Id> id = util::make_unique<Id>();
/frameworks/base/tools/aapt2/
H A DResourceTable_test.cpp37 test::ValueBuilder<Id>().setSource("test.xml", 21u).build(),
43 test::ValueBuilder<Id>().setSource("test.xml", 21u).build(),
53 test::ValueBuilder<Id>()
57 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/id"));
71 test::ValueBuilder<Id>().setSource("test/path/file.xml", 10u).build(),
78 test::ValueBuilder<Id>().setSource("test/path/file.xml", 12u).build(),
85 test::ValueBuilder<Id>().setSource("test/path/file.xml", 14u).build(),
97 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/layout_width"));
98 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/id"));
99 ASSERT_NE(nullptr, test::getValue<Id>(
[all...]
H A DResourceValues.h169 struct Id : public BaseItem<Id> { struct in namespace:aapt
170 Id() { mWeak = true; } function in struct:aapt::Id
172 Id* clone(StringPool* newPool) const override;
H A DFormat.proto103 message Id {
191 optional Id id = 5;
H A DResourceValues.cpp100 bool Id::flatten(android::Res_value* out) const {
106 Id* Id::clone(StringPool* /*newPool*/) const {
107 return new Id(*this);
110 void Id::print(std::ostream* out) const {
H A DValueVisitor.h38 virtual void visit(Id* value) { visitItem(value); }
H A DResourceParser_test.cpp368 Id* id = test::getValue<Id>(&mTable, u"@id/bar");
400 EXPECT_NE(nullptr, test::getValue<Id>(&mTable, u"@id/foo"));
534 Id* id = test::getValue<Id>(&mTable, u"@id/foo");
H A DResourceParser.cpp382 outResource->value = util::make_unique<Id>();
497 std::unique_ptr<Id> id = util::make_unique<Id>();
607 outResource->value = util::make_unique<Id>();
852 childResource.value = util::make_unique<Id>();
/frameworks/base/tools/aapt2/split/
H A DTableSplitter_test.cpp55 EXPECT_NE(nullptr, test::getValue<Id>(table.get(), u"@android:string/one"));
63 util::make_unique<Id>(),
66 util::make_unique<Id>(),
69 util::make_unique<Id>(),
85 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(&table, u"@android:string/foo",
87 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(&table, u"@android:string/foo",
89 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(&table, u"@android:string/foo",
92 EXPECT_NE(nullptr, test::getValueForConfig<Id>(splitOne, u"@android:string/foo",
94 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(splitOne, u"@android:string/foo",
96 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(splitOn
[all...]
/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer_test.cpp36 .addValue(u"@com.app.a:id/foo", {}, util::make_unique<Id>())
45 Id* id = test::getValue<Id>(table.get(), u"@com.app.a:id/foo");
84 Id* newId = test::getValue<Id>(newTable.get(), u"@com.app.a:id/foo");
H A DTableProtoSerializer.cpp65 void visit(Id* id) override {
H A DTableProtoDeserializer.cpp178 return util::make_unique<Id>();
/frameworks/compile/slang/
H A Dslang_rs_export_func.cpp69 std::string Id = CreateDummyName("helper_func_param", F->getName()); local
76 &Ctx.Idents.get(Id));
H A Dslang_rs_export_foreach.cpp325 std::string Id = CreateDummyName("helper_foreach_param", FE->getName()); local
346 &Ctx.Idents.get(Id));
/frameworks/base/tools/aapt2/test/
H A DBuilders.h50 return addValue(name, id, util::make_unique<Id>());
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator_test.cpp176 Source{ "lib.xml", 33 }, util::make_unique<Id>()));
233 test::getValue<Id>(table.get(), u"@android:id/foo")
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp385 return util::make_unique<Id>();

Completed in 159 milliseconds