ohos-basic-services-kit-sys 0.1.0

Raw bindings to the BasicServicesKit NDK of OpenHarmony
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
// automatically generated by rust-bindgen 0.71.1

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

/// This commonEvent means when the device is shutting down, note: turn off, not sleeping.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SHUTDOWN: &::core::ffi::CStr = c"usual.event.SHUTDOWN";
/// This commonEvent means when the charging state, level and so on about the battery.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_BATTERY_CHANGED: &::core::ffi::CStr = c"usual.event.BATTERY_CHANGED";
/// This commonEvent means when the device in low battery state.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_BATTERY_LOW: &::core::ffi::CStr = c"usual.event.BATTERY_LOW";
/// This commonEvent means when the battery level is an ok state.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_BATTERY_OKAY: &::core::ffi::CStr = c"usual.event.BATTERY_OKAY";
/// This commonEvent means when the other power is connected to the device.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_POWER_CONNECTED: &::core::ffi::CStr = c"usual.event.POWER_CONNECTED";
/// This commonEvent means when the other power is removed from the device.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_POWER_DISCONNECTED: &::core::ffi::CStr = c"usual.event.POWER_DISCONNECTED";
/// This commonEvent means when the screen is turned off.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SCREEN_OFF: &::core::ffi::CStr = c"usual.event.SCREEN_OFF";
/// This commonEvent means when the device is awakened and interactive.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SCREEN_ON: &::core::ffi::CStr = c"usual.event.SCREEN_ON";
/// This commonEvent means when the device is is about to enter the hibernate mode.
///
///
/// Available since API-level: 15
#[cfg(feature = "api-15")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-15")))]
pub const COMMON_EVENT_ENTER_HIBERNATE: &::core::ffi::CStr = c"usual.event.ENTER_HIBERNATE";
/// This commonEvent means when the device is exits the hibernate mode.
///
///
/// Available since API-level: 15
#[cfg(feature = "api-15")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-15")))]
pub const COMMON_EVENT_EXIT_HIBERNATE: &::core::ffi::CStr = c"usual.event.EXIT_HIBERNATE";
/// This commonEvent means when the thermal state level change
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_THERMAL_LEVEL_CHANGED: &::core::ffi::CStr =
    c"usual.event.THERMAL_LEVEL_CHANGED";
/// This commonEvent means when the current time is changed.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_TIME_TICK: &::core::ffi::CStr = c"usual.event.TIME_TICK";
/// This commonEvent means when the time is set.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_TIME_CHANGED: &::core::ffi::CStr = c"usual.event.TIME_CHANGED";
/// This commonEvent means when the time zone is changed.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_TIMEZONE_CHANGED: &::core::ffi::CStr = c"usual.event.TIMEZONE_CHANGED";
/// This commonEvent means when a new application package is installed on the device.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGE_ADDED: &::core::ffi::CStr = c"usual.event.PACKAGE_ADDED";
/// This commonEvent means when an existing application package is removed from the device.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGE_REMOVED: &::core::ffi::CStr = c"usual.event.PACKAGE_REMOVED";
/// This commonEvent means when an installed application's add-on package is removed from the device.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_BUNDLE_REMOVED: &::core::ffi::CStr = c"usual.event.BUNDLE_REMOVED";
/// This commonEvent means when an existing application package is completely removed from the device.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGE_FULLY_REMOVED: &::core::ffi::CStr =
    c"usual.event.PACKAGE_FULLY_REMOVED";
/// This commonEvent means when an existing application package has been changed.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGE_CHANGED: &::core::ffi::CStr = c"usual.event.PACKAGE_CHANGED";
/// This commonEvent means the user has restarted a package, and all of its processes have been killed.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGE_RESTARTED: &::core::ffi::CStr = c"usual.event.PACKAGE_RESTARTED";
/// This commonEvent means the user has cleared the package data.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGE_DATA_CLEARED: &::core::ffi::CStr =
    c"usual.event.PACKAGE_DATA_CLEARED";
/// This commonEvent means the user has cleared the package cache.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGE_CACHE_CLEARED: &::core::ffi::CStr =
    c"usual.event.PACKAGE_CACHE_CLEARED";
/// This commonEvent means the packages have been suspended.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_PACKAGES_SUSPENDED: &::core::ffi::CStr = c"usual.event.PACKAGES_SUSPENDED";
/// This commonEvent Sent to a package that has been suspended by the system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_MY_PACKAGE_SUSPENDED: &::core::ffi::CStr =
    c"usual.event.MY_PACKAGE_SUSPENDED";
/// Sent to a package that has been un-suspended.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_MY_PACKAGE_UNSUSPENDED: &::core::ffi::CStr =
    c"usual.event.MY_PACKAGE_UNSUSPENDED";
/// The current device's locale has changed.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_LOCALE_CHANGED: &::core::ffi::CStr = c"usual.event.LOCALE_CHANGED";
/// Indicates low memory condition notification acknowledged by user and package
/// management should be started.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_MANAGE_PACKAGE_STORAGE: &::core::ffi::CStr =
    c"usual.event.MANAGE_PACKAGE_STORAGE";
/// Remind new user of that the service has been unlocked.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_USER_UNLOCKED: &::core::ffi::CStr = c"usual.event.USER_UNLOCKED";
/// Distributed account logout successfully.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT: &::core::ffi::CStr =
    c"common.event.DISTRIBUTED_ACCOUNT_LOGOUT";
/// Distributed account is invalid.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID: &::core::ffi::CStr =
    c"common.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID";
/// Distributed account logs off.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF: &::core::ffi::CStr =
    c"common.event.DISTRIBUTED_ACCOUNT_LOGOFF";
/// WIFI state.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_POWER_STATE: &::core::ffi::CStr = c"usual.event.wifi.POWER_STATE";
/// WIFI scan results.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_SCAN_FINISHED: &::core::ffi::CStr = c"usual.event.wifi.SCAN_FINISHED";
/// WIFI RSSI change.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_RSSI_VALUE: &::core::ffi::CStr = c"usual.event.wifi.RSSI_VALUE";
/// WIFI connect state.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_CONN_STATE: &::core::ffi::CStr = c"usual.event.wifi.CONN_STATE";
/// WIFI hotspot state.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_HOTSPOT_STATE: &::core::ffi::CStr = c"usual.event.wifi.HOTSPOT_STATE";
/// WIFI ap sta join.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_AP_STA_JOIN: &::core::ffi::CStr = c"usual.event.wifi.WIFI_HS_STA_JOIN";
/// WIFI ap sta join.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_AP_STA_LEAVE: &::core::ffi::CStr =
    c"usual.event.wifi.WIFI_HS_STA_LEAVE";
/// Indicates Wi-Fi MpLink state notification acknowledged by binding or unbinding MpLink.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE: &::core::ffi::CStr =
    c"usual.event.wifi.mplink.STATE_CHANGE";
/// Indicates Wi-Fi P2P connection state notification acknowledged by connecting or disconnected P2P.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_P2P_CONN_STATE: &::core::ffi::CStr =
    c"usual.event.wifi.p2p.CONN_STATE_CHANGE";
/// Indicates that the Wi-Fi P2P state change.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_P2P_STATE_CHANGED: &::core::ffi::CStr =
    c"usual.event.wifi.p2p.STATE_CHANGE";
/// Indicates that the Wi-Fi P2P peers state change.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED: &::core::ffi::CStr =
    c"usual.event.wifi.p2p.DEVICES_CHANGE";
/// Indicates that the Wi-Fi P2P discovery state change.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED: &::core::ffi::CStr =
    c"usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE";
/// Indicates that the Wi-Fi P2P current device state change.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED: &::core::ffi::CStr =
    c"usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE";
/// Indicates that the Wi-Fi P2P group info is changed.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED: &::core::ffi::CStr =
    c"usual.event.wifi.p2p.GROUP_STATE_CHANGED";
/// Nfc state change.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED: &::core::ffi::CStr =
    c"usual.event.nfc.action.ADAPTER_STATE_CHANGED";
/// Nfc field on detected.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED: &::core::ffi::CStr =
    c"usual.event.nfc.action.RF_FIELD_ON_DETECTED";
/// Nfc field off detected.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED: &::core::ffi::CStr =
    c"usual.event.nfc.action.RF_FIELD_OFF_DETECTED";
/// Sent when stop charging battery.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_DISCHARGING: &::core::ffi::CStr = c"usual.event.DISCHARGING";
/// Sent when start charging battery.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_CHARGING: &::core::ffi::CStr = c"usual.event.CHARGING";
/// Sent when device's idle mode changed
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED: &::core::ffi::CStr =
    c"usual.event.DEVICE_IDLE_MODE_CHANGED";
/// Sent when device's charge idle mode changed.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED: &::core::ffi::CStr =
    c"usual.event.CHARGE_IDLE_MODE_CHANGED";
/// Sent when device's power save mode changed
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_POWER_SAVE_MODE_CHANGED: &::core::ffi::CStr =
    c"usual.event.POWER_SAVE_MODE_CHANGED";
/// The usb state change events.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_USB_STATE: &::core::ffi::CStr = c"usual.event.hardware.usb.action.USB_STATE";
/// The usb port changed.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_USB_PORT_CHANGED: &::core::ffi::CStr =
    c"usual.event.hardware.usb.action.USB_PORT_CHANGED";
/// The usb device attached.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_USB_DEVICE_ATTACHED: &::core::ffi::CStr =
    c"usual.event.hardware.usb.action.USB_DEVICE_ATTACHED";
/// The usb device detached.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_USB_DEVICE_DETACHED: &::core::ffi::CStr =
    c"usual.event.hardware.usb.action.USB_DEVICE_DETACHED";
/// Indicates the common event Action indicating that the airplane mode status of the device changes.
/// Users can register this event to listen to the change of the airplane mode status of the device.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_AIRPLANE_MODE_CHANGED: &::core::ffi::CStr = c"usual.event.AIRPLANE_MODE";
/// sent by the window manager service when the window mode is split.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SPLIT_SCREEN: &::core::ffi::CStr = c"common.event.SPLIT_SCREEN";
/// Indicate the result of quick fix apply.
/// This common event can be triggered only by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_QUICK_FIX_APPLY_RESULT: &::core::ffi::CStr =
    c"usual.event.QUICK_FIX_APPLY_RESULT";
/// Indicate the result of quick fix revoke.
/// This common event can be triggered only by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_QUICK_FIX_REVOKE_RESULT: &::core::ffi::CStr =
    c"usual.event.QUICK_FIX_REVOKE_RESULT";
/// Indicate the action of a common event that the user information has been updated.
/// This common event can be triggered only by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_USER_INFO_UPDATED: &::core::ffi::CStr = c"usual.event.USER_INFO_UPDATED";
/// Indicates the action of a common event that the phone SIM card state has changed.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SIM_STATE_CHANGED: &::core::ffi::CStr = c"usual.event.SIM_STATE_CHANGED";
/// Indicates the action of a common event that the call state has been changed.
/// To subscribe to this protected common event, your application must have the ohos.permission.GET_TELEPHONY_STATE
/// permission.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_CALL_STATE_CHANGED: &::core::ffi::CStr = c"usual.event.CALL_STATE_CHANGED";
/// Indicates the action of a common event that the network state has been changed.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_NETWORK_STATE_CHANGED: &::core::ffi::CStr =
    c"usual.event.NETWORK_STATE_CHANGED";
/// Indicates the action of a common event that the signal info has been changed.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SIGNAL_INFO_CHANGED: &::core::ffi::CStr = c"usual.event.SIGNAL_INFO_CHANGED";
/// This commonEvent means when the screen is unlocked.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SCREEN_UNLOCKED: &::core::ffi::CStr = c"usual.event.SCREEN_UNLOCKED";
/// This commonEvent means when the screen is locked.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_SCREEN_LOCKED: &::core::ffi::CStr = c"usual.event.SCREEN_LOCKED";
/// This commonEvent means when the http proxy change.
///
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_HTTP_PROXY_CHANGE: &::core::ffi::CStr = c"usual.event.HTTP_PROXY_CHANGE";
/// This commonEvent means when the network connectivityy change.
///
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_CONNECTIVITY_CHANGE: &::core::ffi::CStr = c"usual.event.CONNECTIVITY_CHANGE";
/// This common event means that minors mode is enabled.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_MINORSMODE_ON: &::core::ffi::CStr = c"usual.event.MINORSMODE_ON";
/// This common event means that minors mode is disabled.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub const COMMON_EVENT_MINORSMODE_OFF: &::core::ffi::CStr = c"usual.event.MINORSMODE_OFF";
/// This common event means that the managed browser policy is changed.
/// This is a protected common event that can only be sent by system.
///
///
/// Available since API-level: 15
#[cfg(feature = "api-15")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-15")))]
pub const COMMON_EVENT_MANAGED_BROWSER_POLICY_CHANGED: &::core::ffi::CStr =
    c"usual.event.MANAGED_BROWSER_POLICY_CHANGED";
/// This common event means that the open and closed state of the stand associated
/// with the tablet mode has changed.
/// This is a protected common event that can only be sent by system.
///
/// Available since API-level: 23
#[cfg(feature = "api-23")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-23")))]
pub const COMMON_EVENT_TABLET_MODE_CHANGED: &::core::ffi::CStr = c"usual.event.TABLET_MODE_CHANGED";
/// This common event means that the state (open or closed) of the laptop lid has changed.
/// This is a protected common event that can only be sent by system.
///
/// Available since API-level: 23
#[cfg(feature = "api-23")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-23")))]
pub const COMMON_EVENT_LID_STATE_CHANGED: &::core::ffi::CStr = c"usual.event.LID_STATE_CHANGED";