Home
last modified time | relevance | path

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

/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test_callback_stub.cpp124 void NetworkSearchTestCallbackStub::OnGetRadioStateCallback(const bool isRadioOn, const int32_t err… in OnGetRadioStateCallback() argument
127 "isRadioOn:%{public}d, error:%{public}d", isRadioOn, errorCode); in OnGetRadioStateCallback()
128 getRadioStateResult_ = isRadioOn; in OnGetRadioStateCallback()
Dnetwork_search_test_callback_stub.h45 void OnGetRadioStateCallback(const bool isRadioOn, const int32_t errorCode) override;
Dnetwork_search_test.cpp1313 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
1314 … TELEPHONY_LOGI("GetRadioState_0100 GetRadioStateCallbackResult isRadioOn: %{public}d", isRadioOn);
1315 ASSERT_FALSE(isRadioOn);
1344 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
1345 … TELEPHONY_LOGI("GetRadioState_0200 GetRadioStateCallbackResult isRadioOn: %{public}d", isRadioOn);
1346 ASSERT_TRUE(isRadioOn);
1375 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
1376 … TELEPHONY_LOGI("GetRadioState_0300 GetRadioStateCallbackResult isRadioOn: %{public}d", isRadioOn);
1377 ASSERT_FALSE(isRadioOn);
1406 bool isRadioOn = callback->GetRadioStateCallbackResult(); variable
[all …]
/base/telephony/core_service/frameworks/js/network_search/src/
Dget_radio_state_callback.cpp34 asyncContext_->isRadioOn = isOn; in OnGetRadioStateCallback()
Dnapi_radio.cpp983 napi_get_boolean(env, asyncContext->isRadioOn, &callbackValue); in IsRadioOnCallback()
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.radio.d.ts396 function isRadioOn(callback: AsyncCallback<boolean>): void;
397 function isRadioOn(slotId: number, callback: AsyncCallback<boolean>): void;
398 function isRadioOn(slotId?: number): Promise<boolean>;
/base/telephony/core_service/frameworks/js/network_search/include/
Dnapi_radio.h205 bool isRadioOn = false; member
/base/telephony/core_service/
DREADME_zh.md104 | function isRadioOn(callback: AsyncCallback\<boolean>): void; | 判断主卡Radio是否打开 | ohos.permi…
105 | function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void; | 判断指定卡槽位的Radio是否打开 …
DREADME.md105 | function isRadioOn(callback: AsyncCallback\<boolean>): void; | Checks whether the radio service i…
106 | function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void; | Checks whether the…