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.cpp318 std::unique_ptr<BinaryPrimitive> result = ResourceUtils::TryParseBool(attr->value); in FixCoreAppAttribute()
/frameworks/base/tools/aapt2/
DResourceUtils.h162 std::unique_ptr<BinaryPrimitive> TryParseBool(android::StringPiece str);
DResourceUtils.cpp545 std::unique_ptr<BinaryPrimitive> TryParseBool(StringPiece str) { in TryParseBool() function
653 auto boolean = TryParseBool(value); in TryParseItemForAttribute()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp420 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("true")->value.data)); in TEST()
426 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("false")->value.data)); in TEST()
633 .AddValue("com.app.a:bool/fiz", ResourceUtils::TryParseBool("true")) in TEST()