/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DhcpServerTest.py | 234 def _assert_renews(self, request, addr, exp_time, resp_type=ACK): argument 239 asserts.assert_equal(addr, get_yiaddr(resp)) 251 addr, siaddr, resp = self._request_address(self.hwaddr) 256 asserts.assert_false(addr == INET4_ANY, "Assigned address is empty") 262 addr, lease_time, resp_type=OFFER) 268 addr, siaddr, _ = self._request_address(self.hwaddr) 272 [('requested_addr', addr)])) 275 asserts.assert_false(get_yiaddr(resp) == addr, 282 addr = NETADDR_PREFIX + '200' 284 [('requested_addr', addr)])) [all …]
|
/tools/netsim/rust/daemon/src/bluetooth/ |
D | beacon.rs | 375 fn addr_to_str(addr: Address) -> String { in addr_to_str() 376 let bytes = u64::from(addr).to_le_bytes(); in addr_to_str() 379 .rfold(format!("{:02x}", bytes[5]), |addr, byte| addr + &format!(":{:02x}", byte)) in addr_to_str() 382 fn str_to_addr(addr: &str) -> Result<Address, String> { in str_to_addr() 383 if addr == String::default() { in str_to_addr() 386 if addr.len() != 17 { in str_to_addr() 389 let addr = addr.replace(':', ""); in str_to_addr() localVariable 390 u64::from_str_radix(&addr, 16) in str_to_addr() 530 let addr = str_to_addr("be:ac:12:34:00:0f"); in test_str_to_addr_succeeds() localVariable 531 assert_eq!(Address::try_from(0xbe_ac_12_34_00_0f).unwrap(), addr.unwrap()); in test_str_to_addr_succeeds() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | wlan_deprecated_configuration_lib.py | 23 def __init__(self, addr: str) -> None: 24 super().__init__(addr, "wlan_deprecated") 26 def wlanSuggestAccessPointMacAddress(self, addr): argument 34 test_args = {'mac': addr}
|
D | basemgr_lib.py | 26 def __init__(self, addr: str) -> None: 27 super().__init__(addr, "basemgr")
|
D | logging_lib.py | 24 def __init__(self, addr: str) -> None: 25 super().__init__(addr, "logging")
|
D | audio_lib.py | 25 def __init__(self, addr: str) -> None: 26 super().__init__(addr, "audio")
|
D | wlan_ap_policy_lib.py | 22 def __init__(self, addr: str) -> None: 23 super().__init__(addr, "wlan_ap_policy")
|
D | hardware_power_statecontrol_lib.py | 27 def __init__(self, addr: str) -> None: 28 super().__init__(addr, "hardware_power_statecontrol")
|
D | base_lib.py | 40 def __init__(self, addr: str, logger_tag: str) -> None: 41 self.address = addr
|
D | wlan_lib.py | 34 def __init__(self, addr: str) -> None: 35 super().__init__(addr, "wlan")
|
D | wlan_policy_lib.py | 39 def __init__(self, addr: str) -> None: 40 super().__init__(addr, "wlan_policy")
|
/tools/test/connectivity/acts_tests/tests/google/bt/car_bt/ |
D | BtCarPairedConnectDisconnectTest.py | 84 addr = self.ph.droid.bluetoothGetLocalAddress() 88 if not bt_test_utils.is_a2dp_snk_device_connected(self.car, addr): 114 addr = self.ph.droid.bluetoothGetLocalAddress() 129 self.car, addr) 131 self.car, addr)): 148 self.car, addr) 150 self.car, addr)):
|
/tools/netsim/rust/daemon/src/wifi/ |
D | medium.rs | 49 addr: MacAddress, field 56 fn new(client_id: u32, addr: MacAddress, hwsim_addr: MacAddress) -> Self { in new() 57 Self { client_id, addr, hwsim_addr } in new() 136 fn contains_station(&self, addr: &MacAddress) -> bool { in contains_station() 137 self.stations.read().unwrap().contains_key(addr) in contains_station() 140 fn get_station(&self, addr: &MacAddress) -> anyhow::Result<Arc<Station>> { in get_station() 141 self.stations.read().unwrap().get(addr).context("get station").cloned() in get_station() 374 if source.addr != destination.addr { in broadcast_from_sta_frame() 384 debug!("Frame deliver from {} to {}", source.addr, dest_addr); in queue_frame() 539 let addr: MacAddress = parse_mac_address("00:0b:85:71:20:00").unwrap(); in test_remove() localVariable [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | EmailTest.java | 226 for (String addr : to) { in _manual_testFuncSend() 227 msg.addTo(addr); in _manual_testFuncSend() 229 for (String addr : cc) { in _manual_testFuncSend() 230 msg.addCc(addr); in _manual_testFuncSend() 232 for (String addr : bcc) { in _manual_testFuncSend() 233 msg.addBcc(addr); in _manual_testFuncSend()
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/location/ |
D | regulatory_region_lib.py | 22 def __init__(self, addr: str) -> None: 23 super().__init__(addr, "location_regulatory_region")
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/ |
D | gatts_lib.py | 22 def __init__(self, addr: str) -> None: 23 super().__init__(addr, "gatt_server")
|
D | sdp_lib.py | 22 def __init__(self, addr: str) -> None: 23 super().__init__(addr, "profile_server")
|
D | rfcomm_lib.py | 22 def __init__(self, addr: str) -> None: 23 super().__init__(addr, "rfcomm")
|
D | ble_lib.py | 24 def __init__(self, addr: str) -> None: 25 super().__init__(addr, "ble")
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/netstack/ |
D | netstack_lib.py | 22 def __init__(self, addr: str) -> None: 23 super().__init__(addr, "netstack")
|
/tools/netsim/rust/frontend/src/ |
D | netsim_test_client.rs | 16 Some(addr) => addr, in main()
|
/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 225 final int addr = info.getIpAddress(); in onStart() local 228 final int a = (addr >> 0) & 0xff; in onStart() 229 final int b = (addr >> 8) & 0xff; in onStart() 230 final int c = (addr >> 16) & 0xff; in onStart() 231 final int d = (addr >> 24) & 0xff; in onStart()
|
D | WifiConnector.java | 367 final int addr = info.getIpAddress(); in getWifiInfo() local 369 final int a = (addr >> 0) & 0xff; in getWifiInfo() 370 final int b = (addr >> 8) & 0xff; in getWifiInfo() 371 final int c = (addr >> 16) & 0xff; in getWifiInfo() 372 final int d = (addr >> 24) & 0xff; in getWifiInfo()
|
/tools/netsim/rust/daemon/src/grpc_server/ |
D | server.rs | 29 let addr = format!("127.0.0.1:{}", port); in start() localVariable 38 let port = server.add_listening_port(addr.clone(), ServerCredentials::insecure()).unwrap(); in start()
|
/tools/netsim/rust/daemon/src/wifi/packets/ |
D | ieee80211.rs | 64 fn from(MacAddress(addr): MacAddress) -> Self { in from() 65 let bytes = u64::to_le_bytes(addr); in from() 72 let addr = u64::to_le_bytes(self.0); in is_multicast() localVariable 73 (addr[0] & 0x1) == 1 in is_multicast() 77 let addr = u64::to_le_bytes(self.0); in is_broadcast() localVariable 78 addr[0] == 0xff in is_broadcast()
|