Searched refs:isRadioOn (Results 1 – 9 of 9) sorted by relevance
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | get_radio_state_callback.cpp | 34 asyncContext_->isRadioOn = isOn; in OnGetRadioStateCallback()
|
D | napi_radio.cpp | 1094 napi_get_boolean(env, asyncContext->isRadioOn, &callbackValue); in IsRadioOnCallback()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | network_search_test_callback_stub.cpp | 146 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()
|
D | network_search_test_callback_stub.h | 49 void OnGetRadioStateCallback(const bool isRadioOn, const int32_t errorCode) override;
|
D | network_search_test.cpp | 1315 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.ts | 867 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/ |
D | napi_radio.h | 205 bool isRadioOn = false; member
|
/base/telephony/core_service/ |
D | README_zh.md | 105 | function isRadioOn(callback: AsyncCallback\<boolean>): void; | 判断主卡Radio是否打开 | ohos.permi… 106 | function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void; | 判断指定卡槽位的Radio是否打开 …
|
D | README.md | 106 | function isRadioOn(callback: AsyncCallback\<boolean>): void; | Checks whether the radio service i… 107 | function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void; | Checks whether the…
|