Home
last modified time | relevance | path

Searched refs:bdaddr (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth/frameworks/cj/connection/src/
H A Dbluetooth_connection_common.cpp33 bool IsValidAddress(std::string bdaddr) in IsValidAddress() argument
37 return regex_match(bdaddr, deviceIdRegex); in IsValidAddress()
40 return regex_match(bdaddr, deviceIdRegex); in IsValidAddress()
/foundation/communication/bluetooth/frameworks/cj/connection/include/
H A Dbluetooth_connection_common.h26 bool IsValidAddress(std::string bdaddr);
/foundation/communication/bluetooth/frameworks/js/napi/src/parser/
H A Dnapi_parser_utils.cpp329 std::string bdaddr {}; in NapiParseBdAddr()
330 NAPI_BT_CALL_RETURN(NapiParseString(env, value, bdaddr)); in NapiParseBdAddr()
331 NAPI_BT_RETURN_IF(!IsValidAddress(bdaddr), "Invalid bdaddr", napi_invalid_arg); in NapiParseBdAddr()
332 outAddr = std::move(bdaddr); in NapiParseBdAddr()
467 std::string bdaddr {}; in NapiParseObjectBdAddr()
470 NAPI_BT_CALL_RETURN(NapiParseBdAddr(env, property, bdaddr)); in NapiParseObjectBdAddr()
471 outAddr = std::move(bdaddr); in NapiParseObjectBdAddr()
/foundation/communication/nfc/services/src/tag/
H A Dndef_bt_data_parser.cpp329 std::string bdaddr = ""; in ParseBleRecord() local
342 bdaddr = GetDataFromPayload(payload, offset, bdaddrLen); in ParseBleRecord()
343 if (bdaddr.empty()) { in ParseBleRecord()
344 ErrorLog("NdefBtDataParser::ParseBleRecord, bdaddr error, " in ParseBleRecord()
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_utils.cpp447 bool IsValidAddress(std::string bdaddr) in IsValidAddress() argument
451 return regex_match(bdaddr, deviceIdRegex); in IsValidAddress()
454 return regex_match(bdaddr, deviceIdRegex); in IsValidAddress()
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_utils.h483 bool IsValidAddress(std::string bdaddr);

Completed in 7 milliseconds