Lines Matching full:responsestr
990 char * responseStr;
1000 err = at_tok_nextstr(&line, &responseStr);
1001 if (err < 0 || !responseStr) goto error;
1002 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, strlen(responseStr));
1014 char * responseStr;
1024 responseStr = strdup("1.0.0.0");
1025 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, sizeof(responseStr));
1026 free(responseStr);
1034 char * responseStr[4];
1044 responseStr[0] = "----";
1045 responseStr[1] = "----";
1046 responseStr[2] = "77777777";
1053 responseStr[3] = p_response->p_intermediates->line;
1056 responseStr, count*sizeof(char*));
1136 char * responseStr[5];
1146 responseStr[0] = "8587777777"; // MDN
1147 responseStr[1] = "1"; // SID
1148 responseStr[2] = "1"; // NID
1149 responseStr[3] = "8587777777"; // MIN
1150 responseStr[4] = "1"; // PRL Version
1151 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1327 char **responseStr = NULL;
1358 responseStr = malloc(numElements * sizeof(char *));
1359 if (!responseStr) goto error;
1360 memset(responseStr, 0, numElements * sizeof(char *));
1371 asprintf(&responseStr[3], "8"); // EvDo revA
1372 asprintf(&responseStr[4], "1"); // BSID
1373 asprintf(&responseStr[5], "123"); // Latitude
1374 asprintf(&responseStr[6], "222"); // Longitude
1375 asprintf(&responseStr[7], "0"); // CSS Indicator
1376 asprintf(&responseStr[8], "4"); // SID
1377 asprintf(&responseStr[9], "65535"); // NID
1378 asprintf(&responseStr[10], "0"); // Roaming indicator
1379 asprintf(&responseStr[11], "1"); // System is in PRL
1380 asprintf(&responseStr[12], "0"); // Default Roaming indicator
1381 asprintf(&responseStr[13], "0"); // Reason for denial
1382 asprintf(&responseStr[14], "0"); // Primary Scrambling Code of Current cell
1384 asprintf(&responseStr[3], "8"); // Available data radio technology
1389 asprintf(&responseStr[1], "%x", registration[1]);
1390 asprintf(&responseStr[2], "%x", registration[2]);
1392 asprintf(&responseStr[3], "%d", registration[3]);
1394 asprintf(&responseStr[0], "%d", registration[0]);
1402 // asprintf(&responseStr[4], "3");
1403 // asprintf(&responseStr[5], "1");
1407 if (!responseStr[i]) goto error;
1412 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
1414 free(responseStr[j]);
1415 responseStr[j] = NULL;
1417 free(responseStr);
1418 responseStr = NULL;
1423 if (responseStr) {
1425 free(responseStr[j]);
1426 responseStr[j] = NULL;
1428 free(responseStr);
1429 responseStr = NULL;