Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 57) sorted by relevance

123

/base/update/updater/services/script/script_interpreter/
Dscript_context.cpp88 value = inter->GetValue(); in GetParam()
158 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \
167 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \
184 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \
198 if (value == nullptr || value->GetValue() == 0) { \
201 retValue = make_shared<IntegerValue>(this->GetValue() / value->GetValue()); \
207 if (value == nullptr || value->GetValue() == 0) { \
210 retValue = make_shared<FloatValue>(this->GetValue() / value->GetValue()); \
279 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \
288 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \
[all …]
Dscript_context.h79 int32_t GetValue() const in GetValue() function
101 float GetValue() const in GetValue() function
125 std::string GetValue() const in GetValue() function
176 int32_t GetValue() const in GetValue() function
/base/hiviewdfx/hiview/plugins/usage_event_report/service/
Dusage_event_report_service.cpp83 cacheUsage->Update(KEY_OF_START, cacheUsage->GetValue(KEY_OF_END).GetUint64()); in ReportSysUsage()
96 uint64_t nowUsageTime = nowUsage->GetValue(key).GetUint64(); in UpdateCacheSysUsage()
97 uint64_t lastUsageTime = lastUsage == nullptr ? 0 : lastUsage->GetValue(key).GetUint64(); in UpdateCacheSysUsage()
99 cacheUsage->Update(key, curUsageTime + cacheUsage->GetValue(key).GetUint64()); in UpdateCacheSysUsage()
101 cacheUsage->Update(KEY_OF_END, nowUsage->GetValue(KEY_OF_END).GetUint64()); in UpdateCacheSysUsage()
/base/powermgr/battery_manager/services/native/src/
Dbattery_config.cpp70 return !GetValue(key).isNull(); in IsExist()
75 Json::Value value = GetValue(key); in GetInt()
117 Json::Value soc = GetValue("light." + level + ".soc"); in ParseLightConf()
118 Json::Value rgb = GetValue("light." + level + ".rgb"); in ParseLightConf()
145 Json::Value BatteryConfig::GetValue(std::string key) const in GetValue() function in OHOS::PowerMgr::BatteryConfig
/base/hiviewdfx/hiview/base/test/unittest/common/
Dpipeline_test.cpp97 ASSERT_EQ(event->GetValue("EventProcessorExample1"), "Done"); in DoTest()
98 ASSERT_EQ(event->GetValue("EventProcessorExample2"), "Done"); in DoTest()
100 ASSERT_EQ(event->GetValue("EventProcessorExample3"), ""); in DoTest()
101 ASSERT_EQ(event->GetValue("EventProcessorExample4"), ""); in DoTest()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/
Dparse_smaps_rollup_info.cpp33 void ParseSmapsRollupInfo::GetValue(const string &str, MemInfoData::MemInfo &memInfo) in GetValue() function in OHOS::HiviewDFX::ParseSmapsRollupInfo
91 GetValue(lineContent, memInfo); in GetMemInfo()
Dparse_smaps_info.cpp72 bool ParseSmapsInfo::GetValue(const MemoryFilter::MemoryType &memType, const string &str, string &t… in GetValue() function in OHOS::HiviewDFX::ParseSmapsInfo
105 if (GetValue(memType, content, type, value)) { in GetInfo()
/base/hiviewdfx/hiview/core/test/unittest/common/
Dplatform_test_result_listener.cpp23 processedUnorderedEvents_[msg.GetValue("message")] = msg.sender_; in OnUnorderedEvent()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/
Dparse_smaps_rollup_info.h31 void GetValue(const std::string &str, MemInfoData::MemInfo &memInfo);
Dparse_smaps_info.h36 …bool GetValue(const MemoryFilter::MemoryType &memType, const std::string &str, std::string &type, …
/base/hiviewdfx/hiview/plugins/eventlogger/
Dlog_action.cpp25 std::string cmdStr = event_->GetValue("eventLog_action"); in Init()
/base/telephony/core_service/test/fuzztest/hexvectohexstr_fuzzer/
Dhexvectohexstr_fuzzer.cpp38 tagService->GetValue(parameter); in DoSomethingInterestingWithMyAPI()
/base/telephony/cellular_data/services/src/
Dcellular_data_setting_observer.cpp41 if (settingHelper->GetValue(uri, CELLULAR_DATA_COLUMN_ENABLE, value) != TELEPHONY_SUCCESS) { in OnChange()
Dcellular_data_roaming_observer.cpp46 …if (settingHelper->GetValue(uri, std::string(CELLULAR_DATA_COLUMN_ROAMING) + std::to_string(simId)… in OnChange()
Ddata_switch_settings.cpp75 …int32_t ret = settingsRdbHelper->GetValue(userDataEnableUri, CELLULAR_DATA_COLUMN_ENABLE, userData… in IsUserDataOn()
124 int32_t ret = settingsRdbHelper->GetValue( in IsUserDataRoamingOn()
/base/telephony/cellular_data/services/include/utils/
Dcellular_data_settings_rdb_helper.h59 int32_t GetValue(Uri &uri, const std::string &column, int32_t &value);
/base/powermgr/display_manager/frameworks/napi/
Dbrightness_module.cpp73 static napi_value GetValue(napi_env env, napi_callback_info info) in GetValue() function
83 asyncBrightness->GetValue(); in GetValue()
187 DECLARE_NAPI_FUNCTION("getValue", GetValue), in Init()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.cpp121 int32_t GetValue(const IdItem *idItem, char **value) in GetValue() function
178 return GetValue(idItem, value); in GLOBAL_GetValueById()
217 return GetValue(idItem, value); in GLOBAL_GetValueByName()
/base/telephony/core_service/services/sim/include/
Dtag_service.h39 void GetValue(std::vector<uint8_t> &result) const;
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
Dget_hardware_info.h35 void static GetValue(const std::string &str, uint64_t &value);
/base/hiviewdfx/hiview/base/event_report/event/include/
Dlogger_event.h40 ParamValue GetValue(const std::string& name);
/base/hiviewdfx/hiview/test/plugins/examples/dynamic_load_plugin_example/
Ddynamic_load_plugin_example.cpp53 auto cmd = msg.GetValue("DynamicLoadPluginExample"); in OnUnorderedEvent()
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_component_unittest.cpp65 EXPECT_EQ(boxProgress.GetValue(), static_cast<int>(static_cast<float>(specInfo.defaultValue) /
89 EXPECT_EQ(boxProgress.GetValue(), 0);
91 …EXPECT_EQ(boxProgress.GetValue(), static_cast<int>(validValue / MAX_PROGRESS_VALUE * (commonInfo.w…
93 EXPECT_EQ(boxProgress.GetValue(), commonInfo.w - 1);
99 …EXPECT_EQ(boxProgress.GetValue(), static_cast<int>(validValue / MAX_PROGRESS_VALUE * (commonInfo.w…
187 float rate = static_cast<float>(boxProgress.GetValue()) / boxProgress.GetRangeMax();
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp86 uint64_t unit = g_SizeMap.GetValue(str[index]); in Str2Size()
147 return g_ErrorMsgs.GetValue((uint16_t)errorCode) + " [CODE: " + to_string(errorCode) + "]"; in ErrorCode2Str()
157 return g_LogTypes.GetValue(logType); in LogType2Str()
230 return g_LogLevels.GetValue(logLevel); in LogLevel2Str()
248 return g_ShortLogLevels.GetValue(logLevel); in LogLevel2ShortStr()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dget_hardware_info.cpp70 void GetHardwareInfo::GetValue(const std::string &str, uint64_t &value) in GetValue() function in OHOS::HiviewDFX::GetHardwareInfo
94 GetValue(tempValueStr, tempValue); in RegStrToRegValue()

123