Home
last modified time | relevance | path

Searched refs:maybe_result (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp62 Maybe<ResourceTable::SearchResult> maybe_result; in TEST() local
66 maybe_result = table->FindResource(test::ParseNameOrDie("android:dimen/two")); in TEST()
67 ASSERT_TRUE(maybe_result); in TEST()
68 EXPECT_EQ(make_value<uint8_t>(2), maybe_result.value().type->id); in TEST()
70 maybe_result = in TEST()
72 ASSERT_TRUE(maybe_result); in TEST()
73 EXPECT_EQ(make_value<uint8_t>(3), maybe_result.value().type->id); in TEST()
78 maybe_result = in TEST()
80 ASSERT_TRUE(maybe_result); in TEST()
81 EXPECT_EQ(make_value<uint8_t>(5), maybe_result.value().type->id); in TEST()
[all …]
/frameworks/base/startop/scripts/iorap/lib/
Dinode2filename.py75 maybe_result = self._inode_table.get((dev_t, ino_t))
77 if not maybe_result:
80 return maybe_result[0] # filename str
/frameworks/base/tools/aapt2/
DResourceUtils.cpp554 if (Maybe<bool> maybe_result = ParseBool(str)) { in TryParseBool() local
555 const uint32_t data = maybe_result.value() ? 0xffffffffu : 0u; in TryParseBool()