Home
last modified time | relevance | path

Searched refs:dbValue (Results 1 - 15 of 15) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dsubscribe_profile_manager_test.cpp169 std::string dbValue = ""; in HWTEST_F() local
171 NotifyProfileChange(ProfileType::PROFILE_TYPE_MAX, ChangeType::CHANGE_TYPE_MAX, dbKey, dbValue); in HWTEST_F()
184 std::string dbValue = ""; in HWTEST_F() local
186 NotifyProfileChange(ProfileType::TRUST_DEVICE_PROFILE, ChangeType::ADD, dbKey, dbValue); in HWTEST_F()
239 std::string dbValue = ""; in HWTEST_F() local
240 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyDeviceProfileAdd(dbKey, dbValue); in HWTEST_F()
253 std::string dbValue = ""; in HWTEST_F() local
254 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyDeviceProfileUpdate(dbKey, dbValue); in HWTEST_F()
267 std::string dbValue = ""; in HWTEST_F() local
268 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyDeviceProfileDelete(dbKey, dbValue); in HWTEST_F()
281 std::string dbValue = ""; HWTEST_F() local
295 std::string dbValue = ""; HWTEST_F() local
309 std::string dbValue = ""; HWTEST_F() local
323 std::string dbValue = ""; HWTEST_F() local
337 std::string dbValue = ""; HWTEST_F() local
351 std::string dbValue = ""; HWTEST_F() local
455 std::string dbValue = ""; HWTEST_F() local
469 std::string dbValue = ""; HWTEST_F() local
483 std::string dbValue = ""; HWTEST_F() local
497 std::string dbValue = ""; HWTEST_F() local
511 std::string dbValue = ""; HWTEST_F() local
525 std::string dbValue = ""; HWTEST_F() local
539 std::string dbValue = ""; HWTEST_F() local
553 std::string dbValue = ""; HWTEST_F() local
567 std::string dbValue = ""; HWTEST_F() local
659 std::string dbValue = ""; HWTEST_F() local
673 std::string dbValue = ""; HWTEST_F() local
687 std::string dbValue = ""; HWTEST_F() local
701 std::string dbValue = ""; HWTEST_F() local
715 std::string dbValue = ""; HWTEST_F() local
729 std::string dbValue = ""; HWTEST_F() local
743 std::string dbValue = ""; HWTEST_F() local
757 std::string dbValue = ""; HWTEST_F() local
771 std::string dbValue = ""; HWTEST_F() local
785 std::string dbValue = ""; HWTEST_F() local
800 std::string dbValue = ""; HWTEST_F() local
815 std::string dbValue = ""; HWTEST_F() local
830 std::string dbValue = ""; HWTEST_F() local
845 std::string dbValue = ""; HWTEST_F() local
860 std::string dbValue = ""; HWTEST_F() local
875 std::string dbValue = ""; HWTEST_F() local
890 std::string dbValue = ""; HWTEST_F() local
905 std::string dbValue = ""; HWTEST_F() local
920 std::string dbValue = ""; HWTEST_F() local
[all...]
/foundation/deviceprofile/device_info_manager/services/core/include/subscribeprofilemanager/
H A Dsubscribe_profile_manager.h37 const std::string& dbValue);
47 int32_t NotifyDeviceProfileAdd(const std::string& dbKey, const std::string& dbValue);
48 int32_t NotifyDeviceProfileUpdate(const std::string& dbKey, const std::string& dbValue);
49 int32_t NotifyDeviceProfileDelete(const std::string& dbKey, const std::string& dbValue);
50 int32_t NotifyServiceProfileAdd(const std::string& dbKey, const std::string& dbValue);
51 int32_t NotifyServiceProfileUpdate(const std::string& dbKey, const std::string& dbValue);
52 int32_t NotifyServiceProfileDelete(const std::string& dbKey, const std::string& dbValue);
53 int32_t NotifyCharProfileAdd(const std::string& dbKey, const std::string& dbValue);
54 int32_t NotifyCharProfileUpdate(const std::string& dbKey, const std::string& dbValue);
55 int32_t NotifyCharProfileDelete(const std::string& dbKey, const std::string& dbValue);
[all...]
/foundation/deviceprofile/device_info_manager/services/core/src/subscribeprofilemanager/
H A Dsubscribe_profile_manager.cpp72 const std::string& dbKey, const std::string& dbValue) in NotifyProfileChange()
78 return SubscribeProfileManager::NotifyDeviceProfileAdd(dbKey, dbValue); in NotifyProfileChange()
80 return SubscribeProfileManager::NotifyDeviceProfileUpdate(dbKey, dbValue); in NotifyProfileChange()
82 return SubscribeProfileManager::NotifyDeviceProfileDelete(dbKey, dbValue); in NotifyProfileChange()
84 return SubscribeProfileManager::NotifyServiceProfileAdd(dbKey, dbValue); in NotifyProfileChange()
86 return SubscribeProfileManager::NotifyServiceProfileUpdate(dbKey, dbValue); in NotifyProfileChange()
88 return SubscribeProfileManager::NotifyServiceProfileDelete(dbKey, dbValue); in NotifyProfileChange()
90 return SubscribeProfileManager::NotifyCharProfileAdd(dbKey, dbValue); in NotifyProfileChange()
92 return SubscribeProfileManager::NotifyCharProfileUpdate(dbKey, dbValue); in NotifyProfileChange()
94 return SubscribeProfileManager::NotifyCharProfileDelete(dbKey, dbValue); in NotifyProfileChange()
71 NotifyProfileChange(ProfileType profileType, ChangeType changeType, const std::string& dbKey, const std::string& dbValue) NotifyProfileChange() argument
207 NotifyDeviceProfileAdd(const std::string& dbKey, const std::string& dbValue) NotifyDeviceProfileAdd() argument
232 NotifyDeviceProfileUpdate(const std::string& dbKey, const std::string& dbValue) NotifyDeviceProfileUpdate() argument
259 NotifyDeviceProfileDelete(const std::string& dbKey, const std::string& dbValue) NotifyDeviceProfileDelete() argument
284 NotifyServiceProfileAdd(const std::string& dbKey, const std::string& dbValue) NotifyServiceProfileAdd() argument
310 NotifyServiceProfileUpdate(const std::string& dbKey, const std::string& dbValue) NotifyServiceProfileUpdate() argument
339 NotifyServiceProfileDelete(const std::string& dbKey, const std::string& dbValue) NotifyServiceProfileDelete() argument
365 NotifyCharProfileAdd(const std::string& dbKey, const std::string& dbValue) NotifyCharProfileAdd() argument
392 NotifyCharProfileUpdate(const std::string& dbKey, const std::string& dbValue) NotifyCharProfileUpdate() argument
422 NotifyCharProfileDelete(const std::string& dbKey, const std::string& dbValue) NotifyCharProfileDelete() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dextension_util.cpp49 for (auto &[col, dbValue] : bucket) { in Convert()
52 if (dbValue.index() == TYPE_INDEX<DBAsset>) { in Convert()
53 DBAsset dbAsset = std::get<DBAsset>(dbValue); in Convert()
59 } else if (dbValue.index() == TYPE_INDEX<DBAssets>) { in Convert()
60 DBAssets dbAssets = std::get<DBAssets>(dbValue); in Convert()
67 auto data = Convert(dbValue); in Convert()
84 std::pair<OhCloudExtValue *, size_t> ExtensionUtil::Convert(const DBValue &dbValue) in Convert() argument
88 if (dbValue.index() == TYPE_INDEX<int64_t>) { in Convert()
89 int64_t val = std::get<int64_t>(dbValue); in Convert()
92 } else if (dbValue in Convert()
[all...]
H A Dextension_util.h56 static std::pair<OhCloudExtValue *, size_t> Convert(const DBValue &dbValue);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dquery_sync_water_mark_helper.cpp207 Value dbValue; in SaveQueryWaterMarkToDB() local
208 int errCode = SerializeQueryWaterMark(queryWaterMark, dbValue); in SaveQueryWaterMarkToDB()
216 errCode = SetMetadataToDb(dbKey, dbValue); in SaveQueryWaterMarkToDB()
229 Value dbValue; in GetQueryWaterMarkFromDB() local
230 int errCode = GetMetadataFromDb(dbKey, dbValue); in GetQueryWaterMarkFromDB()
234 return DeSerializeQueryWaterMark(dbValue, queryWaterMark); in GetQueryWaterMarkFromDB()
380 Value dbValue; in GetDeleteWaterMarkFromDB() local
381 int errCode = GetMetadataFromDb(dbKey, dbValue); in GetDeleteWaterMarkFromDB()
386 return DeSerializeDeleteWaterMark(dbValue, deleteWaterMark); in GetDeleteWaterMarkFromDB()
393 Value dbValue; in SaveDeleteWaterMarkToDB() local
[all...]
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp177 for (const auto& [dbKey, dbValue] : entries) { in HandleAddChange()
179 SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::ADD, dbKey, dbValue); in HandleAddChange()
188 for (const auto& [dbKey, dbValue] : entries) { in HandleUpdateChange()
190 SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::UPDATE, dbKey, dbValue); in HandleUpdateChange()
199 for (const auto& [dbKey, dbValue] : entries) { in HandleDeleteChange()
201 SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::DELETE, dbKey, dbValue); in HandleDeleteChange()
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/common/
H A Daudio_volume_config.h26 int32_t dbValue; member
/foundation/communication/dsoftbus/core/adapter/kv_store/src/
H A Dlnn_kv_data_change_listener.cpp59 std::string dbValue = item.value.ToString(); in OnChange()
60 LnnDBDataChangeSyncToCacheInner(dbKey.c_str(), dbValue.c_str()); in OnChange()
/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp487 std::string dbValue = item.second; in GetAllDeviceProfile() local
489 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllDeviceProfile()
515 std::string dbValue = item.second; in GetAllServiceProfile() local
517 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllServiceProfile()
543 std::string dbValue = item.second; in GetAllCharacteristicProfile() local
545 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllCharacteristicProfile()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Daudio_adapter_manager.cpp1820 AUDIO_INFO_LOG("Min volume index not zero, use min db: %{public}0.1f", volumePoints[0].dbValue / 100.0f); in CalculateVolumeDbNonlinear()
1821 return exp((volumePoints[0].dbValue / 100.0f) * 0.115129f); in CalculateVolumeDbNonlinear()
1827 exp(volumePoints[pointSize - 1].dbValue * 0.115129f)); in CalculateVolumeDbNonlinear()
1828 return exp((volumePoints[pointSize - 1].dbValue / 100.0f) * 0.115129f); in CalculateVolumeDbNonlinear()
1833 float dbValue = (volumePoints[position - 1].dbValue / 100.0f) + in CalculateVolumeDbNonlinear() local
1834 indexFactor * ((volumePoints[position].dbValue / 100.0f) - (volumePoints[position - 1].dbValue / 100.0f)); in CalculateVolumeDbNonlinear()
1839 (static_cast<float>(volumePoints[position - 1].dbValue) / 100.0f), dbValue, in CalculateVolumeDbNonlinear()
[all...]
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dsingle_store_impl.cpp207 DBValue dbValue; in Get() local
208 auto dbStatus = dbStore_->Get(dbKey, dbValue); in Get()
209 value = std::move(dbValue); in Get()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_volume_parser.cpp227 volumePoint.dbValue = atoi(pValue); in ParseVolumePoints()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dsingle_store_impl.cpp355 DBValue dbValue; in Get() local
356 auto dbStatus = dbStore_->Get(dbKey, dbValue); in Get()
357 value = std::move(dbValue); in Get()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp9362 AppendFormat(dumpString, "[%u, %d]", volPoint->index, volPoint->dbValue); in DeviceVolumeInfosDump()

Completed in 35 milliseconds