Searched refs:pResponse (Results 1 – 5 of 5) sorted by relevance
/base/telephony/ril_adapter/services/vendor/src/ |
D | at_sim.c | 31 ResponseInfo *pResponse = NULL; in GetSimType() local 33 ret = SendCommandLock("AT^CARDMODE", "^CARDMODE:", 0, &pResponse); in GetSimType() 34 if (ret != 0 || pResponse == NULL || !pResponse->success) { in GetSimType() 38 if (pResponse->head) { in GetSimType() 39 pLine = pResponse->head->data; in GetSimType() 49 FreeResponseInfo(pResponse); in GetSimType() 53 static int32_t GetSimState(char *pLine, char *pResult, ResponseInfo *pResponse) in GetSimState() argument 75 } else if (!ReportStrWith(pResponse->result, "+CME ERROR:")) { in GetSimState() 176 ResponseInfo *pResponse = NULL; in ReqGetSimStatus() local 184 ret = SendCommandLock("AT+CPIN?", "+CPIN:", 0, &pResponse); in ReqGetSimStatus() [all …]
|
D | at_call.c | 38 …oid OnCallReportErrorMessages(const ReqDataInfo *requestInfo, int32_t err, ResponseInfo *pResponse) in OnCallReportErrorMessages() argument 41 ModemReportErrorInfo errInfo = GetReportErrorInfo(pResponse); in OnCallReportErrorMessages() 44 FreeResponseInfo(pResponse); in OnCallReportErrorMessages() 279 static int32_t InitCallListCmdBuffer(const ResponseInfo *pResponse, int32_t *callNum, HRilCallInfo … in InitCallListCmdBuffer() argument 286 if (pResponse == NULL || pCalls == NULL || callNum == NULL) { in InitCallListCmdBuffer() 287 TELEPHONY_LOGE("params: %{public}p,%{public}p,%{public}p", pResponse, callNum, pCalls); in InitCallListCmdBuffer() 294 for (pLine = pResponse->head; pLine != NULL; pLine = pLine->next) { in InitCallListCmdBuffer() 330 ResponseInfo *pResponse = response; in BuildCallInfoList() local 333 if (pResponse == NULL || requestInfo == NULL) { in BuildCallInfoList() 337 if (pResponse->success == 0) { in BuildCallInfoList() [all …]
|
D | at_data.c | 75 …2_t OnDataReportErrorMessages(const ReqDataInfo *requestInfo, int32_t err, ResponseInfo *pResponse) in OnDataReportErrorMessages() argument 80 ModemReportErrorInfo errInfo = GetReportErrorInfo(pResponse); in OnDataReportErrorMessages() 89 FreeResponseInfo(pResponse); in OnDataReportErrorMessages() 103 … OnDataReportPdpErrorMessages(const ReqDataInfo *requestInfo, int32_t err, ResponseInfo *pResponse) in OnDataReportPdpErrorMessages() argument 106 ModemReportErrorInfo errInfo = GetReportErrorInfo(pResponse); in OnDataReportPdpErrorMessages() 107 FreeResponseInfo(pResponse); in OnDataReportPdpErrorMessages() 183 ResponseInfo *pResponse = NULL; in SendInquireCGACT() local 186 ret = SendCommandLock("AT+CGACT?", "+CGACT:", 0, &pResponse); in SendInquireCGACT() 187 … if (ret != 0 || pResponse == NULL || !pResponse->success || outDataNum == NULL || ppDcr == NULL) { in SendInquireCGACT() 188 errInfo = GetReportErrorInfo(pResponse); in SendInquireCGACT() [all …]
|
D | vendor_adapter.c | 200 ResponseInfo *pResponse = NULL; in SetRadioState() local 224 int32_t err = SendCommandLock(cmd, NULL, timeOut, &pResponse); in SetRadioState() 225 if (err != 0 || pResponse == NULL || !pResponse->success) { in SetRadioState() 227 FreeResponseInfo(pResponse); in SetRadioState() 232 FreeResponseInfo(pResponse); in SetRadioState() 264 ResponseInfo *pResponse = NULL; in ModemInit() local 265 int32_t err = SendCommandLock("ATE0Q0V1", NULL, 0, &pResponse); in ModemInit() 266 if (err != 0 || pResponse == NULL || !pResponse->success) { in ModemInit() 269 FreeResponseInfo(pResponse); in ModemInit() 271 err = SendCommandLock("AT+CREG=2", NULL, 0, &pResponse); in ModemInit() [all …]
|
D | at_modem.c | 84 static void ErrorHandler(const ReqDataInfo *requestInfo, ResponseInfo *pResponse) in ErrorHandler() argument 92 FreeResponseInfo(pResponse); in ErrorHandler() 103 ResponseInfo *pResponse = NULL; in ReqGetRadioState() local 106 int32_t ret = SendCommandLock("AT+CFUN?", "+CFUN", timeOut, &pResponse); in ReqGetRadioState() 107 if (ret != 0 || pResponse == NULL || !pResponse->success) { in ReqGetRadioState() 109 return ErrorHandler(requestInfo, pResponse); in ReqGetRadioState() 111 if (pResponse->head != NULL) { in ReqGetRadioState() 112 pLine = pResponse->head->data; in ReqGetRadioState() 117 return ErrorHandler(requestInfo, pResponse); in ReqGetRadioState() 121 return ErrorHandler(requestInfo, pResponse); in ReqGetRadioState() [all …]
|