{
NetworkInfo* pNetworkInfo = dynamic_cast<NetworkInfo*>(pDescNetworkInfoList->GetAt(i));
SysTryCatch(NID_TEL, pNetworkInfo != null, , E_SYSTEM, "[%s] A system error has occured. Failed on dynamic casting", GetErrorMessage(E_SYSTEM));
- SysLog(NID_TEL, "The cellid is %d, lac is %d, mcc is %d, mnc is %d, operator name is %ls, and plmn is %ls"
+ SysSecureLog(NID_TEL, "The cellid is %d, lac is %d, mcc is %d, mnc is %d, operator name is %ls, and plmn is %ls"
, pNetworkInfo->GetCellId(), pNetworkInfo->GetLac(), pNetworkInfo->GetMcc(), pNetworkInfo->GetMnc(), pNetworkInfo->GetOperatorName().GetPointer(), pNetworkInfo->GetPlmn().GetPointer());
}
"[%s] The operation failed because the SIM card is not ready.", GetErrorMessage(E_DEVICE_UNAVAILABLE));
err = sim_get_icc_id(&pIccId);
- SysLog(NID_TEL, "The return value of sim_get_icc_id() is [0x%x] and the iccid value is [%s]", err, pIccId);
+ SysSecureLog(NID_TEL, "The return value of sim_get_icc_id() is [0x%x] and the iccid value is [%s]", err, pIccId);
SysTryReturn(NID_TEL, err == SIM_ERROR_NONE, iccId, E_DEVICE_UNAVAILABLE,
"[%s] The operation failed.", GetErrorMessage(E_DEVICE_UNAVAILABLE));
"[%s] The operation failed because the SIM card is not ready.", GetErrorMessage(E_DEVICE_UNAVAILABLE));
err = sim_get_cphs_operator_name(&pFullName, &pShortName);
- SysLog(NID_TEL, "The return value of sim_get_cphs_operator_name() is [0x%x]. full[%s] short[%s]", err, pFullName, pShortName);
+ SysSecureLog(NID_TEL, "The return value of sim_get_cphs_operator_name() is [0x%x]. full[%s] short[%s]", err, pFullName, pShortName);
SysTryReturn(NID_TEL, err == SIM_ERROR_NONE, operatorName, E_DEVICE_UNAVAILABLE,
"[%s] The operation failed.", GetErrorMessage(E_DEVICE_UNAVAILABLE));
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
- SysLog(NID_TEL, "The Telephony Imsi obtained through IPC is %ls.", imsi.GetPointer());
+ SysSecureLog(NID_TEL, "The Telephony Imsi obtained through IPC is %ls.", imsi.GetPointer());
return E_SUCCESS;
}