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