Home
last modified time | relevance | path

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

/external/libchrome/dbus/
Dstring_util_unittest.cc10 TEST(StringUtilTest, IsValidObjectPath) { in TEST() argument
11 EXPECT_TRUE(IsValidObjectPath("/")); in TEST()
12 EXPECT_TRUE(IsValidObjectPath("/foo/bar")); in TEST()
13 EXPECT_TRUE(IsValidObjectPath("/hoge_fuga/piyo123")); in TEST()
15 EXPECT_FALSE(IsValidObjectPath(std::string())); in TEST()
17 EXPECT_FALSE(IsValidObjectPath("//")); in TEST()
18 EXPECT_FALSE(IsValidObjectPath("/foo//bar")); in TEST()
19 EXPECT_FALSE(IsValidObjectPath("/foo///bar")); in TEST()
21 EXPECT_FALSE(IsValidObjectPath("/foo/")); in TEST()
22 EXPECT_FALSE(IsValidObjectPath("/foo/bar/")); in TEST()
[all …]
Dstring_util.h15 CHROME_DBUS_EXPORT bool IsValidObjectPath(const std::string& value);
Dobject_path.cc14 return IsValidObjectPath(value_); in IsValid()
Dstring_util.cc14 bool IsValidObjectPath(const std::string& value) { in IsValidObjectPath() function
/external/libbrillo/brillo/dbus/
Ddata_serialization_fuzzer.cc154 if (dbus::IsValidObjectPath(object_path)) in LLVMFuzzerTestOneInput()
199 if (dbus::IsValidObjectPath(object_path)) { in LLVMFuzzerTestOneInput()