Home
last modified time | relevance | path

Searched refs:Address (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/aosp12/system/bt/gd/hci/
H A Daddress_unittest.cc47 Address empty; in TEST()
57 Address bdaddr; in TEST()
75 Address bdaddr; in TEST()
92 Address bdaddr1; in TEST()
93 Address bdaddr2; in TEST()
94 Address bdaddr3; in TEST()
108 Address bdaddr1; in TEST()
109 Address bdaddr2; in TEST()
110 Address bdaddr3; in TEST()
200 Address addr; in TEST()
[all …]
H A Daddress.h33 class Address final : public packet::CustomFieldFixedSizeInterface<Address>, public storage::Serial…
39 Address() = default;
40 Address(const uint8_t (&addr)[kLength]);
41 Address(std::initializer_list<uint8_t> l);
57 bool operator<(const Address& rhs) const {
60 bool operator==(const Address& rhs) const {
63 bool operator>(const Address& rhs) const {
66 bool operator<=(const Address& rhs) const {
69 bool operator>=(const Address& rhs) const {
72 bool operator!=(const Address& rhs) const {
[all …]
H A Daddress.cc32 const Address Address::kAny{{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}};
33 const Address Address::kEmpty{{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}};
37 Address::Address(const uint8_t (&addr)[6]) { in Address() function in bluetooth::hci::Address
41 Address::Address(std::initializer_list<uint8_t> l) { in Address() function in bluetooth::hci::Address
45 std::string Address::ToString() const { in ToString()
56 std::string Address::ToLegacyConfigString() const { in ToLegacyConfigString()
60 std::optional<Address> Address::FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
64 std::optional<Address> Address::FromString(const std::string& from) { in FromString()
69 Address addr{}; in FromString()
103 bool Address::FromString(const std::string& from, Address& to) { in FromString()
[all …]
H A Daddress_with_type_test.cc31 Address addr1{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST()
34 Address addr2{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST()
49 Address addr{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST()
57 Address addr1{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST()
60 Address addr2{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST()
74 …AddressWithType(Address{{0x30, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST()
76 …AddressWithType(Address{{0x40, 0x02, 0x03, 0x04, 0x05, 0x03}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST()
78 …AddressWithType(Address{{0x50, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST()
80 …AddressWithType(Address{{0x60, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST()
90 …AddressWithType(Address{{0x50, 0x02, 0x03, 0xC9, 0x12, 0xDE}}, AddressType::RANDOM_DEVICE_ADDRESS); in TEST()
[all …]
/aosp12/packages/modules/Connectivity/core/tests/coretests/src/android/net/
H A DRouteInfoTest.java31 private InetAddress Address(String addr) { in Address() method in RouteInfoTest
53 assertEquals(Address("2001:db8::1"), r.getGateway()); in testConstructor()
58 assertEquals(Address("192.0.2.1"), r.getGateway()); in testConstructor()
64 assertEquals(Address("::"), r.getGateway()); in testConstructor()
69 assertEquals(Address("0.0.0.0"), r.getGateway()); in testConstructor()
94 assertTrue(r.matches(Address("192.0.2.43"))); in testMatches()
95 assertTrue(r.matches(Address("192.0.3.21"))); in testMatches()
96 assertFalse(r.matches(Address("192.0.0.21"))); in testMatches()
97 assertFalse(r.matches(Address("8.8.8.8"))); in testMatches()
101 assertFalse(ipv6Default.matches(Address("192.0.2.1"))); in testMatches()
[all …]
/aosp12/system/bt/vendor_libs/test_vendor_lib/test/
H A Dsecurity_manager_unittest.cc44 Address btaddr1; in TEST_F()
45 Address btaddr2; in TEST_F()
46 Address btaddr3; in TEST_F()
47 Address btaddr4; in TEST_F()
63 Address btaddr1; in TEST_F()
64 Address btaddr2; in TEST_F()
65 Address btaddr3; in TEST_F()
81 Address btaddr1; in TEST_F()
82 Address btaddr2; in TEST_F()
101 Address btaddr1; in TEST_F()
[all …]
/aosp12/art/compiler/utils/x86/
H A Dassembler_x86.h158 class Address : public Operand {
193 Address(Register base_in, in Address() function
201 Address displaceBy(int offset) { in displaceBy()
219 Address result; in Absolute()
230 Address() {} in Address() function
670 void flds(const Address& src);
671 void fstps(const Address& dst);
672 void fsts(const Address& dst);
674 void fldl(const Address& src);
675 void fstpl(const Address& dst);
[all …]
H A Djni_macro_assembler_x86.cc147 __ fstps(Address(ESP, offs)); in Store()
149 __ fstpl(Address(ESP, offs)); in Store()
206 __ flds(Address(ESP, src)); in Load()
208 __ fldl(Address(ESP, src)); in Load()
349 __ fstps(Address(ESP, 0)); in Move()
353 __ fstpl(Address(ESP, 0)); in Move()
366 __ movl(scratch, Address(ESP, src)); in CopyRef()
400 __ movl(scratch, Address(ESP, src)); in Copy()
423 __ pushl(Address(ESP, src)); in Copy()
460 __ movl(scratch, Address(ESP, src)); in Copy()
[all …]
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/
H A DRouteInfoTest.java57 private InetAddress Address(String addr) { in Address() method in RouteInfoTest
100 assertEquals(Address("2001:db8::1"), r.getGateway()); in testConstructor()
105 assertEquals(Address("192.0.2.1"), r.getGateway()); in testConstructor()
111 assertEquals(Address("::"), r.getGateway()); in testConstructor()
116 assertEquals(Address("0.0.0.0"), r.getGateway()); in testConstructor()
142 assertFalse(r.matches(Address("8.8.8.8"))); in testMatches()
145 assertTrue(r.matches(Address("192.0.2.43"))); in testMatches()
146 assertTrue(r.matches(Address("192.0.3.21"))); in testMatches()
147 assertFalse(r.matches(Address("192.0.0.21"))); in testMatches()
148 assertFalse(r.matches(Address("8.8.8.8"))); in testMatches()
[all …]
/aosp12/system/bt/gd/l2cap/classic/internal/
H A Dlink_manager.h66 Link* GetLink(hci::Address device);
78 hci::Address device,
90 hci::Address remote,
106 void InitiateConnectionForSecurity(hci::Address remote);
125 void handle_link_security_hold(hci::Address remote);
126 void handle_link_security_release(hci::Address remote);
127 void handle_link_security_disconnect(hci::Address remote);
139 std::unordered_map<hci::Address, PendingLink> pending_links_;
140 std::unordered_map<hci::Address, Link> links_;
148 std::unordered_set<hci::Address> disconnected_links_;
[all …]
H A Dlink_manager.cc33 void LinkManager::ConnectFixedChannelServices(hci::Address device, in ConnectFixedChannelServices()
105 void LinkManager::InitiateConnectionForSecurity(hci::Address remote) { in InitiateConnectionForSecurity()
138 Link* LinkManager::GetLink(const hci::Address device) { in GetLink()
145 void LinkManager::handle_link_security_hold(hci::Address remote) { in handle_link_security_hold()
154 void LinkManager::handle_link_security_release(hci::Address remote) { in handle_link_security_release()
163 void LinkManager::handle_link_security_disconnect(hci::Address remote) { in handle_link_security_disconnect()
202 hci::Address GetRemoteAddress() override { in GetRemoteAddress()
236 hci::Address remote_;
242 hci::Address device = acl_connection->GetAddress(); in OnConnectSuccess()
366 hci::Address device, in OnReadRemoteVersionInformation()
[all …]
/aosp12/art/compiler/utils/x86_64/
H A Dassembler_x86_64.h187 class Address : public Operand {
253 Address result;
269 Address result; in RIP()
284 Address() {} in Address() function
684 void flds(const Address& src);
685 void fstps(const Address& dst);
686 void fsts(const Address& dst);
688 void fldl(const Address& src);
689 void fstpl(const Address& dst);
690 void fstl(const Address& dst);
[all …]
H A Djni_macro_assembler_x86_64.cc173 __ fstps(Address(CpuRegister(RSP), offs)); in Store()
175 __ fstpl(Address(CpuRegister(RSP), offs)); in Store()
238 __ flds(Address(CpuRegister(RSP), src)); in Load()
240 __ fldl(Address(CpuRegister(RSP), src)); in Load()
269 __ gs()->flds(Address::Absolute(src, true)); in LoadFromThread()
423 __ fstps(Address(CpuRegister(RSP), 0)); in Move()
427 __ fstpl(Address(CpuRegister(RSP), 0)); in Move()
498 __ pushq(Address(CpuRegister(RSP), src)); in Copy()
536 __ pushq(Address(scratch, src_offset)); in Copy()
537 __ popq(Address(scratch, dest_offset)); in Copy()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DAddress.java76 private static final Address[] EMPTY_ADDRESS_ARRAY = new Address[0];
85 public Address(String address) { in Address() method in Address
217 ArrayList<Address> addresses = new ArrayList<Address>(); in parse()
242 if (o instanceof Address) { in equals()
417 return Address.toHeader(Address.parse(addressList)); in parseToHeader()
458 ArrayList<Address> addresses = new ArrayList<Address>(); in fromHeader()
475 Address address; in fromHeader()
482 new Address( in fromHeader()
495 new Creator<Address>() {
503 return new Address[size];
[all …]
/aosp12/system/bt/gd/common/
H A Dmetric_id_manager_unittest.cc29 bluetooth::hci::Address kthAddress(uint32_t k) { in kthAddress()
35 bluetooth::hci::Address addr(array); in kthAddress()
54 const bluetooth::hci::Address&, const int) { in TEST() argument
66 const bluetooth::hci::Address&, const int) { in TEST() argument
80 const bluetooth::hci::Address&, const int) { in TEST() argument
97 const bluetooth::hci::Address&, const int) { in TEST() argument
147 const bluetooth::hci::Address&, in TEST()
153 const bluetooth::hci::Address&, in TEST() argument
207 const bluetooth::hci::Address&, in TEST()
213 const bluetooth::hci::Address&, in TEST() argument
[all …]
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/controller/
H A Dsecurity_manager.h29 using ::bluetooth::hci::Address;
67 uint16_t DeleteKey(const Address& addr);
69 uint16_t ReadKey(const Address& addr) const;
73 const std::array<uint8_t, 16>& GetKey(const Address& addr) const;
75 void AuthenticationRequest(const Address& addr, uint16_t handle);
80 Address GetAuthenticationAddress();
82 void SetPinRequested(const Address& addr);
83 bool GetPinRequested(const Address& addr);
86 bool GetLocalPinResponseReceived(const Address& peer);
87 bool GetRemotePinResponseReceived(const Address& peer);
[all …]
H A Dlink_layer_controller.h32 using ::bluetooth::hci::Address;
43 const Address& remote);
46 const Address& remote, const Address& local);
52 void StartSimplePairing(const Address& address);
54 void AuthenticateRemoteStage2(const Address& address);
56 ErrorCode LinkKeyRequestReply(const Address& address,
68 ErrorCode UserPasskeyRequestReply(const Address& peer,
81 const Address& peer,
95 ErrorCode CreateConnectionCancel(const Address& addr);
297 void SetLePeerAddress(const Address& peer_address) { in SetLePeerAddress()
[all …]
H A Dsecurity_manager.cc31 uint16_t SecurityManager::DeleteKey(const Address& addr) { in DeleteKey()
43 uint16_t SecurityManager::ReadKey(const Address& addr) const { in ReadKey()
47 uint16_t SecurityManager::WriteKey(const Address& addr, in WriteKey()
57 const Address& addr) const { in GetKey()
83 Address SecurityManager::GetAuthenticationAddress() { in GetAuthenticationAddress()
194 void SecurityManager::SetPinRequested(const Address& addr) { in SetPinRequested()
199 bool SecurityManager::GetPinRequested(const Address& addr) { in GetPinRequested()
203 void SecurityManager::SetLocalPin(const Address& peer, in SetLocalPin()
209 void SecurityManager::SetRemotePin(const Address& peer, in SetRemotePin()
215 bool SecurityManager::GetLocalPinResponseReceived(const Address& peer) { in GetLocalPinResponseReceived()
[all …]
/aosp12/system/bt/gd/os/host/
H A Dmetrics.cc25 using bluetooth::hci::Address;
28 const Address& address, in LogMetricClassicPairingEvent()
37 const Address& address, in LogMetricSocketConnectionState()
50 const Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes) {} in LogMetricA2dpAudioUnderrunEvent()
53 const Address& address, in LogMetricA2dpAudioOverrunEvent()
62 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) {} in LogMetricReadFailedContactCounterResult()
65 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) {} in LogMetricReadTxPowerLevelResult()
71 const Address* address, in LogMetricLinkLayerConnectionEvent()
82 const Address& address, in LogMetricManufacturerInfo()
91 const Address& address, in LogMetricSdpAttribute()
[all …]
/aosp12/system/bt/gd/os/linux/
H A Dmetrics.cc25 using bluetooth::hci::Address;
28 const Address& address, in LogMetricClassicPairingEvent()
37 const Address& address, in LogMetricSocketConnectionState()
50 const Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes) {} in LogMetricA2dpAudioUnderrunEvent()
53 const Address& address, in LogMetricA2dpAudioOverrunEvent()
62 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) {} in LogMetricReadFailedContactCounterResult()
65 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) {} in LogMetricReadTxPowerLevelResult()
71 const Address* address, in LogMetricLinkLayerConnectionEvent()
82 const Address& address, in LogMetricManufacturerInfo()
91 const Address& address, in LogMetricSdpAttribute()
[all …]
/aosp12/system/bt/gd/os/
H A Dmetrics.h50 const hci::Address* address,
94 const hci::Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes);
108 const hci::Address& address,
121 void LogMetricA2dpPlaybackEvent(const hci::Address& address, int playback_state, int audio_coding_m…
145 …const hci::Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter);
158 … const hci::Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level);
184 const hci::Address& address,
203 const hci::Address& address,
225 const hci::Address& address,
247 const hci::Address& address,
[all …]
/aosp12/system/bt/gd/l2cap/classic/
H A Dlink_property_listener.h38 virtual void OnLinkConnected(hci::Address remote, uint16_t handle) {} in OnLinkConnected()
43 virtual void OnLinkDisconnected(hci::Address remote) {} in OnLinkDisconnected()
50 hci::Address remote, in OnReadRemoteVersionInformation()
58 virtual void OnReadRemoteSupportedFeatures(hci::Address remote, uint64_t features) {} in OnReadRemoteSupportedFeatures()
64 hci::Address remote, uint8_t page_number, uint8_t max_page_number, uint64_t features) {} in OnReadRemoteExtendedFeatures()
69 virtual void OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role) {} in OnRoleChange()
74 virtual void OnReadClockOffset(hci::Address remote, uint16_t clock_offset) {} in OnReadClockOffset()
79 …virtual void OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint16_t… in OnModeChange()
86 hci::Address remote, in OnSniffSubrating()
/aosp12/system/bt/gd/rust/hci/custom_types/
H A Dlib.rs8 pub const EMPTY_ADDRESS: Address = Address { bytes: [0x00, 0x00, 0x00, 0x00, 0x00, 0x00] };
10 pub const ANY_ADDRESS: Address = Address { bytes: [0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF] };
14 pub struct Address { struct
19 impl Address { implementation
26 impl fmt::Display for Address { implementation
45 impl TryFrom<&[u8]> for Address { implementation
60 impl From<Address> for [u8; 6] {
61 fn from(addr: Address) -> [u8; 6] { in from()
/aosp12/system/bt/main/shim/
H A Dmetrics_api.cc23 using bluetooth::hci::Address;
32 Address address = Address::kEmpty; in LogMetricLinkLayerConnectionEvent()
44 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioUnderrunEvent()
54 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioOverrunEvent()
62 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpPlaybackEvent()
69 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadRssiResult()
77 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadFailedContactCounterResult()
85 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadTxPowerLevelResult()
93 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricSmpPairingEvent()
102 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricClassicPairingEvent()
[all …]
H A Dmetric_id_api.cc27 using bluetooth::hci::Address;
31 using CallbackGd = std::function<bool(const Address& address, const int id)>;
36 std::unordered_map<Address, int> paired_device_map_gd; in InitMetricIdAllocator()
38 Address address = bluetooth::ToGdAddress(device.first); in InitMetricIdAllocator()
42 CallbackGd save_id_callback_gd = [save_id_callback](const Address& address, in InitMetricIdAllocator()
47 [forget_device_callback](const Address& address, const int id) { in InitMetricIdAllocator()
61 Address address = bluetooth::ToGdAddress(raw_address); in AllocateIdFromMetricIdAllocator()
66 Address address = bluetooth::ToGdAddress(raw_address); in SaveDeviceOnMetricIdAllocator()
71 Address address = bluetooth::ToGdAddress(raw_address); in ForgetDeviceFromMetricIdAllocator()

12345678910>>...12