Home
last modified time | relevance | path

Searched refs:ValidatePathElement (Results 1 – 4 of 4) sorted by relevance

/art/libartservice/service/native/
Dservice_test.cc36 EXPECT_THAT(ValidatePathElement("com.android.foo", "packageName"), Ok()); in TEST_F()
37 EXPECT_THAT(ValidatePathElement("...", "packageName"), Ok()); in TEST_F()
38 EXPECT_THAT(ValidatePathElement("!@#$%^&*()_+-=", "packageName"), Ok()); in TEST_F()
42 EXPECT_THAT(ValidatePathElement("", "packageName"), in TEST_F()
47 EXPECT_THAT(ValidatePathElement(".", "packageName"), in TEST_F()
52 EXPECT_THAT(ValidatePathElement("..", "packageName"), in TEST_F()
57 EXPECT_THAT(ValidatePathElement("a/b", "packageName"), in TEST_F()
62 EXPECT_THAT(ValidatePathElement("a\0b"s, "packageName"), in TEST_F()
Dservice.h32 android::base::Result<void> ValidatePathElement(const std::string& path_element,
Dservice.cc73 Result<void> ValidatePathElement(const std::string& path_element, const std::string& name) { in ValidatePathElement() function
/art/artd/
Dpath_utils.cc50 using ::art::service::ValidatePathElement;
150 OR_RETURN(ValidatePathElement(runtime_artifacts_path.packageName, "packageName")); in ValidateRuntimeArtifactsPath()
151 OR_RETURN(ValidatePathElement(runtime_artifacts_path.isa, "isa")); in ValidateRuntimeArtifactsPath()
200 OR_RETURN(ValidatePathElement(primary_ref_profile_path.packageName, "packageName")); in BuildPrimaryRefProfilePath()
216 OR_RETURN(ValidatePathElement(primary_cur_profile_path.packageName, "packageName")); in BuildPrimaryCurProfilePath()