Home
last modified time | relevance | path

Searched refs:GetIntValue (Results 1 - 25 of 47) sorted by relevance

12

/base/telephony/call_manager/test/unittest/ui_client/
H A Dcall_manager_callback_test.cpp53 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl in OnReportAsyncResults()
54 << "status:" << (int32_t)resultInfo.GetIntValue("status", -1) << std::endl in OnReportAsyncResults()
55 << "classCw:" << (int32_t)resultInfo.GetIntValue("classCw", -1) << std::endl; in OnReportAsyncResults()
58 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl; in OnReportAsyncResults()
61 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl in OnReportAsyncResults()
62 << "status:" << (int32_t)resultInfo.GetIntValue("status", -1) << std::endl in OnReportAsyncResults()
63 << "classCw:" << (int32_t)resultInfo.GetIntValue("classCw", -1) << std::endl; in OnReportAsyncResults()
66 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl; in OnReportAsyncResults()
69 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl; in OnReportAsyncResults()
72 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("resul in OnReportAsyncResults()
[all...]
/base/powermgr/display_manager/brightness_manager/src/
H A Dbrightness_param_helper.cpp25 int32_t value = SysParam::GetIntValue(KEY_DEFAULT_BRIGHTNESS, BRIGHTNESS_DEFAULT); in GetDefaultBrightness()
31 int32_t value = SysParam::GetIntValue(KEY_MAX_BRIGHTNESS, BRIGHTNESS_MAX); in GetMaxBrightness()
37 int32_t value = SysParam::GetIntValue(KEY_MIN_BRIGHTNESS, BRIGHTNESS_MIN); in GetMinBrightness()
43 int32_t value = SysParam::GetIntValue(KEY_SLEEP_BRIGHTNESS, BRIGHTNESS_SLEEP); in GetSleepBrightness()
49 int32_t value = SysParam::GetIntValue(KEY_SLEEP_MINUMUM_REDUCTION_BRIGHTNESS, BRIGHTNESS_SLEEP_MINUMUM_REDUCTION); in GetSleepMinumumReductionBrightness()
55 int32_t value = SysParam::GetIntValue(KEY_SLEEP_DARKEN_TIME, BRIGHTNESS_SLEEP_DARKEN_TIME); in GetSleepDarkenTime()
H A Dbrightness_setting_helper.cpp85 ErrCode ret = provider.GetIntValue(key, value); in GetSettingBrightness()
139 ErrCode ret = provider.GetIntValue(key, value); in GetSettingAutoBrightness()
/base/powermgr/display_manager/state_manager/service/native/src/
H A Ddisplay_param_helper.cpp25 int32_t value = SysParam::GetIntValue(KEY_DEFAULT_BRIGHTNESS, BRIGHTNESS_DEFAULT); in GetDefaultBrightness()
31 int32_t value = SysParam::GetIntValue(KEY_MAX_BRIGHTNESS, BRIGHTNESS_MAX); in GetMaxBrightness()
37 int32_t value = SysParam::GetIntValue(KEY_MIN_BRIGHTNESS, BRIGHTNESS_MIN); in GetMinBrightness()
H A Ddisplay_setting_helper.cpp83 ErrCode ret = provider.GetIntValue(key, value); in GetSettingBrightness()
137 ErrCode ret = provider.GetIntValue(key, value); in GetSettingAutoBrightness()
/base/telephony/call_manager/services/call_report/src/
H A Dcall_ability_callback_proxy.cpp163 dataParcel.WriteInt32(resultInfo.GetIntValue("result")); in PackDataParcel()
167 dataParcel.WriteInt32(resultInfo.GetIntValue("status")); in PackDataParcel()
168 dataParcel.WriteInt32(resultInfo.GetIntValue("classCw")); in PackDataParcel()
171 dataParcel.WriteInt32(resultInfo.GetIntValue("status")); in PackDataParcel()
172 dataParcel.WriteInt32(resultInfo.GetIntValue("classx")); in PackDataParcel()
174 dataParcel.WriteInt32(resultInfo.GetIntValue("type")); in PackDataParcel()
175 dataParcel.WriteInt32(resultInfo.GetIntValue("reason")); in PackDataParcel()
178 dataParcel.WriteInt32(resultInfo.GetIntValue("action")); in PackDataParcel()
179 dataParcel.WriteInt32(resultInfo.GetIntValue("clipStat")); in PackDataParcel()
182 dataParcel.WriteInt32(resultInfo.GetIntValue("actio in PackDataParcel()
[all...]
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_endpoint.h42 address_ = static_cast<uint32_t>(GetIntValue(endpoint, "address")); in USBEndpoint()
43 attributes_ = static_cast<uint32_t>(GetIntValue(endpoint, "attributes")); in USBEndpoint()
44 interval_ = GetIntValue(endpoint, "interval"); in USBEndpoint()
45 maxPacketSize_ = GetIntValue(endpoint, "maxPacketSize"); in USBEndpoint()
46 interfaceId_ = GetIntValue(endpoint, "interfaceId"); in USBEndpoint()
52 static int GetIntValue(const cJSON *jsonObject, const char *key) in GetIntValue() function in OHOS::USB::USBEndpoint
H A Dusb_device.h55 busNum_ = GetIntValue(device, "busNum"); in UsbDevice()
56 devAddr_ = GetIntValue(device, "devAddress"); in UsbDevice()
57 serial_ = GetIntValue(device, "serial"); in UsbDevice()
62 vendorId_ = GetIntValue(device, "vendorId"); in UsbDevice()
63 productId_ = GetIntValue(device, "productId"); in UsbDevice()
64 baseClass_ = GetIntValue(device, "clazz"); in UsbDevice()
65 subClass_ = GetIntValue(device, "subClass"); in UsbDevice()
66 protocol_ = GetIntValue(device, "protocol"); in UsbDevice()
82 static int GetIntValue(const cJSON *jsonObject, const char *key) in GetIntValue() function in OHOS::USB::UsbDevice
H A Dusb_interface.h51 id_ = GetIntValue(interface, "id"); in UsbInterface()
52 protocol_ = GetIntValue(interface, "protocol"); in UsbInterface()
53 klass_ = GetIntValue(interface, "clazz"); in UsbInterface()
54 subClass_ = GetIntValue(interface, "subClass"); in UsbInterface()
55 alternateSetting_ = GetIntValue(interface, "alternateSetting"); in UsbInterface()
72 static int GetIntValue(const cJSON *jsonObject, const char *key) in GetIntValue() function in OHOS::USB::UsbInterface
H A Dusb_config.h47 id_ = GetIntValue(config, "id"); in USBConfig()
48 attributes_ = static_cast<uint32_t>(GetIntValue(config, "attributes")); in USBConfig()
49 maxPower_ = GetIntValue(config, "maxPower"); in USBConfig()
68 static int GetIntValue(const cJSON *jsonObject, const char *key) in GetIntValue() function in OHOS::USB::USBConfig
/base/telephony/call_manager/services/call/src/
H A Dcall_policy.cpp38 DialType dialType = (DialType)extras.GetIntValue("dialType"); in DialPolicy()
44 int32_t accountId = extras.GetIntValue("accountId"); in DialPolicy()
51 CallType callType = (CallType)extras.GetIntValue("callType"); in DialPolicy()
55 DialScene dialScene = (DialScene)extras.GetIntValue("dialScene"); in DialPolicy()
61 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialPolicy()
84 int32_t accountId = extras.GetIntValue("accountId"); in SuperPrivacyMode()
85 CallType callType = (CallType)extras.GetIntValue("callType"); in SuperPrivacyMode()
86 int32_t slotId = extras.GetIntValue("accountId"); in SuperPrivacyMode()
90 DialScene dialScene = (DialScene)extras.GetIntValue("dialScene"); in SuperPrivacyMode()
98 int32_t videoState = extras.GetIntValue("videoStat in SuperPrivacyMode()
[all...]
/base/hiviewdfx/hiview/plugins/event_store/event_export/config/
H A Dexport_config_parser.cpp109 config->maxCapcity = CJsonUtil::GetIntValue(jsonRoot_, EXPORT_DIR_MAX_CAPACITY, INVALID_INT_VAL); in ParseResidualContent()
115 config->maxSize = CJsonUtil::GetIntValue(jsonRoot_, EXPORT_SINGLE_FILE_MAX_SIZE, INVALID_INT_VAL); in ParseResidualContent()
121 config->taskCycle = CJsonUtil::GetIntValue(jsonRoot_, TASK_EXECUTING_CYCLE, INVALID_DOUBLE_VAL); in ParseResidualContent()
127 config->dayCnt = CJsonUtil::GetIntValue(jsonRoot_, FILE_STORED_MAX_DAY_CNT, INVALID_DOUBLE_VAL); in ParseResidualContent()
/base/hiviewdfx/hiview/plugins/privacy_controller/config/
H A Darea_policy.cpp81 int32_t codeValue = CJsonUtil::GetIntValue(config, "code"); in ParseAllowedInfo()
87 int32_t allowLevelValue = CJsonUtil::GetIntValue(config, allowLevelKey); in ParseAllowedInfo()
95 int32_t allowPrivacyValue = CJsonUtil::GetIntValue(config, allowPrivacyKey); in ParseAllowedInfo()
/base/powermgr/power_manager/utils/param/include/
H A Dsysparam.h30 static int32_t GetIntValue(const std::string& key, int32_t def);
/base/sensors/miscdevice/utils/haptic_decoder/oh_json/src/
H A Ddefault_vibrator_decoder.cpp89 channelNumber_ = parser.GetIntValue(channelNumberItem); in CheckMetadata()
134 int32_t indexVal = parser.GetIntValue(indexItem); in ParseChannelParameters()
176 event.duration = parser.GetIntValue(durationItem); in ParseEvent()
186 event.time = parser.GetIntValue(startTimeItem); in ParseEvent()
191 event.intensity = parser.GetIntValue(intensityItem); in ParseEvent()
194 event.frequency = parser.GetIntValue(frequencyItem); in ParseEvent()
250 point.time = parser.GetIntValue(timeItem); in ParseCurve()
264 point.frequency = parser.GetIntValue(frequencyItem); in ParseCurve()
/base/useriam/pin_auth/frameworks/client/inc/
H A Dsettings_data_manager.h28 static bool GetIntValue(int32_t userId, const std::string &key, int32_t &value);
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_base_test.cpp120 int32_t ret = event.GetIntValue("UNKNOWN_KEY");
122 ret = event.GetIntValue("I32_KEY");
/base/hiviewdfx/hiview/base/utility/include/
H A Dcjson_util.h41 int64_t GetIntValue(const cJSON* json, const std::string& key, int64_t defaultValue = 0);
/base/powermgr/power_manager/utils/param/src/
H A Dsysparam.cpp39 int32_t SysParam::GetIntValue(const std::string& key, int32_t def) in GetIntValue() function in OHOS::PowerMgr::SysParam
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/rdb/src/
H A Dcm_cert_property_rdb.cpp158 static int32_t GetIntValue(const std::shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet, in GetIntValue() function
203 ret = GetIntValue(resultSet, COLUMN_CERT_STORE, certProperty->certStore); in GetCertProperty()
209 ret = GetIntValue(resultSet, COLUMN_USERID, certProperty->userId); in GetCertProperty()
215 ret = GetIntValue(resultSet, COLUMN_UID, certProperty->uid); in GetCertProperty()
/base/sensors/miscdevice/utils/common/include/
H A Djson_parser.h43 int32_t GetIntValue(cJSON *json) const;
/base/sensors/miscdevice/services/miscdevice_service/src/
H A Dvibration_priority_manager.cpp73 if (GetIntValue(SETTING_FEEDBACK_KEY, feedback) != ERR_OK) { in Init()
79 if (GetIntValue(SETTING_RINGER_MODE_KEY, ringerMode) != ERR_OK) { in Init()
97 int32_t VibrationPriorityManager::GetIntValue(const std::string &key, int32_t &value) in GetIntValue() function in OHOS::Sensors::VibrationPriorityManager
162 if (GetIntValue(SETTING_FEEDBACK_KEY, feedback) != ERR_OK) { in UpdateStatus()
170 if (GetIntValue(SETTING_RINGER_MODE_KEY, ringerMode) != ERR_OK) { in UpdateStatus()
/base/telephony/call_manager/frameworks/native/src/
H A Dvoip_call_manager_proxy.cpp38 dataParcel.WriteInt32(extras.GetIntValue("voipCallType")); in ReportIncomingCall()
41 dataParcel.WriteInt32(extras.GetIntValue("voipCallState")); in ReportIncomingCall()
75 dataParcel.WriteInt32(extras.GetIntValue("reportVoipCallFailedCause")); in ReportIncomingCallError()
128 dataParcel.WriteInt32(extras.GetIntValue("voipCallType")); in ReportOutgoingCall()
131 dataParcel.WriteInt32(extras.GetIntValue("voipCallState")); in ReportOutgoingCall()
/base/sensors/miscdevice/services/miscdevice_service/include/
H A Dvibration_priority_manager.h76 int32_t GetIntValue(const std::string &key, int32_t &value);
/base/powermgr/power_manager/services/native/src/setting/
H A Dsetting_helper.cpp49 ErrCode ret = settingProvider.GetIntValue(key, value); in GetSettingIntValue()
142 ErrCode ret = settingProvider.GetIntValue(key, value); in GetSettingWakeupPickup()
430 ErrCode ret = settingProvider.GetIntValue(key, value); in GetSettingWakeupDouble()
544 ErrCode ret = settingProvider.GetIntValue(SETTING_POWER_WAKEUP_LID_KEY, value); in GetSettingWakeupLid()

Completed in 11 milliseconds

12