Home
last modified time | relevance | path

Searched refs:intValue (Results 1 – 25 of 32) sorted by relevance

12

/base/update/updater/services/ui/strategy/
Dprogress_strategy.cpp56 int intValue = static_cast<int>(value); in ShowProgress() local
57 if (intValue < 0 || intValue > FULL_PERCENT_PROGRESS) { in ShowProgress()
58 LOG(ERROR) << "progress value invalid:" << intValue; in ShowProgress()
61 std::string progress = std::to_string(intValue) + "%"; in ShowProgress()
/base/powermgr/power_manager/utils/param/src/
Dsysparam.cpp47 int32_t intValue = def; in GetIntValue() local
48 StrToInt(TrimStr(value), intValue); in GetIntValue()
49 return intValue; in GetIntValue()
/base/update/updateservice/services/core/ability/sqlite/core/include/
Ditable.h101 int32_t intValue = value ? 1 : 0; in PutColumnValue() local
102 dbValue.PutInt(columnName, intValue); in PutColumnValue()
131 int32_t intValue = 0; in GetIndexValue() local
132 int ret = resultSet->GetInt(index, intValue); in GetIndexValue()
133 value = (intValue != 0); in GetIndexValue()
/base/telephony/cellular_data/test/fuzztest/updateinactivemachine_fuzzer/
Dupdateinactivemachine_fuzzer.cpp56 std::int32_t intValue = static_cast<int32_t>(size); in UpdateInActiveMachineFuzz() local
62 InnerEvent::Pointer event = InnerEvent::Get(intValue, object); in UpdateInActiveMachineFuzz()
63 inactive->SetDeActiveApnTypeId(intValue); in UpdateInActiveMachineFuzz()
/base/update/updater/test/unittest/script/
Dscript_interpreter_unittest.cpp56 int32_t intValue = 10; in TestScriptInterpreterScriptValue() local
57 std::unique_ptr<IntegerValue> iv = std::make_unique<IntegerValue>(intValue); in TestScriptInterpreterScriptValue()
103 int intValue = 100; in TestScriptInstructionContext() local
104 int ret1 = funcContext->PushParam(intValue); in TestScriptInstructionContext()
119 int intValue = 100; in TestIntegerValueComputer() local
121 UScriptValuePtr value = std::make_shared<IntegerValue>(intValue); in TestIntegerValueComputer()
/base/update/updateservice/frameworks/js/napi/base/src/
Dnapi_util.cpp28 …_t NapiUtil::GetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t &intValue) in GetInt32() argument
35 napi_get_value_int32(env, value, &intValue); in GetInt32()
87 …2_t NapiUtil::SetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t intValue) in SetInt32() argument
90 napi_create_int32(env, intValue, &infoStatus); in SetInt32()
95 …2_t NapiUtil::SetInt64(napi_env env, napi_value arg, const std::string &attrName, int64_t intValue) in SetInt64() argument
98 napi_create_int64(env, intValue, &infoStatus); in SetInt64()
/base/update/updateservice/frameworks/js/napi/base/include/
Dnapi_util.h61 …tic int32_t GetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t &intValue);
68 …atic int32_t SetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t intValue);
69 …atic int32_t SetInt64(napi_env env, napi_value arg, const std::string &attrName, int64_t intValue);
/base/telephony/cellular_data/test/fuzztest/updateactivemachine_fuzzer/
Dupdateactivemachine_fuzzer.cpp50 std::int32_t intValue = static_cast<int32_t>(size); in UpdateActiveMachineFuzz() local
56 InnerEvent::Pointer event = InnerEvent::Get(intValue, object); in UpdateActiveMachineFuzz()
/base/telephony/cellular_data/test/fuzztest/updatedisconnectmachine_fuzzer/
Dupdatedisconnectmachine_fuzzer.cpp56 std::int32_t intValue = static_cast<int32_t>(size); in UpdateDisconnectMachineFuzz() local
62 InnerEvent::Pointer event = InnerEvent::Get(intValue, object); in UpdateDisconnectMachineFuzz()
/base/hiviewdfx/hiview/base/event_store/dao/
Ddoc_query.cpp116 if (int64_t intValue = 0; param->AsInt64(intValue)) { in IsContainExtraConds() local
117 paramValue = intValue; in IsContainExtraConds()
/base/telephony/core_service/frameworks/native/src/
Doperator_config_types.cpp107 if (!parcel.WriteInt32(intValue.size())) { in MarshallingIntMap()
110 auto valueIt = intValue.begin(); in MarshallingIntMap()
111 while (valueIt != intValue.end()) { in MarshallingIntMap()
269 intValue.clear(); in ReadFromIntMap()
278 intValue[first] = second; in ReadFromIntMap()
Dresource_utils.cpp414 int32_t intValue = 0; in SaveAllValue() local
427 if (GetIntegerByName(iter.first.c_str(), intValue)) { in SaveAllValue()
428 mapResourceValues_[iter.first] = intValue; in SaveAllValue()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_operator_brocast_test.cpp35 … TELEPHONY_LOGI("SimOperatorBrocastTest::OnReceiveEvent:event=%{public}d", poc.intValue["int"]); in OnReceiveEvent()
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisyseventmanager_fuzzer/
Dhisyseventmanager_fuzzer.cpp59 int64_t intValue = 0; in HiSysEventRecordTest() local
60 (void)record.GetParamValue(data, intValue); in HiSysEventRecordTest()
/base/telephony/core_service/services/sim/src/
Doperator_file_parser.cpp160 if (valueType == Json::intValue) { in ParseOperatorConfigFromJson()
169 opc.intValue[keyStr8] = static_cast<int32_t>(lValue); in ParseOperatorConfigFromJson()
243 …if (valueType == Json::intValue && static_cast<int64_t>(stoll(arrayValue_[first].asString())) > IN… in ParseArray()
253 if (valueType == Json::intValue) { in ParseArray()
Doperator_config_cache.cpp63 opc_.intValue.clear(); in ClearMemoryCache()
139 for (const auto &it : from.intValue) { in CopyOperatorConfig()
140 to.intValue[it.first] = it.second; in CopyOperatorConfig()
/base/telephony/sms_mms/frameworks/js/napi/src/
Ddelivery_callback.cpp69 int32_t intValue = pduStr_[i]; in CompleteSmsDeliveryWork() local
70 napi_create_int32(env_, intValue, &element); in CompleteSmsDeliveryWork()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager_utils.cpp191 int32_t intValue = 0; in GetIntProperty() local
195 napi_status getIntStatus = napi_get_value_int32(env, value, &intValue); in GetIntProperty()
197 return intValue; in GetIntProperty()
201 return intValue; in GetIntProperty()
/base/usb/usb_manager/interfaces/kits/js/napi/include/
Dnapi_util.h39 …static void SetValueInt32(const napi_env &env, std::string fieldStr, const int32_t intValue, napi_…
/base/location/interfaces/inner_api/include/
Dnapi_util.h68 napi_status SetValueInt32(const napi_env& env, const char* fieldStr, const int intValue, napi_value…
69 napi_status SetValueInt64(const napi_env& env, const char* fieldStr, const int64_t intValue, napi_v…
/base/telephony/core_service/interfaces/innerkits/include/
Doperator_config_types.h99 std::map<std::string, int32_t> intValue {};
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dnapi_util.cpp194 void NapiUtil::SetValueInt32(const napi_env &env, std::string fieldStr, const int32_t intValue, nap… in SetValueInt32() argument
197 napi_create_int32(env, intValue, &value); in SetValueInt32()
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
Dmap_string_serializer.cpp43 …mber].type() != Json::ValueType::stringValue && root[member].type() != Json::ValueType::intValue && in Deserialize()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_util.cpp331 napi_value intValue = nullptr; in CreateInt32() local
332 if (napi_create_int32(env, num, &intValue) != napi_ok) { in CreateInt32()
336 return intValue; in CreateInt32()
/base/telephony/core_service/services/network_search/src/
Doperator_name.cpp499 …if (operatorConfig.intValue.find(KEY_SPN_DISPLAY_CONDITION_CUST_INT) != operatorConfig.intValue.en… in UpdateOperatorConfig()
500 displayConditionCust_ = operatorConfig.intValue[KEY_SPN_DISPLAY_CONDITION_CUST_INT]; in UpdateOperatorConfig()

12