/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/developtools/hdc/system/ |
H A D | sh.te | 27 allow sh sh:fd use; 28 allow sh sh:file rw_file_perms; 29 allow sh sh:fifo_file rw_file_perms; 30 allow sh sh:dir read_dir_perms; 31 allow sh sh:lnk_file read_file_perms; 32 allow sh sh:udp_socket { ioctl bind read write }; 34 allow sh sh:unix_dgram_socket { connect create write }; 36 allow sh sh:icmp_socket { create setopt write read bind }; 37 allow sh sh:rawip_socket { create setopt write read }; 167 use_hilog(sh) [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/whitelist/ |
H A D | sh.baseline | 22 (allow sh data_log (dir (search))) 31 (allow sh dev_file (dir (search))) 45 (allow sh hdcd (fd (use))) 74 (allow sh rootfs (dir (search))) 77 (allow sh self (fd (use))) 87 (allow sh sys_file (dir (search))) 146 (allow sh sh (udp_socket (connect create ioctl bind read write))) 147 (allow sh sh (tcp_socket (connect create setopt getattr read write))) 148 (allow sh sh (icmp_socket (create setopt write read bind))) 149 (allow sh sh (rawip_socket (create setopt write read))) [all …]
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/liteos/toybox/public/ |
H A D | sh.te | 23 allow sh sh:udp_socket { connect create }; 29 allow sh sh:tcp_socket { connect create setopt getattr read write }; 32 allow sh port:tcp_socket { name_connect }; 36 allow sh devpts:chr_file { ioctl }; 40 allow sh debug_hap:dir { read open }; 43 allow sh proc_stat_file:file { read open }; 46 allow sh proc_meminfo_file:file { read open }; 55 allow sh dev_pts_file:dir { search }; 68 allow sh labeledfs:filesystem { getattr }; 74 allow sh hmdfs:file { unlink }; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_indirect_lighting_common.h | 46 vec3 unpackIblIrradianceSH(vec3 n, vec4 sh[CORE_DEFAULT_MATERIAL_MAX_SH_VEC3_VALUE_COUNT]) in unpackIblIrradianceSH() 49 return max(vec3(0.0), sh[0].xyz in unpackIblIrradianceSH() 51 + sh[1].xyz * n.y + sh[2].xyz * n.z + sh[3].xyz * n.x in unpackIblIrradianceSH() 53 + sh[4].xyz * (n.x * n.y) + sh[5].xyz * (n.z * n.y) + in unpackIblIrradianceSH() 54 sh[6].xyz * ((3.0 * n.z * n.z) - 1.0) + sh[7].xyz * (n.x * n.z) + in unpackIblIrradianceSH() 55 sh[8].xyz * (n.x * n.x - n.y * n.y)); in unpackIblIrradianceSH()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | camera_impl.cpp | 158 auto sh = SceneHolder(); in CompleteInitialization() local 159 auto ecs = sh->GetEcs(); in CompleteInitialization() 162 entity = sh->CreatePostProcess(); in CompleteInitialization() 172 auto sh = SceneHolder(); in CompleteInitialization() local 173 auto ecs = sh->GetEcs(); in CompleteInitialization() 257 if (auto sh = SceneHolder()) { in AddMultiviewCamera() local 258 sh->QueueEngineTask(MakeTask( in AddMultiviewCamera() 264 sh), in AddMultiviewCamera() 298 if (auto sh = SceneHolder()) { in RemoveMultiviewCamera() local 299 sh->QueueEngineTask(MakeTask( in RemoveMultiviewCamera() [all …]
|
H A D | graphicsstate_impl.cpp | 56 if (auto sh = SceneHolder()) { in SetGraphicsState() local 57 sh->QueueApplicationTask(META_NS::MakeCallback<META_NS::ITaskQueueTask>( in SetGraphicsState() 58 … [st = state, sh = sh_, material = BASE_NS::weak_ptr(mat), type = ix_]() { in SetGraphicsState() 59 if (auto sceneHolder = sh.lock()) { in SetGraphicsState() 75 if (auto sh = SceneHolder()) { in GetGraphicsState() local 76 sh->QueueApplicationTask( in GetGraphicsState() 77 …META_NS::MakeCallback<META_NS::ITaskQueueTask>([sh = sh_, material = BASE_NS::weak_ptr(mat), type … in GetGraphicsState() 79 if (auto sceneHolder = sh.lock()) { in GetGraphicsState() 98 void SetSceneHolder(const SceneHolder::WeakPtr& sh) override in SetSceneHolder() argument 100 sh_ = sh; in SetSceneHolder()
|
H A D | multimesh_impl.cpp | 43 if (auto sh = sceneHolder_.lock()) { member in __anonac8615180110::MultiMeshImpl 44 sh->QueueEngineTask(MakeTask( 81 if (auto sh = sceneHolder) { in Initialize() local 82 sh->QueueEngineTask(MakeTask( in Initialize() 101 if (auto sh = self->sceneHolder_.lock()) { in Build() local 102 sh->QueueEngineTask(MakeTask([weak]() { in Build() 127 if (auto sh = self->sceneHolder_.lock()) { in Build() local 128 sh->QueueEngineTask( in Build() 166 if (auto sh = self->sceneHolder_.lock()) { in Build() local 167 sh->QueueEngineTask(MakeTask( in Build()
|
H A D | render_configuration_impl.cpp | 45 void Connect(SceneHolder::Ptr sh) override in Connect() argument 52 sh_ = sh; in Connect() 55 proxyIf->SetCommonListener(sh->GetCommonEcsListener()); in Connect() 58 auto ecs = sh->GetEcs(); in Connect() 60 auto renderConfiguration = sh->CreateRenderConfiguration(); in Connect() 64 propHandler_.SetSceneHolder(sh); in Connect()
|
H A D | postprocess_impl.cpp | 166 sh_ = sh; in SetEntity() 172 auto ecs = sh->GetEcs(); in SetEntity() 176 tonemap->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() 179 bloom->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() 182 vignette->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() 185 colorFringe->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() 188 dither->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() 191 fxaa->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() 194 taa->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() 197 dof->Bind(ecsObject_, sh, preferEcsValues); in SetEntity() [all …]
|
H A D | postprocess_effect_impl.cpp | 119 … void Bind(SCENE_NS::IEcsObject::Ptr ecsObject, SceneHolder::Ptr sh, bool preferEcsValues) override 124 propHandler_.SetSceneHolder(sh); 139 sh->QueueEngineTask( in __anon846687510202() 142 CORE_NS::Entity imageEntity = sh->BindUIBitmap(image, true); in __anon846687510202() 143 sh->SetRenderHandle(target, imageEntity); in __anon846687510202() 146 sh), in __anon846687510202() 158 if (sh && sh->GetRenderHandleUri(rh, uri)) { in __anon846687510402() 198 … void Bind(SCENE_NS::IEcsObject::Ptr ecsObject, SceneHolder::Ptr sh, bool preferEcsValues) override 231 … void Bind(SCENE_NS::IEcsObject::Ptr ecsObject, SceneHolder::Ptr sh, bool preferEcsValues) override 260 … void Bind(SCENE_NS::IEcsObject::Ptr ecsObject, SceneHolder::Ptr sh, bool preferEcsValues) override [all …]
|
H A D | textureinfo_impl.cpp | 73 auto sh = params->GetPropertyByName<uintptr_t>("sceneHolder")->GetValue(); in Build() local 74 holder_.SetSceneHolder(*((SceneHolder::Ptr*)sh)); in Build() 108 auto sh = holder_.GetSceneHolder(); in ArrayChanged() local 109 auto bitmap = ImageConverter::ToUi(*sh, curVal.image); in ArrayChanged() 128 auto sh = holder_.GetSceneHolder(); in ImageChanged() local 129 curVal.image = ImageConverter::ToEcs(*sh, Image()->GetValue()); in ImageChanged()
|
/ohos5.0/build/test/ |
H A D | README.md | 25 start_env.sh 框架运行预安装模块文件 27 start_ex.sh 流水线测试脚本启动文件 41 测试用例脚本启动前,先调用start_env.sh完成框架运行所需模块 45 start_ex.sh option 只执行构建选项测试用例 47 start_ex.sh template 只执行构建模板测试用例 49 start_ex.sh performance 只执行性能测试 51 start_ex.sh all 先执行构建选项测试用例,再执行性能测试,其次再执行构建模板测试用例【顺序不能变】
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-security-selinux-check.md | 215 (allow sh vendor_file (dir (search))) 218 (allow sh system_lib_file (dir (search))) 228 check 'sh' baseline in user mode failed 229 … expect rule: (allow sh vendor_file (dir ())); actual rule: (allow sh vendor_file (dir (search))) 234 check 'sh' baseline in developer mode failed 235 … expect rule: (allow sh vendor_file (dir ())); actual rule: (allow sh vendor_file (dir (search))) 243 …因为,新增了sh的策略`"allow sh vendor_file:dir search;"`,对应的cil形式为`"(allow sh vendor_file (dir (search)))"`… 264 check 'sh' baseline in user mode failed 265 … expect rule: (allow sh rootfs (dir (search))); actual rule: (allow sh rootfs (dir ())) 270 check 'sh' baseline in developer mode failed [all …]
|
H A D | subsys-ai-nnrt-guide.md | 55 ./build.sh --product-name rk3568 –ccache --build-target drivers_interface_nnrt 339 allow nnrt_host sh:binder { transfer }; 351 allow sh hdf_nnrt_device_service:hdf_devmgr_class { add get }; 352 allow sh hdf_hci_interface_service:hdf_devmgr_class { get }; 353 allow sh nnrt_host:dir { getattr search }; 354 allow sh nnrt_host:file { open read }; 355 allow sh nnrt_host:process { getattr }; 356 allow sh nnrt_host:binder { call }; 357 allow sh nnrt_host:fd { use }; 386 ./build.sh --product-name rk3568 –ccache --jobs=4 [all …]
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-build-rule.md | 252 - build.suffix脚本文件,该文件是一键式构建入口,仅调用该脚本即可完成构建。".suffix"表示对应的构建脚本语言后缀,譬如".bat",".sh",".py"等。 388 build_all.sh 389 build_v6.sh 391 【正确示例】一键式构建脚本build.sh的典型写法如下: 466 CONFIGURE_COMMAND sh configure_ext.sh 476 CONFIGURE_COMMAND sh configure_ext.sh 477 BUILD_COMMAND sh build_ext.sh $(MAKE) 481 build_ext.sh内容如下: 489 注意:build_ext.sh不需要解析和使用参数$(MAKE)。 496 CONFIGURE_COMMAND sh configure_ext.sh
|
/ohos5.0/base/startup/init/test/unittest/tools/ |
H A D | prepare_testdata.sh | 96 rm -rf ./g.sh 117 touch ${ohos_init}/g.sh 118 …cho "${ohos_root}/prebuilts/clang/ohos/linux-x86_64/llvm/bin/llvm-cov gcov \$@" > ${ohos_init}/g.sh 119 chmod 755 ${ohos_init}/g.sh 123 lcov -d . -o "${ohos_init}/init_ut_tmp.info" -b . -c --gcov-tool ${ohos_init}/g.sh 143 rm -rf ./g.sh *.gcno *.gcda init_ut.info init_ut_tmp.info
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/filemanagement/user_file_service/system/ |
H A D | sh.te | 17 allow sh tmpfs:dir { search read open getattr }; 18 allow sh hmdfs:dir { search read open getattr }; 19 allow sh hmdfs:file { write read map create rename append open getattr }; 20 allow sh data_service_el2_hmdfs:dir { search read open getattr }; 21 allow sh data_user_file:dir { write read add_name create rename open getattr search }; 22 allow sh data_user_file:file { write read map create rename append open getattr };
|
/ohos5.0/base/startup/appspawn/test/unittest/ |
H A D | gencoverage.sh | 107 rm -rf ./g.sh 128 touch ${ohos_init}/g.sh 129 …cho "${ohos_root}/prebuilts/clang/ohos/linux-x86_64/llvm/bin/llvm-cov gcov \$@" > ${ohos_init}/g.sh 130 chmod 755 ${ohos_init}/g.sh 134 lcov -d . -o "${ohos_init}/appspawn_ut_tmp.info" -b . -c --gcov-tool ${ohos_init}/g.sh 153 rm -rf ./g.sh *.gcno *.gcda appspawn_ut.info appspawn_ut_tmp.info
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/ |
H A D | XMat4.js | 153 Make2DTransformMat(mx = 0, my = 0, sw = 1, sh = 1, ra = 0, ox = 0, oy = 0, realw = 0, realh = 0) { argument 182 if (sw !== 1 || sh !== 1) { 183 this.scale(sw, sh, 1); 193 Make2DTransformMat_(mx, my, sw, sh, ra, ox = 0, oy = 0) { argument 201 if (sw !== 1 || sh !== 1) { 202 this.scale(1 / sw, 1 / sh, 1);
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-ide-env-ubuntu.md | 31 ls -l /bin/sh 52 2. 进入解压后的文件夹,执行如下命令,赋予安装文件可执行权限,其中devicetool-linux-tool-{Version}.sh请根据实际进行修改。 55 chmod u+x devicetool-linux-tool-{Version}.sh 58 4. 执行如下命令,安装DevEco Device Tool,其中devicetool-linux-tool-{Version}.sh请根据实际进行修改。 61 sudo ./devicetool-linux-tool-{Version}.sh
|
H A D | quickstart-pkg-common-build.md | 1 # 使用build.sh脚本编译源码 9 ./build.sh --product-name {product_name} --ccache 15 ./build.sh --product-name {product_name} --ccache --target-cpu arm64
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/telephony/telephony_sa/system/ |
H A D | hdf_devmgr.te | 19 allow hdf_devmgr sh:binder transfer; 20 allow hdf_devmgr sh:dir search; 21 allow hdf_devmgr sh:file { open read }; 22 allow hdf_devmgr sh:process getattr;
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ |
H A D | README_zh.md | 41 ./build.sh --product-name rk3568 --build-target c_utils 46 ./build.sh --product-name rk3568 --build-target commonlibrary/c_utils/base/test/benchmarktest/ 56 ./build.sh --product-name rk3568 --build-target commonlibrary/c_utils/base:utilsbase 76 │ └── start.sh # Linux
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-security-selinux-check.md | 237 (allow sh vendor_file (dir (search))) 240 (allow sh system_lib_file (dir (search))) 250 check 'sh' baseline in user mode failed 251 … expect rule: (allow sh vendor_file (dir ())); actual rule: (allow sh vendor_file (dir (search))) 256 check 'sh' baseline in developer mode failed 257 … expect rule: (allow sh vendor_file (dir ())); actual rule: (allow sh vendor_file (dir (search))) 265 …sh vendor_file:dir search;**, that is, **(allow sh vendor_file (dir (search)))** in the CIL format… 291 check 'sh' baseline in user mode failed 292 … expect rule: (allow sh rootfs (dir (search))); actual rule: (allow sh rootfs (dir ())) 297 check 'sh' baseline in developer mode failed [all …]
|
/ohos5.0/base/global/timezone/ |
H A D | binary_file_build.md | 17 使用 tool/compile_tool 路径下的compile.sh脚本对时区数据进行编译。 20 chmod 755 compile.sh 21 ./compile.sh
|