Searched refs:rootAndSubpathFor (Results 1 – 4 of 4) sorted by relevance
/system/incremental_delivery/incfs/tests/ |
D | MountRegistry_test.cpp | 78 ASSERT_EQ("/root"s, r().rootAndSubpathFor("/root").first->path); in TEST_F() 79 ASSERT_EQ(""s, r().rootAndSubpathFor("/root").second); in TEST_F() 80 ASSERT_EQ("/root"s, r().rootAndSubpathFor("/bind").first->path); in TEST_F() 81 ASSERT_EQ("1"s, r().rootAndSubpathFor("/bind").second); in TEST_F() 82 ASSERT_EQ("/root"s, r().rootAndSubpathFor("/bind2").first->path); in TEST_F() 83 ASSERT_EQ("2/3"s, r().rootAndSubpathFor("/bind2").second); in TEST_F() 84 ASSERT_EQ("/root"s, r().rootAndSubpathFor("/bind2/blah").first->path); in TEST_F() 85 ASSERT_EQ("2/3/blah"s, r().rootAndSubpathFor("/bind2/blah").second); in TEST_F() 86 ASSERT_EQ("/root"s, r().rootAndSubpathFor("/other/bind/blah").first->path); in TEST_F() 87 ASSERT_EQ("2/3/blah"s, r().rootAndSubpathFor("/other/bind/blah").second); in TEST_F()
|
/system/incremental_delivery/incfs/include/ |
D | MountRegistry.h | 87 std::pair<const Root*, std::string> rootAndSubpathFor(std::string_view path) const; 108 std::pair<std::string, std::string> rootAndSubpathFor(std::string_view path);
|
/system/incremental_delivery/incfs/ |
D | MountRegistry.cpp | 116 auto MountRegistry::Mounts::rootAndSubpathFor(std::string_view path) const in rootAndSubpathFor() function in android::incfs::MountRegistry::Mounts 222 auto [root, subpath] = mMounts.rootAndSubpathFor(path); in detailsFor() 229 std::pair<std::string, std::string> MountRegistry::rootAndSubpathFor(std::string_view path) { in rootAndSubpathFor() function in android::incfs::MountRegistry 231 auto [root, subpath] = mMounts.rootAndSubpathFor(path); in rootAndSubpathFor()
|
D | incfs.cpp | 436 auto [itemRoot, subpath] = registry().rootAndSubpathFor(item); in makeCommandPath() 801 auto [root, subpath] = registry().rootAndSubpathFor(path); in IncFs_MakeFile() 848 auto [root, subpath] = registry().rootAndSubpathFor(path); in IncFs_MakeMappedFile() 1378 auto [sourceRoot, subpath] = registry().rootAndSubpathFor(sourceDir); in IncFs_BindMount()
|