Searched refs:TryParseBool (Results 1 – 5 of 5) sorted by relevance
160 .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()
177 std::unique_ptr<BinaryPrimitive> result = ResourceUtils::TryParseBool(attr->value); in FixCoreAppAttribute()
165 std::unique_ptr<BinaryPrimitive> TryParseBool(const android::StringPiece& str);
553 std::unique_ptr<BinaryPrimitive> TryParseBool(const StringPiece& str) { in TryParseBool() function658 auto boolean = TryParseBool(value); in TryParseItemForAttribute()
344 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()