mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-27 02:00:45 +00:00
commit
c2f00d7a05
@ -109,6 +109,9 @@ bool CoreService::Init()
|
||||
TELEPHONY_LOGE("NetworkSearchManager init is failed!");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
TELEPHONY_LOGE("NetworkSearchManager calloc failed");
|
||||
return false;
|
||||
}
|
||||
CoreManagerInner::GetInstance().OnInit(networkSearchManager_, simManager_, telRilManager_);
|
||||
for (int32_t slotId = 0; slotId < SIM_SLOT_COUNT; slotId++) {
|
||||
|
@ -725,6 +725,7 @@ void TestGetNrSsbId()
|
||||
std::shared_ptr<NrSsbInformation> nrSsbInformation = std::make_shared<NrSsbInformation>();
|
||||
if (nrSsbInformation == nullptr) {
|
||||
TELEPHONY_LOGE("nrSsbInformation is null");
|
||||
return;
|
||||
}
|
||||
int32_t result = g_telephonyService->GetNrSsbIdInfo(InputSlotId(), nrSsbInformation);
|
||||
TELEPHONY_LOGI("TelephonyTestService::GetNrSsbIdInfo result:%{public}d", result);
|
||||
|
@ -88,6 +88,10 @@ void TelRilTest::ReStartTelephony()
|
||||
pid = atoi(buf);
|
||||
}
|
||||
}
|
||||
if (fp == nullptr) {
|
||||
TELEPHONY_LOGE("fp is null");
|
||||
return;
|
||||
}
|
||||
kill(pid, SIGKILL);
|
||||
pclose(fp);
|
||||
sleep(WAIT_TELEPHONY_RETART_TIME);
|
||||
|
Loading…
Reference in New Issue
Block a user