Home
last modified time | relevance | path

Searched refs:search_result (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp426 Maybe<ResourceTable::SearchResult> search_result = in TEST_F() local
428 ASSERT_TRUE(search_result); in TEST_F()
429 EXPECT_EQ(0x00u, search_result.value().package->id.value()); in TEST_F()
458 Maybe<ResourceTable::SearchResult> search_result = in TEST_F() local
460 ASSERT_TRUE(search_result); in TEST_F()
461 EXPECT_EQ(0x00u, search_result.value().package->id.value()); in TEST_F()
462 EXPECT_EQ(0x03u, search_result.value().type->id.value()); in TEST_F()
463 EXPECT_EQ(0x01u, search_result.value().entry->id.value()); in TEST_F()
464 ASSERT_EQ(1u, search_result.value().entry->values.size()); in TEST_F()
465 Value* value = search_result.value().entry->values[0]->value.get(); in TEST_F()
[all …]
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp966 search_result = table_.FindResource(test::ParseNameOrDie("drawable/bar")); in TEST_F()
967 ASSERT_TRUE(search_result); in TEST_F()
968 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST_F()
969 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()
970 result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()
1016 auto search_result = table_.FindResource(test::ParseNameOrDie("string/bar")); in TEST_F() local
1017 ASSERT_TRUE(search_result); in TEST_F()
1018 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST_F()
1019 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()
1020 OverlayableItem result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()
[all …]
DResourceTable_test.cpp259 Maybe<ResourceTable::SearchResult> search_result = table.FindResource(name); in TEST() local
261 ASSERT_TRUE(search_result); in TEST()
262 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST()
264 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp166 Maybe<ResourceTable::SearchResult> search_result = in TEST() local
168 ASSERT_TRUE(search_result); in TEST()
169 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST()
170 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST()
171 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST()
569 Maybe<ResourceTable::SearchResult> search_result = in TEST() local
571 ASSERT_TRUE(search_result); in TEST()
572 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST()
573 OverlayableItem& overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST()
579 search_result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/bar")); in TEST()
[all …]
/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp126 const ResourceTable::SearchResult& search_result = result.value(); in TEST() local
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/link/
DTableMerger_test.cpp515 Maybe<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F() local
516 ASSERT_TRUE(search_result); in TEST_F()
517 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()
518 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()
551 Maybe<ResourceTable::SearchResult> search_result = final_table.FindResource(name); in TEST_F() local
552 ASSERT_TRUE(search_result); in TEST_F()
553 ASSERT_TRUE(search_result.value().entry->overlayable_item); in TEST_F()
554 OverlayableItem& result_overlayable_item = search_result.value().entry->overlayable_item.value(); in TEST_F()