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.cpp541 std::string dm_path; in ListSlavesOfDmDevice() local
542 EXPECT_TRUE(dm.GetDmDevicePathByName(name, &dm_path)) in ListSlavesOfDmDevice()
546 EXPECT_TRUE(StartsWith(dm_path, kDevPrefix)) << "Illegal path " << dm_path; in ListSlavesOfDmDevice()
547 dm_path = dm_path.substr(kDevPrefix.length()); in ListSlavesOfDmDevice()
550 std::string slaves_dir = "/sys/" + dm_path + "/slaves"; in ListSlavesOfDmDevice()
1186 std::string dm_path; in TEST_F() local
1187 ASSERT_TRUE(dm.GetDmDevicePathByName(package_id, &dm_path)) in TEST_F()
1189 auto loop_device = dm.GetParentBlockDeviceByPath(dm_path); in TEST_F()
1191 << dm_path; in TEST_F()
/system/core/fs_mgr/
Dfs_mgr.cpp1301 std::string dm_path; in WrapUserdata() local
1302 if (!dm.CreateDevice(kUserdataWrapperName, table, &dm_path, 20s)) { in WrapUserdata()
1306 entry->blk_device = dm_path; in WrapUserdata()