Home
last modified time | relevance | path

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

/system/bt/bta/ag/
Dbta_ag_cmd.cc501 static void bta_ag_process_unat_res(char* unat_result) { in bta_ag_process_unat_res() argument
506 uint8_t str_leng = strlen(unat_result); in bta_ag_process_unat_res()
512 while (unat_result[0] == '\r' && unat_result[1] == '\n' && in bta_ag_process_unat_res()
513 unat_result[str_leng - 2] == '\r' && in bta_ag_process_unat_res()
514 unat_result[str_leng - 1] == '\n') { in bta_ag_process_unat_res()
517 trim_data[j++] = unat_result[i + pairs_of_nl_cr * 2]; in bta_ag_process_unat_res()
522 strlcpy(unat_result, trim_data, str_leng + 1); in bta_ag_process_unat_res()