Home
last modified time | relevance | path

Searched refs:valueint (Results 1 - 25 of 32) sorted by relevance

12

/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Dwatermark_image_serializer.cpp53 std::pair<std::string, int32_t> key{cJSON_GetStringValue(bundleName), accountId->valueint}; in Deserialize()
55 WatermarkImageType imageType{fileNameStr, width->valueint, height->valueint}; in Deserialize()
H A Dclipboard_policy_serializer.cpp41 auto policyEnum = ConvertToClipboardPolicy(clipboardPolicy->valueint); in Deserialize()
42 result.insert(std::make_pair(tokenId->valueint, policyEnum)); in Deserialize()
H A Dfingerprint_policy_serializer.cpp40 result.accountIds.insert(item->valueint); in Deserialize()
/base/inputmethod/imf/services/json/src/
H A Dserializable.cpp72 value = subNode->valueint; in GetValue()
84 if (subNode->valueint < 0) { in GetValue()
88 value = static_cast<uint32_t>(subNode->valueint); in GetValue()
/base/sensors/miscdevice/utils/haptic_decoder/he_json/src/
H A Dhe_vibrator_decoder.cpp85 return cJSON_IsNumber(versionJSON) ? versionJSON->valueint : -1; in ParseVersion()
105 int32_t time = cJSON_IsNumber(timeJSON) ? timeJSON->valueint : -1; in ParsePatternList()
164 event.duration = cJSON_IsNumber(durationJSON) ? durationJSON->valueint : -1; in ParseEvent()
172 event.index = cJSON_IsNumber(indexJSON) ? indexJSON->valueint : -1; in ParseEvent()
178 event.time = cJSON_IsNumber(timeJSON) ? timeJSON->valueint : -1; in ParseEvent()
183 event.intensity = cJSON_IsNumber(intensityJSON) ? intensityJSON->valueint : -1; in ParseEvent()
186 event.frequency = cJSON_IsNumber(frequencyJSON) ? frequencyJSON->valueint : -1; in ParseEvent()
221 point.time = cJSON_IsNumber(timeJSON) ? timeJSON->valueint : -1; in ParseCurve()
236 point.frequency = cJSON_IsNumber(frequencyJSON) ? frequencyJSON->valueint : -1; in ParseCurve()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
H A Djsonutil.c50 return ((cJSON *)obj)->valueint; in get_json_int()
63 ret = obj_value->valueint; in get_json_int()
101 return ((cJSON *)obj)->valueint; in get_json_bool()
/base/security/device_security_level/baselib/utils/src/
H A Dutils_json.c54 return ((cJSON *)handle)->valueint; in DslmGetJsonFieldInt()
67 ret = objValue->valueint; in DslmGetJsonFieldInt()
97 array[index++] = item->valueint; in DslmGetJsonFieldIntArray()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/
H A DcJSON.h33 int valueint; member
/base/security/access_token/interfaces/innerkits/nativetoken/src/
H A Dnativetoken_json_oper.c56 AtInnerInfo *atIdInfo = (AtInnerInfo *)&(tokenIdJson->valueint); in GetTokenIdFromJson()
62 tokenNode->tokenId = (NativeAtId)tokenIdJson->valueint; in GetTokenIdFromJson()
78 tokenNode->apl = aplJson->valueint; in GetAplFromJson()
/base/update/updater/services/updater_binary/
H A Dupdate_partitions.cpp35 LOG(ERROR) << "Error get valueint"; in CheckValueInt()
62 myPartition->start = static_cast<size_t>(item->valueint); in SetPartitionInfo()
69 myPartition->length = static_cast<size_t>(item->valueint); in SetPartitionInfo()
/base/security/appverify/interfaces/innerkits/appverify/src/init/
H A Djson_parser_utils.cpp74 value = jsonValue->valueint; in GetJsonInt()
/base/sensors/miscdevice/utils/common/src/
H A Djson_parser.cpp130 return json->valueint; in GetIntValue()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_provision.c141 profVal->notBefore = notBefore->valueint; in GetProfValidity()
148 profVal->notAfter = notAfter->valueint; in GetProfValidity()
300 pf->versionCode = jsonObj->valueint; in ParseProfile()
/base/hiviewdfx/hitrace/frameworks/native/
H A Dcommon_utils.cpp164 tagCategory.tag = 1ULL << tagOffset->valueint; in ParseTagCategory()
168 tagCategory.type = type->valueint; in ParseTagCategory()
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_event_test.cpp241 EXPECT_EQ(jsonMode->valueint, UsbSrvSupport::PORT_MODE_HOST); in HWTEST_F()
275 EXPECT_EQ(jsonMode->valueint, UsbSrvSupport::PORT_MODE_DEVICE); in HWTEST_F()
/base/msdp/device_status/libs/src/
H A Ddevicestatus_data_parse.cpp117 data.value = static_cast<OnChangedValue>(mockvalue->valueint); in DeviceStatusDataInit()
/base/telephony/call_manager/services/distributed_call/src/distributed_communication/
H A Ddistributed_data_controller.cpp87 value = static_cast<int32_t>(dataJson->valueint); in GetInt32Value()
/base/update/updater/utils/json/
H A Djson_node.cpp119 innerObj_ = std::make_optional<int>(root->valueint); in Parse()
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_endpoint.h56 return item->valueint; in GetIntValue()
H A Dusb_config.h72 return item->valueint; in GetIntValue()
H A Dusb_interface.h76 return item->valueint; in GetIntValue()
H A Dusb_device.h86 return item->valueint; in GetIntValue()
/base/update/updateservice/services/firmware/check/include/
H A Dfirmware_icheck.h133 return CAST_INT(static_cast<SearchStatus>(item->valueint)); in ParseJsonFile()
/base/usb/usb_manager/test/native/mock/src/
H A Dusb_event_mock_test.cpp285 EXPECT_EQ(jsonMode->valueint, UsbSrvSupport::PORT_MODE_HOST); in HWTEST_F()
319 EXPECT_EQ(jsonMode->valueint, UsbSrvSupport::PORT_MODE_DEVICE); in HWTEST_F()
/base/customization/enterprise_device_management/interfaces/kits/device_settings/src/
H A Ddevice_settings_addon.cpp490 powerScene = PowerScene(itemPowerScene->valueint); in JsStrToPowerScene()
511 powerPolicy.SetDelayTime(delayTime->valueint); in JsStrToPowerPolicy()
517 bool setActionRet = powerPolicy.SetPowerPolicyAction(powerPolicyAction->valueint); in JsStrToPowerPolicy()

Completed in 12 milliseconds

12