Home
last modified time | relevance | path

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

/base/startup/init/test/unittest/init/
H A Dmount_unittest.cpp47 int ret = GetBlockDeviceByMountPoint(nullptr, nullptr, nullptr, 0); in HWTEST_F()
53 ret = GetBlockDeviceByMountPoint("notmountpoint", &fstab, devicename, sizeof(devicename)); in HWTEST_F()
55 ret = GetBlockDeviceByMountPoint("mountPoint", &fstab, devicename, 0); in HWTEST_F()
57 ret = GetBlockDeviceByMountPoint("mountPoint", &fstab, devicename, sizeof(devicename)); in HWTEST_F()
/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), in HWTEST_F()
102 int32_t ret = Store::WriteDataToStore("/", GetBlockDeviceByMountPoint(UT_MISC_PARTITION_NAME), in HWTEST_F()
/base/update/updater/test/unittest/mount_test/
H A Dmount_unittest.cpp150 std::string vendorSource = GetBlockDeviceByMountPoint(tmpPath); in HWTEST_F()
166 const std::string str1 = GetBlockDeviceByMountPoint(mountPoint1); in HWTEST_F()
169 const std::string str2 = GetBlockDeviceByMountPoint(mountPoint2); in HWTEST_F()
172 const std::string str3 = GetBlockDeviceByMountPoint(mountPoint3); in HWTEST_F()
/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()
/base/startup/init/test/fuzztest/getblockdevicebymountpoint_fuzzer/
H A Dgetblockdevicebymountpoint_fuzzer.cpp41 if (!GetBlockDeviceByMountPoint(str.c_str(), fstab, deviceName, length)) { in FuzzGetBlockDeviceByMountPoint()
/base/update/updater/services/include/fs_manager/
H A Dmount.h31 const std::string GetBlockDeviceByMountPoint(const std::string &mountPoint);
/base/update/updateservice/services/engine/src/
H A Dupdate_service_restorer.cpp37 auto miscBlockDev = Updater::GetBlockDeviceByMountPoint(MISC_PATH); in FactoryReset()
/base/update/updater/test/unittest/applypatch_test/
H A Dapplypatch_unittest.cpp62 auto devPath = GetBlockDeviceByMountPoint(partitionName); in TearDown()
88 auto devPath = GetBlockDeviceByMountPoint(partitionName); in HWTEST_F()
/base/startup/init/interfaces/innerkits/include/fs_manager/
H A Dfs_manager.h93 int GetBlockDeviceByMountPoint(const char *mountPoint, const Fstab *fstab, char *deviceName, int nameLen);
/base/update/updater/services/flashd/image_writer/
H A Dimage_writer.cpp46 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, GetBlockDeviceByMountPoint(partition)); in GetDataWriter()
/base/update/updater/services/applypatch/
H A Dpartition_record.cpp181 auto miscBlockDevice = GetBlockDeviceByMountPoint(misc); in GetMiscPartitionPath()
/base/update/updater/services/
H A Dupdater_utils.cpp129 auto miscBlockDev = GetBlockDeviceByMountPoint(MISC_PATH); in ClearMisc()
/base/startup/init/interfaces/innerkits/fs_manager/
H A Dfstab.c316 int GetBlockDeviceByMountPoint(const char *mountPoint, const Fstab *fstab, char *deviceName, int nameLen) in GetBlockDeviceByMountPoint() function
511 int ret = GetBlockDeviceByMountPoint(partName, fstab, path, size); in GetBlockDevicePath()
/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()
453 auto devPath = GetBlockDeviceByMountPoint(partitionName); in Execute()
704 auto devPath = GetBlockDeviceByMountPoint(partitionName); in Execute()
H A Dupdate_processor.cpp451 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset()
/base/update/updater/services/fs_manager/
H A Ddo_partition.cpp207 const std::string miscDevPath = GetBlockDeviceByMountPoint("/misc"); in WriteMiscMsgWithOffset()
H A Dmount.cpp333 const std::string GetBlockDeviceByMountPoint(const std::string &mountPoint) in GetBlockDeviceByMountPoint() function
/base/update/updater/services/flow_update/update_bin/
H A Dcomponent_processor.cpp242 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset()

Completed in 16 milliseconds