Home
last modified time | relevance | path

Searched refs:TryParseBool (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/link/
DTableMerger_test.cpp160 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
165 .AddValue("bool/foo", ResourceUtils::TryParseBool("false")) in TEST_F()
182 std::unique_ptr<Value> foo_original = ResourceUtils::TryParseBool("true"); in TEST_F()
184 std::unique_ptr<Value> bar_original = ResourceUtils::TryParseBool("true"); in TEST_F()
186 std::unique_ptr<Value> foo_overlay = ResourceUtils::TryParseBool("false"); in TEST_F()
188 std::unique_ptr<Value> bar_overlay = ResourceUtils::TryParseBool("false"); in TEST_F()
190 std::unique_ptr<Value> baz_overlay = ResourceUtils::TryParseBool("false"); in TEST_F()
325 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
343 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
417 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
DManifestFixer.cpp177 std::unique_ptr<BinaryPrimitive> result = ResourceUtils::TryParseBool(attr->value); in FixCoreAppAttribute()
/frameworks/base/tools/aapt2/
DResourceUtils.h165 std::unique_ptr<BinaryPrimitive> TryParseBool(const android::StringPiece& str);
DResourceUtils.cpp552 std::unique_ptr<BinaryPrimitive> TryParseBool(const StringPiece& str) { in TryParseBool() function
657 auto boolean = TryParseBool(value); in TryParseItemForAttribute()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp344 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("true")->value.data)); in TEST()
350 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("false")->value.data)); in TEST()
547 .AddValue("com.app.a:bool/fiz", ResourceUtils::TryParseBool("true")) in TEST()