Lines Matching refs:hci
24 inline RawAddress ToRawAddress(const hci::Address& address) { in ToRawAddress()
35 inline hci::Address ToGdAddress(const RawAddress& address) { in ToGdAddress()
36 hci::Address ret; in ToGdAddress()
46 inline hci::AddressWithType ToAddressWithType(const RawAddress& legacy_address, in ToAddressWithType()
48 hci::Address address = ToGdAddress(legacy_address); in ToAddressWithType()
50 hci::AddressType type; in ToAddressWithType()
52 type = hci::AddressType::PUBLIC_DEVICE_ADDRESS; in ToAddressWithType()
54 type = hci::AddressType::RANDOM_DEVICE_ADDRESS; in ToAddressWithType()
56 type = hci::AddressType::PUBLIC_IDENTITY_ADDRESS; in ToAddressWithType()
58 type = hci::AddressType::RANDOM_IDENTITY_ADDRESS; in ToAddressWithType()
61 return hci::AddressWithType{address, in ToAddressWithType()
62 hci::AddressType::PUBLIC_DEVICE_ADDRESS}; in ToAddressWithType()
65 return hci::AddressWithType{address, type}; in ToAddressWithType()