Lines Matching refs:line
470 static int callFromCLCCLine(char *line, RIL_Call *p_call) in callFromCLCCLine() argument
479 err = at_tok_start(&line); in callFromCLCCLine()
482 err = at_tok_nextint(&line, &(p_call->index)); in callFromCLCCLine()
485 err = at_tok_nextbool(&line, &(p_call->isMT)); in callFromCLCCLine()
488 err = at_tok_nextint(&line, &state); in callFromCLCCLine()
494 err = at_tok_nextint(&line, &mode); in callFromCLCCLine()
499 err = at_tok_nextbool(&line, &(p_call->isMpty)); in callFromCLCCLine()
502 if (at_tok_hasmore(&line)) { in callFromCLCCLine()
503 err = at_tok_nextstr(&line, &(p_call->number)); in callFromCLCCLine()
516 err = at_tok_nextint(&line, &p_call->toa); in callFromCLCCLine()
529 static int parseSimResponseLine(char* line, RIL_SIM_IO_Response* response) { in parseSimResponseLine() argument
532 err = at_tok_start(&line); in parseSimResponseLine()
534 err = at_tok_nextint(&line, &response->sw1); in parseSimResponseLine()
536 err = at_tok_nextint(&line, &response->sw2); in parseSimResponseLine()
539 if (at_tok_hasmore(&line)) { in parseSimResponseLine()
540 err = at_tok_nextstr(&line, &response->simResponse); in parseSimResponseLine()
875 char *line = p_cur->line; in requestOrSendDataCallList() local
877 err = at_tok_start(&line); in requestOrSendDataCallList()
881 err = at_tok_nextint(&line, &response->cid); in requestOrSendDataCallList()
885 err = at_tok_nextint(&line, &response->active); in requestOrSendDataCallList()
906 char *line = p_cur->line; in requestOrSendDataCallList() local
909 err = at_tok_start(&line); in requestOrSendDataCallList()
913 err = at_tok_nextint(&line, &ncid); in requestOrSendDataCallList()
929 err = at_tok_nextstr(&line, &out); in requestOrSendDataCallList()
938 err = at_tok_nextstr(&line, &out); in requestOrSendDataCallList()
946 err = at_tok_nextstr(&line, &out); in requestOrSendDataCallList()
1031 char *input = p_response->p_intermediates->line; in requestOrSendDataCallList()
1095 char *line; in requestQueryNetworkSelectionMode() local
1103 line = p_response->p_intermediates->line; in requestQueryNetworkSelectionMode()
1105 err = at_tok_start(&line); in requestQueryNetworkSelectionMode()
1111 err = at_tok_nextint(&line, &response); in requestQueryNetworkSelectionMode()
1182 err = callFromCLCCLine(p_cur->line, p_calls + countValidCalls);
1344 char *line; local
1361 line = p_response->p_intermediates->line;
1363 err = at_tok_start(&line);
1367 err = at_tok_nextint(&line, &(response[count]));
1469 if (!strstr( p_response->p_intermediates->line, "DONE") ) {
1471 int res = parse_technology_response(p_response->p_intermediates->line, ¤t, NULL);
1547 char *line; local
1551 line = p_response->p_intermediates->line;
1552 err = at_tok_start(&line);
1554 err = at_tok_nextstr(&line, &responseStr);
1572 char *line, *p; local
1592 char *line, *p; local
1604 responseStr[0] = p_response->p_intermediates->line;
1625 char *line = NULL; local
1635 line = p_response->p_intermediates->line;
1636 err = at_tok_start(&line);
1639 err = at_tok_nextint(&line, &response);
1692 char *line, *p; local
1711 char *line; local
1718 line = p_response->p_intermediates->line;
1720 res = at_tok_start(&line);
1723 res = at_tok_nextint(&line, &roaming_pref);
1737 char *line; local
1759 char *line = str, *p; local
1768 err = at_tok_start(&line);
1794 for (p = line ; *p != '\0' ;p++) {
1802 err = at_tok_nextint(&line, &resp[0]);
1807 err = at_tok_nextint(&line, &skip);
1809 err = at_tok_nextint(&line, &resp[0]);
1814 err = at_tok_nextint(&line, &resp[0]);
1816 err = at_tok_nexthexint(&line, &resp[1]);
1818 err = at_tok_nexthexint(&line, &resp[2]);
1822 err = at_tok_nextint(&line, &skip);
1824 err = at_tok_nextint(&line, &resp[0]);
1826 err = at_tok_nexthexint(&line, &resp[1]);
1828 err = at_tok_nexthexint(&line, &resp[2]);
1835 err = at_tok_nextint(&line, &skip);
1837 err = at_tok_nextint(&line, &resp[0]);
1839 err = at_tok_nexthexint(&line, &resp[1]);
1841 err = at_tok_nexthexint(&line, &resp[2]);
1843 err = at_tok_nextint(&line, &resp[3]);
1921 char *line; local
1948 line = p_response->p_intermediates->line;
1950 if (parseRegistrationState(line, &type, &count, ®istration)) goto error;
2078 char *line = p_cur->line; local
2080 err = at_tok_start(&line);
2083 err = at_tok_nextint(&line, &skip);
2088 if (!at_tok_hasmore(&line)) {
2093 err = at_tok_nextint(&line, &skip);
2097 if (!at_tok_hasmore(&line)) {
2102 err = at_tok_nextstr(&line, &(response[i]));
2219 char *line = p_response->p_intermediates->line; local
2221 err = at_tok_start(&line);
2224 err = at_tok_nextint(&line, &messageRef);
2301 char *line = NULL; local
2324 line = p_response->p_intermediates->line;
2326 if (at_tok_start(&line) < 0 || at_tok_nextint(&line, &len) < 0 ||
2327 at_tok_nextstr(&line, &(sr.simResponse)) < 0) {
2361 char *line = NULL; local
2383 line = p_response->p_intermediates->line;
2386 err = at_tok_start(&line);
2389 err = at_tok_nextint(&line, &skip);
2392 err = at_tok_nextstr(&line, &statusWord);
2414 if (sscanf(line, "%" SCNd32 "%c", &session_id, &complex) != 1) {
2415 ALOGE("Invalid AT response, expected integer, was '%s'", line);
2472 char *line = NULL; local
2495 line = p_response->p_intermediates->line;
2496 err = at_tok_start(&line);
2499 err = at_tok_nextint(&line, &len);
2502 err = at_tok_nextstr(&line, &(sr.simResponse));
2525 char *line = NULL; local
2596 line = p_response->p_intermediates->line;
2597 err = at_tok_start(&line);
2600 err = at_tok_nextint(&line, &status);
2607 err = at_tok_nextstr(&line, &kc);
2611 err = at_tok_nextstr(&line, &sres);
2633 err = at_tok_nextstr(&line, &ck);
2637 err = at_tok_nextstr(&line, &ik);
2641 err = at_tok_nextstr(&line, &resAuts);
2710 char *line = NULL; local
2740 line = p_response->p_intermediates->line;
2741 err = at_tok_start(&line);
2744 err = at_tok_nextint(&line, &len);
2747 err = at_tok_nextstr(&line, &(sr.simResponse));
3088 char *line; local
3115 line = p_response->p_intermediates->line;
3117 err = parseSimResponseLine(line, &sr);
3154 char *line = NULL; local
3164 line = p_response->p_intermediates->line;
3165 err = at_tok_start(&line);
3168 err = at_tok_nextstr(&line, &lock_type);
3171 err = at_tok_nextint(&line, &remain_times);
3486 char *line = NULL; local
3494 line = p_response->p_intermediates->line;
3495 err = at_tok_start(&line);
3498 at_tok_nextint(&line, &muteResponse);
3550 char *line = NULL; local
3563 line = p_response->p_intermediates->line;
3564 err = at_tok_start(&line);
3567 err = at_tok_nextint(&line, &skip);
3570 err = at_tok_nextint(&line, &response);
3589 char *line = NULL; local
3602 line = p_response->p_intermediates->line;
3603 err = at_tok_start(&line);
3606 err = at_tok_nextint(&line, &response[0]);
3609 err = at_tok_nextint(&line, &response[1]);
3640 static int forwardFromCCFCULine(char *line, RIL_CallForwardInfo *p_forward) { argument
3644 if (line == NULL || p_forward == NULL) {
3648 err = at_tok_start(&line);
3651 err = at_tok_nextint(&line, &(p_forward->status));
3654 err = at_tok_nextint(&line, &(p_forward->serviceClass));
3657 if (at_tok_hasmore(&line)) {
3659 err = at_tok_nextint(&line, &numberType);
3662 err = at_tok_nextint(&line, &p_forward->toa);
3665 err = at_tok_nextstr(&line, &(p_forward->number));
3670 if (at_tok_hasmore(&line)) {
3672 skipNextComma(&line);
3675 if (at_tok_hasmore(&line)) {
3676 err = at_tok_nextint(&line, &p_forward->timeSeconds);
3782 err = forwardFromCCFCULine(p_cur->line, forwardList[validCount]);
3804 char *line; local
3820 line = p_cur->line;
3821 err = at_tok_start(&line);
3824 err = at_tok_nextint(&line, &mode);
3827 err = at_tok_nextint(&line, &serviceClass);
3921 char *line = NULL; local
3954 line = p_response->p_intermediates->line;
3956 err = at_tok_start(&line);
3959 err = at_tok_nextint(&line, &status);
4029 char *line = p_response->p_intermediates->line; local
4030 err = at_tok_start(&line);
4033 err = at_tok_nextstr(&line, &decidata);
4107 char *line = NULL; local
4116 line = p_response->p_intermediates->line;
4117 err = at_tok_start(&line);
4120 err = at_tok_nextint(&line, &mode);
4123 err = at_tok_nextstr(&line, &serviceIds);
4126 err = at_tok_nextstr(&line, &codeSchemes);
4280 char *p = strstr(p_response->p_intermediates->line, "85");
4654 p_response->p_intermediates->line, sizeof(char *));
4667 p_response->p_intermediates->line, sizeof(char *));
4693 p_response->p_intermediates->line, sizeof(char *));
5330 cpinLine = p_response->p_intermediates->line;
5403 cpinLine = p_response->p_intermediates->line;
5456 snprintf(iccid, size, "%s", p_response->p_intermediates->line);
5633 char *line; local
5643 line = p_response->p_intermediates->line;
5645 err = at_tok_start(&line);
5648 err = at_tok_nextbool(&line, &ret);
5673 char *line, *p; local
5678 line = p = strdup(response);
5679 RLOGD("Response: %s", line);
5683 free(line);
5689 free(line);
5698 free(line);
5704 free(line);
5714 char *line; local
5720 line = p_response->p_intermediates->line;
5721 err = at_tok_start(&line);
5722 if (err || !at_tok_hasmore(&line))
5724 while (!at_tok_nextint(&line, &val)) {
5757 res = parse_technology_response(response->p_intermediates->line, current, preferred);
5770 char *line; local
6000 char *line = NULL, *p; local
6015 line = p = strdup(s);
6017 err = at_tok_start(&line);
6024 err = at_tok_nextint(&line, &(configs[i]));
6041 line = p = strdup(s);
6053 free(line);
6113 line = p = strdup(s);
6114 if (!line) {
6119 free(line);
6123 RLOGE("invalid +CCSS response: %s", line);
6124 free(line);
6130 free(line);
6134 line = p = strdup(s);
6135 if (!line) {
6140 free(line);
6144 RLOGE("invalid +WSOS response: %s", line);
6145 free(line);
6148 free(line);
6157 line = p = strdup(s);
6158 if (!line) {
6164 free(line);
6169 free(line);
6172 free(line);
6183 line = p = strdup(s);
6189 free(line);
6196 free(line);
6200 line = p = strdup(s);
6201 if (!line) {
6207 free(line);
6214 free(line);
6227 free(line);
6230 line = p = strdup(s);
6231 if (!line) {
6237 free(line);
6262 free(line);
6265 line = p = strdup(s);
6266 if (!line) {
6272 free(line);
6296 free(line);