Home
last modified time | relevance | path

Searched refs:vc (Results 1 - 25 of 25) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_manager/volume/test/
H A Dnotification_test.cpp49 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 Dvolume_manager_service_test.cpp52 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 Dvolume_external.cpp22 VolumeExternal::VolumeExternal(VolumeCore vc) in VolumeExternal() argument
23 : VolumeExternal::VolumeCore(vc.GetId(), vc.GetType(), vc.GetDiskId(), vc.GetState()) {} in VolumeExternal()
H A Dstorage_manager_proxy.cpp665 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 Dvolume_manager_service.cpp39 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 Dvolume_manager_service.h32 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 Dstorage_manager_client.cpp96 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 Dstorage_manager.cpp224 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 Dstorage_manager_stub.cpp579 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 Dstoragemanagerproxy_fuzzer.cpp36 VolumeCore vc; in StorageManagerProxyFuzzTest() local
56 proxy->NotifyVolumeCreated(vc); in StorageManagerProxyFuzzTest()
H A Dstoragemanagerproxymock.h110 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 Dvolume_external.h48 VolumeExternal(VolumeCore vc);
H A Dstorage_manager_proxy.h45 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 Distorage_manager.h53 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 Dmock_storage_manager_service.h120 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 Dstorage_manager.h51 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 Dstorage_manager_proxy_mock.h45 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 Dstorage_manager_service_mock.h113 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 Dstorage_manager_proxy_test.cpp311 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 Dstorage_manager_proxy_mock.cpp145 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 Dspirv_cross_helpers_gles.cpp177 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 Ddcamera_pipeline_sink_test.cpp213 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 Dobex_utils.cpp258 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 Dgesture_event_hub_test_two_ng.cpp780 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 Dgesture_event_hub_test_ng.cpp656 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()

Completed in 28 milliseconds