Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/link/
DTableMerger_test.cpp156 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
160 .AddValue("bool/foo", ResourceUtils::TryParseBool("false")) in TEST_F()
177 std::unique_ptr<Value> foo_original = ResourceUtils::TryParseBool("true"); in TEST_F()
179 std::unique_ptr<Value> bar_original = ResourceUtils::TryParseBool("true"); in TEST_F()
181 std::unique_ptr<Value> foo_overlay = ResourceUtils::TryParseBool("false"); in TEST_F()
183 std::unique_ptr<Value> bar_overlay = ResourceUtils::TryParseBool("false"); in TEST_F()
185 std::unique_ptr<Value> baz_overlay = ResourceUtils::TryParseBool("false"); in TEST_F()
308 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
324 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
340 .AddValue("bool/foo", ResourceUtils::TryParseBool("true")) in TEST_F()
DManifestFixer.cpp230 std::unique_ptr<BinaryPrimitive> result = ResourceUtils::TryParseBool(attr->value); in FixCoreAppAttribute()
/frameworks/base/tools/aapt2/
DResourceUtils.h164 std::unique_ptr<BinaryPrimitive> TryParseBool(const android::StringPiece& str);
DResourceUtils.cpp551 std::unique_ptr<BinaryPrimitive> TryParseBool(const StringPiece& str) { in TryParseBool() function
659 auto boolean = TryParseBool(value); in TryParseItemForAttribute()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp419 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("true")->value.data)); in TEST()
425 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("false")->value.data)); in TEST()
628 .AddValue("com.app.a:bool/fiz", ResourceUtils::TryParseBool("true")) in TEST()