Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 3617) sorted by relevance

12345678910>>...145

/ohos5.0/docs/zh-cn/device-dev/quick-start/
H A Dquickstart-pkg-install-package.md10 1. 使用如下apt-get命令安装后续操作所需的库和工具:
13get update; sudo apt-get install binutils; sudo apt-get install binutils-dev; sudo apt-get install…
39 sudo apt-get install python3
40 sudo apt-get install python-is-python3
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_hisysevent_adapter_wrapper.cpp220 std::get<3>(data), ark_key3, ark_value3, ark_key4, std::get<7>(data)); in Write()
248 …std::get<3>(data), ark_key3, std::get<5>(data), ark_key4, std::get<7>(data), ark_key5, std::get<9>… in Write()
249 ark_key6, std::get<11>(data)); in Write()
301 …std::get<3>(data), ark_key3, std::get<5>(data), ark_key4, std::get<7>(data), ark_key5, std::get<9>… in Write()
302 …ark_key6, std::get<11>(data), ark_key7, std::get<13>(data), ark_key8, std::get<15>(data), ark_key9, in Write()
303 …std::get<17>(data), ark_key10, std::get<19>(data), ark_key11, std::get<21>(data), ark_key12, std:: in Write()
304 …ark_key13, std::get<25>(data), ark_key14, std::get<27>(data), ark_key15, std::get<29>(data), ark_k… in Write()
305 …std::get<31>(data), ark_key17, std::get<33>(data), ark_key18, std::get<35>(data), ark_key19, std:: in Write()
306 …ark_key20, std::get<39>(data), ark_key21, std::get<41>(data), ark_key22, std::get<43>(data), ark_k… in Write()
307 std::get<45>(data)); in Write()
[all …]
/ohos5.0/build/templates/common/
H A Dgenerate_component_package.py80 part_data = data.get(part)
115 _include_dirs = json_data.get(json_key)[i].get('include_dirs')
150 label = json_data.get('label')
257 args.get("part_name"), json_data.get('out_name'))
303 bundlejson = os.path.join(args.get("root_path"), args.get("part_path"), "bundle.json")
354 license_file = os.path.join(args.get("root_path"), args.get("part_path"), "LICENSE")
376 readme = os.path.join(args.get("root_path"), args.get("part_path"), "README.md")
377 readme_zh = os.path.join(args.get("root_path"), args.get("part_path"), "README_zh.md")
378 readme_en = os.path.join(args.get("root_path"), args.get("part_path"), "README_en.md")
483 gn_path = os.path.join(args.get("out_path"), "component_package", args.get("part_path"),
[all …]
H A Dexternal_deps_handler.py28 toolchain = platform_toolchain.get(current_variant)
32 toolchain = platform_toolchain.get(current_variant)
43 external_module_array = components_info_dict.get("innerapis")
45 if external_module.get("name") == external_module_name:
58 external_module_desc_info = _inner_kits_info_dict.get(
65 external_module_desc_info = _new_kits_info_dict.get(
228 dep_label = external_module_desc_info.get('label')
247 if external_module_desc_info.get('prebuilt_enable'):
263 if not (sdk_module_info.get('type')
264 and sdk_module_info.get('type') == 'jar'):
[all …]
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/hiviewdfx/hidumper/system/
H A Dhidumper_service.te189 allow hidumper_service sa_samgr_service:samgr_class get;
191 allow hidumper_service sa_accountmgr:samgr_class get;
192 allow hidumper_service sa_bgtaskmgr:samgr_class get;
207 allow hidumper_service sa_foundation_bms:samgr_class get;
208 allow hidumper_service sa_hiview_service:samgr_class get;
213 allow hidumper_service sa_render_service:samgr_class get;
232 allow hidumper_service sa_drm_service:samgr_class get;
243 allow hidumper_service sa_huks_service:samgr_class get;
250 allow hidumper_service sa_media_service:samgr_class get;
266 allow hidumper_service sa_time_service:samgr_class get;
[all …]
/ohos5.0/build/hb/util/
H A Dproduct_util.py159 version = info.get('version', '3.0')
163 board = info.get('board')
177 if info.get('board_config_path'):
182 'board': info.get('board'),
204 product_json).get('inherit', [])]
214 parts = _info.get('parts')
232 product_json).get('inherit', [])]
242 parts = _info.get('parts')
343 subsystems = config.get('subsystems')
354 ss_name = subsystem.get('subsystem')
[all …]
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/location/system/
H A Dlocationhub.te24 allow locationhub hdf_device_manager:hdf_devmgr_class { get };
30 allow locationhub sa_param_watcher:samgr_class { get };
47 allow locationhub sa_foundation_bms:samgr_class { get };
53 allow locationhub sa_foundation_appms:samgr_class { get };
68 allow locationhub sa_privacy_service:samgr_class { get };
91 allow locationhub sa_bluetooth_server:samgr_class { get };
94 allow locationhub sa_bgtaskmgr:samgr_class { get };
97 allow locationhub sa_form_mgr_service:samgr_class { get };
98 allow locationhub sa_foundation_ans:samgr_class { get };
104 allow locationhub sa_device_standby:samgr_class { get };
[all …]
/ohos5.0/build/hb/util/loader/
H A Dload_bundle_file.py51 _component_info = self.bundle_info.get('component')
61 _bundle_build = _component_info.get('build')
69 _module_groups = _bundle_build.get('group_type')
76 _component_info = self.bundle_info.get('component')
77 _subsystem_name = _component_info.get('subsystem')
78 _part_name = _component_info.get('name')
79 _bundle_build = _component_info.get('build')
86 _part_info['module_list'] = _component_info.get('build').get(
90 'build').get('modules')
92 _module_groups = _component_info.get('build').get('group_type')
[all …]
H A Dsubsystem_info.py34 for key, val in subsystem_configs.get('subsystem').items():
35 src_subsystem[key] = val.get('path')
43 subsystem_configs.get('no_src_subsystem'))
52 overlay_path = subsystem_config_overlay.get('subsystem').get(subsystem)['path']
57 subsystem_configs.get('subsystem').get(subsystem)['path'] += \
58 subsystem_config_overlay.get('subsystem').get(subsystem)['path']
59 subsystem_configs.get('subsystem').get(subsystem)['build_files'] += \
60 subsystem_config_overlay.get('subsystem').get(subsystem)['build_files']
87 return subsystem_configs.get('subsystem')
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
H A Dhdf_tool_settings.py24 return _instances.get(clazz)
77 board_entry = self.settings.get(key).get(board_name)
79 return board_entry.get(key, '')
83 return self.settings.get(key, 'hdf')
87 return self.settings.get(key, 'hdf')
91 return self.settings.get(key, 'hdf')
95 return self.settings.get(key, 'hdf')
99 return self.settings.get(key, 'hdf')
106 board = boards.get(board_name, None)
119 return self.settings.get(key).get(board_name).get("patch_and_config")
[all …]
/ohos5.0/build/hb/resolver/
H A Dset_args_resolver.py49 config.product = product_info.get('name')
51 config.version = product_info.get('version')
52 config.os_level = product_info.get('os_level')
55 if product_info.get('product_config_path'):
62 config.board = device_info.get('board')
63 config.kernel = device_info.get('kernel')
65 config.target_os = device_info.get('target_os')
69 board_path = device_info.get('board_path')
71 if product_info.get('build_out_path'):
82 if product_info.get('subsystem_config_json'):
[all …]
/ohos5.0/build/hb/util/preloader/
H A Dpreloader_process_data.py120 os_level = self._config.get('type')
170 inherit = self._config.get('inherit')
279 self._device_info.get('target_os'), self._device_info.get('target_cpu'))
313 if config.get('target_os'):
317 if config.get('target_cpu'):
324 if config.get('kernel_version'):
326 if config.get('device_build_path'):
371 parts = _info.get('parts')
382 parts = _info.get('parts')
386 if not _parts.get(part):
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dopenssl_crypto.cpp42 …if (EVP_DecryptInit_ex(ctx.get(), EVP_aes_256_gcm(), NULL, reinterpret_cast<const uint8_t*>(shield… in AESDecrypt()
50 if (EVP_DecryptUpdate(ctx.get(), reinterpret_cast<uint8_t*>(plainText.data.get()), &outlen, in AESDecrypt()
60 if (EVP_CIPHER_CTX_ctrl(ctx.get(), EVP_CTRL_GCM_SET_TAG, GCM_MAC_BYTES, in AESDecrypt()
67 …if (EVP_DecryptFinal_ex(ctx.get(), reinterpret_cast<uint8_t*>(plainText.data.get() + plainText.siz… in AESDecrypt()
91 if (EVP_EncryptInit_ex(ctx.get(), EVP_aes_256_gcm(), NULL, in AESEncrypt()
99 …if (EVP_EncryptUpdate(ctx.get(), reinterpret_cast<uint8_t*>(keyContext_.rndEnc.data.get() + GCM_NO… in AESEncrypt()
109 if (EVP_EncryptFinal_ex(ctx.get(), in AESEncrypt()
119 if (EVP_CIPHER_CTX_ctrl(ctx.get(), EVP_CTRL_GCM_GET_TAG, GCM_MAC_BYTES, in AESEncrypt()
134 SHA512_Update(&c, prefix.data.get(), prefix.size); in HashWithPrefix()
136 SHA512_Update(&c, payload.data.get(), payload.size); in HashWithPrefix()
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp77 req->SetUrl(urlString.get()); in JsObjectToRequestData()
86 …Headers != nullptr && !JSI::ValueIsUndefined(jsHeaders.get()) && JSI::ValueIsObject(jsHeaders.get(… in JsObjectToRequestData()
98 if (keys == nullptr || JSI::ValueIsUndefined(keys.get()) || !JSI::ValueIsArray(keys.get())) { in GetNameValue()
107 if (key == nullptr || JSI::ValueIsUndefined(key.get()) || !JSI::ValueIsString(key.get())) { in GetNameValue()
123 map[keyStr.get()] = valStr.get(); in GetNameValue()
136 if (JSI::ValueIsString(body.get())) { in GetRequestBody()
144 std::string str(bodyStr.get(), size); in GetRequestBody()
150 if (JSI::ValueIsObject(body.get())) { in GetRequestBody()
155 requestData->SetBody(jsonString.get()); in GetRequestBody()
219 … if (value == nullptr || JSI::ValueIsUndefined(value.get()) || !JSI::ValueIsString(value.get())) { in GetMethodFromOptions()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp249 groupId = jsonObject[TAG_GROUP_ID].get<std::string>(); in CreateResponseAuthMessage()
277 int32_t msgType = jsonObject[TAG_MSG_TYPE].get<int32_t>(); in ParseMessage()
322 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseSyncDeleteMessageExt()
337 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseAuthResponseMessageExt()
353 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseResponseFinishMessage()
402 idx = json[TAG_INDEX].get<int32_t>(); in ParseAuthRequestMessage()
403 sliceNum = json[TAG_SLICE_NUM].get<int32_t>(); in ParseAuthRequestMessage()
442 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseAuthResponseMessage()
486 authResponseContext_->authed = json[TAG_AUTHED].get<bool>(); in ParsePkgNegotiateMessage()
539 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseNegotiateMessage()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata.cpp117 id_ = std::get<int32_t>(id); in SetFileId()
127 uri_ = std::get<string>(uri); in SetUri()
177 name_ = std::get<string>(name); in SetFileName()
187 size_ = std::get<int64_t>(size); in SetFileSize()
227 title_ = std::get<string>(title); in SetFileTitle()
247 album_ = std::get<string>(album); in SetAlbum()
267 width_ = std::get<int32_t>(width); in SetFileWidth()
387 allExif_ = get<string>(allExif); in SetAllExif()
397 dateYear_ = get<string>(dateYear); in SetDateYear()
417 dateDay_ = get<string>(dateDay); in SetDateDay()
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_manager/
H A Ddevice_manager_test.cpp113 liteGraph.get()->all_tensors_.emplace_back(tp);
114 liteGraph.get()->sub_graphs_.emplace_back(subGraph);
135 liteGraph.get()->all_nodes_.emplace_back(nullptr);
151 liteGraph.get()->all_nodes_.emplace_back(node);
176 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive));
197 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive));
216 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive));
238 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive));
2228 liteGraph.get()->all_tensors_.emplace_back(tp);
2229 liteGraph.get()->all_tensors_.emplace_back(nullptr);
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/idl-gen/testcase/
H A Dtest_header_parser.py32 self.assertEqual(parser._header_dict.get('path'), 'include/test')
33 self.assertEqual(parser._header_dict.get('name'), 'audio_manager.h')
36 self.assertEqual(parser._header_dict.get('path'), './include/test')
37 self.assertEqual(parser._header_dict.get('name'), 'audio_manager.h')
40 self.assertEqual(parser._header_dict.get('path'), '../include/test')
41 self.assertEqual(parser._header_dict.get('name'), 'audio_manager.h')
44 self.assertEqual(parser._header_dict.get('path'), '\\include\\test')
45 self.assertEqual(parser._header_dict.get('name'), 'audio_manager.h')
104 parser._header_dict.get("enum"), [{'name': 'DispErrCode',
242 self.assertSequenceEqual(parser._header_dict.get("struct"), [{
[all …]
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Danimation_config.cpp69 info.text = component.at("text").get<std::string>(); in ParseAnimationLabel()
72 info.common.x = component.at("x").get<int>(); in ParseAnimationLabel()
75 info.common.y = component.at("y").get<int>(); in ParseAnimationLabel()
78 info.common.w = component.at("w").get<int>(); in ParseAnimationLabel()
81 info.common.h = component.at("h").get<int>(); in ParseAnimationLabel()
93 info.align = component.at("align").get<std::string>(); in ParseAnimationLabel()
104 info.common.x = component.at("x").get<int>(); in ParseAnimationImage()
107 info.common.y = component.at("y").get<int>(); in ParseAnimationImage()
110 info.common.w = component.at("w").get<int>(); in ParseAnimationImage()
113 info.common.h = component.at("h").get<int>(); in ParseAnimationImage()
[all …]
/ohos5.0/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()
106 StreamSessionClose(streamSessionPtr_.get()); in Close()
146 if (StreamBufferChkRWError(pkt.streamBufferPtr_.get())) { in SendMsg()
152 …eturn SendMsg(StreamBufferData(buf.streamBufferPtr_.get()), StreamBufferSize(buf.streamBufferPtr_. in SendMsg()
167 return StreamSessionGetUid(streamSessionPtr_.get()); in GetUid()
176 return StreamSessionGetPid(streamSessionPtr_.get()); in GetPid()
190 return StreamSessionGetFd(streamSessionPtr_.get()); in GetFd()
209 StreamSessionSetTokenType(streamSessionPtr_.get(), type); in SetTokenType()
[all …]
/ohos5.0/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('riscv64')):
84 self.seccomp_policy_param.get(arch).value_function.get(self.cur_parse_item)(line)
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_decoder/
H A Dvideo_decoder.cpp53 ret = OH_VideoDecoder_SetSurface(codec_.get(), sampleInfo.window.get()); in Config()
64 ret = OH_VideoDecoder_Prepare(codec_.get()); in Config()
74 int ret = OH_VideoDecoder_Start(codec_.get()); in Start()
83 int ret = OH_VideoDecoder_Flush(codec_.get()); in Flush()
92 int32_t ret = OH_VideoDecoder_Stop(codec_.get()); in Stop()
101 int32_t ret = OH_VideoDecoder_Reset(codec_.get()); in Reset()
123 OH_AVFormat_SetIntValue(format.get(), in Configure()
131 int ret = OH_VideoDecoder_Configure(codec_.get(), format.get()); in Configure()
160 int32_t ret = OH_VideoDecoder_FreeOutputData(codec_.get(), bufferIndex); in FreeOutput()
170 int32_t ret = OH_VideoDecoder_RenderOutputData(codec_.get(), bufferIndex); in FreeOutput()
[all …]
/ohos5.0/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)
100 item = data1.get(name)
128 if new[0].get(k) is not None:
138 item = origin[0].get(field)
144 item = new[0].get(name)
168 if new.get(name) :
172 app = new.get("app-base")
178 app = new.get("app-resources")
[all …]
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/telephony/telephony_sa/system/
H A Dtelephony_sa.te43 allow telephony_sa sa_accountmgr:samgr_class get;
48 allow telephony_sa sa_foundation_abilityms:samgr_class get;
50 allow telephony_sa sa_foundation_bms:samgr_class get;
57 allow telephony_sa sa_net_conn_manager:samgr_class get;
58 allow telephony_sa sa_net_policy_manager:samgr_class get;
59 allow telephony_sa sa_param_watcher:samgr_class get;
60 allow telephony_sa sa_privacy_service:samgr_class get;
75 allow telephony_sa sa_time_service:samgr_class get;
92 allow telephony_sa hdf_ril_service:hdf_devmgr_class get;
110 allow telephony_sa sa_camera_service:samgr_class { get };
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_encoder/
H A Dvideo_encoder.cpp60 ret = OH_VideoEncoder_Prepare(codec_.get()); in Config()
70 int ret = OH_VideoEncoder_Start(codec_.get()); in Start()
79 int ret = OH_VideoEncoder_Flush(codec_.get()); in Flush()
88 int32_t ret = OH_VideoEncoder_Stop(codec_.get()); in Stop()
97 int32_t ret = OH_VideoEncoder_Reset(codec_.get()); in Reset()
112 int32_t ret = OH_VideoEncoder_NotifyEndOfStream(codec_.get()); in NotifyEndOfStream()
132 int ret = OH_VideoEncoder_Configure(codec_.get(), format.get()); in Configure()
144 int32_t ret = OH_VideoEncoder_GetSurface(codec_.get(), &window); in GetSurface()
194 int32_t ret = OH_VideoEncoder_NotifyEndOfStream(codec_.get()); in PushInput()
225 ret = OH_VideoEncoder_PushInputBuffer(codec_.get(), info.bufferIndex); in PushInput()
[all …]

12345678910>>...145