Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributedhardware/device_manager/utils/src/kvadapter/
H A Dkv_adapter_manager.cpp65 std::string dmKey = DM_KV_STORE_PREFIX + key; in PutByAnoyDeviceId() local
67 auto idIter = idCacheMap_.find(dmKey); in PutByAnoyDeviceId()
73 idCacheMap_[dmKey] = value; in PutByAnoyDeviceId()
79 if (kvAdapter_->Put(dmKey, valueStr) != DM_OK) { in PutByAnoyDeviceId()
92 std::string dmKey = DM_KV_STORE_PREFIX + key; in Get() local
94 auto idIter = idCacheMap_.find(dmKey); in Get()
101 if (kvAdapter_->Get(dmKey, valueStr) != DM_OK) { in Get()
102 LOGE("Get kv value failed, dmKey: %{public}s", GetAnonyString(dmKey).c_str()); in Get()
106 idCacheMap_[dmKey] = value; in Get()