diff --git a/OAT.xml b/OAT.xml index bdca36259..d42984465 100644 --- a/OAT.xml +++ b/OAT.xml @@ -152,6 +152,7 @@ Note:If the text contains special characters, please escape them according to th + @@ -365,6 +366,13 @@ Note:If the text contains special characters, please escape them according to th + + + + + + + @@ -418,6 +426,7 @@ Note:If the text contains special characters, please escape them according to th + @@ -448,6 +457,7 @@ Note:If the text contains special characters, please escape them according to th + diff --git a/code/BasicFeature/Telephony/Call/.gitignore b/code/SystemFeature/Telephony/Call/.gitignore similarity index 100% rename from code/BasicFeature/Telephony/Call/.gitignore rename to code/SystemFeature/Telephony/Call/.gitignore diff --git a/code/BasicFeature/Telephony/Call/AppScope/app.json5 b/code/SystemFeature/Telephony/Call/AppScope/app.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/AppScope/app.json5 rename to code/SystemFeature/Telephony/Call/AppScope/app.json5 diff --git a/code/BasicFeature/Telephony/Call/AppScope/resources/base/element/string.json b/code/SystemFeature/Telephony/Call/AppScope/resources/base/element/string.json similarity index 100% rename from code/BasicFeature/Telephony/Call/AppScope/resources/base/element/string.json rename to code/SystemFeature/Telephony/Call/AppScope/resources/base/element/string.json diff --git a/code/BasicFeature/Telephony/Call/AppScope/resources/base/media/app_icon.png b/code/SystemFeature/Telephony/Call/AppScope/resources/base/media/app_icon.png similarity index 100% rename from code/BasicFeature/Telephony/Call/AppScope/resources/base/media/app_icon.png rename to code/SystemFeature/Telephony/Call/AppScope/resources/base/media/app_icon.png diff --git a/code/BasicFeature/Telephony/Call/README.md b/code/SystemFeature/Telephony/Call/README.md similarity index 100% rename from code/BasicFeature/Telephony/Call/README.md rename to code/SystemFeature/Telephony/Call/README.md diff --git a/code/BasicFeature/Telephony/Call/README_zh.md b/code/SystemFeature/Telephony/Call/README_zh.md similarity index 74% rename from code/BasicFeature/Telephony/Call/README_zh.md rename to code/SystemFeature/Telephony/Call/README_zh.md index 4993b8928..ac286daa1 100644 --- a/code/BasicFeature/Telephony/Call/README_zh.md +++ b/code/SystemFeature/Telephony/Call/README_zh.md @@ -2,7 +2,7 @@ ### 介绍 -本示例使用[call](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-call.md)相关接口实现了拨打电话并显示电话相关信息的功能 +本示例使用[call](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-telephony-kit/js-apis-call-sys.md)相关接口实现了拨打电话并显示电话相关信息的功能 ### 效果预览 @@ -32,11 +32,11 @@ entry/src/main/ets/ * 该示例展示拨打电话功能,dial方法拨打电话,可设置通话参数,hasCall方法判断是否存在通话,getCallState方法获取当前通话状态,isEmergencyPhoneNumber方法判断是否是紧急电话号码,formatPhoneNumber方法格式化电话号码,formatPhoneNumberToE164方法将电话号码格式化为E.164表示形式。 * 源码链接:[CallView.ets](entry/src/main/ets/common/CallView.ets) -* 接口参考:[@ohos.telephony.call](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-call.md) +* 接口参考:[@ohos.telephony.call](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-telephony-kit/js-apis-call-sys.md) ### 相关权限 -拨打电话权限: [ohos.permission.PLACE_CALL](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/permission-list.md#ohospermissionplace_call) +拨打电话权限: [ohos.permission.PLACE_CALL](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/AccessToken/permissions-for-system-apps.md#ohospermissionplace_call) ### 依赖 @@ -52,7 +52,7 @@ entry/src/main/ets/ 4.本示例需要使用DevEco Studio 3.1 Beta2 (Build Version: 3.1.0.400, built on April 7, 2023)及以上版本才可编译运行。 -5.本示例所配置的权限ohos.permission.PLACE_CALL为system_basic级别(相关权限级别可通过[权限定义列表](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/permission-list.md)查看),需要手动配置对应级别的权限签名(具体操作可查看[自动化签名方案](https://docs.openharmony.cn/pages/v3.2/zh-cn/application-dev/security/hapsigntool-overview.md/)。 +5.本示例所配置的权限ohos.permission.PLACE_CALL为system_basic级别(相关权限级别可通过[权限定义列表](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/AccessToken/permissions-for-system-apps.md)查看),需要手动配置对应级别的权限签名(具体操作可查看[自动化签名方案](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/hapsigntool-guidelines.md)。 ### 下载 @@ -60,7 +60,7 @@ entry/src/main/ets/ ``` git init git config core.sparsecheckout true -echo code/BasicFeature/Telephony/Call/ > .git/info/sparse-checkout +echo code/SystemFeature/Telephony/Call/ > .git/info/sparse-checkout git remote add origin https://gitee.com/openharmony/applications_app_samples.git git pull origin master diff --git a/code/BasicFeature/Telephony/Call/build-profile.json5 b/code/SystemFeature/Telephony/Call/build-profile.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/build-profile.json5 rename to code/SystemFeature/Telephony/Call/build-profile.json5 diff --git a/code/BasicFeature/Telephony/Call/entry/.gitignore b/code/SystemFeature/Telephony/Call/entry/.gitignore similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/.gitignore rename to code/SystemFeature/Telephony/Call/entry/.gitignore diff --git a/code/BasicFeature/Telephony/Call/entry/build-profile.json5 b/code/SystemFeature/Telephony/Call/entry/build-profile.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/build-profile.json5 rename to code/SystemFeature/Telephony/Call/entry/build-profile.json5 diff --git a/code/BasicFeature/Telephony/Call/entry/hvigorfile.ts b/code/SystemFeature/Telephony/Call/entry/hvigorfile.ts similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/hvigorfile.ts rename to code/SystemFeature/Telephony/Call/entry/hvigorfile.ts diff --git a/code/BasicFeature/Telephony/Call/entry/oh-package.json5 b/code/SystemFeature/Telephony/Call/entry/oh-package.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/oh-package.json5 rename to code/SystemFeature/Telephony/Call/entry/oh-package.json5 diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/ets/common/CallView.ets b/code/SystemFeature/Telephony/Call/entry/src/main/ets/common/CallView.ets similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/ets/common/CallView.ets rename to code/SystemFeature/Telephony/Call/entry/src/main/ets/common/CallView.ets diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/ets/entryability/EntryAbility.ts b/code/SystemFeature/Telephony/Call/entry/src/main/ets/entryability/EntryAbility.ts similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/ets/entryability/EntryAbility.ts rename to code/SystemFeature/Telephony/Call/entry/src/main/ets/entryability/EntryAbility.ts diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/ets/model/Logger.ts b/code/SystemFeature/Telephony/Call/entry/src/main/ets/model/Logger.ts similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/ets/model/Logger.ts rename to code/SystemFeature/Telephony/Call/entry/src/main/ets/model/Logger.ts diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/ets/pages/Index.ets b/code/SystemFeature/Telephony/Call/entry/src/main/ets/pages/Index.ets similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/ets/pages/Index.ets rename to code/SystemFeature/Telephony/Call/entry/src/main/ets/pages/Index.ets diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/module.json5 b/code/SystemFeature/Telephony/Call/entry/src/main/module.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/module.json5 rename to code/SystemFeature/Telephony/Call/entry/src/main/module.json5 diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/base/element/color.json b/code/SystemFeature/Telephony/Call/entry/src/main/resources/base/element/color.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/base/element/color.json rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/base/element/color.json diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/base/element/string.json b/code/SystemFeature/Telephony/Call/entry/src/main/resources/base/element/string.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/base/element/string.json rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/base/element/string.json diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/base/media/call_off.png b/code/SystemFeature/Telephony/Call/entry/src/main/resources/base/media/call_off.png similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/base/media/call_off.png rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/base/media/call_off.png diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/base/media/call_on.png b/code/SystemFeature/Telephony/Call/entry/src/main/resources/base/media/call_on.png similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/base/media/call_on.png rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/base/media/call_on.png diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/base/media/icon.png b/code/SystemFeature/Telephony/Call/entry/src/main/resources/base/media/icon.png similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/base/media/icon.png rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/base/media/icon.png diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/base/profile/main_pages.json b/code/SystemFeature/Telephony/Call/entry/src/main/resources/base/profile/main_pages.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/base/profile/main_pages.json rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/base/profile/main_pages.json diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/en/element/string.json b/code/SystemFeature/Telephony/Call/entry/src/main/resources/en/element/string.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/en/element/string.json rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/en/element/string.json diff --git a/code/BasicFeature/Telephony/Call/entry/src/main/resources/zh/element/string.json b/code/SystemFeature/Telephony/Call/entry/src/main/resources/zh/element/string.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/main/resources/zh/element/string.json rename to code/SystemFeature/Telephony/Call/entry/src/main/resources/zh/element/string.json diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/TestRunner/OpenHarmonyTestRunner.ts diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/test/Ability.test.ets b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/test/Ability.test.ets similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/test/Ability.test.ets rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/test/Ability.test.ets diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/test/List.test.ets b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/test/List.test.ets similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/test/List.test.ets rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/test/List.test.ets diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/testability/TestAbility.ets b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/testability/TestAbility.ets similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/testability/TestAbility.ets rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/testability/TestAbility.ets diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/testability/pages/Index.ets b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/testability/pages/Index.ets similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/testability/pages/Index.ets rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/testability/pages/Index.ets diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/util/Logger.ts b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/util/Logger.ts similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/ets/util/Logger.ts rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/ets/util/Logger.ts diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/module.json5 b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/module.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/module.json5 rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/module.json5 diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/color.json b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/color.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/color.json rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/color.json diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/string.json b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/string.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/string.json rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/element/string.json diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/media/icon.png b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/media/icon.png similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/media/icon.png rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/media/icon.png diff --git a/code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/profile/test_pages.json b/code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/profile/test_pages.json similarity index 100% rename from code/BasicFeature/Telephony/Call/entry/src/ohosTest/resources/base/profile/test_pages.json rename to code/SystemFeature/Telephony/Call/entry/src/ohosTest/resources/base/profile/test_pages.json diff --git a/code/BasicFeature/Telephony/Call/hvigor/hvigor-config.json5 b/code/SystemFeature/Telephony/Call/hvigor/hvigor-config.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/hvigor/hvigor-config.json5 rename to code/SystemFeature/Telephony/Call/hvigor/hvigor-config.json5 diff --git a/code/BasicFeature/Telephony/Call/hvigor/hvigor-wrapper.js b/code/SystemFeature/Telephony/Call/hvigor/hvigor-wrapper.js similarity index 100% rename from code/BasicFeature/Telephony/Call/hvigor/hvigor-wrapper.js rename to code/SystemFeature/Telephony/Call/hvigor/hvigor-wrapper.js diff --git a/code/BasicFeature/Telephony/Call/hvigorfile.ts b/code/SystemFeature/Telephony/Call/hvigorfile.ts similarity index 100% rename from code/BasicFeature/Telephony/Call/hvigorfile.ts rename to code/SystemFeature/Telephony/Call/hvigorfile.ts diff --git a/code/BasicFeature/Telephony/Call/hvigorw b/code/SystemFeature/Telephony/Call/hvigorw similarity index 100% rename from code/BasicFeature/Telephony/Call/hvigorw rename to code/SystemFeature/Telephony/Call/hvigorw diff --git a/code/BasicFeature/Telephony/Call/hvigorw.bat b/code/SystemFeature/Telephony/Call/hvigorw.bat similarity index 100% rename from code/BasicFeature/Telephony/Call/hvigorw.bat rename to code/SystemFeature/Telephony/Call/hvigorw.bat diff --git a/code/BasicFeature/Telephony/Call/oh-package.json5 b/code/SystemFeature/Telephony/Call/oh-package.json5 similarity index 100% rename from code/BasicFeature/Telephony/Call/oh-package.json5 rename to code/SystemFeature/Telephony/Call/oh-package.json5 diff --git a/code/BasicFeature/Telephony/Call/ohosTest.md b/code/SystemFeature/Telephony/Call/ohosTest.md similarity index 100% rename from code/BasicFeature/Telephony/Call/ohosTest.md rename to code/SystemFeature/Telephony/Call/ohosTest.md diff --git a/code/BasicFeature/Telephony/Call/screenshots/device/call.png b/code/SystemFeature/Telephony/Call/screenshots/device/call.png similarity index 100% rename from code/BasicFeature/Telephony/Call/screenshots/device/call.png rename to code/SystemFeature/Telephony/Call/screenshots/device/call.png