Home
last modified time | relevance | path

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

/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dbt_vendor_qcom.c548 static bool validate_tok(char* bdaddr_tok) { in validate_tok() argument
552 if (strlen(bdaddr_tok) != 2) { in validate_tok()
558 if ((bdaddr_tok[i] >= '0' && bdaddr_tok[i] <= '9') || in validate_tok()
559 (bdaddr_tok[i] >= 'A' && bdaddr_tok[i] <= 'F') || in validate_tok()
560 (bdaddr_tok[i] >= 'a' && bdaddr_tok[i] <= 'f')) { in validate_tok()
562 ALOGV("%s: tok %s @ %d is good", __func__, bdaddr_tok, i); in validate_tok()
565 ALOGE("invalid character in tok: %s at ind: %d", bdaddr_tok, i); in validate_tok()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dbt_vendor_qcom.c561 static bool validate_tok(char* bdaddr_tok) { in validate_tok() argument
565 if (strlen(bdaddr_tok) != 2) { in validate_tok()
571 if ((bdaddr_tok[i] >= '0' && bdaddr_tok[i] <= '9') || in validate_tok()
572 (bdaddr_tok[i] >= 'A' && bdaddr_tok[i] <= 'F') || in validate_tok()
573 (bdaddr_tok[i] >= 'a' && bdaddr_tok[i] <= 'f')) { in validate_tok()
575 ALOGV("%s: tok %s @ %d is good", __func__, bdaddr_tok, i); in validate_tok()
578 ALOGE("invalid character in tok: %s at ind: %d", bdaddr_tok, i); in validate_tok()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c580 static bool validate_tok(char* bdaddr_tok) { in validate_tok() argument
584 if (strlen(bdaddr_tok) != 2) { in validate_tok()
590 if ((bdaddr_tok[i] >= '0' && bdaddr_tok[i] <= '9') || in validate_tok()
591 (bdaddr_tok[i] >= 'A' && bdaddr_tok[i] <= 'F') || in validate_tok()
592 (bdaddr_tok[i] >= 'a' && bdaddr_tok[i] <= 'f')) { in validate_tok()
594 ALOGV("%s: tok %s @ %d is good", __func__, bdaddr_tok, i); in validate_tok()
597 ALOGE("invalid character in tok: %s at ind: %d", bdaddr_tok, i); in validate_tok()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dbt_vendor_qcom.c642 static bool validate_tok(char* bdaddr_tok) { in validate_tok() argument
646 if (strlen(bdaddr_tok) != 2) { in validate_tok()
652 if ((bdaddr_tok[i] >= '0' && bdaddr_tok[i] <= '9') || in validate_tok()
653 (bdaddr_tok[i] >= 'A' && bdaddr_tok[i] <= 'F') || in validate_tok()
654 (bdaddr_tok[i] >= 'a' && bdaddr_tok[i] <= 'f')) { in validate_tok()
656 ALOGV("%s: tok %s @ %d is good", __func__, bdaddr_tok, i); in validate_tok()
659 ALOGE("invalid character in tok: %s at ind: %d", bdaddr_tok, i); in validate_tok()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dbt_vendor_qcom.c670 static bool validate_tok(char* bdaddr_tok) { in validate_tok() argument
674 if (strlen(bdaddr_tok) != 2) { in validate_tok()
680 if ((bdaddr_tok[i] >= '0' && bdaddr_tok[i] <= '9') || in validate_tok()
681 (bdaddr_tok[i] >= 'A' && bdaddr_tok[i] <= 'F') || in validate_tok()
682 (bdaddr_tok[i] >= 'a' && bdaddr_tok[i] <= 'f')) { in validate_tok()
684 ALOGV("%s: tok %s @ %d is good", __func__, bdaddr_tok, i); in validate_tok()
687 ALOGE("invalid character in tok: %s at ind: %d", bdaddr_tok, i); in validate_tok()