Home
last modified time | relevance | path

Searched refs:slaves (Results 1 – 8 of 8) sorted by relevance

/system/apex/apexd/
Dapex_database.cpp91 std::vector<BlockDevice> slaves; in GetSlaves() local
96 slaves.push_back(dev); in GetSlaves()
102 return slaves; in GetSlaves()
136 std::vector<BlockDevice> slaves = top_device.GetSlaves(); in PopulateLoopInfo() local
137 if (slaves.size() != 1 && slaves.size() != 2) { in PopulateLoopInfo()
139 << " has unexpected number of slaves : " << slaves.size(); in PopulateLoopInfo()
142 backing_files.reserve(slaves.size()); in PopulateLoopInfo()
143 for (const auto& dev : slaves) { in PopulateLoopInfo()
160 if (slaves.size() == 2) { in PopulateLoopInfo()
162 std::swap(slaves[0], slaves[1]); in PopulateLoopInfo()
[all …]
Dapexservice_test.cpp548 std::vector<std::string> slaves; in ListSlavesOfDmDevice() local
554 slaves.push_back("/dev/block/" + entry.path().filename().string()); in ListSlavesOfDmDevice()
562 return slaves; in ListSlavesOfDmDevice()
1312 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local
1313 ASSERT_EQ(2u, slaves.size()) in TEST_F()
1314 << "Unexpected number of slaves: " << Join(slaves, ","); in TEST_F()
1323 ASSERT_THAT(slaves, Contains(mounted_apex->loop_name)); in TEST_F()
1324 ASSERT_THAT(slaves, Contains(mounted_apex->hashtree_loop_name)); in TEST_F()
1334 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local
1335 ASSERT_EQ(2u, slaves.size()) in TEST_F()
[all …]
/system/sepolicy/prebuilts/api/29.0/private/
Dgsid.te21 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
/system/core/fs_mgr/
Dfs_mgr.cpp1251 std::string slaves = sys_dir + "/slaves"; in fs_mgr_find_bow_device() local
1252 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(slaves.c_str()), closedir); in fs_mgr_find_bow_device()
1254 PLOG(ERROR) << "Can't open slave directory " << slaves; in fs_mgr_find_bow_device()
1263 LOG(ERROR) << "Too many slaves in " << slaves; in fs_mgr_find_bow_device()
1272 LOG(ERROR) << "No slave in " << slaves; in fs_mgr_find_bow_device()
/system/sepolicy/prebuilts/api/30.0/private/
Dgsid.te35 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
/system/sepolicy/private/
Dgsid.te40 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
/system/sepolicy/prebuilts/api/31.0/private/
Dgsid.te40 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
/system/apex/docs/
DREADME.md205 - ANDROID: mnt: remount should propagate to slaves of slaves