1e41f4b71Sopenharmony_ci# System Common Events (System API) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThis document provides a list of common events defined by the system. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ciCommon event types are defined in [Support enumeration of the ohos.commonEventManager module](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/js-apis-commonEventManager.md#support). 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci> **NOTE** 8e41f4b71Sopenharmony_ci> 9e41f4b71Sopenharmony_ci> The current page contains only the system APIs of this module. For details about other public APIs, see [System Common Events](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/common_event/commonEventManager-definitions.md). 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ci## Ability Kit 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci### COMMON_EVENT_BOOT_COMPLETED 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ciIndicates that the boot is complete and the system is loaded. 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ciWhen the specified user finishes the boot process on the device, the event notification service is triggered to publish this event. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**System API**: This is a system API. 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.RECEIVER_STARTUP_COMPLETED (for system applications only) 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Value:** "usual.event.BOOT_COMPLETED" 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci### COMMON_EVENT_PACKAGE_INSTALLATION_STARTED<sup>12+</sup> 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ciIndicates that a package is sent by the system verifier when the package is verified. 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ciWhen a new application starts to be installed by a specified user on the device, the event notification service is triggered to publish this event. 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci**System API**: This is a system API. 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci**Value:** "usual.event.PACKAGE_INSTALLATION_STARTED" 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ci 44e41f4b71Sopenharmony_ci 45e41f4b71Sopenharmony_ci## Background Tasks Kit 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci### COMMON_EVENT_DEVICE_IDLE_EXEMPTION_LIST_UPDATED<sup>10+</sup> 48e41f4b71Sopenharmony_ci 49e41f4b71Sopenharmony_ciIndicates that the exemption list for resource usage restrictions has been updated in idle mode. 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ciWhen the exemption list for resource usage restrictions is updated, the event notification service is triggered to publish this event. 52e41f4b71Sopenharmony_ciResources include application network access, Timer usage, and WorkScheduler task usage. 53e41f4b71Sopenharmony_ci 54e41f4b71Sopenharmony_ciSystem applications can call JavaScript APIs to apply for removing resource usage restrictions. 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ci**System API**: This is a system API. 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 61e41f4b71Sopenharmony_ci 62e41f4b71Sopenharmony_ci**Value:** "usual.event.DEVICE_IDLE_EXEMPTION_LIST_UPDATED" 63e41f4b71Sopenharmony_ci 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ci 66e41f4b71Sopenharmony_ci 67e41f4b71Sopenharmony_ci## Basic Services Kit - Power Supply 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ci### COMMON_EVENT_CHARGE_TYPE_CHANGED<sup>10+</sup> 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ciIndicates that the system charging type has changed. 72e41f4b71Sopenharmony_ci 73e41f4b71Sopenharmony_ciWhen the system charging type changes, the event notification service is triggered to publish this event. 74e41f4b71Sopenharmony_ci 75e41f4b71Sopenharmony_ci**System API**: This is a system API. 76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 80e41f4b71Sopenharmony_ci 81e41f4b71Sopenharmony_ci**Value:** "usual.event.CHARGE_TYPE_CHANGED" 82e41f4b71Sopenharmony_ci 83e41f4b71Sopenharmony_ci 84e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_ADDED 85e41f4b71Sopenharmony_ci 86e41f4b71Sopenharmony_ciIndicates that a user has been added to the system. 87e41f4b71Sopenharmony_ci 88e41f4b71Sopenharmony_ciWhen a system account is created, the event notification service is triggered to publish this event carrying the system account ID. 89e41f4b71Sopenharmony_ci 90e41f4b71Sopenharmony_ciAPIs related to this event: **createOsAccount** and **createOsAccountForDomain**. These APIs are system APIs. For details, see [@ohos.account.osAccount (System Account Management)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/js-apis-osAccount.md). 91e41f4b71Sopenharmony_ci 92e41f4b71Sopenharmony_ci**System API**: This is a system API. 93e41f4b71Sopenharmony_ci 94e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 95e41f4b71Sopenharmony_ci 96e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.MANAGE_LOCAL_ACCOUNTS (for system applications only) 97e41f4b71Sopenharmony_ci 98e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_ADDED" 99e41f4b71Sopenharmony_ci 100e41f4b71Sopenharmony_ci 101e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_REMOVED 102e41f4b71Sopenharmony_ci 103e41f4b71Sopenharmony_ciIndicates that a user has been removed from the system. 104e41f4b71Sopenharmony_ci 105e41f4b71Sopenharmony_ciWhen a system account is removed, the event notification service is triggered to publish this event carrying the system account ID. 106e41f4b71Sopenharmony_ci 107e41f4b71Sopenharmony_ciAPIs related to this event: **removeOsAccount**. This API is a system API. For details, see [@ohos.account.osAccount (System Account Management)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/js-apis-osAccount.md). 108e41f4b71Sopenharmony_ci 109e41f4b71Sopenharmony_ci**System API**: This is a system API. 110e41f4b71Sopenharmony_ci 111e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 112e41f4b71Sopenharmony_ci 113e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.MANAGE_LOCAL_ACCOUNTS (for system applications only) 114e41f4b71Sopenharmony_ci 115e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_REMOVED" 116e41f4b71Sopenharmony_ci 117e41f4b71Sopenharmony_ci 118e41f4b71Sopenharmony_ci### COMMON_EVENT_DOMAIN_ACCOUNT_STATUS_CHANGED 119e41f4b71Sopenharmony_ci 120e41f4b71Sopenharmony_ciIndicates that the status of the domain account status changes. 121e41f4b71Sopenharmony_ci 122e41f4b71Sopenharmony_ciWhen a domain user account is authenticated, deleted, or has the token updated, the event notification service is triggered to publish this event carrying the system account ID, domain name, and account status. 123e41f4b71Sopenharmony_ci 124e41f4b71Sopenharmony_ciAPIs related to this event: **removeOsAccount**, **DomainAccountManager.auth**, and **updateAccountToken**. These APIs are system APIs. For details, see [@ohos.account.osAccount (System Account Management)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/js-apis-osAccount.md). 125e41f4b71Sopenharmony_ci 126e41f4b71Sopenharmony_ci**System API**: This is a system API. 127e41f4b71Sopenharmony_ci 128e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 129e41f4b71Sopenharmony_ci 130e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_LOCAL_ACCOUNTS (for system applications only) 131e41f4b71Sopenharmony_ci 132e41f4b71Sopenharmony_ci**Value:** "usual.event.DOMAIN_ACCOUNT_STATUS_CHANGED" 133e41f4b71Sopenharmony_ci 134e41f4b71Sopenharmony_ci 135e41f4b71Sopenharmony_ci### COMMON_EVENT_USER_SWITCHED 136e41f4b71Sopenharmony_ci 137e41f4b71Sopenharmony_ciIndicates that a user switchover is complete. 138e41f4b71Sopenharmony_ci 139e41f4b71Sopenharmony_ciWhen a system account is switched, the event notification service is triggered to publish this event carrying the system account ID. 140e41f4b71Sopenharmony_ci 141e41f4b71Sopenharmony_ciAPIs related to this event: **activateOsAccount**. This API is a system API. For details, see [@ohos.account.osAccount (System Account Management)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/js-apis-osAccount.md). 142e41f4b71Sopenharmony_ci 143e41f4b71Sopenharmony_ci**System API**: This is a system API. 144e41f4b71Sopenharmony_ci 145e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 146e41f4b71Sopenharmony_ci 147e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.MANAGE_LOCAL_ACCOUNTS (for system applications only) 148e41f4b71Sopenharmony_ci 149e41f4b71Sopenharmony_ci**Value:** "usual.event.USER_SWITCHED" 150e41f4b71Sopenharmony_ci 151e41f4b71Sopenharmony_ci 152e41f4b71Sopenharmony_ci 153e41f4b71Sopenharmony_ci 154e41f4b71Sopenharmony_ci## Core File Kit 155e41f4b71Sopenharmony_ci 156e41f4b71Sopenharmony_ciThis document lists the common system events provided by the file management subsystem to applications. Applications can use [APIs](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/js-apis-commonEventManager.md) to subscribe to common system events. 157e41f4b71Sopenharmony_ci 158e41f4b71Sopenharmony_ci 159e41f4b71Sopenharmony_ci### COMMON_EVENT_VOLUME_REMOVED 160e41f4b71Sopenharmony_ci 161e41f4b71Sopenharmony_ciIndicates that an external storage device was removed. 162e41f4b71Sopenharmony_ci 163e41f4b71Sopenharmony_ciThis common event is triggered when an external storage device is removed. 164e41f4b71Sopenharmony_ci 165e41f4b71Sopenharmony_ci**System API**: This is a system API. 166e41f4b71Sopenharmony_ci 167e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 168e41f4b71Sopenharmony_ci 169e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER 170e41f4b71Sopenharmony_ci 171e41f4b71Sopenharmony_ci**Value:** "usual.event.data.VOLUME_REMOVED" 172e41f4b71Sopenharmony_ci 173e41f4b71Sopenharmony_ci### COMMON_EVENT_VOLUME_UNMOUNTED 174e41f4b71Sopenharmony_ci 175e41f4b71Sopenharmony_ciIndicates that an external storage device was unmounted. 176e41f4b71Sopenharmony_ci 177e41f4b71Sopenharmony_ciThis common event is triggered when an external storage device is successfully unmounted by calling the **unmount** API or by removing the device. 178e41f4b71Sopenharmony_ci 179e41f4b71Sopenharmony_ci**System API**: This is a system API. 180e41f4b71Sopenharmony_ci 181e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 182e41f4b71Sopenharmony_ci 183e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER 184e41f4b71Sopenharmony_ci 185e41f4b71Sopenharmony_ci**Value:** "usual.event.data.VOLUME_UNMOUNTED" 186e41f4b71Sopenharmony_ci 187e41f4b71Sopenharmony_ci 188e41f4b71Sopenharmony_ci### COMMON_EVENT_VOLUME_MOUNTED 189e41f4b71Sopenharmony_ci 190e41f4b71Sopenharmony_ciIndicates that an external storage device was mounted. 191e41f4b71Sopenharmony_ci 192e41f4b71Sopenharmony_ciThis common event is triggered when an external storage device is successfully mounted by calling the **mount** API or by inserting the device. 193e41f4b71Sopenharmony_ci 194e41f4b71Sopenharmony_ci**System API**: This is a system API. 195e41f4b71Sopenharmony_ci 196e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 197e41f4b71Sopenharmony_ci 198e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER 199e41f4b71Sopenharmony_ci 200e41f4b71Sopenharmony_ci**Value:** "usual.event.data.VOLUME_MOUNTED" 201e41f4b71Sopenharmony_ci 202e41f4b71Sopenharmony_ci 203e41f4b71Sopenharmony_ci### COMMON_EVENT_VOLUME_BAD_REMOVAL 204e41f4b71Sopenharmony_ci 205e41f4b71Sopenharmony_ciIndicates that an external storage device was removed without being unmounted. 206e41f4b71Sopenharmony_ci 207e41f4b71Sopenharmony_ciThis common event is triggered when an external storage device is directly removed without being unmounted. 208e41f4b71Sopenharmony_ci 209e41f4b71Sopenharmony_ci**System API**: This is a system API. 210e41f4b71Sopenharmony_ci 211e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 212e41f4b71Sopenharmony_ci 213e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER 214e41f4b71Sopenharmony_ci 215e41f4b71Sopenharmony_ci**Value:** "usual.event.data.VOLUME_BAD_REMOVAL" 216e41f4b71Sopenharmony_ci 217e41f4b71Sopenharmony_ci 218e41f4b71Sopenharmony_ci### COMMON_EVENT_VOLUME_EJECT 219e41f4b71Sopenharmony_ci 220e41f4b71Sopenharmony_ciIndicates that an external storage device is about to be ejected. 221e41f4b71Sopenharmony_ci 222e41f4b71Sopenharmony_ciThis common event is triggered when the user calls the **unmount** API on a mounted external storage device or removes the device. 223e41f4b71Sopenharmony_ci 224e41f4b71Sopenharmony_ci**System API**: This is a system API. 225e41f4b71Sopenharmony_ci 226e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 227e41f4b71Sopenharmony_ci 228e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.STORAGE_MANAGER 229e41f4b71Sopenharmony_ci 230e41f4b71Sopenharmony_ci**Value:** "usual.event.data.VOLUME_EJECT" 231e41f4b71Sopenharmony_ci 232e41f4b71Sopenharmony_ci 233e41f4b71Sopenharmony_ci 234e41f4b71Sopenharmony_ci## Telephony Kit 235e41f4b71Sopenharmony_ci 236e41f4b71Sopenharmony_ci### COMMON_EVENT_SMS_RECEIVE_COMPLETED<sup>10+</sup> 237e41f4b71Sopenharmony_ci 238e41f4b71Sopenharmony_ciIndicates that an SMS message is received. 239e41f4b71Sopenharmony_ci 240e41f4b71Sopenharmony_ciWhen the device receives an SMS message, the event notification service is triggered to publish this event. 241e41f4b71Sopenharmony_ci 242e41f4b71Sopenharmony_ci**System API**: This is a system API. 243e41f4b71Sopenharmony_ci 244e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 245e41f4b71Sopenharmony_ci 246e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.RECEIVE_SMS (for system apps only) 247e41f4b71Sopenharmony_ci 248e41f4b71Sopenharmony_ci**Value:** usual.event.SMS_RECEIVED_COMPLETED 249e41f4b71Sopenharmony_ci 250e41f4b71Sopenharmony_ci 251e41f4b71Sopenharmony_ci### COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED<sup>10+</sup> 252e41f4b71Sopenharmony_ci 253e41f4b71Sopenharmony_ciIndicates that an emergency cell broadcast message is received. 254e41f4b71Sopenharmony_ci 255e41f4b71Sopenharmony_ciWhen the device receives an emergency cell broadcast message, the event notification service is triggered to publish this event. 256e41f4b71Sopenharmony_ci 257e41f4b71Sopenharmony_ci**System API**: This is a system API. 258e41f4b71Sopenharmony_ci 259e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 260e41f4b71Sopenharmony_ci 261e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.RECEIVE_SMS (for system apps only) 262e41f4b71Sopenharmony_ci 263e41f4b71Sopenharmony_ci**Value:** usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED 264e41f4b71Sopenharmony_ci 265e41f4b71Sopenharmony_ci 266e41f4b71Sopenharmony_ci### COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED<sup>10+</sup> 267e41f4b71Sopenharmony_ci 268e41f4b71Sopenharmony_ciIndicates that a cell broadcast message is received. 269e41f4b71Sopenharmony_ci 270e41f4b71Sopenharmony_ciWhen the device receives a cell broadcast message, the event notification service is triggered to publish this event. 271e41f4b71Sopenharmony_ci 272e41f4b71Sopenharmony_ci**System API**: This is a system API. 273e41f4b71Sopenharmony_ci 274e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 275e41f4b71Sopenharmony_ci 276e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.RECEIVE_SMS (for system apps only) 277e41f4b71Sopenharmony_ci 278e41f4b71Sopenharmony_ci**Value:** usual.event.SMS_CB_RECEIVE_COMPLETED 279e41f4b71Sopenharmony_ci 280e41f4b71Sopenharmony_ci### COMMON_EVENT_OPERATOR_CONFIG_CHANGED<sup>10+</sup> 281e41f4b71Sopenharmony_ci 282e41f4b71Sopenharmony_ciIndicates that the carrier configuration has been updated. 283e41f4b71Sopenharmony_ci 284e41f4b71Sopenharmony_ciWhen the carrier configuration of the device is updated, the event notification service is triggered to publish this event. 285e41f4b71Sopenharmony_ci 286e41f4b71Sopenharmony_ci**System API**: This is a system API. 287e41f4b71Sopenharmony_ci 288e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 289e41f4b71Sopenharmony_ci 290e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 291e41f4b71Sopenharmony_ci 292e41f4b71Sopenharmony_ci**Value:** usual.event.OPERATOR_CONFIG_CHANGED 293e41f4b71Sopenharmony_ci 294e41f4b71Sopenharmony_ci 295e41f4b71Sopenharmony_ci### COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED<sup>10+</sup> 296e41f4b71Sopenharmony_ci 297e41f4b71Sopenharmony_ciIndicates that the default primary SIM card for the SMS service has been updated. 298e41f4b71Sopenharmony_ci 299e41f4b71Sopenharmony_ciWhen the default primary SIM card for the SMS service is updated, the event notification service is triggered to publish this event. 300e41f4b71Sopenharmony_ci 301e41f4b71Sopenharmony_ci**System API**: This is a system API. 302e41f4b71Sopenharmony_ci 303e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 304e41f4b71Sopenharmony_ci 305e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 306e41f4b71Sopenharmony_ci 307e41f4b71Sopenharmony_ci**Value:** usual.event.DEFAULT_SMS_SUBSCRIPTION_CHANGED 308e41f4b71Sopenharmony_ci 309e41f4b71Sopenharmony_ci 310e41f4b71Sopenharmony_ci### COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED<sup>10+</sup> 311e41f4b71Sopenharmony_ci 312e41f4b71Sopenharmony_ciIndicates that the default primary SIM card for the data service has been updated. 313e41f4b71Sopenharmony_ci 314e41f4b71Sopenharmony_ciWhen the default primary SIM card for the data service is updated, the event notification service is triggered to release the system common event. 315e41f4b71Sopenharmony_ci 316e41f4b71Sopenharmony_ci**System API**: This is a system API. 317e41f4b71Sopenharmony_ci 318e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 319e41f4b71Sopenharmony_ci 320e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 321e41f4b71Sopenharmony_ci 322e41f4b71Sopenharmony_ci**Value:** usual.event.DEFAULT_DATA_SUBSCRIPTION_CHANGED 323e41f4b71Sopenharmony_ci 324e41f4b71Sopenharmony_ci 325e41f4b71Sopenharmony_ci### COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED<sup>10+</sup> 326e41f4b71Sopenharmony_ci 327e41f4b71Sopenharmony_ciIndicates that the default primary SIM card of the device has been updated. 328e41f4b71Sopenharmony_ci 329e41f4b71Sopenharmony_ciWhen the default primary SIM card of the device is updated, the event notification service is triggered to publish this event. 330e41f4b71Sopenharmony_ci 331e41f4b71Sopenharmony_ci**System API**: This is a system API. 332e41f4b71Sopenharmony_ci 333e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 334e41f4b71Sopenharmony_ci 335e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 336e41f4b71Sopenharmony_ci 337e41f4b71Sopenharmony_ci**Value:** usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED 338e41f4b71Sopenharmony_ci 339e41f4b71Sopenharmony_ci 340e41f4b71Sopenharmony_ci### COMMON_EVENT_SET_PRIMARY_SLOT_STATUS<sup>11+</sup> 341e41f4b71Sopenharmony_ci 342e41f4b71Sopenharmony_ciIndicates that the status of the action for setting the primary SIM card changes. 343e41f4b71Sopenharmony_ci 344e41f4b71Sopenharmony_ciWhen the status of the action for setting the primary SIM card changes (for example, when the status is updated to executing or completed), the event notification service is triggered to publish this event. 345e41f4b71Sopenharmony_ci 346e41f4b71Sopenharmony_ci**System API**: This is a system API. 347e41f4b71Sopenharmony_ci 348e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 349e41f4b71Sopenharmony_ci 350e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 351e41f4b71Sopenharmony_ci 352e41f4b71Sopenharmony_ci**Value:** usual.event.SET_PRIMARY_SLOT_STATUS 353e41f4b71Sopenharmony_ci 354e41f4b71Sopenharmony_ci 355e41f4b71Sopenharmony_ci### COMMON_EVENT_PRIMARY_SLOT_ROAMING<sup>11+</sup> 356e41f4b71Sopenharmony_ci 357e41f4b71Sopenharmony_ciIndicates that the roaming status of the default primary SIM card is updated. 358e41f4b71Sopenharmony_ci 359e41f4b71Sopenharmony_ciWhen the roaming status of the default primary SIM card changes, the event notification service is triggered to publish this event. 360e41f4b71Sopenharmony_ci 361e41f4b71Sopenharmony_ci**System API**: This is a system API. 362e41f4b71Sopenharmony_ci 363e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 364e41f4b71Sopenharmony_ci 365e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 366e41f4b71Sopenharmony_ci 367e41f4b71Sopenharmony_ci**Value:** usual.event.PRIMARY_SLOT_ROAMING 368e41f4b71Sopenharmony_ci 369e41f4b71Sopenharmony_ci 370e41f4b71Sopenharmony_ci### COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED<sup>10+</sup> 371e41f4b71Sopenharmony_ci 372e41f4b71Sopenharmony_ciIndicates that the default primary SIM card for the data service has been updated. 373e41f4b71Sopenharmony_ci 374e41f4b71Sopenharmony_ciWhen the default primary SIM card for the voice service is updated, the event notification service is triggered to publish this event. 375e41f4b71Sopenharmony_ci 376e41f4b71Sopenharmony_ci**System API**: This is a system API. 377e41f4b71Sopenharmony_ci 378e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 379e41f4b71Sopenharmony_ci 380e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 381e41f4b71Sopenharmony_ci 382e41f4b71Sopenharmony_ci**Value:** usual.event.DEFAULT_VOICE_SUBSCRIPTION_CHANGED 383e41f4b71Sopenharmony_ci 384e41f4b71Sopenharmony_ci 385e41f4b71Sopenharmony_ci### COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED<sup>10+</sup> 386e41f4b71Sopenharmony_ci 387e41f4b71Sopenharmony_ciIndicates that the cellular data status has been updated. 388e41f4b71Sopenharmony_ci 389e41f4b71Sopenharmony_ciWhen the cellular data status of the device is updated, the event notification service is triggered to publish this event. 390e41f4b71Sopenharmony_ci 391e41f4b71Sopenharmony_ci**System API**: This is a system API. 392e41f4b71Sopenharmony_ci 393e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 394e41f4b71Sopenharmony_ci 395e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 396e41f4b71Sopenharmony_ci 397e41f4b71Sopenharmony_ci**Value:** usual.event.CELLULAR_DATA_STATE_CHANGED 398e41f4b71Sopenharmony_ci 399e41f4b71Sopenharmony_ci 400e41f4b71Sopenharmony_ci### COMMON_EVENT_INCOMING_CALL_MISSED<sup>10+</sup> 401e41f4b71Sopenharmony_ci 402e41f4b71Sopenharmony_ciIndicates that an incoming call is missed. 403e41f4b71Sopenharmony_ci 404e41f4b71Sopenharmony_ciWhen an incoming call is missed on the device, the event notification service is triggered to publish this event. 405e41f4b71Sopenharmony_ci 406e41f4b71Sopenharmony_ci**System API**: This is a system API. 407e41f4b71Sopenharmony_ci 408e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 409e41f4b71Sopenharmony_ci 410e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.GET_TELEPHONY_STATE (for system apps only) 411e41f4b71Sopenharmony_ci 412e41f4b71Sopenharmony_ci**Value:** usual.event.INCOMING_CALL_MISSED 413e41f4b71Sopenharmony_ci 414e41f4b71Sopenharmony_ci 415e41f4b71Sopenharmony_ci### COMMON_EVENT_RADIO_STATE_CHANGE<sup>10+</sup> 416e41f4b71Sopenharmony_ci 417e41f4b71Sopenharmony_ciIndicates that the radio status of the device has changed. 418e41f4b71Sopenharmony_ci 419e41f4b71Sopenharmony_ciWhen there is a change in the radio status of the device, the event notification service is triggered to publish this event. 420e41f4b71Sopenharmony_ci 421e41f4b71Sopenharmony_ci**System API**: This is a system API. 422e41f4b71Sopenharmony_ci 423e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 424e41f4b71Sopenharmony_ci 425e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 426e41f4b71Sopenharmony_ci 427e41f4b71Sopenharmony_ci**Value:** usual.event.RADIO_STATE_CHANGE 428e41f4b71Sopenharmony_ci 429e41f4b71Sopenharmony_ci 430e41f4b71Sopenharmony_ci### COMMON_EVENT_SPECIAL_CODE<sup>10+</sup> 431e41f4b71Sopenharmony_ci 432e41f4b71Sopenharmony_ciIndicates that a secret code is sent successfully. 433e41f4b71Sopenharmony_ci 434e41f4b71Sopenharmony_ciWhen a secret code is successfully sent on the device, the event notification service is triggered to publish this event. 435e41f4b71Sopenharmony_ci 436e41f4b71Sopenharmony_ci**System API**: This is a system API. 437e41f4b71Sopenharmony_ci 438e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 439e41f4b71Sopenharmony_ci 440e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 441e41f4b71Sopenharmony_ci 442e41f4b71Sopenharmony_ci**Value:** usual.event.DIALER_SPECIAL_CODE 443e41f4b71Sopenharmony_ci 444e41f4b71Sopenharmony_ci 445e41f4b71Sopenharmony_ci### COMMON_EVENT_AUDIO_QUALITY_CHANGE<sup>10+</sup> 446e41f4b71Sopenharmony_ci 447e41f4b71Sopenharmony_ciIndicates that the audio quality has changed. 448e41f4b71Sopenharmony_ci 449e41f4b71Sopenharmony_ciWhen there is a change in the audio quality of the device, the event notification service is triggered to publish this event. 450e41f4b71Sopenharmony_ci 451e41f4b71Sopenharmony_ci**System API**: This is a system API. 452e41f4b71Sopenharmony_ci 453e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 454e41f4b71Sopenharmony_ci 455e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 456e41f4b71Sopenharmony_ci 457e41f4b71Sopenharmony_ci**Value:** usual.event.AUDIO_QUALITY_CHANGE 458e41f4b71Sopenharmony_ci 459e41f4b71Sopenharmony_ci 460e41f4b71Sopenharmony_ci 461e41f4b71Sopenharmony_ci 462e41f4b71Sopenharmony_ci## Reserved Common Event 463e41f4b71Sopenharmony_ci 464e41f4b71Sopenharmony_ciBelow are reserved common events that are not supported yet. 465e41f4b71Sopenharmony_ci 466e41f4b71Sopenharmony_ci### COMMON_EVENT_STK_COMMAND<sup>10+</sup> 467e41f4b71Sopenharmony_ci 468e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that an STK command is sent. 469e41f4b71Sopenharmony_ci 470e41f4b71Sopenharmony_ciWhen an STK command is sent, the event notification service is triggered to publish this event. 471e41f4b71Sopenharmony_ci 472e41f4b71Sopenharmony_ci**System API**: This is a system API. 473e41f4b71Sopenharmony_ci 474e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 475e41f4b71Sopenharmony_ci 476e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 477e41f4b71Sopenharmony_ci 478e41f4b71Sopenharmony_ci**Value:** usual.event.STK_COMMAND 479e41f4b71Sopenharmony_ci 480e41f4b71Sopenharmony_ci 481e41f4b71Sopenharmony_ci### COMMON_EVENT_STK_SESSION_END<sup>10+</sup> 482e41f4b71Sopenharmony_ci 483e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that an STK session has ended. 484e41f4b71Sopenharmony_ci 485e41f4b71Sopenharmony_ciWhen an STK session ends, the event notification service is triggered to publish this event. 486e41f4b71Sopenharmony_ci 487e41f4b71Sopenharmony_ci**System API**: This is a system API. 488e41f4b71Sopenharmony_ci 489e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 490e41f4b71Sopenharmony_ci 491e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 492e41f4b71Sopenharmony_ci 493e41f4b71Sopenharmony_ci**Value:** usual.event.STK_SESSION_END 494e41f4b71Sopenharmony_ci 495e41f4b71Sopenharmony_ci 496e41f4b71Sopenharmony_ci### COMMON_EVENT_STK_CARD_STATE_CHANGED<sup>10+</sup> 497e41f4b71Sopenharmony_ci 498e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that the STK card status has been updated. 499e41f4b71Sopenharmony_ci 500e41f4b71Sopenharmony_ciWhen the STK card status is updated, the event notification service is triggered to publish this event. 501e41f4b71Sopenharmony_ci 502e41f4b71Sopenharmony_ci**System API**: This is a system API. 503e41f4b71Sopenharmony_ci 504e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 505e41f4b71Sopenharmony_ci 506e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 507e41f4b71Sopenharmony_ci 508e41f4b71Sopenharmony_ci 509e41f4b71Sopenharmony_ci**Value:** usual.event.STK_CARD_STATE_CHANGED 510e41f4b71Sopenharmony_ci 511e41f4b71Sopenharmony_ci### COMMON_EVENT_STK_ALPHA_IDENTIFIER<sup>10+</sup> 512e41f4b71Sopenharmony_ci 513e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that an STK Alpha identifier is sent. 514e41f4b71Sopenharmony_ci 515e41f4b71Sopenharmony_ciWhen an STK Alpha identifier is sent, the event notification service is triggered to publish this event. 516e41f4b71Sopenharmony_ci 517e41f4b71Sopenharmony_ci**System API**: This is a system API. 518e41f4b71Sopenharmony_ci 519e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 520e41f4b71Sopenharmony_ci 521e41f4b71Sopenharmony_ci**Required subscriber permissions:** none 522e41f4b71Sopenharmony_ci 523e41f4b71Sopenharmony_ci**Value:** usual.event.STK_ALPHA_IDENTIFIER 524e41f4b71Sopenharmony_ci 525e41f4b71Sopenharmony_ci 526e41f4b71Sopenharmony_ci### COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED<sup>10+</sup> 527e41f4b71Sopenharmony_ci 528e41f4b71Sopenharmony_ci(Reserved, not supported yet) Indicates that a WAP push message is received. 529e41f4b71Sopenharmony_ci 530e41f4b71Sopenharmony_ciWhen the device receives a WAP push message, the event notification service is triggered to publish this event. 531e41f4b71Sopenharmony_ci 532e41f4b71Sopenharmony_ci**System API**: This is a system API. 533e41f4b71Sopenharmony_ci 534e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 535e41f4b71Sopenharmony_ci 536e41f4b71Sopenharmony_ci**Required subscriber permissions:** ohos.permission.RECEIVE_SMS (for system apps only) 537e41f4b71Sopenharmony_ci 538e41f4b71Sopenharmony_ci**Value:** usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED 539