Lines Matching refs:responseStr
1254 char * responseStr; local
1264 err = at_tok_nextstr(&line, &responseStr);
1265 if (err < 0 || !responseStr) goto error;
1266 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, strlen(responseStr));
1278 char * responseStr; local
1288 responseStr = strdup("1.0.0.0");
1289 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, sizeof(responseStr));
1290 free(responseStr);
1298 char * responseStr[4]; local
1308 responseStr[0] = "----";
1309 responseStr[1] = "----";
1310 responseStr[2] = "77777777";
1311 responseStr[3] = ""; // default empty for non-CDMA
1319 responseStr[3] = p_response->p_intermediates->line;
1321 responseStr[0] = p_response->p_intermediates->line;
1325 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1399 char * responseStr[5]; local
1409 responseStr[0] = "8587777777"; // MDN
1410 responseStr[1] = "1"; // SID
1411 responseStr[2] = "1"; // NID
1412 responseStr[3] = "8587777777"; // MIN
1413 responseStr[4] = "1"; // PRL Version
1414 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1585 char **responseStr = NULL; local
1616 responseStr = malloc(numElements * sizeof(char *));
1617 if (!responseStr) goto error;
1618 memset(responseStr, 0, numElements * sizeof(char *));
1629 asprintf(&responseStr[3], "8"); // EvDo revA
1630 asprintf(&responseStr[4], "1"); // BSID
1631 asprintf(&responseStr[5], "123"); // Latitude
1632 asprintf(&responseStr[6], "222"); // Longitude
1633 asprintf(&responseStr[7], "0"); // CSS Indicator
1634 asprintf(&responseStr[8], "4"); // SID
1635 asprintf(&responseStr[9], "65535"); // NID
1636 asprintf(&responseStr[10], "0"); // Roaming indicator
1637 asprintf(&responseStr[11], "1"); // System is in PRL
1638 asprintf(&responseStr[12], "0"); // Default Roaming indicator
1639 asprintf(&responseStr[13], "0"); // Reason for denial
1640 asprintf(&responseStr[14], "0"); // Primary Scrambling Code of Current cell
1642 asprintf(&responseStr[3], "8"); // Available data radio technology
1647 asprintf(&responseStr[1], "%x", registration[1]);
1648 asprintf(&responseStr[2], "%x", registration[2]);
1650 asprintf(&responseStr[3], "%d", registration[3]);
1652 asprintf(&responseStr[0], "%d", registration[0]);
1665 if (!responseStr[i]) goto error;
1670 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
1672 free(responseStr[j]);
1673 responseStr[j] = NULL;
1675 free(responseStr);
1676 responseStr = NULL;
1681 if (responseStr) {
1683 free(responseStr[j]);
1684 responseStr[j] = NULL;
1686 free(responseStr);
1687 responseStr = NULL;