Lines Matching refs:cid
411 int cid; member
756 static void requestOrSendDataCallList(int cid, RIL_Token *t);
830 static void requestOrSendDataCallList(int cid, RIL_Token *t) in requestOrSendDataCallList() argument
861 responses[i].cid = -1; in requestOrSendDataCallList()
881 err = at_tok_nextint(&line, &response->cid); in requestOrSendDataCallList()
917 if (cid != ncid) in requestOrSendDataCallList()
1007 if (cid == -1) { in requestOrSendDataCallList()
1023 snprintf(cmd, sizeof(cmd), "AT+CGCONTRDP=%d", cid); in requestOrSendDataCallList()
1040 if (cid != ncid) goto error; in requestOrSendDataCallList()
2768 ret = s_PDP[i].cid;
2775 static void putPDP(int cid) { argument
2776 if (cid < 1 || cid > MAX_PDP ) {
2780 s_PDP[cid - 1].state = PDP_IDLE;
2788 int cid = -1; local
2875 cid = getPDP();
2876 if (cid < 1) {
2881 response.cid = cid;
2895 asprintf(&cmd, "AT+CGDCONT=%d,\"%s\",\"%s\",,0,0", cid, pdp_type, apn);
2920 requestOrSendDataCallList(cid, &t);
2933 int cid = p_cid ? atoi(p_cid) : -1; local
2935 if (cid < 1 || cid > MAX_PDP) {
2943 putPDP(cid);
4366 if (kaRequest->cid > MAX_PDP) {