Home
last modified time | relevance | path

Searched refs:ReadVal (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/volume/src/
H A Dvolume_manager_service.cpp52 std::shared_ptr<VolumeExternal> volumePtr = volumeMap_.ReadVal(volumeId); in OnVolumeStateChanged()
66 std::shared_ptr<VolumeExternal> volumePtr = volumeMap_.ReadVal(volumeId); in OnVolumeMounted()
99 std::shared_ptr<VolumeExternal> volumePtr = volumeMap_.ReadVal(volumeId); in Mount()
128 std::shared_ptr<VolumeExternal> volumePtr = volumeMap_.ReadVal(volumeId); in Unmount()
152 std::shared_ptr<VolumeExternal> volumePtr = volumeMap_.ReadVal(volumeId); in Check()
204 vc = *volumeMap_.ReadVal(volumeId); in GetVolumeById()
234 if (volumeMap_.ReadVal(volumeId)->GetState() != VolumeState::UNMOUNTED) { in Format()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_safe_map_test.cpp66 ASSERT_EQ(demoData.ReadVal("A"), 1);
69 ASSERT_EQ(newdemo.ReadVal("A"), 1);
78 ASSERT_EQ(newdemo2.ReadVal("A"), 1);
219 ASSERT_EQ(demoData.ReadVal("A"), 2);
220 ASSERT_EQ(demoData.ReadVal("B"), 3);
221 ASSERT_EQ(demoData.ReadVal("C"), 4);
222 ASSERT_EQ(demoData.ReadVal("D"), 5);
264 …ASSERT_EQ(demoData.ReadVal("A" + std::to_string(i)), demoData.ReadVal("A" + std::to_string(i + 1))…
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-safeMap.md27 | V | **ReadVal**(const K& key) <br> 线程安全地读map内元素|
119 - 提供专用的线程安全读接口:ReadVal,该接口只具有safemap的读取能力,但保证线程安全
125 int val = sm.ReadVal("A");
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/disk/src/
H A Ddisk_manager_service.cpp33 return diskMap_.ReadVal(diskId); in GetDiskById()
81 disk = *diskMap_.ReadVal(diskId); in GetDiskById()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp196 int32_t pid = this->impl_->observersPid_.ReadVal(observer->AsObject()); in OnStateChange()
217 int32_t pid = this->impl_->bleObserversPid_.ReadVal(observer->AsObject()); in OnStateChange()
252 int32_t pid = this->impl_->observersPid_.ReadVal(observer->AsObject()); in OnDiscoveryStateChanged()
273 int32_t pid = this->impl_->observersPid_.ReadVal(observer->AsObject()); in OnDiscoveryResult()
347 int32_t pid = this->impl_->remoteObserversPid_.ReadVal(observer->AsObject()); in OnPairStatusChanged()
369 int32_t pid = this->impl_->remoteObserversPid_.ReadVal(observer->AsObject()); in OnRemoteUuidChanged()
382 int32_t pid = this->impl_->remoteObserversPid_.ReadVal(observer->AsObject()); in OnRemoteNameChanged()
403 int32_t pid = this->impl_->remoteObserversPid_.ReadVal(observer->AsObject()); in OnRemoteCodChanged()
426 int32_t pid = this->impl_->bleObserversPid_.ReadVal(observer->AsObject()); in OnDiscoveryStateChanged()
441 int32_t pid = this->impl_->bleObserversPid_.ReadVal(observer->AsObject()); in OnDiscoveryResult()
[all …]
H A Dbluetooth_ble_advertiser_server.cpp41 int32_t pid = observersPid_.ReadVal(observer->AsObject()); in OnStartResultEvent()
61 int32_t pid = observersPid_.ReadVal(observer->AsObject()); in OnStopResultEvent()
H A Dbluetooth_ble_central_manager_server.cpp91 uint32_t tokenId = this->pimpl_->observersToken_.ReadVal(observer->AsObject()); in OnScanCallback()
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Ddns_result_call_back.cpp99 newDefaultResult = netDnsResult_.ReadVal(defaultNetid); in IterateDnsReportResults()
110 existResult = netDnsResult_.ReadVal(it.netid_); in IterateDnsReportResults()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Ddistributed_device_status.cpp32 return deviceStatus_.ReadVal(deviceType); in GetDeviceStatus()
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/
H A Dnetwork_set_manager.cpp243 return cellularNetMap_.ReadVal(std::to_string(userId) + "/" + bundleName); in IsAllowCellularConnect()
255 return netMap_.ReadVal(std::to_string(userId) + "/" + bundleName); in IsAllowNetConnect()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/photo_processor/photo_job_repository/
H A Dphoto_job_repository.cpp514 int32_t highJobNum = priotyToNum_.ReadVal(PhotoJobPriority::HIGH); in ReportEvent()
515 int32_t normalJobNum = priotyToNum_.ReadVal(PhotoJobPriority::NORMAL); in ReportEvent()
516 int32_t lowJobNum = priotyToNum_.ReadVal(PhotoJobPriority::LOW); in ReportEvent()
/ohos5.0/foundation/filemanagement/storage_service/services/common/include/
H A Dstorage_rl_map.h30 V ReadVal(const K& key) in ReadVal() function
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/common/include/httpsession/
H A Dffrt_safe_map.h47 V ReadVal(const K& key) in ReadVal() function
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dsafe_map.h51 V ReadVal(const K& key) in ReadVal() function