Home
last modified time | relevance | path

Searched refs:DoFormat (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/update/updater/services/flashd/daemon/
H A Dformat_commander.cpp51 if (auto ret = DoFormat(params[1]); ret != 0) { in DoCommand()
67 int FormatCommander::DoFormat(const std::string &partitionName) const in DoFormat() function in Flashd::FormatCommander
74 return part.DoFormat(); in DoFormat()
H A Dformat_commander.h32 int DoFormat(const std::string &partitionName) const;
/ohos5.0/base/startup/init/test/unittest/innerkits/
H A Dinnerkits_unittest.cpp234 EXPECT_NE(DoFormat("/testpath", "ext4"), -1);
235 EXPECT_NE(DoFormat("/testpath", "f2fs"), -1);
236 EXPECT_EQ(DoFormat("/testpath", "notFs"), -1);
237 EXPECT_EQ(DoFormat(nullptr, nullptr), -1);
/ohos5.0/base/startup/init/test/fuzztest/doformat_fuzzer/
H A Ddoformat_fuzzer.cpp25 if (!DoFormat(str.c_str(), str.c_str())) { in FuzzDoFormat()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/
H A Dexternal_volume_info_mock.h33 MOCK_METHOD1(DoFormat, int32_t(std::string));
H A Dvolume_info_mock.h33 MOCK_METHOD1(DoFormat, int32_t(std::string));
H A Dvolume_info_test.cpp514 EXPECT_CALL(mock, DoFormat(testing::_)).Times(1).WillOnce(testing::Return(E_OK));
/ohos5.0/base/update/updater/services/flashd/
H A Dpartition.h31 int DoFormat() const;
H A Dpartition.cpp76 int Partition::DoFormat() const in DoFormat() function in Flashd::Partition
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/volume/
H A Dvolume_info.h61 virtual int32_t DoFormat(std::string type) = 0;
H A Dexternal_volume_info.h43 virtual int32_t DoFormat(std::string type) override;
/ohos5.0/base/startup/init/interfaces/innerkits/include/fs_manager/
H A Dfs_manager.h96 int DoFormat(const char *devPath, const char *fsType);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dvolume_info.cpp197 int32_t err = DoFormat(type); in Format()
H A Dexternal_volume_info.cpp249 int32_t ExternalVolumeInfo::DoFormat(std::string type) in DoFormat() function in OHOS::StorageDaemon::ExternalVolumeInfo
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/
H A Dfstab_mount.c196 int DoFormat(const char *devPath, const char *fsType) in DoFormat() function
470 int ret = DoFormat(item->deviceName, item->fsType); in DoMountOneItem()
/ohos5.0/base/update/updater/test/unittest/flashd_test/
H A Dflashd_unittest.cpp264 int ret = partTest.DoFormat();
299 int ret = partTest.DoFormat();
/ohos5.0/base/update/updater/services/fs_manager/
H A Dmount.cpp299 int ret = DoFormat(item->deviceName, item->fsType); in FormatPartition()