Home
last modified time | relevance | path

Searched refs:GetBlockDeviceByMountPoint (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/base/startup/init/test/unittest/init/
H A Dmount_unittest.cpp47 int ret = GetBlockDeviceByMountPoint(nullptr, nullptr, nullptr, 0);
53 ret = GetBlockDeviceByMountPoint("notmountpoint", &fstab, devicename, sizeof(devicename));
55 ret = GetBlockDeviceByMountPoint("mountPoint", &fstab, devicename, 0);
57 ret = GetBlockDeviceByMountPoint("mountPoint", &fstab, devicename, sizeof(devicename));
/ohos5.0/base/update/updater/test/unittest/updater_binary/
H A Dupdate_processor_unittest.cpp49 string devPath = GetBlockDeviceByMountPoint(UT_MISC_PARTITION_NAME); in SetUp()
60 string devPath = GetBlockDeviceByMountPoint(UT_MISC_PARTITION_NAME); in TearDown()
86 int32_t ret = Store::WriteDataToStore("/", GetBlockDeviceByMountPoint(UT_MISC_PARTITION_NAME),
102 int32_t ret = Store::WriteDataToStore("/", GetBlockDeviceByMountPoint(UT_MISC_PARTITION_NAME),
/ohos5.0/base/update/updater/interfaces/kits/misc_info/
H A Dmisc_info.cpp92 auto path = GetBlockDeviceByMountPoint(MISC_PATH); in WriteUpdaterMiscMsg()
103 auto path = GetBlockDeviceByMountPoint(MISC_PATH); in ReadUpdaterMiscMsg()
113 auto path = GetBlockDeviceByMountPoint(MISC_PATH); in WriteUpdaterParaMisc()
155 auto path = GetBlockDeviceByMountPoint(MISC_PATH); in ReadUpdaterParaMisc()
/ohos5.0/base/update/updater/test/unittest/mount_test/
H A Dmount_unittest.cpp150 std::string vendorSource = GetBlockDeviceByMountPoint(tmpPath);
166 const std::string str1 = GetBlockDeviceByMountPoint(mountPoint1);
169 const std::string str2 = GetBlockDeviceByMountPoint(mountPoint2);
172 const std::string str3 = GetBlockDeviceByMountPoint(mountPoint3);
/ohos5.0/base/update/updater/test/unittest/applypatch_test/
H A Dapplypatch_unittest.cpp62 auto devPath = GetBlockDeviceByMountPoint(partitionName); in TearDown()
88 auto devPath = GetBlockDeviceByMountPoint(partitionName);
/ohos5.0/base/update/updater/services/include/fs_manager/
H A Dmount.h29 const std::string GetBlockDeviceByMountPoint(const std::string &mountPoint);
/ohos5.0/base/update/updateservice/services/engine/src/
H A Dupdate_service_restorer.cpp37 auto miscBlockDev = Updater::GetBlockDeviceByMountPoint(MISC_PATH); in FactoryReset()
/ohos5.0/base/startup/init/test/fuzztest/getblockdevicebymountpoint_fuzzer/
H A Dgetblockdevicebymountpoint_fuzzer.cpp41 if (!GetBlockDeviceByMountPoint(str.c_str(), fstab, deviceName, length)) { in FuzzGetBlockDeviceByMountPoint()
/ohos5.0/base/startup/init/interfaces/innerkits/include/fs_manager/
H A Dfs_manager.h93 int GetBlockDeviceByMountPoint(const char *mountPoint, const Fstab *fstab, char *deviceName, int na…
/ohos5.0/base/update/updater/services/flashd/image_writer/
H A Dimage_writer.cpp46 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, GetBlockDeviceByMountPoint(partition)); in GetDataWriter()
/ohos5.0/base/update/updater/services/updater_binary/
H A Dupdate_image_patch.cpp72 para.devPath = GetBlockDeviceByMountPoint(para.partName); in GetParam()
253 para.devPath = GetBlockDeviceByMountPoint(para.partName); in GetParam()
H A Dupdate_image_block.cpp179 infos.devPath = GetBlockDeviceByMountPoint(infos.partitionName); in GetUpdateBlockInfo()
452 auto devPath = GetBlockDeviceByMountPoint(partitionName); in Execute()
641 auto devPath = GetBlockDeviceByMountPoint(partitionName); in Execute()
H A Dupdate_processor.cpp451 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset()
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/
H A Dfstab.c313 int GetBlockDeviceByMountPoint(const char *mountPoint, const Fstab *fstab, char *deviceName, int na… in GetBlockDeviceByMountPoint() function
499 int ret = GetBlockDeviceByMountPoint(partName, fstab, path, size); in GetBlockDevicePath()
/ohos5.0/base/update/updater/services/applypatch/
H A Dpartition_record.cpp181 auto miscBlockDevice = GetBlockDeviceByMountPoint(misc); in GetMiscPartitionPath()
/ohos5.0/base/update/updater/services/
H A Dupdater_utils.cpp129 auto miscBlockDev = GetBlockDeviceByMountPoint(MISC_PATH); in ClearMisc()
/ohos5.0/base/update/updater/services/fs_manager/
H A Dmount.cpp346 const std::string GetBlockDeviceByMountPoint(const std::string &mountPoint) in GetBlockDeviceByMountPoint() function
H A Ddo_partition.cpp207 const std::string miscDevPath = GetBlockDeviceByMountPoint("/misc"); in WriteMiscMsgWithOffset()
/ohos5.0/base/update/updater/services/flow_update/update_bin/
H A Dcomponent_processor.cpp242 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset()