Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_info.cpp105 std::string kvStoreKey; in GetKey() local
106 kvStoreKey.append(deviceId_); in GetKey()
107 kvStoreKey.append(RESOURCE_SEPARATOR); in GetKey()
108 kvStoreKey.append(dhId_); in GetKey()
109 return kvStoreKey; in GetKey()
114 std::string kvStoreKey; in GetAnonymousKey() local
115 kvStoreKey.append(GetAnonyString(deviceId_)); in GetAnonymousKey()
116 kvStoreKey.append(RESOURCE_SEPARATOR); in GetAnonymousKey()
117 kvStoreKey.append(GetAnonyString(dhId_)); in GetAnonymousKey()
118 return kvStoreKey; in GetAnonymousKey()
H A Dmeta_capability_info.cpp131 std::string kvStoreKey; in GetKey() local
132 kvStoreKey.append(udidHash_); in GetKey()
133 kvStoreKey.append(RESOURCE_SEPARATOR); in GetKey()
134 kvStoreKey.append(this->GetDHId()); in GetKey()
135 return kvStoreKey; in GetKey()
140 std::string kvStoreKey; in GetAnonymousKey() local
141 kvStoreKey.append(GetAnonyString(udidHash_)); in GetAnonymousKey()
142 kvStoreKey.append(RESOURCE_SEPARATOR); in GetAnonymousKey()
143 kvStoreKey.append(GetAnonyString(this->GetDHId())); in GetAnonymousKey()
144 return kvStoreKey; in GetAnonymousKey()
/ohos5.0/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_preferences_database.cpp104 DistributedKv::Key kvStoreKey(key); in PutToDistributedDB() local
106 DistributedKv::Status status = kvStore_->Put(kvStoreKey, kvStoreValue); in PutToDistributedDB()
126 DistributedKv::Key kvStoreKey(key); in GetFromDistributedDB() local
128 DistributedKv::Status status = kvStore_->Get(kvStoreKey, kvStoreValue); in GetFromDistributedDB()
148 DistributedKv::Key kvStoreKey(prefixKey); in GetEntriesFromDistributedDB() local
149 DistributedKv::Status status = kvStore_->GetEntries(kvStoreKey, entries); in GetEntriesFromDistributedDB()
168 DistributedKv::Key kvStoreKey(key); in DeleteToDistributedDB() local
170 DistributedKv::Status status = kvStore_->Delete(kvStoreKey); in DeleteToDistributedDB()
H A Ddistributed_database.cpp151 DistributedKv::Key kvStoreKey(key); in PutToDistributedDB() local
153 DistributedKv::Status status = kvStore_->Put(kvStoreKey, kvStoreValue); in PutToDistributedDB()
176 DistributedKv::Key kvStoreKey(key); in GetFromDistributedDB() local
178 DistributedKv::Status status = kvStore_->Get(kvStoreKey, kvStoreValue); in GetFromDistributedDB()
203 DistributedKv::Key kvStoreKey(prefixKey); in GetEntriesFromDistributedDB() local
204 DistributedKv::Status status = kvStore_->GetEntries(kvStoreKey, entries); in GetEntriesFromDistributedDB()
227 DistributedKv::Key kvStoreKey(key); in DeleteToDistributedDB() local
228 DistributedKv::Status status = kvStore_->Delete(kvStoreKey); in DeleteToDistributedDB()
H A Ddistributed_screen_status_manager.cpp242 DistributedKv::Key kvStoreKey = GenerateDistributedKey(localDevice.deviceId); in SetLocalScreenStatus() local
244 DistributedKv::Status status = kvStore_->Put(kvStoreKey, kvStoreValue); in SetLocalScreenStatus()