提交 6b790f5a 编写于 作者: C cc_ggoby

接口完整性与正确性测试问题整改

Signed-off-by: Ncc_ggoby <chenweimin8@huawei.com>
上级 3f9bf088
...@@ -74,12 +74,12 @@ grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFl ...@@ -74,12 +74,12 @@ grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFl
授予应用user grant权限,使用Promise方式异步返回结果。 授予应用user grant权限,使用Promise方式异步返回结果。
此接口为系统接口,三方应用不支持调用。
**需要权限:** ohos.permission.GRANT_SENSITIVE_PERMISSIONS **需要权限:** ohos.permission.GRANT_SENSITIVE_PERMISSIONS
**系统能力:** SystemCapability.Security.AccessToken **系统能力:** SystemCapability.Security.AccessToken
**系统API:** 此接口为系统接口,三方应用不支持调用。
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
...@@ -112,12 +112,12 @@ grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFl ...@@ -112,12 +112,12 @@ grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFl
授予应用user grant权限,使用callback回调异步返回结果。 授予应用user grant权限,使用callback回调异步返回结果。
此接口为系统接口,三方应用不支持调用。
**需要权限:** ohos.permission.GRANT_SENSITIVE_PERMISSIONS **需要权限:** ohos.permission.GRANT_SENSITIVE_PERMISSIONS
**系统能力:** SystemCapability.Security.AccessToken **系统能力:** SystemCapability.Security.AccessToken
**系统API:** 此接口为系统接口,三方应用不支持调用。
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
...@@ -148,12 +148,12 @@ revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionF ...@@ -148,12 +148,12 @@ revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionF
撤销应用user grant权限,使用Promise方式异步返回结果。 撤销应用user grant权限,使用Promise方式异步返回结果。
此接口为系统接口,三方应用不支持调用。
**需要权限:** ohos.permission.REVOKE_SENSITIVE_PERMISSIONS **需要权限:** ohos.permission.REVOKE_SENSITIVE_PERMISSIONS
**系统能力:** SystemCapability.Security.AccessToken **系统能力:** SystemCapability.Security.AccessToken
**系统API:** 此接口为系统接口,三方应用不支持调用。
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
...@@ -186,12 +186,12 @@ revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionF ...@@ -186,12 +186,12 @@ revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionF
撤销应用user grant权限,使用callback回调异步返回结果。 撤销应用user grant权限,使用callback回调异步返回结果。
此接口为系统接口,三方应用不支持调用。
**需要权限:** ohos.permission.REVOKE_SENSITIVE_PERMISSIONS **需要权限:** ohos.permission.REVOKE_SENSITIVE_PERMISSIONS
**系统能力:** SystemCapability.Security.AccessToken **系统能力:** SystemCapability.Security.AccessToken
**系统API:** 此接口为系统接口,三方应用不支持调用。
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
...@@ -222,12 +222,12 @@ getPermissionFlags(tokenID: number, permissionName: string): Promise&lt;number&g ...@@ -222,12 +222,12 @@ getPermissionFlags(tokenID: number, permissionName: string): Promise&lt;number&g
获取指定应用的指定权限的flag,使用Promise方式异步返回结果。 获取指定应用的指定权限的flag,使用Promise方式异步返回结果。
此接口为系统接口,三方应用不支持调用。
**需要权限:** ohos.permission.GET_SENSITIVE_PERMISSIONS or ohos.permission.GRANT_SENSITIVE_PERMISSIONS or ohos.permission.REVOKE_SENSITIVE_PERMISSIONS **需要权限:** ohos.permission.GET_SENSITIVE_PERMISSIONS or ohos.permission.GRANT_SENSITIVE_PERMISSIONS or ohos.permission.REVOKE_SENSITIVE_PERMISSIONS
**系统能力:** SystemCapability.Security.AccessToken **系统能力:** SystemCapability.Security.AccessToken
**系统API:** 此接口为系统接口,三方应用不支持调用。
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册