Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
Dnode_test.cpp192 TEST_F(NodeTest, LookupAbsolutePath) { in TEST_F() argument
198 ASSERT_EQ(parent.get(), node::LookupAbsolutePath(parent.get(), "/path")); in TEST_F()
199 ASSERT_EQ(parent.get(), node::LookupAbsolutePath(parent.get(), "/path/")); in TEST_F()
200 ASSERT_EQ(nullptr, node::LookupAbsolutePath(parent.get(), "/path2")); in TEST_F()
202 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir")); in TEST_F()
203 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir/")); in TEST_F()
205 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path//subdir")); in TEST_F()
206 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path///subdir")); in TEST_F()
208 ASSERT_EQ(child2.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir2")); in TEST_F()
209 ASSERT_EQ(child2.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir2/")); in TEST_F()
[all …]
Dnode.cpp77 const node* node::LookupAbsolutePath(const node* root, const std::string& absolute_path) { in LookupAbsolutePath() function in mediaprovider::fuse::node
Dnode-inl.h305 static const node* LookupAbsolutePath(const node* root, const std::string& absolute_path);
DFuseDaemon.cpp1717 const node* node = node::LookupAbsolutePath(fuse->root, path); in ShouldOpenWithFuse()
1741 const node* node = node::LookupAbsolutePath(fuse->root, path); in InvalidateFuseDentryCache()