Searched refs:ValidatePathElementSubstring (Results 1 – 4 of 4) sorted by relevance
/art/libartservice/service/native/ |
D | service_test.cc | 67 EXPECT_THAT(ValidatePathElementSubstring("com.android.foo", "packageName"), Ok()); in TEST_F() 68 EXPECT_THAT(ValidatePathElementSubstring(".", "packageName"), Ok()); in TEST_F() 69 EXPECT_THAT(ValidatePathElementSubstring("..", "packageName"), Ok()); in TEST_F() 70 EXPECT_THAT(ValidatePathElementSubstring("...", "packageName"), Ok()); in TEST_F() 71 EXPECT_THAT(ValidatePathElementSubstring("!@#$%^&*()_+-=", "packageName"), Ok()); in TEST_F() 75 EXPECT_THAT(ValidatePathElementSubstring("", "packageName"), in TEST_F() 80 EXPECT_THAT(ValidatePathElementSubstring("a/b", "packageName"), in TEST_F() 85 EXPECT_THAT(ValidatePathElementSubstring("a\0b"s, "packageName"), in TEST_F()
|
D | service.h | 29 android::base::Result<void> ValidatePathElementSubstring(const std::string& path_element_substring,
|
D | service.cc | 59 Result<void> ValidatePathElementSubstring(const std::string& path_element_substring, in ValidatePathElementSubstring() function 74 OR_RETURN(ValidatePathElementSubstring(path_element, name)); in ValidatePathElement()
|
/art/artd/ |
D | path_utils.cc | 51 using ::art::service::ValidatePathElementSubstring; 201 OR_RETURN(ValidatePathElementSubstring(primary_ref_profile_path.profileName, "profileName")); in BuildPrimaryRefProfilePath() 217 OR_RETURN(ValidatePathElementSubstring(primary_cur_profile_path.profileName, "profileName")); in BuildPrimaryCurProfilePath() 261 OR_RETURN(ValidatePathElementSubstring(tmp_profile_path.id, "id")); in BuildTmpProfilePath()
|