• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# DeviceUsageStatistics Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 10000001 Memory Operation Failure
8
9**Error Message**
10
11Memory operation failed.
12
13**Description**
14
15This error code is reported when a memory operation fails.
16
17**Possible Causes**
18
19The system memory is insufficient.
20
21**Solution**
22
23Check whether memory leak occurs.
24
25## 10000002 IPC Parcel Write Failure
26
27**Error Message**
28
29Parcel operation failed. Failed to write data into parcel. Possible reasons: 1. Invalid parameters; 2. Failed to apply for memory.
30
31**Description**
32
33Failed to write the data object during the IPC.
34
35**Possible Causes**
36
371. Invalid parameter.
382. Memory allocation fails.
39
40**Solution**
41
421. Check whether the parameter is valid, for example, whether the string is too long.
432. Try again.
44
45## 10000003 System Service Operation Failure
46
47**Error Message**
48
49Failed to get system ability manager.
50
51**Description**
52
53The client process fails to obtain the system service.
54
55**Possible Causes**
56
57The dependent service process is faulty.
58
59**Solution**
60
61Try again later or restart the device.
62
63## 10000004 IPC Failure
64
65**Error Message**
66
67Failed to access the device usage service.
68
69**Description**
70
71The IPC fails.
72
73**Possible Causes**
74
75The system service is abnormal or the IPC data is abnormal.
76
77**Solution**
78
79Try again later or restart the device.
80
81## 10000005 Application Not Installed
82
83**Error Message**
84
85The application is not installed.
86
87**Description**
88
89The application is not installed.
90
91**Possible Causes**
92
93The application is not installed or has been uninstalled.
94
95**Solution**
96
97Check whether the application exists.
98
99## 10000006 Failed to Obtain Application Information
100
101**Error Message**
102
103Failed to get the application information.
104
105**Description**
106
107The client process fails to obtain application information from the service.
108
109**Possible Causes**
110
1111. The value of **beginTime** or **endTime** is invalid.
1122. The application is not installed or has been uninstalled.
1133. The value of **intervalType** is invalid.
114
115**Solution**
116
117Check whether the input parameters are valid and whether the application exists.
118
119## 10000007 Time Operation Failure
120
121**Error Message**
122
123Failed to get the system time.
124
125**Description**
126
127The system service fails to obtain the system time.
128
129**Possible Causes**
130
131The system is abnormal.
132
133**Solution**
134
135Try again later or restart the device.
136
137## 10100001 Duplicate Application Group Operation
138
139**Error Message**
140
141Repeated operation on the application group.
142
143**Description**
144
145The application group operation fails.
146
147**Possible Causes**
148
149The application group to set already exists, or the callback for application group changes to register or deregister has already been registered or deregistered.
150
151**Solution**
152
153Do not repeatedly set application groups, or register or deregister a callback for application group changes.
154
155## 10100002 Failed to Obtain Application Group Information
156
157**Error Message**
158
159Failed to get the application group information.
160
161**Description**
162
163The client process fails to obtain the application group information.
164
165**Possible Causes**
166
1671. An incorrect bundle name is passed.
1682. The application is not installed or has been uninstalled.
169
170**Solution**
171
172Check whether the bundle name is valid and whether the application exists.
173