Lines Matching refs:address
47 auto address = addr.address; in SetPrivacyPolicyForInitiatorAddress() local
49 …ASSERT_LOG((address[5] & BLE_ADDR_MASK) == BLE_ADDR_MASK, "The two most significant bits shall be … in SetPrivacyPolicyForInitiatorAddress()
51 …if ((address[0] == 0x00 && address[1] == 0x00 && address[2] == 0x00 && address[3] == 0x00 && addre… in SetPrivacyPolicyForInitiatorAddress()
52 address[5] == BLE_ADDR_MASK) || in SetPrivacyPolicyForInitiatorAddress()
53 …(address[0] == 0xFF && address[1] == 0xFF && address[2] == 0xFF && address[3] == 0xFF && address[4… in SetPrivacyPolicyForInitiatorAddress()
54 address[5] == 0xFF)) { in SetPrivacyPolicyForInitiatorAddress()
90 auto address = addr.address; in SetPrivacyPolicyForInitiatorAddressForTest() local
92 …ASSERT_LOG((address[5] & BLE_ADDR_MASK) == BLE_ADDR_MASK, "The two most significant bits shall be … in SetPrivacyPolicyForInitiatorAddressForTest()
94 …if ((address[0] == 0x00 && address[1] == 0x00 && address[2] == 0x00 && address[3] == 0x00 && addre… in SetPrivacyPolicyForInitiatorAddressForTest()
95 address[5] == BLE_ADDR_MASK) || in SetPrivacyPolicyForInitiatorAddressForTest()
96 …(address[0] == 0xFF && address[1] == 0xFF && address[2] == 0xFF && address[3] == 0xFF && address[4… in SetPrivacyPolicyForInitiatorAddressForTest()
97 address[5] == 0xFF)) { in SetPrivacyPolicyForInitiatorAddressForTest()
157 hci::Address address = generate_rpa(); in GetAnotherAddress() local
158 auto random_address = AddressWithType(address, AddressType::RANDOM_DEVICE_ADDRESS); in GetAnotherAddress()
217 hci::Address address; in rotate_random_address() local
219 address = generate_rpa(); in rotate_random_address()
221 address = generate_nrpa(); in rotate_random_address()
223 auto packet = hci::LeSetRandomAddressBuilder::Create(address); in rotate_random_address()
225 le_address_ = AddressWithType(address, AddressType::RANDOM_DEVICE_ADDRESS); in rotate_random_address()
258 hci::Address address; in generate_rpa() local
259 address.address[3] = prand[0]; in generate_rpa()
260 address.address[4] = prand[1]; in generate_rpa()
261 address.address[5] = prand[2]; in generate_rpa()
267 address.address[0] = p[0]; in generate_rpa()
268 address.address[1] = p[1]; in generate_rpa()
269 address.address[2] = p[2]; in generate_rpa()
270 return address; in generate_rpa()
286 hci::Address address; in generate_nrpa() local
287 address.FromOctets(random.data()); in generate_nrpa()
290 while (address == public_address_) { in generate_nrpa()
291 address.address[0] = (uint8_t)(os::GenerateRandom() % 0xFE + 1); in generate_nrpa()
294 return address; in generate_nrpa()
324 ConnectListAddressType connect_list_address_type, bluetooth::hci::Address address) { in AddDeviceToConnectList() argument
325 … packet_builder = hci::LeAddDeviceToConnectListBuilder::Create(connect_list_address_type, address); in AddDeviceToConnectList()
344 ConnectListAddressType connect_list_address_type, bluetooth::hci::Address address) { in RemoveDeviceFromConnectList() argument
345 …et_builder = hci::LeRemoveDeviceFromConnectListBuilder::Create(connect_list_address_type, address); in RemoveDeviceFromConnectList()