Home
last modified time | relevance | path

Searched refs:isRadioOn (Results 1 – 9 of 9) sorted by relevance

/base/telephony/core_service/frameworks/js/network_search/src/
Dget_radio_state_callback.cpp34 asyncContext_->isRadioOn = isOn; in OnGetRadioStateCallback()
Dnapi_radio.cpp1094 napi_get_boolean(env, asyncContext->isRadioOn, &callbackValue); in IsRadioOnCallback()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test_callback_stub.cpp146 void NetworkSearchTestCallbackStub::OnGetRadioStateCallback(const bool isRadioOn, const int32_t err… in OnGetRadioStateCallback() argument
149 "isRadioOn:%{public}d, error:%{public}d", isRadioOn, errorCode); in OnGetRadioStateCallback()
150 getRadioStateResult_ = isRadioOn; in OnGetRadioStateCallback()
Dnetwork_search_test_callback_stub.h49 void OnGetRadioStateCallback(const bool isRadioOn, const int32_t errorCode) override;
Dnetwork_search_test.cpp1315 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
1316 … TELEPHONY_LOGI("GetRadioState_0100 GetRadioStateCallbackResult isRadioOn: %{public}d", isRadioOn);
1317 ASSERT_FALSE(isRadioOn);
1346 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
1347 … TELEPHONY_LOGI("GetRadioState_0200 GetRadioStateCallbackResult isRadioOn: %{public}d", isRadioOn);
1348 ASSERT_TRUE(isRadioOn);
1377 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
1378 … TELEPHONY_LOGI("GetRadioState_0300 GetRadioStateCallbackResult isRadioOn: %{public}d", isRadioOn);
1379 ASSERT_FALSE(isRadioOn);
1408 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
[all …]
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.radio.d.ts867 function isRadioOn(slotId: number, callback: AsyncCallback<boolean>): void;
885 function isRadioOn(slotId?: number): Promise<boolean>;
902 function isRadioOn(callback: AsyncCallback<boolean>): void;
/base/telephony/core_service/frameworks/js/network_search/include/
Dnapi_radio.h205 bool isRadioOn = false; member
/base/telephony/core_service/
DREADME_zh.md105 | function isRadioOn(callback: AsyncCallback\<boolean>): void; | 判断主卡Radio是否打开 | ohos.permi…
106 | function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void; | 判断指定卡槽位的Radio是否打开 …
DREADME.md106 | function isRadioOn(callback: AsyncCallback\<boolean>): void; | Checks whether the radio service i…
107 | function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void; | Checks whether the…