Home
last modified time | relevance | path

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

/system/core/init/
Dblock_dev_initializer.cpp48 const std::string dm_path = "/devices/virtual/misc/" + name; in InitMiscDevice() local
50 auto dm_callback = [this, &dm_path, &found](const Uevent& uevent) { in InitMiscDevice()
51 if (uevent.path == dm_path) { in InitMiscDevice()
58 uevent_listener_.RegenerateUeventsForPath("/sys" + dm_path, dm_callback); in InitMiscDevice()
/system/core/fastboot/device/
Dutility.cpp68 std::string dm_path; in OpenLogicalPartition() local
69 if (!CreateLogicalPartition(params, &dm_path)) { in OpenLogicalPartition()
74 *handle = PartitionHandle(dm_path, std::move(closer)); in OpenLogicalPartition()
/system/apex/apexd/
Dapexservice_test.cpp549 std::string dm_path; in ListSlavesOfDmDevice() local
550 EXPECT_TRUE(dm.GetDmDevicePathByName(name, &dm_path)) in ListSlavesOfDmDevice()
554 EXPECT_TRUE(StartsWith(dm_path, kDevPrefix)) << "Illegal path " << dm_path; in ListSlavesOfDmDevice()
555 dm_path = dm_path.substr(kDevPrefix.length()); in ListSlavesOfDmDevice()
558 std::string slaves_dir = "/sys/" + dm_path + "/slaves"; in ListSlavesOfDmDevice()
1151 std::string dm_path; in TEST_F() local
1152 ASSERT_TRUE(dm.GetDmDevicePathByName(package_id, &dm_path)) in TEST_F()
1154 auto loop_device = dm.GetParentBlockDeviceByPath(dm_path); in TEST_F()
1156 << dm_path; in TEST_F()
/system/core/fs_mgr/
Dfs_mgr.cpp1246 std::string dm_path; in WrapUserdata() local
1247 if (!dm.CreateDevice(kUserdataWrapperName, table, &dm_path, 20s)) { in WrapUserdata()
1251 entry->blk_device = dm_path; in WrapUserdata()