Home
last modified time | relevance | path

Searched refs:pLine (Results 1 – 6 of 6) sorted by relevance

/base/telephony/ril_adapter/services/vendor/src/
Dat_sim.c28 char *pLine = NULL; in GetSimType() local
39 pLine = pResponse->head->data; in GetSimType()
41 ret = SkipATPrefix(&pLine); in GetSimType()
45 ret = NextInt(&pLine, &simType); in GetSimType()
53 static int32_t GetSimState(char *pLine, char *pResult, ResponseInfo *pResponse) in GetSimState() argument
57 ret = SkipATPrefix(&pLine); in GetSimState()
61 ret = NextStr(&pLine, &pResult); in GetSimState()
81 static int32_t ParseSimResponseResult(char *pLine, HRilSimIOResponse *pSimResponse) in ParseSimResponseResult() argument
86 int32_t err = SkipATPrefix(&pLine); in ParseSimResponseResult()
90 err = NextInt(&pLine, &pSimResponse->sw1); in ParseSimResponseResult()
[all …]
Dat_data.c182 Line *pLine = NULL; in SendInquireCGACT() local
195 for (pLine = pResponse->head; pLine != NULL; pLine = pLine->next) { in SendInquireCGACT()
208 for (pLine = pResponse->head; pLine != NULL; pLine = pLine->next) { in SendInquireCGACT()
209 ret = ParsePdpCmd(pLine->data, pDataCall); in SendInquireCGACT()
230 Line *pLine = NULL; in BuildDataInfoList() local
236 for (pLine = pResponse->head; pLine != NULL; pLine = pLine->next) { in BuildDataInfoList()
241 ret = ParsePdpCmd(pLine->data, &dataCGDCONT); in BuildDataInfoList()
243 … TELEPHONY_LOGE("parser pdp command failed: [%{public}s],ret=%{public}d", pLine->data, ret); in BuildDataInfoList()
321 Line *pLine = NULL; in GetLinkInformation() local
340 pLine = pResponse->head; in GetLinkInformation()
[all …]
Dat_call.c50 static int32_t ParseDiffPart(int32_t isAllInfo, char **pLine, HRilCallInfo *outCall) in ParseDiffPart() argument
57 if (NextInt(pLine, &outCall->voiceDomain) < 0) { in ParseDiffPart()
60 if (NextInt(pLine, &outCall->callType) < 0) { in ParseDiffPart()
63 NextInt(pLine, &tmp); // ignore in ParseDiffPart()
73 char *pLine = (char *)lineCmd; in CallCmdCLCC() local
77 if (pLine == NULL || outCall == NULL) { in CallCmdCLCC()
81 int32_t isAllInfo = ReportStrWith(pLine, "^CLCC:"); in CallCmdCLCC()
82 if (SkipATPrefix(&pLine) < 0) { in CallCmdCLCC()
85 if (NextInt(&pLine, &outCall->index) < 0) { in CallCmdCLCC()
88 if (NextInt(&pLine, &outCall->dir) < 0) { in CallCmdCLCC()
[all …]
Dat_modem.c49 char *pLine = NULL; in GetResponseErrorCode() local
52 pLine = pResponseInfo->result; in GetResponseErrorCode()
53 SkipATPrefix(&pLine); in GetResponseErrorCode()
54 NextInt(&pLine, &ret); in GetResponseErrorCode()
101 char *pLine = NULL; in ReqGetRadioState() local
112 pLine = pResponse->head->data; in ReqGetRadioState()
115 ret = SkipATPrefix(&pLine); in ReqGetRadioState()
119 ret = NextInt(&pLine, &radioState); in ReqGetRadioState()
Dat_network.c71 char *pLine = NULL; in GetResponseErrorCode() local
74 pLine = pResponseInfo->result; in GetResponseErrorCode()
75 SkipATPrefix(&pLine); in GetResponseErrorCode()
76 NextInt(&pLine, &ret); in GetResponseErrorCode()
599 Line *pLine = responseInfo->head; in ReqGetOperatorInfo() local
600 for (int32_t i = 0; pLine != NULL; i++, pLine = pLine->next) { in ReqGetOperatorInfo()
602 result = pLine->data; in ReqGetOperatorInfo()
1142 Line *pLine = NULL; in ReqGetNeighboringCellInfoList() local
1158 for (countCellInfo = 0, pLine = responseInfo->head; pLine != NULL; pLine = pLine->next) { in ReqGetNeighboringCellInfoList()
1172 for (pLine = responseInfo->head; pLine != NULL; pLine = pLine->next) { in ReqGetNeighboringCellInfoList()
[all …]
Dat_sms.c83 char *pLine = NULL; in HandlerSmsResult() local
86 pLine = responseInfo->result; in HandlerSmsResult()
87 SkipATPrefix(&pLine); in HandlerSmsResult()
88 NextInt(&pLine, err); in HandlerSmsResult()