Lines Matching refs:response
223 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument
284 static int parse_technology_response(const char *response, int *current, int32_t *preferred);
364 static int parseSimResponseLine(char* line, RIL_SIM_IO_Response* response) { in parseSimResponseLine() argument
369 err = at_tok_nextint(&line, &response->sw1); in parseSimResponseLine()
371 err = at_tok_nextint(&line, &response->sw2); in parseSimResponseLine()
375 err = at_tok_nextstr(&line, &response->simResponse); in parseSimResponseLine()
430 static void parseAuthResponse(char* line, RIL_SIM_IO_Response* response) { in parseAuthResponse() argument
440 sscanf(line + (len -5), "%2x%2x", &(response->sw1), &(response->sw2)); in parseAuthResponse()
442 response->simResponse = strdup(data_ptr); in parseAuthResponse()
654 RIL_Data_Call_Response_v11 *response = responses; in requestOrSendDataCallList() local
663 err = at_tok_nextint(&line, &response->cid); in requestOrSendDataCallList()
667 err = at_tok_nextint(&line, &response->active); in requestOrSendDataCallList()
671 response++; in requestOrSendDataCallList()
872 int response = 0; in requestQueryNetworkSelectionMode() local
889 err = at_tok_nextint(&line, &response); in requestQueryNetworkSelectionMode()
895 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(int)); in requestQueryNetworkSelectionMode()
1129 int response[maxNumOfElements]; local
1131 memset(response, 0, sizeof(response));
1146 err = at_tok_nextint(&line, &(response[count]));
1153 response[i] = INT_MAX;
1156 RIL_onRequestComplete(t, RIL_E_SUCCESS, response, sizeof(response));
1297 int response[4]; local
1337 int response; local
1350 err = at_tok_nextint(&line, &response);
1354 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1398 int response[5]; local
1467 static int parseRegistrationState(char *str, int *type, int *items, int **response) argument
1566 if (response)
1567 *response = resp;
1700 char *response[3]; local
1702 memset(response, 0, sizeof(response));
1733 response[i] = NULL;
1742 response[i] = NULL;
1746 err = at_tok_nextstr(&line, &(response[i]));
1749 if (strlen(response[i]) == 6) {
1750 if (sscanf(response[i], "%3d%3d", &s_mcc, &s_mnc) != 2) {
1761 RIL_onRequestComplete(t, RIL_E_SUCCESS, response, sizeof(response));
1774 RIL_SMS_Response response; local
1799 memset(&response, 0, sizeof(response));
1800 response.messageRef = 1;
1801 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1806 response.messageRef = -1;
1807 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
1817 RIL_SMS_Response response; local
1825 memset(&response, 0, sizeof(response));
1852 response.messageRef = 1;
1853 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1858 response.messageRef = -2;
1859 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, &response, sizeof(response));
1864 response.messageRef = -1;
1865 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
1873 RIL_SMS_Response response; local
1875 memset(&response, 0, sizeof(response));
1906 response.messageRef = -2;
1907 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, &response, sizeof(response));
1911 response.messageRef = -1;
1912 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
3476 int parse_technology_response( const char *response, int *current, int32_t *preferred ) argument
3484 line = p = strdup(response);
3556 ATResponse *response = NULL; local
3561 err = at_send_command_singleline("AT+CTEC?", "+CTEC:", &response);
3562 if (!err && response->success) {
3563 res = parse_technology_response(response->p_intermediates->line, current, preferred);
3564 at_response_free(response);
3567 …"Error executing command: %d. response: %p. status: %d", err, response, response? response->succes…
3568 at_response_free(response);
3574 ATResponse *response; local
3596 ATResponse *response; local
3613 err = at_send_command_singleline("AT+WNAM","+WNAM:", &response);
3614 if (!err && response->success) {
3615 at_response_free(response);
3622 if (!err) at_response_free(response);
3754 char *response; local
3759 err = at_tok_nextstr(&p, &response);
3766 response, strlen(response) + 1);