diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json index 5444a7669023f420219be22ab688cbd8d44c9ab7..4f0547a2eadaf8bdc5f7192cd5ec9ebee857aae3 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json @@ -45,7 +45,7 @@ "launchType": "standard" } ], - "reqPermissions": [ + "reqPermissions": [ { "name": "ohos.permission.LOCATION", "reason": "need use ohos.permission.LOCATION" diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js index f6cc8926d94f6e4c3803ae8a7be2f5f08c0f78b5..c1a2274b034140503e7ef5347935c10c69a96d59 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js index 30709abbaa0b3c3cff280198a09f269c7ee190e8..3d02d9362abc1703ec0b3f87e2cbb4c72cc6a992 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js index 3285b2ba62d5e2ef3a617289687265bdf232e714..c38a591c24b8095ef98bcaf7e73d831f3f77d21f 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js index b0e95d9c43a89a32f8d2739b6420270afc562b1a..b7d269010d8708ca53018e6187626e10cf705d4a 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js @@ -13,10 +13,9 @@ * limitations under the License. */ -// export const AUTO_ACCEPT_NUMBER = '17615117737'; + export const AUTO_ACCEPT_NUMBER = '10010'; export const AUTO_ACCEPT_NUMBER2 = '10010'; -export const NOT_ACCEPT_NUMBER = '17160409240'; export const PHONE_NUMBER_AREA_LAND = '089800000000'; export const PHONE_NUMBER_LENGTH_8 = '86459751'; diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js index f9e88b234b91942172cd50e4b7f4cbeb6e589095..6dd3654dd28d5e0b26949d0c471986ccfe662463 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js @@ -226,7 +226,7 @@ export function scenceInCallingNull (options) { }); } -// holding call scence,use it should base on scenceInCalling,get the infomation at CALL_STATUS_HOLDING state +// holding call scence,use it should base on scenceInCalling,get the information at CALL_STATUS_HOLDING state export function scenceInHolding (options) { console.log(`scenceInHolding options ${toString(options)}`); return new Promise(async (resolve, reject) => { @@ -293,7 +293,7 @@ export function scenceInUnHolding (options) { }); } -// hunup call scence,use it should base on scenceInCalling,specific state arrive,get the infomation at this state +// hunup call scence,use it should base on scenceInCalling,specific state arrive,get the information at this state export function scenceInHangup (options) { console.log(`scenceInHangup options ${toString(options)}`); return new Promise(async (resolve, reject) => { diff --git a/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml b/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml index 371603e8dea03f96bec7d7d0692c22592a838671..1761ec52614d15e232d2e5ba45299eff2b1179f9 100644 --- a/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml +++ b/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml @@ -1,5 +1,5 @@