/foundation/filemanagement/storage_service/services/storage_manager/volume/test/ |
H A D | notification_test.cpp | 49 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 50 std::shared_ptr<VolumeExternal> volume = make_shared<VolumeExternal>(vc); in HWTEST_F() 53 EXPECT_EQ(vc.GetDiskId(), diskId); in HWTEST_F() 73 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 74 std::shared_ptr<VolumeExternal> volume = make_shared<VolumeExternal>(vc); in HWTEST_F() 77 EXPECT_EQ(vc.GetDiskId(), diskId); in HWTEST_F() 97 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 98 std::shared_ptr<VolumeExternal> volume = make_shared<VolumeExternal>(vc); in HWTEST_F() 103 EXPECT_EQ(vc.GetDiskId(), diskId); in HWTEST_F() 123 VolumeCore vc(volumeI in HWTEST_F() [all...] |
H A D | volume_manager_service_test.cpp | 52 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 55 vmService->OnVolumeCreated(vc); in HWTEST_F() 80 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 106 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 109 vc.SetState(VolumeState::MOUNTED); in HWTEST_F() 133 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 136 vc.SetState(VolumeState::MOUNTED); in HWTEST_F() 137 vmService->OnVolumeCreated(vc); in HWTEST_F() 162 VolumeCore vc(volumeId, type, diskId); in HWTEST_F() 164 vmService->OnVolumeCreated(vc); in HWTEST_F() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/src/ |
H A D | volume_external.cpp | 22 VolumeExternal::VolumeExternal(VolumeCore vc) in VolumeExternal() argument 23 : VolumeExternal::VolumeCore(vc.GetId(), vc.GetType(), vc.GetDiskId(), vc.GetState()) {} in VolumeExternal()
|
H A D | storage_manager_proxy.cpp | 665 int32_t StorageManagerProxy::NotifyVolumeCreated(VolumeCore vc) in NotifyVolumeCreated() argument 668 GetAnonyString(vc.GetId()).c_str()); in NotifyVolumeCreated() 678 if (!vc.Marshalling(data)) { in NotifyVolumeCreated() 1086 int32_t StorageManagerProxy::GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) in GetVolumeByUuid() argument 1105 vc = *VolumeExternal::Unmarshalling(reply); in GetVolumeByUuid() 1109 int32_t StorageManagerProxy::GetVolumeById(std::string volumeId, VolumeExternal &vc) in GetVolumeById() argument 1128 vc = *VolumeExternal::Unmarshalling(reply); in GetVolumeById()
|
/foundation/filemanagement/storage_service/services/storage_manager/volume/src/ |
H A D | volume_manager_service.cpp | 39 void VolumeManagerService::OnVolumeCreated(VolumeCore vc) in OnVolumeCreated() argument 41 auto volumePtr = make_shared<VolumeExternal>(vc); in OnVolumeCreated() 171 VolumeExternal vc = *(it->second); in GetAllVolumes() local 172 result.push_back(vc); in GetAllVolumes() 180 auto vc = it->second; in GetVolumeByUuid() local 181 if (vc->GetUuid() == volumeUuid) { in GetVolumeByUuid() 184 return vc; in GetVolumeByUuid() 190 int32_t VolumeManagerService::GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) in GetVolumeByUuid() argument 197 vc = *volume; in GetVolumeByUuid() 204 int32_t VolumeManagerService::GetVolumeById(std::string volumeId, VolumeExternal &vc) in GetVolumeById() argument [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/include/volume/ |
H A D | volume_manager_service.h | 32 void OnVolumeCreated(VolumeCore vc); 38 int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc); 39 int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc);
|
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/ |
H A D | storage_manager_client.cpp | 96 StorageManager::VolumeCore vc(info->GetVolumeId(), info->GetVolumeType(), in NotifyVolumeCreated() 98 storageManager_->NotifyVolumeCreated(vc); in NotifyVolumeCreated()
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager.cpp | 224 int32_t StorageManager::NotifyVolumeCreated(VolumeCore vc) in NotifyVolumeCreated() argument 227 LOGI("StorageManger::NotifyVolumeCreated start, volumeId: %{public}s", vc.GetId().c_str()); in NotifyVolumeCreated() 228 DelayedSingleton<VolumeManagerService>::GetInstance()->OnVolumeCreated(vc); in NotifyVolumeCreated() 331 int32_t StorageManager::GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) in GetVolumeByUuid() argument 336 int32_t err = DelayedSingleton<VolumeManagerService>::GetInstance()->GetVolumeByUuid(fsUuid, vc); in GetVolumeByUuid() 343 int32_t StorageManager::GetVolumeById(std::string volumeId, VolumeExternal &vc) in GetVolumeById() argument 347 int32_t err = DelayedSingleton<VolumeManagerService>::GetInstance()->GetVolumeById(volumeId, vc); in GetVolumeById()
|
H A D | storage_manager_stub.cpp | 579 std::unique_ptr<VolumeCore> vc = VolumeCore::Unmarshalling(data); in HandleNotifyVolumeCreated() local 580 NotifyVolumeCreated(*vc); in HandleNotifyVolumeCreated() 710 VolumeExternal vc; in HandleGetVolumeByUuid() local 711 int err = GetVolumeByUuid(fsUuid, vc); in HandleGetVolumeByUuid() 712 if (!vc.Marshalling(reply)) { in HandleGetVolumeByUuid() 728 VolumeExternal vc; in HandleGetVolumeById() local 729 int err = GetVolumeById(volId, vc); in HandleGetVolumeById() 730 if (!vc.Marshalling(reply)) { in HandleGetVolumeById()
|
/foundation/filemanagement/storage_service/test/fuzztest/storagemanagerproxy_fuzzer/ |
H A D | storagemanagerproxy_fuzzer.cpp | 36 VolumeCore vc; in StorageManagerProxyFuzzTest() local 56 proxy->NotifyVolumeCreated(vc); in StorageManagerProxyFuzzTest()
|
H A D | storagemanagerproxymock.h | 110 int32_t NotifyVolumeCreated(VolumeCore vc) override 161 int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) override 166 int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc) override
|
/foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native/ |
H A D | volume_external.h | 48 VolumeExternal(VolumeCore vc);
|
H A D | storage_manager_proxy.h | 45 int32_t NotifyVolumeCreated(VolumeCore vc) override;
56 int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) override;
57 int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc) override;
|
H A D | istorage_manager.h | 53 virtual int32_t NotifyVolumeCreated(VolumeCore vc) = 0;
64 virtual int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) = 0;
65 virtual int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc) = 0;
|
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/ |
H A D | mock_storage_manager_service.h | 120 virtual int32_t NotifyVolumeCreated(VolumeCore vc) override
171 virtual int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) override
176 virtual int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc) override
|
/foundation/filemanagement/storage_service/services/storage_manager/include/ipc/ |
H A D | storage_manager.h | 51 int32_t NotifyVolumeCreated(VolumeCore vc) override;
66 int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) override;
67 int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc) override;
|
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/ |
H A D | storage_manager_proxy_mock.h | 45 int32_t NotifyVolumeCreated(VolumeCore vc) override; 56 int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) override; 57 int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc) override;
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_service_mock.h | 113 virtual int32_t NotifyVolumeCreated(VolumeCore vc) override 164 virtual int32_t GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) override 169 virtual int32_t GetVolumeById(std::string volumeId, VolumeExternal &vc) override
|
H A D | storage_manager_proxy_test.cpp | 311 VolumeCore vc(volumeId, fsType, diskId); in HWTEST_F() 312 int64_t result = proxy_->NotifyVolumeCreated(vc); in HWTEST_F() 318 result = proxy_->NotifyVolumeCreated(vc); in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_manager_proxy_mock.cpp | 145 int32_t StorageManagerProxy::NotifyVolumeCreated(VolumeCore vc) in NotifyVolumeCreated() argument 226 int32_t StorageManagerProxy::GetVolumeByUuid(std::string fsUuid, VolumeExternal &vc) in GetVolumeByUuid() argument 231 int32_t StorageManagerProxy::GetVolumeById(std::string volumeId, VolumeExternal &vc) in GetVolumeById() argument
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | spirv_cross_helpers_gles.cpp | 177 const auto& vc = SpecConstByName(compiler, name);
in SetSpecMacro() local 178 if (vc.self != invalid.self) {
in SetSpecMacro() 179 const uint32_t constantId = compiler.get_decoration(vc.self, spv::Decoration::DecorationSpecId);
in SetSpecMacro()
|
/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline/ |
H A D | dcamera_pipeline_sink_test.cpp | 213 bool vc = testPipelineSink_->IsInRange(vcParams); in HWTEST_F() local 214 EXPECT_EQ(true, vc); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_utils.cpp | 258 std::vector<uint8_t> vc = digest->Digest((uint8_t *)nonceBuf, sz + password.size() + 1); in MakeRequestDigest() local 260 return vc; in MakeRequestDigest()
|
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | gesture_event_hub_test_two_ng.cpp | 780 std::vector<RefPtr<NGGestureRecognizer>> vc; in HWTEST_F() local 781 vc.push_back(AceType::MakeRefPtr<ClickRecognizer>()); in HWTEST_F() 782 auto exclusiveRecognizer = AceType::MakeRefPtr<ExclusiveRecognizer>(vc); in HWTEST_F()
|
H A D | gesture_event_hub_test_ng.cpp | 656 std::vector<RefPtr<NGGestureRecognizer>> vc; in HWTEST_F() local 657 vc.push_back(AceType::MakeRefPtr<ClickRecognizer>()); in HWTEST_F() 658 auto exclusiveRecognizer = AceType::MakeRefPtr<ExclusiveRecognizer>(vc); in HWTEST_F()
|