Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
Dnode_test.cpp324 TEST_F(NodeTest, LookupAbsolutePath) { in TEST_F() argument
330 ASSERT_EQ(parent.get(), node::LookupAbsolutePath(parent.get(), "/path")); in TEST_F()
331 ASSERT_EQ(parent.get(), node::LookupAbsolutePath(parent.get(), "/path/")); in TEST_F()
332 ASSERT_EQ(nullptr, node::LookupAbsolutePath(parent.get(), "/path2")); in TEST_F()
334 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir")); in TEST_F()
335 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir/")); in TEST_F()
337 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path//subdir")); in TEST_F()
338 ASSERT_EQ(child.get(), node::LookupAbsolutePath(parent.get(), "/path///subdir")); in TEST_F()
340 ASSERT_EQ(child2.get(), node::LookupAbsolutePath(parent.get(), "/path/subdir2")); in TEST_F()
341 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.h362 static const node* LookupAbsolutePath(const node* root, const std::string& absolute_path);
DFuseDaemon.cpp1991 const node* node = node::LookupAbsolutePath(fuse->root, path); in ShouldOpenWithFuse()
2015 const node* node = node::LookupAbsolutePath(fuse->root, path); in InvalidateFuseDentryCache()