Searched refs:GET_NETWORK_INFO (Results 1 – 12 of 12) sorted by relevance
/base/telephony/core_service/utils/common/include/ |
D | telephony_permission.h | 35 static constexpr const char *GET_NETWORK_INFO = "ohos.permission.GET_NETWORK_INFO"; variable
|
/base/telephony/cellular_data/ |
D | README_zh.md | 56 …abled(callback: AsyncCallback\<boolean>): void; | 获取蜂窝数据开关是否打开 | ohos.permission.GET_NETWORK_INFO | 57 …k: AsyncCallback\<DataConnectState>): void; | 获取蜂窝数据状态 | ohos.permission.GET_NETWORK_INFO |
|
D | README.md | 66 …boolean>): void; | Checks whether the cellular data is enabled | ohos.permission.GET_NETWORK_INFO | 67 …ctState>): void; | Obtains the cellular data status. | ohos.permission.GET_NETWORK_INFO |
|
/base/telephony/core_service/ |
D | README_zh.md | 97 …, csRadioTech: RadioTechnology}>): void; | 获取指定卡槽的当前接入技术 | ohos.permission.GET_NETWORK_INFO | 99 …: AsyncCallback\<NetworkState>): void; | 获取指定卡槽的网络状态 | ohos.permission.GET_NETWORK_INFO | 104 …ck: AsyncCallback\<boolean>): void; | 判断主卡Radio是否打开 | ohos.permission.GET_NETWORK_INFO | 105 …llback: AsyncCallback\<boolean>): void; | 判断指定卡槽位的Radio是否打开 | ohos.permission.GET_NETWORK_INFO |
|
D | README.md | 98 … access technology of the SIM card in the specified slot. | ohos.permission.GET_NETWORK_INFO | 100 …network status of the SIM card in the specified slot. | ohos.permission.GET_NETWORK_INFO | 105 …e radio service is enabled on the primary SIM card. | ohos.permission.GET_NETWORK_INFO | 106 …io service is enabled on the SIM card in the specified slot.| ohos.permission.GET_NETWORK_INFO |
|
/base/telephony/state_registry/ |
D | README_zh.md | 72 … | 网络状态变化事件 | ohos.permission.GET_NETWORK_INFO |
|
D | README.md | 61 …| Network status change event | ohos.permission.GET_NETWORK_INFO |
|
/base/telephony/cellular_data/services/src/ |
D | cellular_data_service.cpp | 128 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in IsCellularDataEnabled() 180 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in IsCellularDataRoamingEnabled()
|
/base/telephony/core_service/services/core/src/ |
D | core_service.cpp | 121 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in GetPsRadioTech() 134 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in GetCsRadioTech() 191 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in GetNetworkState() 218 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in GetRadioState()
|
/base/telephony/cellular_data/frameworks/js/napi/src/ |
D | napi_cellular_data.cpp | 38 static constexpr const char *GET_NETWORK_INFO = "ohos.permission.GET_NETWORK_INFO"; variable 215 asyncContext->errorCode, "IsCellularDataEnabled", GET_NETWORK_INFO); in IsCellularDataEnabledCallback() 558 asyncContext->errorCode, "isCellularDataRoamingEnabled", GET_NETWORK_INFO); in IsCellularDataRoamingEnabledCallback()
|
/base/telephony/state_registry/service/src/ |
D | telephony_state_registry_service.cpp | 356 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in CheckPermission()
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | napi_radio.cpp | 48 static constexpr const char *GET_NETWORK_INFO = "ohos.permission.GET_NETWORK_INFO"; variable 148 …::ConverErrorMessageWithPermissionForJs(asyncContext->errorCode, "getRadioTech", GET_NETWORK_INFO); in GetRadioTechCallback() 353 asyncContext->errorCode, "getNetworkState", GET_NETWORK_INFO); in GetNetworkStateCallback() 990 …til::ConverErrorMessageWithPermissionForJs(asyncContext->errorCode, "isRadioOn", GET_NETWORK_INFO); in IsRadioOnCallback()
|