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

!15338 翻译完成:14040 三方API升级到系统API、错误码英文解释修改、接口一致性检查修改

Merge pull request !15338 from wusongqing/TR14040
...@@ -36,5 +36,5 @@ Currently you can have access to statistics on the application usage, and the no ...@@ -36,5 +36,5 @@ Currently you can have access to statistics on the application usage, and the no
Deregister the callback for application group changes. Deregister the callback for application group changes.
## Required Permissions ## Required Permissions
- Before calling the following system APIs, you need to apply for the **ohos.permission.BUNDLE_ACTIVE_INFO** permission: **queryBundleActiveStates**, **queryBundleStateInfos**, **queryBundleStateInfoByInterval**, **queryBundleActiveEventStates**, **queryAppNotificationNumber**, **queryAppUsagePriorityGroup(bundleName?)**, **setBundleGroup**, **registerGroupCallBack**, and **unRegisterGroupCallBack**. - Before calling the following system APIs, you must request the **ohos.permission.BUNDLE_ACTIVE_INFO** permission: **isIdleState**, **queryBundleEvents**, **queryBundleStatsInfos**, **queryBundleStatsInfoByInterval**, **queryDeviceEventStats**, **queryNotificationEventStats**, **queryAppGroup(bundleName)**, **setAppGroup**, **registerAppGroupCallBack**, **unregisterAppGroupCallBack**, **queryModuleUsageRecords**, and **queryModuleUsageRecords(maxnum)**.
- This permission is not required for calling third-party APIs: **queryCurrentBundleActiveStates**, **queryAppUsagePriorityGroup()**, and **isIdleState**. - You do not need to request this permission before calling **queryCurrentBundleEvents** and **queryAppGroup()**, which are third-party APIs.
...@@ -225,7 +225,7 @@ import usageStatistics from '@ohos.resourceschedule.usageStatistics'; ...@@ -225,7 +225,7 @@ import usageStatistics from '@ohos.resourceschedule.usageStatistics';
} }
``` ```
7. Check whether the application specified by **bundleName** is in the idle state. This requires no permission to be configured. A third-party application can only check the idle status of itself. 7. Check whether the application specified by **bundleName** is in the idle state. This requires the **ohos.permission.BUNDLE_ACTIVE_INFO** permission to be configured.
```js ```js
import usageStatistics from '@ohos.resourceschedule.usageStatistics' import usageStatistics from '@ohos.resourceschedule.usageStatistics'
......
...@@ -35,8 +35,12 @@ isIdleState(bundleName: string, callback: AsyncCallback<boolean>): void ...@@ -35,8 +35,12 @@ isIdleState(bundleName: string, callback: AsyncCallback<boolean>): void
Checks whether the application specified by **bundleName** is in the idle state. This API uses an asynchronous callback to return the result. A third-party application can only check the idle status of itself. Checks whether the application specified by **bundleName** is in the idle state. This API uses an asynchronous callback to return the result. A third-party application can only check the idle status of itself.
**Required permissions**: ohos.permission.BUNDLE_ACTIVE_INFO
**System capability**: SystemCapability.ResourceSchedule.UsageStatistics.AppGroup **System capability**: SystemCapability.ResourceSchedule.UsageStatistics.AppGroup
**System API**: This is a system API.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name | Type | Mandatory | Description |
...@@ -53,8 +57,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -53,8 +57,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
**Example** **Example**
```js ```js
...@@ -77,8 +81,12 @@ isIdleState(bundleName: string): Promise<boolean> ...@@ -77,8 +81,12 @@ isIdleState(bundleName: string): Promise<boolean>
Checks whether the application specified by **bundleName** is in the idle state. This API uses a promise to return the result. A third-party application can only check the idle status of itself. Checks whether the application specified by **bundleName** is in the idle state. This API uses a promise to return the result. A third-party application can only check the idle status of itself.
**Required permissions**: ohos.permission.BUNDLE_ACTIVE_INFO
**System capability**: SystemCapability.ResourceSchedule.UsageStatistics.AppGroup **System capability**: SystemCapability.ResourceSchedule.UsageStatistics.AppGroup
**System API**: This is a system API.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name | Type | Mandatory | Description |
...@@ -100,8 +108,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -100,8 +108,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
**Example** **Example**
...@@ -140,10 +148,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -140,10 +148,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000005 | Application is not installed. | | 10000005 | Application is not installed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10100002 | Get Application group info failed. | | 10100002 | Failed to get the application group information. |
**Example** **Example**
...@@ -182,10 +190,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -182,10 +190,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000005 | Application is not installed. | | 10000005 | Application is not installed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10100002 | Get Application group info failed. | | 10100002 | Failed to get the application group information. |
**Example** **Example**
...@@ -232,9 +240,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -232,9 +240,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -292,9 +300,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -292,9 +300,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -346,9 +354,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -346,9 +354,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -405,9 +413,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -405,9 +413,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -456,9 +464,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -456,9 +464,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -514,9 +522,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -514,9 +522,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -561,9 +569,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -561,9 +569,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -615,9 +623,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -615,9 +623,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -664,9 +672,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -664,9 +672,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -714,9 +722,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -714,9 +722,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -771,9 +779,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -771,9 +779,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -821,9 +829,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -821,9 +829,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -878,10 +886,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -878,10 +886,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000005 | Application is not installed. | | 10000005 | Application is not installed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10100002 | Get Application group info failed. | | 10100002 | Failed to get the application group information. |
**Example** **Example**
...@@ -927,10 +935,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -927,10 +935,10 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000005 | Application is not installed. | | 10000005 | Application is not installed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10100002 | Get Application group info failed. | | 10100002 | Failed to get the application group information. |
**Example** **Example**
...@@ -977,9 +985,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -977,9 +985,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10100001 | Application group operation repeated. | | 10100001 | Repeated operation on the application group. |
**Return value** **Return value**
...@@ -1033,9 +1041,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1033,9 +1041,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10100001 | Application group operation repeated. | | 10100001 | Repeated operation on the application group. |
**Example** **Example**
...@@ -1083,8 +1091,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1083,8 +1091,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10100001 | Application group operation repeated. | | 10100001 | Repeated operation on the application group. |
**Return value** **Return value**
...@@ -1142,13 +1150,14 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1142,13 +1150,14 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10100001 | Application group operation repeated. | | 10100001 | Repeated operation on the application group. |
**Example** **Example**
```javascript ```javascript
// @ts-nocheck
let onBundleGroupChanged = (err, res) =>{ let onBundleGroupChanged = (err, res) =>{
console.log('BUNDLE_ACTIVE onBundleGroupChanged RegisterGroupCallBack callback success.'); console.log('BUNDLE_ACTIVE onBundleGroupChanged RegisterGroupCallBack callback success.');
console.log('BUNDLE_ACTIVE registerAppGroupCallBack result appOldGroup is : ' + res.appOldGroup); console.log('BUNDLE_ACTIVE registerAppGroupCallBack result appOldGroup is : ' + res.appOldGroup);
...@@ -1197,8 +1206,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1197,8 +1206,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10100001 | Application group operation repeated. | | 10100001 | Repeated operation on the application group. |
**Example** **Example**
...@@ -1241,8 +1250,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1241,8 +1250,8 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10100001 | Application group operation repeated. | | 10100001 | Repeated operation on the application group. |
**Example** **Example**
...@@ -1294,9 +1303,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1294,9 +1303,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -1342,9 +1351,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1342,9 +1351,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -1397,9 +1406,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1397,9 +1406,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
...@@ -1445,9 +1454,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er ...@@ -1445,9 +1454,9 @@ For details about the error codes, see [DeviceUsageStatistics Error Codes](../er
| 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 Communication failed. | | 10000004 | IPC failed. |
| 10000006 | Get application info failed. | | 10000006 | Failed to get the application information. |
| 10000007 | Get system or actual time failed. | | 10000007 | Failed to get the system time. |
**Example** **Example**
......
...@@ -58,7 +58,7 @@ Try again later or restart the device. ...@@ -58,7 +58,7 @@ Try again later or restart the device.
**Error Message** **Error Message**
IPC communication failed. IPC failed.
**Description** **Description**
...@@ -94,7 +94,7 @@ Check whether the application exists. ...@@ -94,7 +94,7 @@ Check whether the application exists.
**Error Message** **Error Message**
Get application info failed. Failed to get the application information.
**Description** **Description**
...@@ -114,7 +114,7 @@ Check whether the input parameters are valid and whether the application exists. ...@@ -114,7 +114,7 @@ Check whether the input parameters are valid and whether the application exists.
**Error Message** **Error Message**
Get system or actual time operation failed. Failed to get the system time.
**Description** **Description**
...@@ -132,7 +132,7 @@ Try again later or restart the device. ...@@ -132,7 +132,7 @@ Try again later or restart the device.
**Error Message** **Error Message**
Application group operation failed. The application group are the the same or do not need te be updated. Repeated operation on the application group.
**Description** **Description**
...@@ -150,7 +150,7 @@ Do not repeatedly set application groups, or register or deregister a callback f ...@@ -150,7 +150,7 @@ Do not repeatedly set application groups, or register or deregister a callback f
**Error Message** **Error Message**
Get application group info failed. The application group infomation cannot be found. Failed to get the application group information.
**Description** **Description**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册