!1664 紧急号码category解析

Merge pull request !1664 from ASheLock/master
This commit is contained in:
openharmony_ci 2024-01-05 02:05:25 +00:00 committed by Gitee
commit da44c658a2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 26 additions and 2 deletions

View File

@ -3001,6 +3001,10 @@ napi_status InitEnumOperatorConfigKey(napi_env env, napi_value exports)
DECLARE_NAPI_STATIC_PROPERTY("KEY_OPL_CUST_STRING_ARRAY", GetNapiValue(env, "opl_cust_string_array")),
DECLARE_NAPI_STATIC_PROPERTY("KEY_EMERGENCY_CALL_STRING_ARRAY",
GetNapiValue(env, "emergency_call_string_array")),
DECLARE_NAPI_STATIC_PROPERTY("KEY_EMERGENCY_CALL_WITH_CARD_STRING_ARRAY",
GetNapiValue(env, "emergency_call_with_card_string_array")),
DECLARE_NAPI_STATIC_PROPERTY("KEY_EMERGENCY_CALL_NO_CARD_STRING_ARRAY",
GetNapiValue(env, "emergency_call_no_card_string_array")),
};
constexpr size_t arrSize = sizeof(desc) / sizeof(desc[0]);

View File

@ -24,7 +24,8 @@
namespace OHOS {
namespace Telephony {
const std::string BROADCAST_ARG_SLOT_ID = "slotId";
const std::string KEY_EMERGENCY_CALL_STRING_ARRAY = "emergency_call_string_array";
const std::string KEY_EMERGENCY_CALL_WITH_CARD_STRING_ARRAY = "emergency_call_with_card_string_array";
const std::string KEY_EMERGENCY_CALL_NO_CARD_STRING_ARRAY = "emergency_call_no_card_string_array";
const int32_t DEFAULT_CALL_WAITING_SERVICE_CLASS_CONFIG = 1;
const std::vector<std::string> IMS_CALL_DISCONNECT_REASONINFO_MAPPING_CONFIG = std::vector<std::string> {};
const int32_t CARRIER_NR_AVAILABILITY_NSA = 1;

View File

@ -3041,6 +3041,24 @@ declare namespace sim {
* @since 10
*/
KEY_BANDWIDTH_STRING_ARRAY = 'bandwidth_string_array',
/**
* Indicates the emergency call list for with card.
*
* @syscap SystemCapability.Telephony.CoreService
* @systemapi Hide this for inner system use.
* @since 12
*/
KEY_EMERGENCY_CALL_WITH_CARD_STRING_ARRAY = 'emergency_call_with_card_string_array',
/**
* Indicates the emergency call list for no card.
*
* @syscap SystemCapability.Telephony.CoreService
* @systemapi Hide this for inner system use.
* @since 12
*/
KEY_EMERGENCY_CALL_NO_CARD_STRING_ARRAY = 'emergency_call_no_card_string_array',
}
/**

View File

@ -17,7 +17,8 @@
"spn_display_condition_cust_int": 1,
"pnn_cust_string_array": [],
"opl_cust_string_array": [],
"emergency_call_string_array": [],
"emergency_call_with_card_string_array": [],
"emergency_call_no_card_string_array": [],
"bandwidth_source_use_modem_bool": true,
"uplink_bandwidth_nr_nsa_use_lte_value_bool": false,
"bandwidth_string_array": [],