/external/chromium-trace/catapult/third_party/webapp2/tests/ |
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 [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteActionProvider.java | 88 * // Add the callback on start to tell the media router what kinds of routes 100 * // Remove the selector on stop to tell the media router that it no longer 294 public void onRouteAdded(MediaRouter router, MediaRouter.RouteInfo info) { 295 refreshRoute(router); 299 public void onRouteRemoved(MediaRouter router, MediaRouter.RouteInfo info) { 300 refreshRoute(router); 304 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo info) { 305 refreshRoute(router); 309 public void onProviderAdded(MediaRouter router, MediaRouter.ProviderInfo provider) { 310 refreshRoute(router); [all...] |
/external/autotest/server/site_tests/network_WiFi_CSADisconnect/ |
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) 76 @param additional_params list of dicts describing router configs. 88 self.context.router.require_capabilities( 91 # Test both router initiated and client initiated disconnect after 96 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_ReconnectInDarkResume/ |
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_ChromeEndToEnd/ |
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_WoWLAN/ |
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_Roam/ |
network_WiFi_Roam.py | 35 router_ssid = self.context.router.get_ssid() 46 self.context.router.deconfig_aps(instance=0) 51 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_MissingBeacons/ |
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_Regulatory/ |
network_WiFi_Regulatory.py | 22 @param additional_params list of dicts describing router configs. 29 """Sets up a router, connects to it, then tests a channel switch.""" 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( 50 # Test to see if the router received a deauth message from 52 if self.context.router.detect_client_deauth(client_mac): 67 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_RoamEndToEnd/ |
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/autotest/server/site_tests/network_WiFi_SimpleConnect/ |
network_WiFi_SimpleConnect.py | 13 """Test that we can connect to router configured in various ways.""" 28 """Sets up a router, connects to it, pings it, and repeats.""" 32 router_caps = self.context.router.capabilities 35 raise error.TestNAError('Router does not have AC support') 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_VerifyRouter/ |
network_WiFi_VerifyRouter.py | 16 """Test that a dual radio router can use both radios.""" 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() 110 """Verify that all radios on this router are functional.""" 111 self.context.router.require_capabilities [all...] |
/frameworks/base/core/java/android/app/ |
MediaRouteActionProvider.java | 162 public void onRouteAdded(MediaRouter router, RouteInfo info) { 163 refreshRoute(router); 167 public void onRouteRemoved(MediaRouter router, RouteInfo info) { 168 refreshRoute(router); 172 public void onRouteChanged(MediaRouter router, RouteInfo info) { 173 refreshRoute(router); 176 private void refreshRoute(MediaRouter router) { 181 router.removeCallback(this);
|
/external/autotest/server/site_tests/apmanager_SimpleConnect/ |
apmanager_SimpleConnect.py | 29 """Sets up a router, connects to it, pings it.""" 36 self.context.router.setup_bridge_mode_dhcp_server() 38 self.context.router.get_bridge_interface() 40 ssid = self.context.router.build_unique_ssid() 43 self.context.router, self._configurations):
|
/external/autotest/server/site_tests/network_WiFi_IBSS/ |
network_WiFi_IBSS.py | 18 self.context.router.require_capabilities( 28 ssid=self.context.router.get_ssid()) 35 ssid=self.context.router.get_ssid(), 44 self.context.router.deconfig_aps()
|
/external/autotest/server/site_tests/network_WiFi_RoamSuspendSSID/ |
network_WiFi_RoamSuspendSSID.py | 49 get_client_config(self.context.router.get_ssid(instance=0), 52 get_client_config(self.context.router.get_ssid(instance=1), 59 self.context.router.deconfig_aps(instance=1) 63 self.context.router.get_ssid(instance=0),
|
/frameworks/base/media/java/android/media/ |
AudioRouting.java | 76 public void onRoutingChanged(AudioRouting router);
|
/external/autotest/server/site_tests/network_WiFi_ConnectionIdentifier/ |
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() 81 # Reconfigure the router with different SSIDs, and verify the 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_OverlappingBSSScan/ |
network_WiFi_OverlappingBSSScan.py | 50 ssid=self.context.router.get_ssid()) 58 logging.info('Pinging router without OBSS scans for %d seconds.', 69 self.context.client.shill.disconnect(self.context.router.get_ssid()) 73 self.context.router.start_capture( 77 logging.info('Pinging router with OBSS scans for %d seconds.', 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_RoamSuspendEndToEnd/ |
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_DarkResumeActiveScans/ |
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) 77 # Wake on packets from the router. 78 client.add_wake_packet_source(self.context.router.wifi_ip) 85 self.context.router.start_capture( 89 # Send the DUT a packet from the router to wake it up [all...] |
/external/autotest/server/site_tests/network_WiFi_DisconnectReason/ |
network_WiFi_DisconnectReason.py | 27 """Sets up a router, connects to it, pings it and disables it to trigger 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_MalformedProbeResp/ |
network_WiFi_MalformedProbeResp.py | 26 """Sets up a router, connects to it, pings it, and repeats.""" 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_MaskedBSSID/ |
network_WiFi_MaskedBSSID.py | 22 self.context.router.require_capabilities( 43 self.context.router.deconfig()
|
/external/autotest/server/site_tests/network_WiFi_RetryConnectHidden/ |
network_WiFi_RetryConnectHidden.py | 38 router_ssid = self.context.router.get_ssid() 42 self.context.router.deconfig()
|