Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
f77d383b
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f77d383b
编写于
2月 25, 2023
作者:
H
houdisheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改系统API描述 release分支
Signed-off-by:
N
houdisheng
<
houdisheng@huawei.com
>
上级
2bd48d04
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
110 addition
and
100 deletion
+110
-100
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md
...ce/apis/js-apis-resourceschedule-deviceUsageStatistics.md
+110
-100
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md
浏览文件 @
f77d383b
...
@@ -54,9 +54,9 @@ isIdleState(bundleName: string, callback: AsyncCallback<boolean>): void
...
@@ -54,9 +54,9 @@ isIdleState(bundleName: string, callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
...
@@ -105,9 +105,9 @@ isIdleState(bundleName: string): Promise<boolean>
...
@@ -105,9 +105,9 @@ isIdleState(bundleName: string): Promise<boolean>
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
...
@@ -133,6 +133,8 @@ queryAppGroup(): Promise<number>
...
@@ -133,6 +133,8 @@ queryAppGroup(): Promise<number>
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.AppGroup
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.AppGroup
**系统API**
:此接口为系统接口。
**返回值**
:
**返回值**
:
| 类型 | 说明 |
| 类型 | 说明 |
...
@@ -145,9 +147,9 @@ queryAppGroup(): Promise<number>
...
@@ -145,9 +147,9 @@ queryAppGroup(): Promise<number>
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000005 | Application is not installed. |
| 10000005 | Application is not installed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
...
@@ -175,6 +177,8 @@ queryAppGroup(callback: AsyncCallback<number>): void
...
@@ -175,6 +177,8 @@ queryAppGroup(callback: AsyncCallback<number>): void
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.AppGroup
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.AppGroup
**系统API**
:此接口为系统接口。
**参数**
:
**参数**
:
| 参数名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
...
@@ -186,10 +190,10 @@ queryAppGroup(callback: AsyncCallback<number>): void
...
@@ -186,10 +190,10 @@ queryAppGroup(callback: AsyncCallback<number>): void
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000005 | Application is not installed. |
| 10000005 | Application is not installed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
...
@@ -236,10 +240,10 @@ queryBundleStatsInfos(begin: number, end: number, callback: AsyncCallback<Bun
...
@@ -236,10 +240,10 @@ queryBundleStatsInfos(begin: number, end: number, callback: AsyncCallback<Bun
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -296,10 +300,10 @@ queryBundleStatsInfos(begin: number, end: number): Promise<BundleStatsMap>
...
@@ -296,10 +300,10 @@ queryBundleStatsInfos(begin: number, end: number): Promise<BundleStatsMap>
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -350,10 +354,10 @@ queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: num
...
@@ -350,10 +354,10 @@ queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: num
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -409,10 +413,10 @@ queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: num
...
@@ -409,10 +413,10 @@ queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: num
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -461,9 +465,9 @@ queryBundleEvents(begin: number, end: number, callback: AsyncCallback<Array&l
...
@@ -461,9 +465,9 @@ queryBundleEvents(begin: number, end: number, callback: AsyncCallback<Array&l
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -519,9 +523,9 @@ queryBundleEvents(begin: number, end: number): Promise<Array<BundleEvents&
...
@@ -519,9 +523,9 @@ queryBundleEvents(begin: number, end: number): Promise<Array<BundleEvents&
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -552,6 +556,8 @@ queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback<
...
@@ -552,6 +556,8 @@ queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback<
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.App
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.App
**系统API**
:此接口为系统接口。
**参数**
:
**参数**
:
| 参数名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
...
@@ -565,10 +571,10 @@ queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback<
...
@@ -565,10 +571,10 @@ queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback<
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -601,6 +607,8 @@ queryCurrentBundleEvents(begin: number, end: number): Promise<Array<Bundle
...
@@ -601,6 +607,8 @@ queryCurrentBundleEvents(begin: number, end: number): Promise<Array<Bundle
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.App
**系统能力**
:SystemCapability.ResourceSchedule.UsageStatistics.App
**系统API**
:此接口为系统接口。
**参数**
:
**参数**
:
| 参数名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
...
@@ -619,10 +627,10 @@ queryCurrentBundleEvents(begin: number, end: number): Promise<Array<Bundle
...
@@ -619,10 +627,10 @@ queryCurrentBundleEvents(begin: number, end: number): Promise<Array<Bundle
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -668,10 +676,10 @@ queryModuleUsageRecords(): Promise<Array<HapModuleInfo>>
...
@@ -668,10 +676,10 @@ queryModuleUsageRecords(): Promise<Array<HapModuleInfo>>
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -718,10 +726,10 @@ queryModuleUsageRecords(callback: AsyncCallback<Array<HapModuleInfo>>
...
@@ -718,10 +726,10 @@ queryModuleUsageRecords(callback: AsyncCallback<Array<HapModuleInfo>>
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -776,9 +784,9 @@ queryModuleUsageRecords(maxNum: number): Promise<Array<HapModuleInfo>&g
...
@@ -776,9 +784,9 @@ queryModuleUsageRecords(maxNum: number): Promise<Array<HapModuleInfo>&g
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -826,9 +834,9 @@ queryModuleUsageRecords(maxNum: number, callback: AsyncCallback<Array<HapM
...
@@ -826,9 +834,9 @@ queryModuleUsageRecords(maxNum: number, callback: AsyncCallback<Array<HapM
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -883,11 +891,11 @@ queryAppGroup(bundleName : string): Promise<number>
...
@@ -883,11 +891,11 @@ queryAppGroup(bundleName : string): Promise<number>
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000005 | Application is not installed. |
| 10000005 | Application is not installed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10100002 | Failed to get the application group information. |
| 10100002 | Failed to get the application group information. |
...
@@ -932,11 +940,11 @@ queryAppGroup(bundleName : string, callback: AsyncCallback<number>): void
...
@@ -932,11 +940,11 @@ queryAppGroup(bundleName : string, callback: AsyncCallback<number>): void
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000005 | Application is not installed. |
| 10000005 | Application is not installed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10100002 | Failed to get the application group information. |
| 10100002 | Failed to get the application group information. |
...
@@ -982,9 +990,9 @@ setAppGroup(bundleName: string, newGroup: GroupType): Promise<void>
...
@@ -982,9 +990,9 @@ setAppGroup(bundleName: string, newGroup: GroupType): Promise<void>
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10100001 | Repeated operation on the application group. |
| 10100001 | Repeated operation on the application group. |
...
@@ -1037,10 +1045,10 @@ setAppGroup(bundleName: string, newGroup: GroupType, callback: AsyncCallback<
...
@@ -1037,10 +1045,10 @@ setAppGroup(bundleName: string, newGroup: GroupType, callback: AsyncCallback<
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10100001 | Repeated operation on the application group. |
| 10100001 | Repeated operation on the application group. |
...
@@ -1088,9 +1096,9 @@ registerAppGroupCallBack(groupCallback: Callback<AppGroupCallbackInfo>): P
...
@@ -1088,9 +1096,9 @@ registerAppGroupCallBack(groupCallback: Callback<AppGroupCallbackInfo>): P
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10100001 | Repeated operation on the application group. |
| 10100001 | Repeated operation on the application group. |
...
@@ -1147,9 +1155,9 @@ registerAppGroupCallBack(groupCallback: Callback<AppGroupCallbackInfo>, ca
...
@@ -1147,9 +1155,9 @@ registerAppGroupCallBack(groupCallback: Callback<AppGroupCallbackInfo>, ca
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10100001 | Repeated operation on the application group. |
| 10100001 | Repeated operation on the application group. |
...
@@ -1202,10 +1210,10 @@ unregisterAppGroupCallBack(): Promise<void>
...
@@ -1202,10 +1210,10 @@ unregisterAppGroupCallBack(): Promise<void>
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10100001 | Repeated operation on the application group. |
| 10100001 | Repeated operation on the application group. |
...
@@ -1246,10 +1254,10 @@ unregisterAppGroupCallBack(callback: AsyncCallback<void>): void;
...
@@ -1246,10 +1254,10 @@ unregisterAppGroupCallBack(callback: AsyncCallback<void>): void;
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10100001 | Repeated operation on the application group. |
| 10100001 | Repeated operation on the application group. |
...
@@ -1299,10 +1307,10 @@ queryDeviceEventStats(begin: number, end: number): Promise<Array<DeviceEve
...
@@ -1299,10 +1307,10 @@ queryDeviceEventStats(begin: number, end: number): Promise<Array<DeviceEve
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -1348,9 +1356,9 @@ queryDeviceEventStats(begin: number, end: number, callback: AsyncCallback<Arr
...
@@ -1348,9 +1356,9 @@ queryDeviceEventStats(begin: number, end: number, callback: AsyncCallback<Arr
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -1403,9 +1411,9 @@ queryNotificationEventStats(begin: number, end: number): Promise<Array<Dev
...
@@ -1403,9 +1411,9 @@ queryNotificationEventStats(begin: number, end: number): Promise<Array<Dev
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -1450,10 +1458,10 @@ queryNotificationEventStats(begin: number, end: number, callback: AsyncCallback&
...
@@ -1450,10 +1458,10 @@ queryNotificationEventStats(begin: number, end: number, callback: AsyncCallback&
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
以下错误码的详细介绍请参见
[
设备信息使用统计错误码
](
../errorcodes/errorcode-DeviceUsageStatistics.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ---------- | ---------------------------- |
| ---------- | ---------------------------- |
| 10000001 | Memory operation failed. |
| 10000001 | Memory operation failed. |
| 10000002 | Parcel operation failed. |
| 10000002 | Parcel operation failed. |
| 10000003 | System service operation failed. |
| 10000003 | System service operation failed. |
| 10000004 | IPC failed. |
| 10000004 | IPC failed. |
| 10000006 | Failed to get the application information. |
| 10000006 | Failed to get the application information. |
| 10000007 | Failed to get the system time. |
| 10000007 | Failed to get the system time. |
...
@@ -1558,6 +1566,8 @@ FA卡片的使用信息的属性集合。
...
@@ -1558,6 +1566,8 @@ FA卡片的使用信息的属性集合。
**系统能力**
:以下各项对应的系统能力均为SystemCapability.ResourceSchedule.UsageStatistics.App
**系统能力**
:以下各项对应的系统能力均为SystemCapability.ResourceSchedule.UsageStatistics.App
**系统API**
:此接口为系统接口。
| 名称 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| --------------------- | ------ | ---- | ---------------------------------------- |
| --------------------- | ------ | ---- | ---------------------------------------- |
| bundleName | string | 是 | 应用包名。 |
| bundleName | string | 是 | 应用包名。 |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录