DeviceUsageStatistics Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
10000001 Memory Operation Failure
Error Message
Memory operation failed.
Description
This error code is reported when a memory operation fails.
Possible Causes
The system memory is insufficient.
Solution
Check whether memory leak occurs.
10000002 IPC Parcel Write Failure
Error Message
Parcel operation failed. Failed to write data into parcel. Possible reasons: 1. Invalid parameters; 2. Failed to apply for memory.
Description
Failed to write the data object during the IPC.
Possible Causes
- Invalid parameter.
- Memory allocation fails.
Solution
- Check whether the parameter is valid, for example, whether the string is too long.
- Try again.
10000003 System Service Operation Failure
Error Message
Failed to get system ability manager.
Description
The client process fails to obtain the system service.
Possible Causes
The dependent service process is faulty.
Solution
Try again later or restart the device.
10000004 IPC Failure
Error Message
Failed to access the device usage service.
Description
The IPC fails.
Possible Causes
The system service is abnormal or the IPC data is abnormal.
Solution
Try again later or restart the device.
10000005 Application Not Installed
Error Message
The application is not installed.
Description
The application is not installed.
Possible Causes
The application is not installed or has been uninstalled.
Solution
Check whether the application exists.
10000006 Failed to Obtain Application Information
Error Message
Failed to get the application information.
Description
The client process fails to obtain application information from the service.
Possible Causes
- The value of beginTime or endTime is invalid.
- The application is not installed or has been uninstalled.
- The value of intervalType is invalid.
Solution
Check whether the input parameters are valid and whether the application exists.
10000007 Time Operation Failure
Error Message
Failed to get the system time.
Description
The system service fails to obtain the system time.
Possible Causes
The system is abnormal.
Solution
Try again later or restart the device.
10100001 Duplicate Application Group Operation
Error Message
Repeated operation on the application group.
Description
The application group operation fails.
Possible Causes
The application group to set already exists, or the callback for application group changes to register or deregister has already been registered or deregistered.
Solution
Do not repeatedly set application groups, or register or deregister a callback for application group changes.
10100002 Failed to Obtain Application Group Information
Error Message
Failed to get the application group information.
Description
The client process fails to obtain the application group information.
Possible Causes
- An incorrect bundle name is passed.
- The application is not installed or has been uninstalled.
Solution
Check whether the bundle name is valid and whether the application exists.