Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
96441aa0
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
96441aa0
编写于
3月 13, 2023
作者:
O
openharmony_ci
提交者:
Gitee
3月 13, 2023
浏览文件
操作
浏览文件
下载
差异文件
!7903 【account】【master】修改 权限和api终审接口名称修改
Merge pull request !7903 from 郭永强/master
上级
89873429
9d14d9ec
变更
9
展开全部
隐藏空白更改
内联
并排
Showing
9 changed file
with
80 addition
and
68 deletion
+80
-68
account/appaccount/actsaccountoperatetest/signature/openharmony_sx.p7b
...count/actsaccountoperatetest/signature/openharmony_sx.p7b
+0
-0
account/appaccount/actsaccountoperatetest/src/main/config.json
...nt/appaccount/actsaccountoperatetest/src/main/config.json
+4
-0
account/appaccount/actsaccountoperatetest/src/main/js/test/Authenticator.test.js
...accountoperatetest/src/main/js/test/Authenticator.test.js
+5
-4
account/appaccount/actsaccounttest/signature/openharmony_sx.p7b
...t/appaccount/actsaccounttest/signature/openharmony_sx.p7b
+0
-0
account/appaccount/actsaccounttest/src/main/config.json
account/appaccount/actsaccounttest/src/main/config.json
+4
-0
account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js
...nt/actsaccounttest/src/main/js/test/Authenticator.test.js
+8
-5
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/Common/utils.js
...ctsaccountauthenticator/entry/src/main/js/Common/utils.js
+2
-2
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/ServiceAbility/service.js
...authenticator/entry/src/main/js/ServiceAbility/service.js
+1
-1
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountQuery.test.js
...untthirdpartytest/src/main/js/test/OsAccountQuery.test.js
+56
-56
未找到文件。
account/appaccount/actsaccountoperatetest/signature/openharmony_sx.p7b
浏览文件 @
96441aa0
无法预览此类型文件
account/appaccount/actsaccountoperatetest/src/main/config.json
浏览文件 @
96441aa0
...
@@ -45,6 +45,10 @@
...
@@ -45,6 +45,10 @@
{
{
"name"
:
"ohos.permission.LISTEN_BUNDLE_CHANGE"
,
"name"
:
"ohos.permission.LISTEN_BUNDLE_CHANGE"
,
"reason"
:
"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
"reason"
:
"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name"
:
"ohos.permission.START_ABILITIES_FROM_BACKGROUND"
,
"reason"
:
"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
}
],
],
"abilities"
:
[
"abilities"
:
[
...
...
account/appaccount/actsaccountoperatetest/src/main/js/test/Authenticator.test.js
浏览文件 @
96441aa0
...
@@ -46,11 +46,12 @@ export default function ActsAccountAppAccess() {
...
@@ -46,11 +46,12 @@ export default function ActsAccountAppAccess() {
parameters
:
parameters
:
{},
{},
},
},
},
},
(
err
,
data
)
=>
{
)
console
.
debug
(
"
====>accountauthenticatorfeatureAbility.startAbilityForResult err:
"
+
JSON
.
stringify
(
err
))
await
sleep
(
1500
);
console
.
debug
(
"
====>accountauthenticatorfeatureAbility.startAbilityForResult data:
"
+
JSON
.
stringify
(
data
))
done
();
})
console
.
debug
(
"
====>ActsAccountAuthenticator beforeAll end====
"
);
console
.
debug
(
"
====>ActsAccountAuthenticator beforeAll end====
"
);
done
();
});
});
beforeEach
(
async
(
done
)
=>
{
beforeEach
(
async
(
done
)
=>
{
console
.
debug
(
"
====>afterEach start====
"
);
console
.
debug
(
"
====>afterEach start====
"
);
...
...
account/appaccount/actsaccounttest/signature/openharmony_sx.p7b
100755 → 100644
浏览文件 @
96441aa0
无法预览此类型文件
account/appaccount/actsaccounttest/src/main/config.json
浏览文件 @
96441aa0
...
@@ -42,6 +42,10 @@
...
@@ -42,6 +42,10 @@
"name"
:
"ohos.permission.REMOVE_CACHE_FILES"
,
"name"
:
"ohos.permission.REMOVE_CACHE_FILES"
,
"reason"
:
"need use ohos.permission.REMOVE_CACHE_FILES"
"reason"
:
"need use ohos.permission.REMOVE_CACHE_FILES"
},
},
{
"name"
:
"ohos.permission.START_ABILITIES_FROM_BACKGROUND"
,
"reason"
:
"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
{
"name"
:
"ohos.permission.LISTEN_BUNDLE_CHANGE"
,
"name"
:
"ohos.permission.LISTEN_BUNDLE_CHANGE"
,
"reason"
:
"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
"reason"
:
"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
...
...
account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js
浏览文件 @
96441aa0
...
@@ -32,7 +32,8 @@ export default function ActsAccountAppAccess() {
...
@@ -32,7 +32,8 @@ export default function ActsAccountAppAccess() {
console
.
info
(
`sleep #{time} over ...`
)
console
.
info
(
`sleep #{time} over ...`
)
})
})
}
}
beforeAll
(
async
function
(
done
)
{
beforeAll
(
async
function
(
done
)
{
console
.
debug
(
"
====>accountauthenticatorbeforeAll start====
"
);
await
featureAbility
.
startAbility
(
await
featureAbility
.
startAbility
(
{
{
want
:
want
:
...
@@ -44,10 +45,12 @@ export default function ActsAccountAppAccess() {
...
@@ -44,10 +45,12 @@ export default function ActsAccountAppAccess() {
parameters
:
parameters
:
{},
{},
},
},
},
},
(
err
,
data
)
=>
{
)
console
.
debug
(
"
====>accountauthenticatorfeatureAbility.startAbility err:
"
+
JSON
.
stringify
(
err
))
await
sleep
(
1000
)
console
.
debug
(
"
====>accountauthenticatorfeatureAbility.startAbility data:
"
+
JSON
.
stringify
(
data
))
done
();
done
();
})
console
.
debug
(
"
====>accountauthenticatorfeatureAbility.startAbility end
"
)
});
});
beforeEach
(
async
function
(
done
)
{
beforeEach
(
async
function
(
done
)
{
console
.
debug
(
"
====>afterEach start====
"
);
console
.
debug
(
"
====>afterEach start====
"
);
...
...
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/Common/utils.js
浏览文件 @
96441aa0
...
@@ -261,7 +261,7 @@ class MyAuthenticator extends rpc.RemoteObject {
...
@@ -261,7 +261,7 @@ class MyAuthenticator extends rpc.RemoteObject {
case
5
:
case
5
:
name
=
readString8
(
data
)
name
=
readString8
(
data
)
callback
=
new
MyAuthenticatorCallback
(
data
.
readRemoteObject
())
callback
=
new
MyAuthenticatorCallback
(
data
.
readRemoteObject
())
this
.
authenticatorImpl
.
is
AccountRemovable
(
name
,
callback
)
this
.
authenticatorImpl
.
check
AccountRemovable
(
name
,
callback
)
break
break
}
}
return
true
return
true
...
@@ -345,7 +345,7 @@ class MyAuthenticatorImpl {
...
@@ -345,7 +345,7 @@ class MyAuthenticatorImpl {
callback
.
onResult
(
10016
,
{})
callback
.
onResult
(
10016
,
{})
}
}
is
AccountRemovable
(
name
,
callback
)
{
check
AccountRemovable
(
name
,
callback
)
{
console
.
log
(
TAG
+
"
name:
"
+
name
)
console
.
log
(
TAG
+
"
name:
"
+
name
)
var
isRemovable
=
this
.
accountRemovability
[
name
]
var
isRemovable
=
this
.
accountRemovability
[
name
]
if
(
isRemovable
==
undefined
||
isRemovable
==
false
)
{
if
(
isRemovable
==
undefined
||
isRemovable
==
false
)
{
...
...
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/ServiceAbility/service.js
浏览文件 @
96441aa0
...
@@ -160,7 +160,7 @@ class MyAuthenticator extends account_appAccount.Authenticator {
...
@@ -160,7 +160,7 @@ class MyAuthenticator extends account_appAccount.Authenticator {
callback
.
onResult
(
10016
,
{})
callback
.
onResult
(
10016
,
{})
}
}
is
AccountRemovable
(
name
,
callback
)
{
check
AccountRemovable
(
name
,
callback
)
{
console
.
log
(
TAG
+
"
name:
"
+
name
)
console
.
log
(
TAG
+
"
name:
"
+
name
)
var
isRemovable
=
false
;
var
isRemovable
=
false
;
try
{
try
{
...
...
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountQuery.test.js
浏览文件 @
96441aa0
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录