Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_core.c332 static void btif_fetch_local_bdaddr(bt_bdaddr_t *local_addr) in btif_fetch_local_bdaddr() argument
352 if ((string_to_bdaddr(val, local_addr)) && in btif_fetch_local_bdaddr()
353 (memcmp(local_addr->address, null_bdaddr, BD_ADDR_LEN) != 0)) in btif_fetch_local_bdaddr()
367 string_to_bdaddr(val, local_addr); in btif_fetch_local_bdaddr()
375 valid_bda = btif_fetch_property(PERSIST_BDADDR_PROPERTY, local_addr); in btif_fetch_local_bdaddr()
380 valid_bda = btif_fetch_property(FACTORY_BT_ADDR_PROPERTY, local_addr); in btif_fetch_local_bdaddr()
389 local_addr->address[0] = 0x22; in btif_fetch_local_bdaddr()
390 local_addr->address[1] = 0x22; in btif_fetch_local_bdaddr()
391 local_addr->address[2] = (uint8_t) osi_rand(); in btif_fetch_local_bdaddr()
392 local_addr->address[3] = (uint8_t) osi_rand(); in btif_fetch_local_bdaddr()
[all …]