/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/volume/src/ |
H A D | volume_manager_service.cpp | 52 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 D | utils_safe_map_test.cpp | 66 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 D | c-utils-guide-safeMap.md | 27 | 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 D | disk_manager_service.cpp | 33 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 D | bluetooth_host_server.cpp | 196 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 D | bluetooth_ble_advertiser_server.cpp | 41 int32_t pid = observersPid_.ReadVal(observer->AsObject()); in OnStartResultEvent() 61 int32_t pid = observersPid_.ReadVal(observer->AsObject()); in OnStopResultEvent()
|
H A D | bluetooth_ble_central_manager_server.cpp | 91 uint32_t tokenId = this->pimpl_->observersToken_.ReadVal(observer->AsObject()); in OnScanCallback()
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | dns_result_call_back.cpp | 99 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 D | distributed_device_status.cpp | 32 return deviceStatus_.ReadVal(deviceType); in GetDeviceStatus()
|
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/ |
H A D | network_set_manager.cpp | 243 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 D | photo_job_repository.cpp | 514 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 D | storage_rl_map.h | 30 V ReadVal(const K& key) in ReadVal() function
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/common/include/httpsession/ |
H A D | ffrt_safe_map.h | 47 V ReadVal(const K& key) in ReadVal() function
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | safe_map.h | 51 V ReadVal(const K& key) in ReadVal() function
|