Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/include/libdm/
Dloop_control.h63 class LoopDevice {
67 LoopDevice(android::base::borrowed_fd fd, const std::chrono::milliseconds& timeout_ms,
71 LoopDevice(const std::string& path, const std::chrono::milliseconds& timeout_ms);
72 ~LoopDevice();
77 LoopDevice(const LoopDevice&) = delete;
78 LoopDevice& operator=(const LoopDevice&) = delete;
79 LoopDevice& operator=(LoopDevice&&) = default;
80 LoopDevice(LoopDevice&&) = default;
/system/core/fs_mgr/libdm/
Dloop_control.cpp136 LoopDevice::LoopDevice(android::base::borrowed_fd fd, const std::chrono::milliseconds& timeout_ms, in LoopDevice() function in android::dm::LoopDevice
145 LoopDevice::LoopDevice(const std::string& path, const std::chrono::milliseconds& timeout_ms) in LoopDevice() function in android::dm::LoopDevice
156 LoopDevice::~LoopDevice() { in ~LoopDevice()
162 void LoopDevice::Init(const std::chrono::milliseconds& timeout_ms) { in Init()
Ddm_test.cpp64 LoopDevice loop_a(tmp1, 10s); in TEST()
66 LoopDevice loop_b(tmp2, 10s); in TEST()
132 LoopDevice loop_a(tmp1, 10s); in TEST()
227 unique_ptr<LoopDevice> base_loop_;
228 unique_ptr<LoopDevice> cow_loop_;
246 base_loop_ = std::make_unique<LoopDevice>(base_fd_, 10s); in SetupImpl()
248 cow_loop_ = std::make_unique<LoopDevice>(cow_fd_, 10s); in SetupImpl()
541 LoopDevice loop(tmp, 10s); in TEST()
565 LoopDevice loop(tmp, 10s); in TEST()
584 LoopDevice loop(tmp, 10s); in TEST()
[all …]
Ddm_linear_fuzzer.cpp90 LoopDevice loop_a(tmp1, 10s); in LLVMFuzzerTestOneInput()
92 LoopDevice loop_b(tmp2, 10s); in LLVMFuzzerTestOneInput()
Dloop_control_test.cpp56 LoopDevice loop(fd, 10s); in TEST()
/system/apex/apexd/
Dapex_database.cpp59 LoopDevice, enumerator
72 if (StartsWith(name, "loop")) return LoopDevice; in GetType()
144 if (dev.GetType() != LoopDevice) { in PopulateLoopInfo()
208 case LoopDevice: { in ResolveMountInfo()
/system/core/fs_mgr/libfiemap/
Dfiemap_writer_test.cpp49 using LoopDevice = android::dm::LoopDevice; typedef
423 LoopDevice loop_dev(fs_path, 10s); in SetUp()
465 LoopDevice loop_dev(fs_path, 10s); in SetUp()
/system/core/fs_mgr/libsnapshot/
Dcow_snapuserd_test.cpp46 using LoopDevice = android::dm::LoopDevice; typedef
137 unique_ptr<LoopDevice> base_loop_;
278 base_loop_ = std::make_unique<LoopDevice>(base_fd_, 10s); in CreateBaseDevice()