Searched refs:GetByPrefix (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/ |
H A D | profile_control_utils.cpp | 230 if (kvStore->GetByPrefix(dbKeyPrefix, values) != DP_SUCCESS) { in GetDeviceProfile() 263 if (kvStore->GetByPrefix(dbKeyPrefix, values) != DP_SUCCESS) { in GetServiceProfile() 299 if (kvStore->GetByPrefix(profileKeyPrefix, values) != DP_SUCCESS) { in GetCharacteristicProfile() 305 if (kvStore->GetByPrefix(profileKeyPrefix, values) != DP_SUCCESS) { in GetCharacteristicProfile() 467 if (kvStore->GetByPrefix(DEV_PREFIX, values) != DP_SUCCESS) { in GetAllDeviceProfile() 495 if (kvStore->GetByPrefix(SVR_PREFIX, values) != DP_SUCCESS) { in GetAllServiceProfile() 523 if (kvStore->GetByPrefix(CHAR_PREFIX, values) != DP_SUCCESS) { in GetAllCharacteristicProfile()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | kv_adapter_test.cpp | 299 EXPECT_EQ(DP_SUCCESS, kvStore->GetByPrefix("GetByPrefix001", values)); 315 EXPECT_EQ(DP_KV_DB_PTR_NULL, kvStore->GetByPrefix("GetByPrefix002", values)); 327 EXPECT_EQ(DP_INVALID_PARAMS, kvStore->GetByPrefix("GetByPrefix003", values));
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/persistenceadapter/kvadapter/ |
H A D | ikv_adapter.h | 37 …virtual int32_t GetByPrefix(const std::string& keyPrefix, std::map<std::string, std::string>& valu…
|
H A D | kv_adapter.h | 51 …int32_t GetByPrefix(const std::string& keyPrefix, std::map<std::string, std::string>& values) over…
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/ |
H A D | device_profile_manager.cpp | 68 int32_t status = deviceProfileStore_->GetByPrefix(dbKeyPrefix, values); in Init() 746 if (deviceProfileStore_->GetByPrefix(DEV_PREFIX + SEPARATOR + udid, values) != DP_SUCCESS) { in GetProfilesByKeyPrefix() 750 if (deviceProfileStore_->GetByPrefix(SVR_PREFIX + SEPARATOR + udid, values) != DP_SUCCESS) { in GetProfilesByKeyPrefix() 754 if (deviceProfileStore_->GetByPrefix(CHAR_PREFIX + SEPARATOR + udid, values) != DP_SUCCESS) { in GetProfilesByKeyPrefix()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/ |
H A D | kv_adapter.cpp | 220 int32_t KVAdapter::GetByPrefix(const std::string& keyPrefix, std::map<std::string, std::string>& va… in GetByPrefix() function in OHOS::DistributedDeviceProfile::KVAdapter
|