未验证 提交 b1d4ef55 编写于 作者: O openharmony_ci 提交者: Gitee

!2588 电话子服务Release整改

Merge pull request !2588 from 高曦/OpenHarmony-3.1-Release
......@@ -45,7 +45,7 @@
"launchType": "standard"
}
],
"reqPermissions": [
"reqPermissions": [
{
"name": "ohos.permission.LOCATION",
"reason": "need use ohos.permission.LOCATION"
......
/*
* 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
......
/*
* 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
......
/**
* 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
......
......@@ -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';
......
......@@ -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) => {
......
......@@ -1175,7 +1175,7 @@ describe('SimManagerTest', function () {
/**
* @tc.number Telephony_Sim_queryIccDiallingNumbers_Async_0800
* @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1, callback:
* AsyncCallback<Array<DiallingNumbersInfo>>), expect return a empty array.
* AsyncCallback<Array<DiallingNumbersInfo>>), expect return an empty array.
* @tc.desc Function test
*/
it('Telephony_Sim_queryIccDiallingNumbers_Async_0800', 0, async function (done) {
......@@ -1196,7 +1196,7 @@ describe('SimManagerTest', function () {
/**
* @tc.number elephony_Sim_queryIccDiallingNumbers_Promise_0800
* @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1):Promise<Array<DiallingNumbersInfo>>
* promise interface, expect result is a empty array.
* promise interface, expect result is an empty array.
* @tc.desc Function test
*/
it('telephony_Sim_queryIccDiallingNumbers_Promise_0800', 0, async function (done) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册