Home
last modified time | relevance | path

Searched refs:get (Results 1 - 25 of 614) sorted by relevance

12345678910>>...25

/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_hisysevent_adapter_wrapper.cpp29 ArkWebString ark_key1 = ArkWebStringClassToStruct(std::get<0>(data)); in Write()
30 ArkWebString ark_value1 = ArkWebStringClassToStruct(std::get<1>(data)); in Write()
48 ArkWebString ark_key1 = ArkWebStringClassToStruct(std::get<0>(data)); in Write()
49 ArkWebString ark_value1 = ArkWebStringClassToStruct(std::get<1>(data)); in Write()
50 ArkWebString ark_key2 = ArkWebStringClassToStruct(std::get<2>(data)); in Write()
51 ArkWebString ark_value2 = ArkWebStringClassToStruct(std::get<3>(data)); in Write()
72 ArkWebString ark_key1 = ArkWebStringClassToStruct(std::get<0>(data)); in Write()
73 ArkWebString ark_value1 = ArkWebStringClassToStruct(std::get<1>(data)); in Write()
74 ArkWebString ark_key2 = ArkWebStringClassToStruct(std::get<2>(data)); in Write()
75 ArkWebString ark_value2 = ArkWebStringClassToStruct(std::get< in Write()
[all...]
/base/hiviewdfx/hitrace/test/scripts/testModule/
H A Dtest_hitrace_cmd.py49 get_shell_result(word_cmd, word_cmds.get(word_cmd))
59 get_shell_result(word_cmd, word_cmds.get(word_cmd))
68 get_shell_result(word_cmd, word_cmds.get(word_cmd))
79 get_shell_result(word_cmd, word_cmds.get(word_cmd))
88 get_shell_result(word_cmd, word_cmds.get(word_cmd))
102 get_shell_result(word_cmd, word_cmds1.get(word_cmd))
122 get_shell_result(word_cmd, word_cmds1.get(word_cmd))
125 get_shell_result(word_cmd, word_cmds2.get(word_cmd))
149 get_shell_result(word_cmd, word_cmds1.get(word_cmd))
152 get_shell_result(word_cmd, word_cmds2.get(word_cm
[all...]
/base/sensors/sensor/utils/ipc/src/
H A Dstream_session.cpp35 StreamSessionSetFd(streamSessionPtr_.get(), fd); in StreamSession()
36 StreamSessionSetUid(streamSessionPtr_.get(), uid); in StreamSession()
37 StreamSessionSetPid(streamSessionPtr_.get(), pid); in StreamSession()
54 return StreamSessionSendMsg(streamSessionPtr_.get(), buf, size); in SendMsg()
106 StreamSessionClose(streamSessionPtr_.get()); in Close()
121 oss << "fd = " << StreamSessionGetFd(streamSessionPtr_.get()) in UpdateDescript()
123 << ", moduleType = " << StreamSessionGetModuleType(streamSessionPtr_.get()) in UpdateDescript()
124 << ((StreamSessionGetFd(streamSessionPtr_.get()) < 0) ? ", closed" : ", opened") in UpdateDescript()
125 << ", uid = " << StreamSessionGetUid(streamSessionPtr_.get()) in UpdateDescript()
126 << ", pid = " << StreamSessionGetPid(streamSessionPtr_.get()) in UpdateDescript()
[all...]
H A Dnet_packet.cpp33 PACKHEAD head = {msgId_, StreamBufferGetWpos(streamBufferPtr_.get())}; in MakeData()
35 if (StreamBufferGetWpos(streamBufferPtr_.get()) > 0) { in MakeData()
36 if (!buf.Write(StreamBufferGetSzBuff(streamBufferPtr_.get()), StreamBufferGetWpos(streamBufferPtr_.get()))) { in MakeData()
56 return StreamBufferSize(streamBufferPtr_.get()); in GetSize()
65 return (static_cast<int32_t>(sizeof(PackHead)) + StreamBufferGetWpos(streamBufferPtr_.get())); in GetPacketLength()
74 return StreamBufferData(streamBufferPtr_.get()); in GetData()
H A Dstream_buffer.cpp34 StreamBufferReset(streamBufferPtr_.get()); in Reset()
47 StreamBufferClean(streamBufferPtr_.get()); in Clean()
62 if (StreamBufferGetRpos(streamBufferPtr_.get()) == StreamBufferGetWpos(streamBufferPtr_.get())) { in Read()
64 StreamBufferSetRwErrStatus(streamBufferPtr_.get(), ERROR_STATUS_READ); in Read()
68 StreamBufferSetRpos(streamBufferPtr_.get(), in Read()
69 StreamBufferGetRpos(streamBufferPtr_.get()) + static_cast<int32_t>(buf.length()) + 1); in Read()
91 return StreamBufferRead(streamBufferPtr_.get(), buf.streamBufferPtr_.get()); in Read()
100 return StreamBufferWrite(streamBufferPtr_.get(), bu in Write()
[all...]
/base/startup/appspawn/etc/sandbox/
H A Dappdata_sandbox_fixer.py63 if data1.get(key) != data2.get(key):
72 if data1.get(field) is not None:
76 item = data1.get(field)
95 if data1.get(field) is not None:
100 item = data1.get(name)
128 if new[0].get(k) is not None:
129 origin[0][k] = new[0].get(k)
132 flags_points = new[0].get("flags-point")
138 item = origin[0].get(fiel
[all...]
/base/powermgr/battery_manager/charger/src/
H A Danimation_config.cpp65 info.common.id = component.at("id").get<std::string>(); in ParseAnimationLabel()
68 info.text = component.at("text").get<std::string>(); in ParseAnimationLabel()
71 info.common.x = component.at("x").get<int>(); in ParseAnimationLabel()
74 info.common.y = component.at("y").get<int>(); in ParseAnimationLabel()
77 info.common.w = component.at("w").get<int>(); in ParseAnimationLabel()
80 info.common.h = component.at("h").get<int>(); in ParseAnimationLabel()
83 info.fontSize = component.at("fontSize").get<int8_t>(); in ParseAnimationLabel()
86 info.fontColor = component.at("fontColor").get<std::string>(); in ParseAnimationLabel()
89 info.bgColor = component.at("bgColor").get<std::string>(); in ParseAnimationLabel()
92 info.align = component.at("align").get<st in ParseAnimationLabel()
[all...]
/base/startup/init/services/modules/seccomp/scripts/tools/
H A Dmerge_policy.py37 for item in itme_dict.get(arch):
42 func_name_to_nr.update({item: name_nr_table.get(arch).get(func_name)})
47 if syscall_name_dict.get(arch):
53 for func_name, _ in syscall_name_dict.get('arm64'):
55 for func_name_arm, nr_arm in syscall_name_dict.get('arm'):
58 syscall_name_dict.get('arm').remove((func_name, nr_arm))
63 if (syscall_name_dict.get('arm')):
65 [func_name for func_name, _ in syscall_name_dict.get('arm')]))
66 if (syscall_name_dict.get('riscv6
[all...]
H A Daudit_log_analysis.py40 arch_nr.get(arch_id_map.get(arch_id)).add(syscall)
52 for nr in sorted(list(arch_nr_table.get(arch))):
53 syscall_name = name_nr_table.get(arch).get(nr)
56 syscall_name_dict.get(arch).append(syscall_name)
58 for func_name in syscall_name_dict.get('arm64'):
59 if func_name in syscall_name_dict.get('arm'):
61 syscall_name_dict.get('arm').remove(func_name)
64 if syscall_name_dict.get('ar
[all...]
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
H A Dfirewall_rule.cpp25 parcel.WriteUint32(static_cast<int32_t>(std::get<FIREWALL_DICECTION_IND>(rule_))); in Marshalling()
26 parcel.WriteUint32(static_cast<int32_t>(std::get<FIREWALL_ACTION_IND>(rule_))); in Marshalling()
27 parcel.WriteUint32(static_cast<int32_t>(std::get<FIREWALL_PROT_IND>(rule_))); in Marshalling()
28 parcel.WriteString(std::get<FIREWALL_SRCADDR_IND>(rule_)); in Marshalling()
29 parcel.WriteString(std::get<FIREWALL_DESTADDR_IND>(rule_)); in Marshalling()
30 parcel.WriteString(std::get<FIREWALL_SRCPORT_IND>(rule_)); in Marshalling()
31 parcel.WriteString(std::get<FIREWALL_DESTPORT_IND>(rule_)); in Marshalling()
32 parcel.WriteString(std::get<FIREWALL_APPUID_IND>(rule_)); in Marshalling()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dzip_output.cpp38 if (mDumpDatas_.get() == nullptr) { in PreExecute()
60 if (!mDumpDatas_.get() || (fd_ < 0)) { in Execute()
63 CompressBuffer* srcBuffer = srcBuffer_.get(); in Execute()
64 CompressBuffer* destBuffer = destBuffer_.get(); in Execute()
69 for (auto v_line : *(mDumpDatas_.get())) { in Execute()
109 CompressBuffer* srcBuffer = srcBuffer_.get(); in CompressAndWriteToFd()
110 CompressBuffer* destBuffer = destBuffer_.get(); in CompressAndWriteToFd()
137 CompressBuffer* srcBuffer = srcBuffer_.get(); in CompressBigLine()
138 CompressBuffer* destBuffer = destBuffer_.get(); in CompressBigLine()
176 if (srcBuffer_.get()) { in ClearBuffer()
[all...]
/base/sensors/miscdevice/utils/tools/haptic_format_converter/converter/
H A Dconverter.py164 "Intensity": curve_point.get('Intensity', 0),
165 "Frequency": curve_point.get('Frequency', 0)
212 if current_pattern is None or not isinstance(current_pattern, dict) or len(current_pattern.get("Pattern", [])) >= 16 \
228 "Frequency": event["Parameters"].get("Frequency", 50)
235 "Intensity": point.get("Intensity", 100),
237 "Frequency": point.get("Frequency", 0)
259 "Frequency": event["Parameters"].get("Frequency", 50)
296 if current_pattern is None or not isinstance(current_pattern, dict) or len(current_pattern.get("Pattern", [])) >= 16 \
390 for pattern in he_v1_data.get('Pattern', []):
397 "Frequency": clamp(pattern['Parameters'].get('Frequenc
[all...]
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/
H A Dnapi_hisysevent_adapter.h74 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<BL>(param)); in AppendParams()
77 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<DOU>(param)); in AppendParams()
80 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<I64>(param)); in AppendParams()
83 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<U64>(param)); in AppendParams()
86 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<STR>(param)); in AppendParams()
89 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<BOOL_ARR>(param)); in AppendParams()
92 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<DOUBLE_ARR>(param)); in AppendParams()
95 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<I64_ARR>(param)); in AppendParams()
98 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<U64_ARR>(param)); in AppendParams()
101 (void)HiSysEvent::InnerWrite(eventBase, key, std::get<STR_AR in AppendParams()
[all...]
/base/print/print_fwk/services/print_service/include/
H A Dprint_attribute_preference.h39 preferenceSetting.pagesizeId = printerAttr.at("pagesizeId").get<std::string>(); in BuildPreferenceSettingFromJson()
42 preferenceSetting.orientation = printerAttr.at("orientation").get<std::string>(); in BuildPreferenceSettingFromJson()
45 preferenceSetting.duplex = printerAttr.at("duplex").get<std::string>(); in BuildPreferenceSettingFromJson()
48 preferenceSetting.quality = printerAttr.at("quality").get<std::string>(); in BuildPreferenceSettingFromJson()
80 printerPreference.pagesizeId = printerAttrs.at("pagesizeId").get<std::vector<std::string>>(); in BuildPrinterPreferenceFromJson()
83 printerPreference.orientation = printerAttrs.at("orientation").get<std::vector<std::string>>(); in BuildPrinterPreferenceFromJson()
86 printerPreference.duplex = printerAttrs.at("duplex").get<std::vector<std::string>>(); in BuildPrinterPreferenceFromJson()
89 printerPreference.quality = printerAttrs.at("quality").get<std::vector<std::string>>(); in BuildPrinterPreferenceFromJson()
/base/security/security_guard/frameworks/common/json/src/
H A Djson_cfg.cpp22 data = jsonObj.at(key).get<uint64_t>(); in Unmarshal()
29 data = jsonObj.at(key).get<int64_t>(); in Unmarshal()
36 data = jsonObj.at(key).get<uint32_t>(); in Unmarshal()
43 data = jsonObj.at(key).get<int32_t>(); in Unmarshal()
50 data = jsonObj.at(key).get<std::string>(); in Unmarshal()
62 data.emplace_back(element.get<int32_t>()); in Unmarshal()
75 data.emplace_back(element.get<std::string>()); in Unmarshal()
88 data.emplace_back(element.get<int64_t>()); in Unmarshal()
/base/inputmethod/imf/frameworks/js/napi/inputmethodlist/
H A Dinputmethodlist.js220 get listItemHeight() {
221 return this.__listItemHeight.get();
228 get listItemRadius() {
229 return this.__listItemRadius.get();
236 get inputMethods() {
237 return this.__inputMethods.get();
244 get fontSize() {
245 return this.__fontSize.get();
252 get fontPadding() {
253 return this.__fontPadding.get();
[all...]
/base/customization/enterprise_device_management/services/edm_plugin/src/network/
H A Diptables_manager.cpp56 Direction direction = std::get<FIREWALL_DICECTION_IND>(rule); in AddFirewallRule()
57 if (direction == Direction::INPUT && !std::get<FIREWALL_APPUID_IND>(rule).empty()) { in AddFirewallRule()
61 if (std::get<FIREWALL_PROT_IND>(rule) == Protocol::ALL && in AddFirewallRule()
62 !std::get<FIREWALL_SRCPORT_IND>(rule).empty() && !std::get<FIREWALL_DESTPORT_IND>(rule).empty()) { in AddFirewallRule()
67 Action action = std::get<FIREWALL_ACTION_IND>(rule); in AddFirewallRule()
96 Direction direction = std::get<FIREWALL_DICECTION_IND>(rule); in RemoveFirewallRule()
97 Action action = std::get<FIREWALL_ACTION_IND>(rule); in RemoveFirewallRule()
98 if (direction == Direction::INPUT && !std::get<FIREWALL_APPUID_IND>(rule).empty()) { in RemoveFirewallRule()
102 if (std::get<FIREWALL_PROT_IN in RemoveFirewallRule()
[all...]
/base/hiviewdfx/hiview/base/event_report/event/
H A Dparam_value.cpp64 return IsUint8() ? std::get<uint8_t>(this->value_) : DEFAULT_UINT8; in GetUint8()
69 return IsUint16() ? std::get<uint16_t>(this->value_) : DEFAULT_UINT16; in GetUint16()
74 return IsUint32() ? std::get<uint32_t>(this->value_) : DEFAULT_UINT32; in GetUint32()
79 return IsUint64() ? std::get<uint64_t>(this->value_) : DEFAULT_UINT64; in GetUint64()
84 return IsString() ? std::get<std::string>(this->value_) : DEFAULT_STRING; in GetString()
89 return IsUint32Vec() ? std::get<std::vector<uint32_t>>(this->value_) : DEFAULT_UINT32_VEC; in GetUint32Vec()
94 return IsStringVec() ? std::get<std::vector<std::string>>(this->value_) : DEFAULT_STRING_VEC; in GetStringVec()
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/
H A Dfirewall_chain_rule.cpp36 srcPort_(std::get<FIREWALL_SRCPORT_IND>(firewallTuple)), in FirewallChainRule()
37 destPort_(std::get<FIREWALL_DESTPORT_IND>(firewallTuple)), in FirewallChainRule()
38 appUid_(std::get<FIREWALL_APPUID_IND>(firewallTuple)) in FirewallChainRule()
40 target_ = RuleUtils::EnumToString(std::get<FIREWALL_ACTION_IND>(firewallTuple)); in FirewallChainRule()
41 prot_ = RuleUtils::EnumToString(std::get<FIREWALL_PROT_IND>(firewallTuple)); in FirewallChainRule()
42 srcAddr_ = std::get<FIREWALL_SRCADDR_IND>(firewallTuple); in FirewallChainRule()
43 destAddr_ = std::get<FIREWALL_DESTADDR_IND>(firewallTuple); in FirewallChainRule()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_check_info.cpp115 auto extraInfoStr = jsonobj.at("extraInfo").get<std::string>(); in ConvertJsonExtraInfoToValue()
132 pkgName_ = jsonobj.at("pkgName").get<std::string>(); in ConvertJsonStringToValue()
135 notifyId_ = jsonobj.at("notifyId").get<int32_t>(); in ConvertJsonStringToValue()
138 contentType_ = jsonobj.at("contentType").get<int32_t>(); in ConvertJsonStringToValue()
141 creatorUserId_ = jsonobj.at("creatorUserId").get<int32_t>(); in ConvertJsonStringToValue()
144 slotType_ = jsonobj.at("slotType").get<int32_t>(); in ConvertJsonStringToValue()
147 label_ = jsonobj.at("label").get<std::string>(); in ConvertJsonStringToValue()
/base/security/asset/services/core_service/src/common_event/
H A Dstart_event.rs33 let Some(user_id) = want.get(USER_ID) else { in handle_package_removed()
34 loge!("[FATIL]Get removed owner info failed, get userId fail"); in handle_package_removed()
37 let Some(app_id) = want.get(APP_ID) else { in handle_package_removed()
38 loge!("[FATIL]Get removed owner info failed, get appId fail"); in handle_package_removed()
44 app_index = match want.get(SANDBOX_APP_INDEX) { in handle_package_removed()
53 loge!("[FATIL]Get removed owner info failed, get appIndex fail"); in handle_package_removed()
66 let Some(bundle_name) = want.get(BUNDLE_NAME) else { in handle_package_removed()
67 loge!("[FATIL]Get restore app info failed, get bundle name failed."); in handle_package_removed()
91 let user_id = match want.get(USER_ID) {
100 loge!("[FATIL]Get restore app info failed, get userI
[all...]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
H A Ddlp_permission_public_interface.cpp83 params.version = jsonObj.at(DLP_VERSION).get<uint32_t>(); in ParseDlpGeneralInfo()
84 params.extraInfo = jsonObj.at(DLP_EXTRA_INFO).get<std::vector<std::string>>(); in ParseDlpGeneralInfo()
86 params.version = jsonObj.at(DLP_VERSION_LOW_CAMEL_CASE).get<uint32_t>(); in ParseDlpGeneralInfo()
87 params.extraInfo = jsonObj.at(DLP_EXTRA_INFO_LOW_CAMEL_CASE).get<std::vector<std::string>>(); in ParseDlpGeneralInfo()
93 params.offlineAccessFlag = iter->get<bool>(); in ParseDlpGeneralInfo()
99 params.contactAccount = iter->get<std::string>(); in ParseDlpGeneralInfo()
106 params.hmacVal = iter->get<std::string>(); in ParseDlpGeneralInfo()
/base/account/os_account/interfaces/innerkits/common/include/
H A Diaccount_info.h53 data = jsonObject.at(key).get<T>(); in GetDataByType()
59 data = static_cast<dataType>(jsonObject.at(key).get<T>()); in GetDataByType()
65 data = jsonObject.at(key).get<T>(); in GetDataByType()
71 data = jsonObject.at(key).get<T>(); in GetDataByType()
77 data = jsonObject.at(key).get<T>(); in GetDataByType()
/base/hiviewdfx/hidumper/test/scripts/testModule/
H A Dtest_memory.py50 GL_mem = memory_data.get("GL", [])
52 Graph_mem = memory_data.get("Graph", [])
54 guard_mem = memory_data.get("guard", [])
56 native_heap_mem = memory_data.get("native heap", [])
58 AnonPage_other = memory_data.get("AnonPage other", [])
60 stack_mem = memory_data.get("stack", [])
62 so_mem = memory_data.get(".so", [])
64 dev_mem = memory_data.get("dev", [])
66 FilePage_other = memory_data.get("FilePage other", [])
68 Total_mem = memory_data.get("Tota
[all...]
/base/update/updater/services/diffpatch/diff/
H A Dupdate_diff.cpp59 PATCH_LOGE("Failed to get pkg manager"); in Parse()
75 // parse img and get image type in Parse()
99 PATCH_LOGE("Failed to get pkg manager"); in Extract()
126 PATCH_LOGE("Failed to get file info"); in Extract()
157 imageDiff.reset(new ImageDiff(limit_, newParser_.get(), oldParser_.get())); in MakePatch()
167 imageDiff.reset(new ZipImageDiff(limit_, newParser_.get(), oldParser_.get())); in MakePatch()
170 imageDiff.reset(new Lz4ImageDiff(limit_, newParser_.get(), oldParser_.get())); in MakePatch()
[all...]

Completed in 9 milliseconds

12345678910>>...25