/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/volume/test/ |
H A D | volume_manager_service_test.cpp | 50 int32_t fsType = 1; variable 52 VolumeCore vc(volumeId, fsType, diskId); 78 int32_t fsType = 1; variable 104 int32_t fsType = 1; variable 131 int32_t fsType = 1; variable 188 int32_t fsType = 1; variable 259 int32_t fsType = 1; variable 287 int32_t fsType = 1; variable 333 int32_t fsType = 1; variable 359 int fsType = 1; variable [all …]
|
H A D | notification_test.cpp | 47 int32_t fsType = 1; variable 49 VolumeCore vc(volumeId, fsType, diskId); 71 int32_t fsType = 1; variable 73 VolumeCore vc(volumeId, fsType, diskId); 95 int32_t fsType = 1; variable 97 VolumeCore vc(volumeId, fsType, diskId); 121 int32_t fsType = 1; variable 123 VolumeCore vc(volumeId, fsType, diskId); 145 int32_t fsType = 1; variable 147 VolumeCore vc(volumeId, fsType, diskId); [all …]
|
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/ |
H A D | fstab_mount.c | 85 static bool IsSupportedDataType(const char *fsType) in IsSupportedDataType() argument 97 bool IsSupportedFilesystem(const char *fsType) in IsSupportedFilesystem() argument 196 int DoFormat(const char *devPath, const char *fsType) in DoFormat() argument 198 if (devPath == NULL || fsType == NULL) { in DoFormat() 202 if (!IsSupportedFilesystem(fsType)) { in DoFormat() 207 if (strcmp(fsType, "ext4") == 0) { in DoFormat() 219 } else if (IsSupportedDataType(fsType)) { in DoFormat() 489 if (strcmp(item->fsType, "erofs") == 0) { in MountItemByFsType() 504 if (strcmp(item->fsType, "erofs") != 0) { in MountItemByFsType() 575 if (strcmp(item->fsType, "erofs") == 0) { in NeedDmVerity() [all …]
|
H A D | fstab.c | 108 if (item->fsType != NULL) { in ReleaseFstabItem() 109 free(item->fsType); in ReleaseFstabItem() 110 item->fsType = NULL; in ReleaseFstabItem() 161 item->fsType = strdup(p); in ParseFstabPerLine() 162 BEGET_ERROR_CHECK(item->fsType != NULL, break, "strdup fsType failed."); in ParseFstabPerLine()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/ |
H A D | volume_external_test.cpp | 46 int32_t fsType = 1; variable 51 volumeexternal.SetFsType(fsType); 57 EXPECT_EQ(result1, fsType); 66 EXPECT_EQ(result5, FS_TYPE_MAP[fsType]); 96 int32_t fsType = 1; variable 102 volumeexternal.SetFsType(fsType); 114 EXPECT_EQ(parcel.ReadInt32(), fsType); 140 int32_t fsType = 1; variable 151 parcel.WriteInt32(fsType); 164 EXPECT_EQ(result->GetFsType(), fsType); [all …]
|
/ohos5.0/base/startup/appspawn/test/mock/ |
H A D | app_system_stub.c | 166 const char *fsType, unsigned long mountFlags, const char *options, mode_t mountSharedFlag) in MountStub() argument 176 printf("args->fsType %s == %s \n", args->fsType, fsType); in MountStub() 184 (args->fsType == NULL || (fsType != NULL && strcmp(fsType, args->fsType) == 0)) && in MountStub()
|
/ohos5.0/foundation/filemanagement/storage_service/test/fuzztest/volumeexternal_fuzzer/ |
H A D | volumeexternal_fuzzer.cpp | 28 int32_t fsType = *(reinterpret_cast<const int32_t *>(data)); in FileUtilFuzzTest() local 30 volumeexternal.SetFlags(fsType); in FileUtilFuzzTest() 31 volumeexternal.SetFsType(fsType); in FileUtilFuzzTest()
|
/ohos5.0/base/update/updater/services/fs_manager/ |
H A D | mount.cpp | 80 LOG(DEBUG) << "\tFs type : " << item->fsType; in LoadFstab() 285 if (!IsSupportedFilesystem(item->fsType)) { in FormatPartition() 286 … << "Try to format " << item->mountPoint << " with unsupported file system type: " << item->fsType; in FormatPartition() 299 int ret = DoFormat(item->deviceName, item->fsType); in FormatPartition() 321 std::string fsType(item->fsType); in SetupPartitions() local 322 if (mountPoint == "/" || mountPoint == "/tmp" || fsType == "none" || in SetupPartitions()
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/fs_manager/ |
H A D | fs_manager.h | 60 char *fsType; // File system type member 95 bool IsSupportedFilesystem(const char *fsType); 96 int DoFormat(const char *devPath, const char *fsType);
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-mini-extend-file.md | 84 设备分区接口:int LOS_DiskPartition(const char *dev, const char *fsType, int *lengthArray, int *addrArray,… 87 - fsType:文件系统类型,”vfat“ 92 格式化接口:int LOS_PartitionFormat(const char *partName, char *fsType, void *data); 95 - fsType:文件系统类型,”vfat“ 333 设备分区接口:int LOS_DiskPartition(const char *dev, const char *fsType, int *lengthArray, int *addrArray,… 336 - fsType:文件系统类型, "littlefs" 341 格式化接口:int LOS_PartitionFormat(const char *partName, char *fsType, void *data); 344 - fsType:文件系统类型, "littlefs"
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/include/volume/ |
H A D | volume_manager_service.h | 33 void OnVolumeMounted(std::string volumeId, int32_t fsType, std::string fsUuid, 41 int32_t Format(std::string volumeId, std::string fsType);
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/volume/src/ |
H A D | volume_manager_service.cpp | 59 void VolumeManagerService::OnVolumeMounted(std::string volumeId, int fsType, std::string fsUuid, in OnVolumeMounted() argument 71 volumePtr->SetFsType(fsType); in OnVolumeMounted() 229 int32_t VolumeManagerService::Format(std::string volumeId, std::string fsType) in Format() argument 241 return sdCommunication->Format(volumeId, fsType); in Format()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-volumemanager-sys.md | 549 format(volumeId: string, fsType: string): Promise<void> 562 | fsType | string | 是 | 文件系统类型(vfat或者exfat) | 590 let fsType: string = ""; 591 volumemanager.format(volumeId, fsType).then(() => { 600 format(volumeId: string, fsType: string, callback: AsyncCallback<void>): void 613 | fsType | string | 是 | 文件系统类型(vfat或者exfat) | 636 let fsType: string = ""; 637 volumemanager.format(volumeId, fsType, (error: BusinessError) => { 748 | fsType<sup>12+</sup> | string | 是 | 否 | 文件系统的类型,常见有ext2、vfat、NTFS等。 |
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/ |
H A D | volume_manager_test.cpp | 318 string fsType = "ext2"; variable 319 int32_t result = volumeManager->Format(volId, fsType); 341 std::string fsType = "ext2"; variable 342 int32_t result = volumeManager->Format(volId, fsType);
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/src/ |
H A D | volume_external.cpp | 30 void VolumeExternal::SetFsType(int32_t fsType) in SetFsType() argument 32 fsType_ = fsType; in SetFsType()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-file-management.md | 13 …w :<br>format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;<br>format(v…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-file-management.md | 13 …w :<br>format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;<br>format(v…
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager.cpp | 236 int32_t StorageManager::NotifyVolumeMounted(std::string volumeId, int32_t fsType, std::string fsUui… in NotifyVolumeMounted() argument 241 …DelayedSingleton<VolumeManagerService>::GetInstance()->OnVolumeMounted(volumeId, fsType, fsUuid, p… in NotifyVolumeMounted() 368 int32_t StorageManager::Format(std::string volumeId, std::string fsType) in Format() argument 371 …Manger::Format start, volumeId: %{public}s, fsType: %{public}s", volumeId.c_str(), fsType.c_str()); in Format() 372 int32_t err = DelayedSingleton<VolumeManagerService>::GetInstance()->Format(volumeId, fsType); in Format()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/ |
H A D | volume_manager.cpp | 154 int32_t VolumeManager::Format(const std::string volId, const std::string fsType) in Format() argument 162 int32_t err = info->Format(fsType); in Format()
|
/ohos5.0/base/startup/appspawn/modules/sandbox/ |
H A D | appspawn_mount_template.c | 184 APPSPAPWN_DUMP(" sandbox node fsType: %{public}s", tmp->fsType ? tmp->fsType : "null"); in DumpMountPathMountNode()
|
H A D | sandbox_utils.cpp | 259 const char *fsType, unsigned long mountFlags, in DoAppSandboxMountOnce() argument 276 originPath, destinationPath, fsType, mountFlags, options, mountSharedFlag); in DoAppSandboxMountOnce() 277 ret = mount(originPath, destinationPath, fsType, mountFlags, options); in DoAppSandboxMountOnce() 648 const std::string &fsType, unsigned long mountFlags) in DoDlpAppMountStrategy() argument 674 srcPath.c_str(), sandboxPath.c_str(), fsType.c_str(), mountFlags, options); in DoDlpAppMountStrategy() 701 if (fsType.empty()) { in HandleSpecialAppMount() 736 std::string fsType; in GetSandboxFsType() local 738 fsType = config[g_fsType].get<std::string>(); in GetSandboxFsType() 740 fsType = ""; in GetSandboxFsType() 742 return fsType; in GetSandboxFsType() [all …]
|
/ohos5.0/base/startup/init/test/unittest/innerkits/ |
H A D | innerkits_unittest.cpp | 255 fstabItem.fsType = strdup("notSupport"); 259 if (fstabItem.fsType != nullptr) { 260 free(fstabItem.fsType); 261 fstabItem.fsType = nullptr;
|
/ohos5.0/base/update/updater/test/fuzztest/dopartitions_fuzzer/ |
H A D | dopartitions_fuzzer.cpp | 36 part.fsType = "emmc"; in InitEmmcPartition()
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-volumemanager-sys.md | 549 format(volumeId: string, fsType: string): Promise<void> 562 | fsType | string | Yes | File system type, which can be VFAT or exFAT.| 590 let fsType: string = ""; 591 volumemanager.format(volumeId, fsType).then(() => { 600 format(volumeId: string, fsType: string, callback: AsyncCallback<void>): void 613 | fsType | string | Yes | File system type, which can be VFAT or exFAT.| 636 let fsType: string = ""; 637 volumemanager.format(volumeId, fsType, (error: BusinessError) => { 748 | fsType<sup>12+</sup> | string | Yes| No| File system type. Common file systems are **ext2…
|
/ohos5.0/base/update/updater/services/updater_binary/ |
H A D | update_partitions.cpp | 85 myPartition->fsType = (item->valuestring); in SetPartitionInfo() 89 myPartition->partName << " " << myPartition->fsType; in SetPartitionInfo()
|