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.cc502 static void bta_ag_process_unat_res(char* unat_result) { in bta_ag_process_unat_res() argument
507 uint8_t str_leng = strlen(unat_result); in bta_ag_process_unat_res()
513 while (unat_result[0] == '\r' && unat_result[1] == '\n' && in bta_ag_process_unat_res()
514 unat_result[str_leng - 2] == '\r' && in bta_ag_process_unat_res()
515 unat_result[str_leng - 1] == '\n') { in bta_ag_process_unat_res()
518 trim_data[j++] = unat_result[i + pairs_of_nl_cr * 2]; in bta_ag_process_unat_res()
523 strlcpy(unat_result, trim_data, str_leng + 1); in bta_ag_process_unat_res()