Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_database.cpp88 std::vector<BlockDevice> slaves; in GetSlaves() local
93 slaves.push_back(dev); in GetSlaves()
99 return slaves; in GetSlaves()
130 std::vector<BlockDevice> slaves = top_device.GetSlaves(); in PopulateLoopInfo() local
131 if (slaves.size() != 1 && slaves.size() != 2) { in PopulateLoopInfo()
133 << " has unexpected number of slaves : " << slaves.size(); in PopulateLoopInfo()
136 backing_files.reserve(slaves.size()); in PopulateLoopInfo()
137 for (const auto& dev : slaves) { in PopulateLoopInfo()
150 if (slaves.size() == 2) { in PopulateLoopInfo()
152 std::swap(slaves[0], slaves[1]); in PopulateLoopInfo()
[all …]
Dapexservice_test.cpp556 std::vector<std::string> slaves; in ListSlavesOfDmDevice() local
562 slaves.push_back("/dev/block/" + entry.path().filename().string()); in ListSlavesOfDmDevice()
570 return slaves; in ListSlavesOfDmDevice()
1276 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local
1277 ASSERT_EQ(2u, slaves.size()) in TEST_F()
1278 << "Unexpected number of slaves: " << Join(slaves, ","); in TEST_F()
1287 ASSERT_THAT(slaves, Contains(mounted_apex->loop_name)); in TEST_F()
1288 ASSERT_THAT(slaves, Contains(mounted_apex->hashtree_loop_name)); in TEST_F()
1298 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local
1299 ASSERT_EQ(2u, slaves.size()) in TEST_F()
[all …]
/system/core/fs_mgr/
Dfs_mgr.cpp1196 std::string slaves = sys_dir + "/slaves"; in fs_mgr_find_bow_device() local
1197 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(slaves.c_str()), closedir); in fs_mgr_find_bow_device()
1199 PLOG(ERROR) << "Can't open slave directory " << slaves; in fs_mgr_find_bow_device()
1208 LOG(ERROR) << "Too many slaves in " << slaves; in fs_mgr_find_bow_device()
1217 LOG(ERROR) << "No slave in " << slaves; in fs_mgr_find_bow_device()
/system/sepolicy/prebuilts/api/29.0/private/
Dgsid.te21 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
/system/sepolicy/private/
Dgsid.te35 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
/system/sepolicy/prebuilts/api/30.0/private/
Dgsid.te35 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
/system/apex/docs/
DREADME.md203 - ANDROID: mnt: remount should propagate to slaves of slaves