Searched refs:make_value (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom_test.cpp | 148 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 150 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 151 EXPECT_THAT(TransformPackageAlias("two"), Eq(make_value(ExtractedPackage{"com.two", false}))); in Visit() 153 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 154 EXPECT_THAT(TransformPackageAlias("two"), Eq(make_value(ExtractedPackage{"com.two", false}))); in Visit() 156 Eq(make_value(ExtractedPackage{"com.three", false}))); in Visit() 158 EXPECT_THAT(TransformPackageAlias("one"), Eq(make_value(ExtractedPackage{"com.one", false}))); in Visit() 159 EXPECT_THAT(TransformPackageAlias("two"), Eq(make_value(ExtractedPackage{"com.two", false}))); in Visit() 161 Eq(make_value(ExtractedPackage{"com.three", false}))); in Visit() 162 EXPECT_THAT(TransformPackageAlias("four"), Eq(make_value(ExtractedPackage{"", true}))); in Visit()
|
/frameworks/base/tools/aapt2/link/ |
D | AutoVersioner_test.cpp | 91 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/onClick")), style->entries.front().key.nam… in TEST() 96 EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/onClick")),style->entries[0].key.name); in TEST() 97 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/requiresSmallestWidthDp")), style->entries… in TEST() 102 EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/onClick")), style->entries[0].key.name); in TEST() 103 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/requiresSmallestWidthDp")), style->entries… in TEST() 104 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/paddingStart")), style->entries[2].key.nam… in TEST() 109 …EXPECT_EQ(make_value(test::ParseNameOrDie("android:attr/paddingEnd")), style->entries.front().key.… in TEST()
|
D | ReferenceLinker_test.cpp | 309 EXPECT_THAT(s->id, Eq(make_value<ResourceId>(0x7f010000))); in TEST() 314 EXPECT_THAT(s->id, Eq(make_value<ResourceId>(0x7f010001))); in TEST()
|
D | TableMerger_test.cpp | 492 Eq(make_value(Reference(test::ParseNameOrDie("com.app.a:style/OverlayParent"))))); in TEST_F()
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner_test.cpp | 68 EXPECT_EQ(make_value<uint8_t>(2), maybe_result.value().type->id); in TEST() 73 EXPECT_EQ(make_value<uint8_t>(3), maybe_result.value().type->id); in TEST() 81 EXPECT_EQ(make_value<uint8_t>(5), maybe_result.value().type->id); in TEST() 87 EXPECT_EQ(make_value<uint16_t>(1), maybe_result.value().entry->id); in TEST() 91 EXPECT_EQ(make_value<uint16_t>(2), maybe_result.value().entry->id); in TEST() 127 EXPECT_EQ(make_value<uint8_t>(0x01), search_result.package->id); in TEST() 128 EXPECT_EQ(make_value<uint8_t>(0x01), search_result.type->id); in TEST() 129 EXPECT_EQ(make_value<uint16_t>(0x0002), search_result.entry->id); in TEST()
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 146 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST() 150 EXPECT_THAT(ref.value().name, Eq(make_value(kStyleFooName))); in TEST() 154 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST() 158 EXPECT_THAT(ref.value().name, Eq(make_value(kStyleFooName))); in TEST() 162 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST() 166 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST() 170 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST() 174 EXPECT_THAT(ref.value().name, Eq(make_value(kStyleFooName))); in TEST() 178 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST()
|
D | ResourceParser_test.cpp | 481 EXPECT_THAT(style->parent.value().name, Eq(make_value(test::ParseNameOrDie("style/fu")))); in TEST_F() 484 EXPECT_THAT(style->entries[0].key.name, Eq(make_value(test::ParseNameOrDie("attr/bar")))); in TEST_F() 485 EXPECT_THAT(style->entries[1].key.name, Eq(make_value(test::ParseNameOrDie("attr/bat")))); in TEST_F() 486 EXPECT_THAT(style->entries[2].key.name, Eq(make_value(test::ParseNameOrDie("attr/baz")))); in TEST_F() 495 …EXPECT_THAT(style->parent.value().name, Eq(make_value(test::ParseNameOrDie("com.app:style/Theme"))… in TEST_F()
|
D | ResourceParser.cpp | 329 if (untranslatable_start_depth == make_value(depth)) { in FlattenXmlSubtree()
|
/frameworks/base/tools/aapt2/util/ |
D | Maybe_test.cpp | 93 Maybe<int> val = make_value(23); in TEST() 97 Maybe<std::string> val2 = make_value(std::string("hey")); in TEST() 105 Maybe<Dummy> val2 = make_value(Dummy()); in TEST()
|
D | Maybe.h | 275 inline Maybe<typename std::remove_reference<T>::type> make_value(T&& value) { in make_value() function
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 1616 included_feature_base_ == make_value(context_->GetCompilationPackage())) { in WriteApk()
|