Lines Matching refs:responseStr

1544     char * responseStr;  local
1554 err = at_tok_nextstr(&line, &responseStr);
1555 if (err < 0 || !responseStr) goto error;
1556 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, strlen(responseStr));
1568 char * responseStr; local
1578 responseStr = strdup("1.0.0.0");
1579 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, sizeof(responseStr));
1580 free(responseStr);
1588 char * responseStr[4]; local
1604 responseStr[0] = p_response->p_intermediates->line;
1605 responseStr[1] = "";
1606 responseStr[2] = "77777777";
1607 responseStr[3] = ""; // default empty for non-CDMA
1610 strncpy(meid, responseStr[0], sizeof(meid));
1611 responseStr[3] = meid;
1614 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1688 char * responseStr[5]; local
1698 responseStr[0] = "8587777777"; // MDN
1699 responseStr[1] = "1"; // SID
1700 responseStr[2] = "1"; // NID
1701 responseStr[3] = "8587777777"; // MIN
1702 responseStr[4] = "1"; // PRL Version
1703 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1917 char **responseStr = NULL; local
1952 responseStr = malloc(numElements * sizeof(char *));
1953 if (!responseStr) goto error;
1954 memset(responseStr, 0, numElements * sizeof(char *));
1965 asprintf(&responseStr[3], "8"); // EvDo revA
1966 asprintf(&responseStr[4], "1"); // BSID
1967 asprintf(&responseStr[5], "123"); // Latitude
1968 asprintf(&responseStr[6], "222"); // Longitude
1969 asprintf(&responseStr[7], "0"); // CSS Indicator
1970 asprintf(&responseStr[8], "4"); // SID
1971 asprintf(&responseStr[9], "65535"); // NID
1972 asprintf(&responseStr[10], "0"); // Roaming indicator
1973 asprintf(&responseStr[11], "1"); // System is in PRL
1974 asprintf(&responseStr[12], "0"); // Default Roaming indicator
1975 asprintf(&responseStr[13], "0"); // Reason for denial
1976 asprintf(&responseStr[14], "0"); // Primary Scrambling Code of Current cell
1978 asprintf(&responseStr[3], "8"); // Available data radio technology
1984 asprintf(&responseStr[1], "%x", registration[1]);
1987 asprintf(&responseStr[2], "%x", registration[2]);
1990 asprintf(&responseStr[3], "%d", mapNetworkRegistrationResponse(registration[3]));
1993 asprintf(&responseStr[0], "%d", registration[0]);
2003 asprintf(&responseStr[11], "%d", s_mcc);
2004 asprintf(&responseStr[12], "%d", s_mnc);
2006 asprintf(&responseStr[13], "%03d%02d", s_mcc, s_mnc);
2008 asprintf(&responseStr[13], "%03d%03d", s_mcc, s_mnc);
2011 asprintf(&responseStr[15], "%d", s_mcc);
2012 asprintf(&responseStr[16], "%d", s_mnc);
2014 asprintf(&responseStr[17], "%03d%02d", s_mcc, s_mnc);
2016 asprintf(&responseStr[17], "%03d%03d", s_mcc, s_mnc);
2022 if (!responseStr[i]) goto error;
2026 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
2028 free(responseStr[j]);
2029 responseStr[j] = NULL;
2031 free(responseStr);
2032 responseStr = NULL;
2037 if (responseStr) {
2039 free(responseStr[j]);
2040 responseStr[j] = NULL;
2042 free(responseStr);
2043 responseStr = NULL;