Home
last modified time | relevance | path

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

/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp53 auto wfd = openForSpecialOps(control_, fileId(id)); in writeTestRanges()
111 ASSERT_TRUE(control_.logs() >= 0); in testWriteBlockAndPageRead()
113 makeFile(control_, mountPath(test_file_name_), 0555, id, in testWriteBlockAndPageRead()
115 auto fd = openForSpecialOps(control_, fileId(1)); in testWriteBlockAndPageRead()
130 auto res = waitForPageReads(control_, std::chrono::seconds(5), &reads); in testWriteBlockAndPageRead()
156 makeFile(control_, mountPath(test_file_name_), 0555, id, in testWaitForPendingReads()
162 waitForPendingReads(control_, std::chrono::seconds(10), &pending_reads)); in testWaitForPendingReads()
174 auto fd = openForSpecialOps(control_, fileId(1)); in testWaitForPendingReads()
214 ASSERT_EQ(0, makeDir(control_, mountPath(test_dir_name_))); in TEST_F()
228 makeFile(control_, mountPath(test_file_name_), 0555, fileId(1), in TEST_F()
[all …]
/system/incremental_delivery/incfs/tests/include/
DIncFsTestBase.h46 control_ = mount(image_dir_path_, mount_dir_path_, in SetUp()
50 ASSERT_TRUE(control_.cmd() >= 0) << "Expected >= 0 got " << control_.cmd(); in SetUp()
51 ASSERT_TRUE(control_.pendingReads() >= 0); in SetUp()
52 ASSERT_TRUE(control_.logs() >= 0); in SetUp()
108 int res = makeFile(control_, mountPath(test_file_name_), 0555, fileId(id), in makeFileWithHash()
122 Control control_; variable
/system/core/fs_mgr/libdm/
Dloop_control.cpp158 control_.Detach(device_); in ~LoopDevice()
163 valid_ = control_.Attach(fd_.get(), timeout_ms, &device_); in Init()
/system/core/fs_mgr/libdm/include/libdm/
Dloop_control.h88 LoopControl control_; variable
/system/incremental_delivery/incfs/tests/util/
Dmap_ptr_test.cpp40 ASSERT_TRUE(control_.logs() >= 0); in SetUp()
41 ASSERT_EQ(0, makeFile(control_, mountPath(test_file_name_), 0555, id, {.size = FILE_SIZE})); in SetUp()
42 auto fd = openForSpecialOps(control_, fileId(1)); in SetUp()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz_utils.cpp405 : AutoDevice(device), control_(control) {} in AutoDetachLoopDevice()
406 ~AutoDetachLoopDevice() { PCHECK(control_->Detach(name_)) << name_; } in ~AutoDetachLoopDevice()
409 LoopControl* control_; member in android::snapshot::AutoDetachLoopDevice
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp352 : control_(control), devices_(devices), commit_(false) {} in AutoDetachLoopDevices()
357 control_.Detach(device); in ~AutoDetachLoopDevices()
364 LoopControl& control_; member in android::fiemap::AutoDetachLoopDevices