Lines Matching refs:response
210 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument
267 static int parse_technology_response(const char *response, int *current, int32_t *preferred);
347 static int parseSimResponseLine(char* line, RIL_SIM_IO_Response* response) { in parseSimResponseLine() argument
352 err = at_tok_nextint(&line, &response->sw1); in parseSimResponseLine()
354 err = at_tok_nextint(&line, &response->sw2); in parseSimResponseLine()
358 err = at_tok_nextstr(&line, &response->simResponse); in parseSimResponseLine()
622 RIL_Data_Call_Response_v11 *response = responses; in requestOrSendDataCallList() local
631 err = at_tok_nextint(&line, &response->cid); in requestOrSendDataCallList()
635 err = at_tok_nextint(&line, &response->active); in requestOrSendDataCallList()
639 response++; in requestOrSendDataCallList()
788 int response = 0; in requestQueryNetworkSelectionMode() local
805 err = at_tok_nextint(&line, &response); in requestQueryNetworkSelectionMode()
811 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(int)); in requestQueryNetworkSelectionMode()
1045 int response[maxNumOfElements]; local
1047 memset(response, 0, sizeof(response));
1062 err = at_tok_nextint(&line, &(response[count]));
1066 RIL_onRequestComplete(t, RIL_E_SUCCESS, response, sizeof(response));
1207 int response[4]; local
1247 int response; local
1260 err = at_tok_nextint(&line, &response);
1264 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1308 int response[5]; local
1377 static int parseRegistrationState(char *str, int *type, int *items, int **response) argument
1476 if (response)
1477 *response = resp;
1610 char *response[3]; local
1612 memset(response, 0, sizeof(response));
1643 response[i] = NULL;
1652 response[i] = NULL;
1656 err = at_tok_nextstr(&line, &(response[i]));
1659 if (strlen(response[i]) == 6) {
1660 if (sscanf(response[i], "%3d%3d", &s_mcc, &s_mnc) != 2) {
1671 RIL_onRequestComplete(t, RIL_E_SUCCESS, response, sizeof(response));
1684 RIL_SMS_Response response; local
1709 memset(&response, 0, sizeof(response));
1710 response.messageRef = 1;
1711 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1716 response.messageRef = -1;
1717 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
1727 RIL_SMS_Response response; local
1735 memset(&response, 0, sizeof(response));
1762 response.messageRef = 1;
1763 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1768 response.messageRef = -2;
1769 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, &response, sizeof(response));
1774 response.messageRef = -1;
1775 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
1783 RIL_SMS_Response response; local
1785 memset(&response, 0, sizeof(response));
1816 response.messageRef = -2;
1817 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, &response, sizeof(response));
1821 response.messageRef = -1;
1822 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
3246 int parse_technology_response( const char *response, int *current, int32_t *preferred ) argument
3254 line = p = strdup(response);
3326 ATResponse *response = NULL; local
3331 err = at_send_command_singleline("AT+CTEC?", "+CTEC:", &response);
3332 if (!err && response->success) {
3333 res = parse_technology_response(response->p_intermediates->line, current, preferred);
3334 at_response_free(response);
3337 …"Error executing command: %d. response: %p. status: %d", err, response, response? response->succes…
3338 at_response_free(response);
3344 ATResponse *response; local
3366 ATResponse *response; local
3383 err = at_send_command_singleline("AT+WNAM","+WNAM:", &response);
3384 if (!err && response->success) {
3385 at_response_free(response);
3392 if (!err) at_response_free(response);
3524 char *response; local
3529 err = at_tok_nextstr(&p, &response);
3536 response, strlen(response) + 1);