Home
last modified time | relevance | path

Searched refs:GET_NETWORK_INFO (Results 1 – 12 of 12) sorted by relevance

/base/telephony/core_service/utils/common/include/
Dtelephony_permission.h35 static constexpr const char *GET_NETWORK_INFO = "ohos.permission.GET_NETWORK_INFO"; variable
/base/telephony/cellular_data/
DREADME_zh.md56 …abled(callback: AsyncCallback\<boolean>): void; | 获取蜂窝数据开关是否打开 | ohos.permission.GET_NETWORK_INFO |
57 …k: AsyncCallback\<DataConnectState>): void; | 获取蜂窝数据状态 | ohos.permission.GET_NETWORK_INFO |
DREADME.md66 …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/
DREADME_zh.md97 …, 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 |
DREADME.md98 … 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/
DREADME_zh.md72 … | 网络状态变化事件 | ohos.permission.GET_NETWORK_INFO |
DREADME.md61 …| Network status change event | ohos.permission.GET_NETWORK_INFO |
/base/telephony/cellular_data/services/src/
Dcellular_data_service.cpp128 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/
Dcore_service.cpp121 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/
Dnapi_cellular_data.cpp38 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/
Dtelephony_state_registry_service.cpp356 if (!TelephonyPermission::CheckPermission(Permission::GET_NETWORK_INFO)) { in CheckPermission()
/base/telephony/core_service/frameworks/js/network_search/src/
Dnapi_radio.cpp48 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()