/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
dhcp_config.py | 27 router: The router to give to all hosts in this subnet. 35 router=None, 46 router: ipaddress.IPv4Address, The router hosts should use in this 76 if router: 77 if router >= self.start and router <= self.end: 78 raise ValueError('Router must not be in pool range.') 79 if not router in self.network [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
MediaRouteActionProvider.java | 89 * // Add the callback on start to tell the media router what kinds of routes 101 * // Remove the selector on stop to tell the media router that it no longer 295 public void onRouteAdded(MediaRouter router, MediaRouter.RouteInfo info) { 296 refreshRoute(router); 300 public void onRouteRemoved(MediaRouter router, MediaRouter.RouteInfo info) { 301 refreshRoute(router); 305 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo info) { 306 refreshRoute(router); 310 public void onProviderAdded(MediaRouter router, MediaRouter.ProviderInfo provider) { 311 refreshRoute(router); [all...] |
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
MediaRouteActionProvider.java | 91 * // Add the callback on start to tell the media router what kinds of routes 103 * // Remove the selector on stop to tell the media router that it no longer 297 public void onRouteAdded(MediaRouter router, MediaRouter.RouteInfo info) { 298 refreshRoute(router); 302 public void onRouteRemoved(MediaRouter router, MediaRouter.RouteInfo info) { 303 refreshRoute(router); 307 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo info) { 308 refreshRoute(router); 312 public void onProviderAdded(MediaRouter router, MediaRouter.ProviderInfo provider) { 313 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_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_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 | 161 public void onRouteAdded(MediaRouter router, RouteInfo info) { 162 refreshRoute(router); 166 public void onRouteRemoved(MediaRouter router, RouteInfo info) { 167 refreshRoute(router); 171 public void onRouteChanged(MediaRouter router, RouteInfo info) { 172 refreshRoute(router); 175 private void refreshRoute(MediaRouter router) { 180 router.removeCallback(this);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
MediaRouterWrapper.java | 31 public MediaRouterWrapper(MediaRouter router) 33 mRouter = router;
|
/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_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_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( 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_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(
|
/device/generic/goldfish/wifi/ipv6proxy/ |
Android.mk | 13 router.cpp \
|
/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()
|
/external/autotest/server/cros/network/ |
frame_sender.py | 11 def __init__(self, router, frame_type, channel, ssid_prefix=None, 15 @param router: LinuxRouter object router to send frames from. 25 @param instance: int hostapd instance on router to send frames from. 27 if router.board == "panther": 28 raise error.TestNAError('Panther router does not support manual ' 30 self._router = router 39 self._ap_interface = router.hostapd_instances[instance].interface
|