/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_routes_test.py | 30 router = webapp2.Router([route]) 31 route_match, args, kwargs = router.match(webapp2.Request.blank('/foo')) 97 router = webapp2.Router([ 112 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match) 113 … self.assertEqual(router.build(webapp2.Request.blank('/'), 'name-a', match[0], match[1]), path) 117 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match) 118 … self.assertEqual(router.build(webapp2.Request.blank('/'), 'name-a/b', match[0], match[1]), path) 122 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match) 123 … self.assertEqual(router.build(webapp2.Request.blank('/'), 'name-a/c', match[0], match[1]), path) 127 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match) [all …]
|
D | routing_test.py | 145 router = Router(None) 146 router.add(Route('/<year:\d{4}>', None, name='year-page')) 148 url = router.build(Request.blank('/'), 'year-page', (), dict(year='2010')) 151 …self.assertRaises(KeyError, router.build, Request.blank('/'), 'i-dont-exist', (), dict(year='2010'… 178 router = Router(None) 179 router.add(Route(r'/hello', None, name='hello')) 180 self.assertRaises(AttributeError, router.build, None, 'hello', (), dict(_full=True)) 181 self.assertRaises(AttributeError, router.build, None, 'hello', (), dict(_scheme='https')) 216 router = Router(None) 217 router.add(Route(r'/hello', None, name='hello', build_only=True)) [all …]
|
/external/autotest/server/site_tests/network_WiFi_DarkResumeActiveScans/ |
D | network_WiFi_DarkResumeActiveScans.py | 34 results = self.context.router.stop_capture() 56 self.context.router.require_capabilities( 64 router = self.context.router 70 logging.info('Router WiFi IPv4 = %s', router.wifi_ip) 78 client.add_wake_packet_source(self.context.router.wifi_ip) 85 self.context.router.start_capture( 90 router.send_magic_packet(dut_ip, dut_mac) 116 router.deconfig_aps() 124 self.context.router.start_capture(
|
/external/autotest/server/ |
D | site_linux_router.py | 124 def router(self): member in LinuxRouter 269 self.router.run("cat <<EOF >%s\n%s\nEOF\n" % 277 self.router.run('rm %s' % log_file, ignore_status=True) 278 self.router.run('stop wpasupplicant', ignore_status=True) 281 pid = int(self.router.run(start_command).stdout.strip()) 295 success = self.router.run( 303 bad_config = self.router.run( 311 early_exit = self.router.run('kill -0 %d' % pid, 392 self.router.get_file(remote_file, local_file) 459 self.router.run('%s link set %s up' % (self.cmd_ip, interface)) [all …]
|
/external/autotest/server/cros/network/ |
D | wifi_test_context_manager.py | 51 def router(self): member in WiFiTestContextManager 117 return self.router.local_server_address(ap_num) 127 return self.router.get_hostapd_interface(ap_num) 132 return self.router.host 154 self.router.host) 161 self.router.ibss_configure(configuration_parameters) 163 self.router.hostap_configure(configuration_parameters, 169 self.router.start_capture( 206 for system in (self.client, self.router): 281 ping_ip = self.router.get_wifi_ip(ap_num=ap_num) [all …]
|
/external/iproute2/examples/ |
D | dhcp-client-script | 172 local router 176 for router in $1; do 177 LOG route add default gw $router 178 route add default gw $router 187 local router 192 for router in $1; do 193 LOG route del default gw $router 194 route del default gw $router 215 local router 220 for router in $1; do [all …]
|
/external/autotest/server/site_tests/network_WiFi_CSADisconnect/ |
D | network_WiFi_CSADisconnect.py | 29 assoc_params.ssid = self.context.router.get_ssid() 52 self.context.router.send_management_frame_on_ap( 55 self.context.router.deauth_client(self.context.client.wifi_mac) 58 self.context.router.get_ssid()) 63 self.context.router.get_ssid(), ('idle'), 30) 88 self.context.router.require_capabilities( 96 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_ReconnectInDarkResume/ |
D | network_WiFi_ReconnectInDarkResume.py | 37 router = self.context.router 43 router.deconfig_aps() 65 logging.info('Bringing AP %s down.' % router.get_ssid()) 66 router.deconfig_aps() 77 logging.info('Bringing AP %s down.' % router.get_ssid()) 78 router.deconfig_aps()
|
/external/autotest/server/site_tests/network_WiFi_VerifyRouter/ |
D | network_WiFi_VerifyRouter.py | 58 self.context.router.deconfig() 60 self.context.router.disable_antennas_except(3) 65 self.context.router.disable_antennas_except(bitmap) 81 ssid=self.context.router.get_ssid(instance=instance)) 94 self.context.router.get_ssid(instance=instance)) 104 self.context.router.deconfig() 105 self.context.router.enable_all_antennas() 111 self.context.router.require_capabilities(
|
/external/autotest/server/site_tests/network_WiFi_RoamSuspendEndToEnd/ |
D | network_WiFi_RoamSuspendEndToEnd.py | 48 self.context.router.deconfig_aps(instance=0) 52 self.context.router.deconfig_aps(instance=0) 61 self.context.router.require_capabilities( 63 self.context.router.deconfig() 74 ssid = self.context.router.get_ssid(instance=0) 81 ssid = self.context.router.get_ssid(instance=1) 87 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_ConnectionIdentifier/ |
D | network_WiFi_ConnectionIdentifier.py | 69 ssid0 = self.context.router.get_ssid(instance=0) 70 ssid1 = self.context.router.get_ssid(instance=1) 79 self.context.router.deconfig() 87 if (self.context.router.get_ssid(instance=0) == ssid0 or 88 self.context.router.get_ssid(instance=1) == ssid1): 94 self._connect(self.context.router.get_ssid(instance=0), 96 self._connect(self.context.router.get_ssid(instance=1),
|
/external/autotest/server/site_tests/network_WiFi_RoamEndToEnd/ |
D | network_WiFi_RoamEndToEnd.py | 45 self.context.router.require_capabilities( 47 self.context.router.deconfig() 54 ssid = self.context.router.get_ssid(instance=0) 61 ssid = self.context.router.get_ssid(instance=1) 64 self.context.router.deconfig_aps(instance=0) 70 self.context.router.deconfig()
|
/external/ppp/pppd/ |
D | ipxcp.c | 149 { "ipx-routing", o_int, &ipxcp_wantoptions[0].router, 571 if (ao->router == 0) { 572 ao->router |= BIT(RIP_SAP); 573 wo->router |= BIT(RIP_SAP); 599 if (go->neg_router && to_external(go->router) != RIP_SAP) 642 short external = to_external (go->router); 741 ACKCIPROTO (IPX_ROUTER_PROTOCOL, go->neg_router, go->router); 827 if (no.router & s) /* duplicate NAKs are always bad */ 830 if (no.router == 0) /* Reset on first NAK only */ 831 try.router = 0; [all …]
|
/external/autotest/server/site_tests/network_WiFi_Regulatory/ |
D | network_WiFi_Regulatory.py | 31 self.context.router.require_capabilities( 35 self.context.router.start_capture( 39 assoc_params.ssid = self.context.router.get_ssid() 47 self.context.router.send_management_frame_on_ap( 52 if self.context.router.detect_client_deauth(client_mac): 67 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_SimpleConnect/ |
D | network_WiFi_SimpleConnect.py | 32 router_caps = self.context.router.capabilities 37 self.context.router.start_capture( 40 client_conf.ssid = self.context.router.get_ssid() 48 if self.context.router.detect_client_deauth(client_mac): 65 self.context.router.deconfig() 66 self.context.router.stop_capture()
|
/external/autotest/server/site_tests/network_WiFi_MissingBeacons/ |
D | network_WiFi_MissingBeacons.py | 58 ssid = self.context.router.get_ssid() 66 self.context.router.set_ap_interface_down() 68 self.context.router.deconfig_aps() 71 ssid = self.context.router.get_ssid() 76 self.context.router.set_ap_interface_down() 78 self.context.router.deconfig_aps()
|
/external/autotest/server/site_tests/network_WiFi_OverlappingBSSScan/ |
D | network_WiFi_OverlappingBSSScan.py | 50 ssid=self.context.router.get_ssid()) 69 self.context.client.shill.disconnect(self.context.router.get_ssid()) 73 self.context.router.start_capture( 82 self.context.router.stop_capture() 84 if not self.context.router.detect_client_coexistence_report( 89 self.context.client.shill.disconnect(self.context.router.get_ssid()) 90 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_ChromeEndToEnd/ |
D | network_WiFi_ChromeEndToEnd.py | 37 self.context.router.require_capabilities( 39 self.context.router.deconfig() 47 ssid_1=self.context.router.get_ssid(instance=0), 48 ssid_2=self.context.router.get_ssid(instance=1), 50 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_RegDomain/ |
D | network_WiFi_RegDomain.py | 108 wifi_context.router.start_capture(frequency, filename=pcap_name) 109 wifi_context.router.hostap_configure( 114 router_ssid = wifi_context.router.get_ssid() 124 wifi_context.router.stop_capture() 163 def assert_scanning_is_passive(cls, client, router, scan_freq): argument 172 router.start_capture( 179 pcap_path = router.stop_capture()[0].local_pcap_path 189 router.stop_capture() 262 wifi_context.client, wifi_context.router, router_freq) 300 wifi_context.router.reboot(timeout=self.REBOOT_TIMEOUT_SECS)
|
/external/autotest/server/site_tests/network_WiFi_TDLSPing/ |
D | network_WiFi_TDLSPing.py | 42 self.context.router.start_capture(frequency) 51 self.context.router.local_peer_ip_address(0), 55 results = self.context.router.stop_capture() 111 router_ssid = self.context.router.get_ssid() 119 self.context.router.add_connected_peer() 124 peer_ip = self.context.router.local_peer_ip_address(0) 162 peer_mac = self.context.router.local_peer_mac_address()
|
/external/autotest/server/site_tests/network_WiFi_DisconnectReason/ |
D | network_WiFi_DisconnectReason.py | 33 self.context.router.require_capabilities(req_capabilities) 43 alt_assoc_params.ssid = self.context.router.get_ssid(instance=1) 46 assoc_params.ssid = self.context.router.get_ssid(instance=0) 52 self.context.router.deconfig() 54 self.context.router.deauth_client(self.context.client.wifi_mac) 57 self.context.router.send_management_frame_on_ap(
|
/external/autotest/server/site_tests/network_WiFi_WoWLAN/ |
D | network_WiFi_WoWLAN.py | 24 router = self.context.router 29 logging.info('Router WiFi IPv4 = %s', router.wifi_ip) 34 client.add_wake_packet_source(router.wifi_ip) 39 router.send_magic_packet(dut_ip, dut_mac)
|
/external/autotest/server/site_tests/network_WiFi_PMKSACaching/ |
D | network_WiFi_PMKSACaching.py | 77 ssid=self.context.router.get_ssid(), 82 mode=mode_n, ssid=self.context.router.get_ssid(), 85 bssid0 = self.context.router.get_hostapd_mac(0) 86 bssid1 = self.context.router.get_hostapd_mac(1) 93 self.context.router.deconfig_aps(instance=1, silent=True) 100 self.context.router.get_wifi_ip(0)), 102 self.context.router.confirm_pmksa_cache_use(instance=0)
|
/external/autotest/server/site_tests/network_WiFi_MalformedProbeResp/ |
D | network_WiFi_MalformedProbeResp.py | 30 self.context.router.require_capabilities( 38 self.context.router.start_capture( 42 assoc_params.ssid = self.context.router.get_ssid() 50 self.context.router, 85 self.context.router.deconfig() 86 self.context.router.stop_capture()
|
/external/autotest/server/site_tests/network_WiFi_RateControl/ |
D | network_WiFi_RateControl.py | 144 self.context.router.start_capture( 149 ssid=self.context.router.get_ssid()) 152 self.context.router, 155 results = self.context.router.stop_capture() 166 self.context.client.shill.disconnect(self.context.router.get_ssid()) 167 self.context.router.deconfig()
|