/base/update/updater/services/ui/strategy/ |
D | progress_strategy.cpp | 56 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/update/updateservice/frameworks/js/napi/base/src/ |
D | napi_util.cpp | 24 …_t NapiUtil::GetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t &intValue) in GetInt32() argument 31 napi_get_value_int32(env, value, &intValue); in GetInt32() 83 …2_t NapiUtil::SetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t intValue) in SetInt32() argument 86 napi_create_int32(env, intValue, &infoStatus); in SetInt32() 91 …2_t NapiUtil::SetInt64(napi_env env, napi_value arg, const std::string &attrName, int64_t intValue) in SetInt64() argument 94 napi_create_int64(env, intValue, &infoStatus); in SetInt64()
|
/base/telephony/cellular_data/test/fuzztest/updateinactivemachine_fuzzer/ |
D | updateinactivemachine_fuzzer.cpp | 56 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/updateservice/frameworks/js/napi/base/include/ |
D | napi_util.h | 58 …tic int32_t GetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t &intValue); 65 …atic int32_t SetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t intValue); 66 …atic int32_t SetInt64(napi_env env, napi_value arg, const std::string &attrName, int64_t intValue);
|
/base/update/updater/test/unittest/script/ |
D | script_interpreter_unittest.cpp | 56 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/telephony/cellular_data/test/fuzztest/updateactivemachine_fuzzer/ |
D | updateactivemachine_fuzzer.cpp | 50 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/ |
D | updatedisconnectmachine_fuzzer.cpp | 56 std::int32_t intValue = static_cast<int32_t>(size); in UpdateDisconnectMachineFuzz() local 62 InnerEvent::Pointer event = InnerEvent::Get(intValue, object); in UpdateDisconnectMachineFuzz()
|
/base/telephony/core_service/frameworks/native/src/ |
D | operator_config_types.cpp | 107 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()
|
D | resource_utils.cpp | 414 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/ |
D | sim_operator_brocast_test.cpp | 35 … TELEPHONY_LOGI("SimOperatorBrocastTest::OnReceiveEvent:event=%{public}d", poc.intValue["int"]); in OnReceiveEvent()
|
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisyseventmanager_fuzzer/ |
D | hisyseventmanager_fuzzer.cpp | 59 int64_t intValue = 0; in HiSysEventRecordTest() local 60 (void)record.GetParamValue(data, intValue); in HiSysEventRecordTest()
|
/base/telephony/core_service/services/sim/src/ |
D | operator_file_parser.cpp | 160 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()
|
D | operator_config_cache.cpp | 64 opc_.intValue.clear(); in ClearMemoryCache() 135 for (auto it : from.intValue) { in CopyOperatorConfig() 136 to.intValue[it.first] = it.second; in CopyOperatorConfig()
|
/base/update/updateservice/test/unittest/update_client/ |
D | client_stub.h | 42 int intValue; variable
|
D | client_stub.cpp | 82 intValue = *static_cast<int*>(const_cast<void*>(value)); in TestNApiValue() 322 *result = testValue->intValue; in napi_get_value_int32() 332 *result = static_cast<uint32_t>(testValue->intValue); in napi_get_value_uint32() 373 testEnv->pakcageInfo.result[0].packageType = (PackageType)testValue->intValue; in napi_set_named_property() 375 testEnv->progress.status = (UpgradeStatus)testValue->intValue; in napi_set_named_property() 377 testEnv->progress.percent = testValue->intValue; in napi_set_named_property()
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | delivery_callback.cpp | 69 int32_t intValue = pduStr_[i]; in CompleteSmsDeliveryWork() local 70 napi_create_int32(env_, intValue, &element); in CompleteSmsDeliveryWork()
|
D | napi_mms.cpp | 742 int32_t intValue = 0; in GetNapiInt32Value() local 743 napi_status getIntStatus = napi_get_value_int32(env, value, &intValue); in GetNapiInt32Value() 745 return intValue; in GetNapiInt32Value() 755 int64_t intValue = 0; in GetNapiInt64Value() local 756 napi_status getIntStatus = napi_get_value_int64(env, value, &intValue); in GetNapiInt64Value() 758 return intValue; in GetNapiInt64Value()
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
D | napi_call_manager_utils.cpp | 183 int32_t intValue = 0; in GetIntProperty() local 187 napi_status getIntStatus = napi_get_value_int32(env, value, &intValue); in GetIntProperty() 189 return intValue; in GetIntProperty() 193 return intValue; in GetIntProperty()
|
/base/location/interfaces/inner_api/include/ |
D | napi_util.h | 66 napi_status SetValueInt32(const napi_env& env, const char* fieldStr, const int intValue, napi_value… 67 napi_status SetValueInt64(const napi_env& env, const char* fieldStr, const int64_t intValue, napi_v…
|
/base/usb/usb_manager/interfaces/kits/js/napi/include/ |
D | napi_util.h | 39 …static void SetValueInt32(const napi_env &env, std::string fieldStr, const int32_t intValue, napi_…
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | operator_config_types.h | 87 std::map<std::string, int32_t> intValue; member
|
/base/usb/usb_manager/interfaces/kits/js/napi/src/ |
D | napi_util.cpp | 194 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/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_util.cpp | 331 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/ |
D | operator_name.cpp | 501 …if (operatorConfig.intValue.find(KEY_SPN_DISPLAY_CONDITION_CUST_INT) != operatorConfig.intValue.en… in UpdateOperatorConfig() 502 displayConditionCust_ = operatorConfig.intValue[KEY_SPN_DISPLAY_CONDITION_CUST_INT]; in UpdateOperatorConfig()
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 672 napi_status SetValueInt32(const napi_env& env, const char* fieldStr, const int intValue, napi_value… in SetValueInt32() argument 675 NAPI_CALL_BASE(env, napi_create_int32(env, intValue, &value), napi_generic_failure); in SetValueInt32() 680 napi_status SetValueInt64(const napi_env& env, const char* fieldStr, const int64_t intValue, napi_v… in SetValueInt64() argument 683 NAPI_CALL_BASE(env, napi_create_int64(env, intValue, &value), napi_generic_failure); in SetValueInt64()
|