Lines Matching refs:responseStr
1296 char * responseStr; local
1306 err = at_tok_nextstr(&line, &responseStr);
1307 if (err < 0 || !responseStr) goto error;
1308 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, strlen(responseStr));
1320 char * responseStr; local
1330 responseStr = strdup("1.0.0.0");
1331 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, sizeof(responseStr));
1332 free(responseStr);
1340 char * responseStr[4]; local
1350 responseStr[0] = "----";
1351 responseStr[1] = "----";
1352 responseStr[2] = "77777777";
1353 responseStr[3] = ""; // default empty for non-CDMA
1361 responseStr[3] = p_response->p_intermediates->line;
1363 responseStr[0] = p_response->p_intermediates->line;
1367 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1441 char * responseStr[5]; local
1451 responseStr[0] = "8587777777"; // MDN
1452 responseStr[1] = "1"; // SID
1453 responseStr[2] = "1"; // NID
1454 responseStr[3] = "8587777777"; // MIN
1455 responseStr[4] = "1"; // PRL Version
1456 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1627 char **responseStr = NULL; local
1663 responseStr = malloc(numElements * sizeof(char *));
1664 if (!responseStr) goto error;
1665 memset(responseStr, 0, numElements * sizeof(char *));
1676 asprintf(&responseStr[3], "8"); // EvDo revA
1677 asprintf(&responseStr[4], "1"); // BSID
1678 asprintf(&responseStr[5], "123"); // Latitude
1679 asprintf(&responseStr[6], "222"); // Longitude
1680 asprintf(&responseStr[7], "0"); // CSS Indicator
1681 asprintf(&responseStr[8], "4"); // SID
1682 asprintf(&responseStr[9], "65535"); // NID
1683 asprintf(&responseStr[10], "0"); // Roaming indicator
1684 asprintf(&responseStr[11], "1"); // System is in PRL
1685 asprintf(&responseStr[12], "0"); // Default Roaming indicator
1686 asprintf(&responseStr[13], "0"); // Reason for denial
1687 asprintf(&responseStr[14], "0"); // Primary Scrambling Code of Current cell
1689 asprintf(&responseStr[3], "8"); // Available data radio technology
1694 asprintf(&responseStr[1], "%x", registration[1]);
1695 asprintf(&responseStr[2], "%x", registration[2]);
1697 asprintf(&responseStr[3], "%d", registration[3]);
1699 asprintf(&responseStr[0], "%d", registration[0]);
1712 if (!responseStr[i]) goto error;
1717 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
1719 free(responseStr[j]);
1720 responseStr[j] = NULL;
1722 free(responseStr);
1723 responseStr = NULL;
1728 if (responseStr) {
1730 free(responseStr[j]);
1731 responseStr[j] = NULL;
1733 free(responseStr);
1734 responseStr = NULL;