Searched refs:TryParseBool (Results 1 – 5 of 5) sorted by relevance
156 .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()
230 std::unique_ptr<BinaryPrimitive> result = ResourceUtils::TryParseBool(attr->value); in FixCoreAppAttribute()
164 std::unique_ptr<BinaryPrimitive> TryParseBool(const android::StringPiece& str);
551 std::unique_ptr<BinaryPrimitive> TryParseBool(const StringPiece& str) { in TryParseBool() function659 auto boolean = TryParseBool(value); in TryParseItemForAttribute()
419 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()