/foundation/filemanagement/storage_service/services/storage_manager/volume/test/ |
H A D | notification_test.cpp | 47 int32_t fsType = 1; in HWTEST_F() local 49 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 71 int32_t fsType = 1; in HWTEST_F() local 73 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 95 int32_t fsType = 1; in HWTEST_F() local 97 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 121 int32_t fsType = 1; in HWTEST_F() local 123 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 145 int32_t fsType = 1; in HWTEST_F() local 147 VolumeCore vc(volumeId, fsType, diskI in HWTEST_F() 169 int32_t fsType = 1; HWTEST_F() local [all...] |
H A D | volume_manager_service_test.cpp | 50 int32_t fsType = 1; in HWTEST_F() local 52 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 78 int32_t fsType = 1; in HWTEST_F() local 80 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 104 int32_t fsType = 1; in HWTEST_F() local 106 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 131 int32_t fsType = 1; in HWTEST_F() local 133 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 188 int32_t fsType = 1; in HWTEST_F() local 193 vmService->OnVolumeMounted(volumeId, fsType, fsUui in HWTEST_F() 259 int32_t fsType = 1; HWTEST_F() local 287 int32_t fsType = 1; HWTEST_F() local 337 int32_t fsType = 1; HWTEST_F() local 383 int32_t fsType = 1; HWTEST_F() local 409 int fsType = 1; HWTEST_F() local 434 int fsType = 1; HWTEST_F() local [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/ |
H A D | volume_external_test.cpp | 46 int32_t fsType = 1; in HWTEST_F() local 51 volumeexternal.SetFsType(fsType); in HWTEST_F() 57 EXPECT_EQ(result1, fsType); in HWTEST_F() 66 EXPECT_EQ(result5, FS_TYPE_MAP[fsType]); in HWTEST_F() 95 int32_t fsType = 1; in HWTEST_F() local 100 volumeexternal.SetFsType(fsType); in HWTEST_F() 110 EXPECT_EQ(parcel.ReadInt32(), fsType); in HWTEST_F() 135 int32_t fsType = 1; in HWTEST_F() local 145 parcel.WriteInt32(fsType); in HWTEST_F() 156 EXPECT_EQ(result->GetFsType(), fsType); in HWTEST_F() [all...] |
/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()
|
/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()
|
/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);
|
/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/ |
H A D | volume_manager_test.cpp | 318 string fsType = "ext2"; in HWTEST_F() local 319 int32_t result = volumeManager->Format(volId, fsType); in HWTEST_F() 341 std::string fsType = "ext2"; in HWTEST_F() local 342 int32_t result = volumeManager->Format(volId, fsType); in HWTEST_F()
|
/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() 232 int32_t VolumeManagerService::Format(std::string volumeId, std::string fsType) in Format() argument 249 return sdCommunication->Format(volumeId, fsType); in Format()
|
/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/ |
H A D | volume_manager.cpp | 163 int32_t VolumeManager::Format(const std::string volId, const std::string fsType) in Format() argument 171 int32_t err = info->Format(fsType); in Format()
|
H A D | external_volume_info.cpp | 116 const char *fsType = "hmfs"; in DoMount4Hmfs() local 118 int32_t ret = mount(devPath_.c_str(), mountPath_.c_str(), fsType, mountFlags, mountData.c_str()); in DoMount4Hmfs() 311 LOGE("SetVolumeDescription fsType not support."); in DoSetVolDesc()
|
/foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native/ |
H A D | volume_external.h | 51 void SetFsType(int32_t fsType);
|
H A D | storage_manager_proxy.h | 46 int32_t NotifyVolumeMounted(std::string volumeId, int32_t fsType, std::string fsUuid,
59 int32_t Format(std::string volumeId, std::string fsType) override;
|
H A D | istorage_manager.h | 54 virtual int32_t NotifyVolumeMounted(std::string volumeId, int fsType, std::string fsUuid,
67 virtual int32_t Format(std::string volumeId, std::string fsType) = 0;
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/volume/ |
H A D | volume_manager.h | 39 int32_t Format(const std::string volId, const std::string fsType);
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager.cpp | 234 int32_t StorageManager::NotifyVolumeMounted(std::string volumeId, int32_t fsType, std::string fsUuid, in NotifyVolumeMounted() argument 239 DelayedSingleton<VolumeManagerService>::GetInstance()->OnVolumeMounted(volumeId, fsType, fsUuid, path, description); in NotifyVolumeMounted() 366 int32_t StorageManager::Format(std::string volumeId, std::string fsType) in Format() argument 369 LOGI("StorageManger::Format start, volumeId: %{public}s, fsType: %{public}s", volumeId.c_str(), fsType.c_str()); in Format() 370 int32_t err = DelayedSingleton<VolumeManagerService>::GetInstance()->Format(volumeId, fsType); in Format()
|
/foundation/filemanagement/storage_service/interfaces/kits/js/storage_manager/include/ |
H A D | storage_manager_connect.h | 49 int32_t Format(std::string volumeId, std::string fsType);
|
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/ |
H A D | mock_storage_manager_service.h | 125 virtual int32_t NotifyVolumeMounted(std::string volumeId, int fsType, std::string fsUuid,
186 virtual int32_t Format(std::string volumeId, std::string fsType) override
|
/foundation/filemanagement/storage_service/services/storage_manager/include/ipc/ |
H A D | storage_manager.h | 52 int32_t NotifyVolumeMounted(std::string volumeId, int32_t fsType, std::string fsUuid,
69 int32_t Format(std::string volumeId, std::string fsType) override;
|
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/ |
H A D | storage_manager_proxy_mock.h | 46 int32_t NotifyVolumeMounted(std::string volumeId, int32_t fsType, std::string fsUuid, 59 int32_t Format(std::string volumeId, std::string fsType) override;
|
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_manager_connect.cpp | 278 int32_t StorageManagerConnect::Format(std::string volumeId, std::string fsType) in Format() argument 289 return storageManager_->Format(volumeId, fsType); in Format()
|
H A D | volumemanager_n_exporter.cpp | 84 volumeInfoObject.AddProp("fsType", NVal::CreateUTF8String(env, (*volumeInfo)[i].GetFsTypeString()).val_); in GetAllVolumes() 234 volumeObject.AddProp("fsType", NVal::CreateUTF8String(env, volumeInfo->GetFsTypeString()).val_); in GetVolumeByUuid() 369 std::unique_ptr<char []> fsType; in Format() local 376 tie(succ, fsType, std::ignore) = NVal(env, funcArg[(int)NARG_POS::SECOND]).ToUTF8String(); in Format() 383 std::string fsTypeString(fsType.get()); in Format()
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_service_mock.h | 118 virtual int32_t NotifyVolumeMounted(std::string volumeId, int fsType, std::string fsUuid, 179 virtual int32_t Format(std::string volumeId, std::string fsType) override
|
/foundation/filemanagement/storage_service/test/fuzztest/storagemanagerproxy_fuzzer/ |
H A D | storagemanagerproxymock.h | 115 int32_t NotifyVolumeMounted(std::string volumeId, int fsType, std::string fsUuid, 176 int32_t Format(std::string volumeId, std::string fsType) override
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/ |
H A D | disk_info.cpp | 243 std::string fsType; in CreateUnknownTabVol() local 246 if (OHOS::StorageDaemon::ReadMetadata(devPath_, fsType, uuid, label) == E_OK) { in CreateUnknownTabVol()
|
/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_manager_proxy_mock.cpp | 150 int32_t StorageManagerProxy::NotifyVolumeMounted(std::string volumeId, int32_t fsType, std::string fsUuid, in NotifyVolumeMounted() argument 241 int32_t StorageManagerProxy::Format(std::string volumeId, std::string fsType) in Format() argument
|