Home
last modified time | relevance | path

Searched refs:p_response (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c594 ATResponse *p_response = NULL; in requestRadioPower() local
600 err = at_send_command("AT+CFUN=0", &p_response); in requestRadioPower()
601 if (err < 0 || p_response->success == 0) goto error; in requestRadioPower()
604 err = at_send_command("AT+CFUN=1", &p_response); in requestRadioPower()
605 if (err < 0|| p_response->success == 0) { in requestRadioPower()
618 at_response_free(p_response); in requestRadioPower()
622 at_response_free(p_response); in requestRadioPower()
631 ATResponse *p_response = NULL; in requestShutdown() local
634 err = at_send_command("AT+CFUN=0", &p_response); in requestShutdown()
638 at_response_free(p_response); in requestShutdown()
[all …]
Datchannel.c624 void at_response_free(ATResponse *p_response) in at_response_free() argument
628 if (p_response == NULL) return; in at_response_free()
630 p_line = p_response->p_intermediates; in at_response_free()
642 free (p_response->finalResponse); in at_response_free()
643 free (p_response); in at_response_free()
650 static void reverseIntermediates(ATResponse *p_response) in reverseIntermediates() argument
654 pcur = p_response->p_intermediates; in reverseIntermediates()
655 p_response->p_intermediates = NULL; in reverseIntermediates()
659 pcur->p_next = p_response->p_intermediates; in reverseIntermediates()
660 p_response->p_intermediates = pcur; in reverseIntermediates()
[all …]
Datchannel.h110 void at_response_free(ATResponse *p_response);
118 AT_CME_Error at_get_cme_error(const ATResponse *p_response);
/device/generic/goldfish/radio/ril/
Dreference-ril.c502 ATResponse *p_response = NULL; in requestRadioPower() local
508 err = at_send_command("AT+CFUN=0", &p_response); in requestRadioPower()
509 if (err < 0 || p_response->success == 0) goto error; in requestRadioPower()
512 err = at_send_command("AT+CFUN=1", &p_response); in requestRadioPower()
513 if (err < 0|| p_response->success == 0) { in requestRadioPower()
526 at_response_free(p_response); in requestRadioPower()
530 at_response_free(p_response); in requestRadioPower()
539 ATResponse *p_response = NULL; in requestShutdown() local
542 err = at_send_command("AT+CFUN=0", &p_response); in requestShutdown()
546 at_response_free(p_response); in requestShutdown()
[all …]
Datchannel.c625 void at_response_free(ATResponse *p_response) in at_response_free() argument
629 if (p_response == NULL) return; in at_response_free()
631 p_line = p_response->p_intermediates; in at_response_free()
643 free (p_response->finalResponse); in at_response_free()
644 free (p_response); in at_response_free()
651 static void reverseIntermediates(ATResponse *p_response) in reverseIntermediates() argument
655 pcur = p_response->p_intermediates; in reverseIntermediates()
656 p_response->p_intermediates = NULL; in reverseIntermediates()
660 pcur->p_next = p_response->p_intermediates; in reverseIntermediates()
661 p_response->p_intermediates = pcur; in reverseIntermediates()
[all …]
Datchannel.h110 void at_response_free(ATResponse *p_response);
119 AT_CME_Error at_get_cme_error(const ATResponse *p_response);