Home
last modified time | relevance | path

Searched refs:kvKey (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/dsoftbus/core/adapter/kv_store/src/
H A Dlnn_kv_adapter.cpp162 DistributedKv::Key kvKey(key); in Put()
164 if (kvStorePtr_->Get(kvKey, oldV) == DistributedKv::Status::SUCCESS && oldV.ToString() == value) { in Put()
169 status = kvStorePtr_->Put(kvKey, kvValue); in Put()
194 DistributedKv::Key kvKey; in PutBatch() local
196 kvKey = item.first; in PutBatch()
197 if (kvStorePtr_->Get(kvKey, oldV) == DistributedKv::Status::SUCCESS && oldV.ToString() == item.second) { in PutBatch()
201 entry.key = kvKey; in PutBatch()
228 DistributedKv::Key kvKey(key); in Delete()
229 status = kvStorePtr_->Delete(kvKey); in Delete()
278 DistributedKv::Key kvKey(ke in Get()
[all...]
/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dkv_adapter.cpp116 DistributedKv::Key kvKey(key); in Put()
118 if (kvStorePtr_->Get(kvKey, oldV) == DistributedKv::Status::SUCCESS && oldV.ToString() == value) { in Put()
126 status = kvStorePtr_->Put(kvKey, kvValue); in Put()
150 DistributedKv::Key kvKey; in PutBatch() local
152 kvKey = item.first; in PutBatch()
153 if (kvStorePtr_->Get(kvKey, oldV) == DistributedKv::Status::SUCCESS && oldV.ToString() == item.second) { in PutBatch()
161 entry.key = kvKey; in PutBatch()
187 DistributedKv::Key kvKey(key); in Delete()
188 status = kvStorePtr_->Delete(kvKey); in Delete()
201 DistributedKv::Key kvKey(ke in Get()
[all...]
/foundation/distributedhardware/device_manager/utils/src/kvadapter/
H A Dkv_adapter.cpp108 DistributedKv::Key kvKey(key); in Put()
110 status = kvStorePtr_->Put(kvKey, kvValue); in Put()
122 DistributedKv::Key kvKey(key); in Get()
128 status = kvStorePtr_->Get(kvKey, kvValue); in Get()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Ddb_adapter.cpp252 DistributedKv::Key kvKey(key); in GetDataByKey()
254 DistributedKv::Status status = kvStoragePtr_->Get(kvKey, kvValue); in GetDataByKey()
320 DistributedKv::Key kvKey(key); in PutData()
322 DistributedKv::Status status = kvStoragePtr_->Put(kvKey, kvValue); in PutData()
512 DistributedKv::Key kvKey(key); in RemoveDataByKey()
513 DistributedKv::Status status = kvStoragePtr_->Delete(kvKey); in RemoveDataByKey()
536 DistributedKv::Key kvKey(key); in GetEntriesByKeys()
538 if (kvStoragePtr_->Get(kvKey, kvValue) != DistributedKv::Status::SUCCESS) { in GetEntriesByKeys()
542 entry.key = kvKey; in GetEntriesByKeys()
H A Dcapability_info_manager.cpp371 DistributedKv::Key kvKey(key); in OnChange()
372 entry.key = kvKey; in OnChange()
562 std::string kvKey = GetCapabilityKey(deviceId, dhId); in HasCapability() local
563 if (globalCapInfoMap_.find(kvKey) == globalCapInfoMap_.end()) { in HasCapability()
H A Dmeta_info_manager.cpp409 DistributedKv::Key kvKey(key); in OnChange()
410 entry.key = kvKey; in OnChange()
/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/
H A Ddevice_profile_storage.cpp198 Key kvKey(key); in PutDeviceProfile()
200 if (kvStorePtr_->Get(kvKey, oldV) == Status::SUCCESS && oldV.ToString() == value) { in PutDeviceProfile()
207 Status status = kvStorePtr_->Put(kvKey, kvValue); in PutDeviceProfile()
233 Key kvKey; in PutDeviceProfileBatch() local
235 kvKey = keys[i]; in PutDeviceProfileBatch()
236 if (kvStorePtr_->Get(kvKey, oldV) == Status::SUCCESS && oldV.ToString() == values[i]) { in PutDeviceProfileBatch()
244 entry.key = kvKey; in PutDeviceProfileBatch()
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp94 DistributedKv::Key kvKey(key); in OnChange()
95 entry.key = kvKey; in OnChange()
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/
H A Ddevice_profile_manager.cpp566 DistributedKv::Key kvKey(key); in GetEntriesByKeys()
567 entry.key = kvKey; in GetEntriesByKeys()

Completed in 7 milliseconds