Home
last modified time | relevance | path

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

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp230 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 Dkv_adapter_test.cpp299 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 Dikv_adapter.h37 …virtual int32_t GetByPrefix(const std::string& keyPrefix, std::map<std::string, std::string>& valu…
H A Dkv_adapter.h51 …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 Ddevice_profile_manager.cpp68 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 Dkv_adapter.cpp220 int32_t KVAdapter::GetByPrefix(const std::string& keyPrefix, std::map<std::string, std::string>& va… in GetByPrefix() function in OHOS::DistributedDeviceProfile::KVAdapter