/external/autotest/client/cros/scripts/ |
D | profile | 41 shill = shill_proxy.ShillProxy() 43 active_profile = shill.get_active_profile() 45 active_name = shill.dbus2primitive( 46 properties[shill.PROFILE_PROPERTY_NAME]) 51 shill.manager.PopProfile(active_name) 52 shill.manager.RemoveProfile(active_name) 67 shill = shill_proxy.ShillProxy() 68 properties = shill.dbus2primitive( 69 shill.manager.GetProperties(utf8_strings=True)) 70 active_profile = shill.get_active_profile() [all …]
|
D | device | 44 shill = shill_proxy.ShillProxy() 47 shill.dbus2primitive(device.GetProperties(utf8_strings=True)), 58 shill = shill_proxy.ShillProxy() 59 for device in shill.get_devices(): 77 shill = shill_proxy.ShillProxy() 78 device = shill.find_object('Device', {'Name': sys.argv[2]})
|
/external/autotest/client/site_tests/network_DefaultProfileServices/ |
D | network_DefaultProfileServices.py | 31 shill = shill_proxy.ShillProxy.get_proxy() 32 if shill is None: 35 shill.manager.PopAllUserProfiles() 36 path = shill.configure_service({ 37 shill.SERVICE_PROPERTY_TYPE: 'wifi', 38 shill.SERVICE_PROPERTY_MODE: 'managed', 39 shill.SERVICE_PROPERTY_SSID: self.OUR_SSID, 40 shill.SERVICE_PROPERTY_HIDDEN: True, 41 shill.SERVICE_PROPERTY_SECURITY_CLASS: 'none', 48 shill = shill_proxy.ShillProxy.get_proxy() [all …]
|
/external/autotest/client/cros/networking/ |
D | shill_context.py | 42 shill = shill_proxy.ShillProxy.get_proxy() 46 enabled = shill.get_dbus_property( 47 shill.manager, 53 prohibited_csv = shill.get_dbus_property( 54 shill.manager, 73 shill.set_dbus_property( 74 shill.manager, 82 shill = shill_proxy.ShillProxy.get_proxy() 85 shill.set_dbus_property( 86 shill.manager, [all …]
|
D | shill_xmlrpc_server.py | 131 shill = self._wifi_proxy 134 properties[shill.SERVICE_PROPERTY_AUTOCONNECT] = params.autoconnect 136 properties[shill.SERVICE_PROPERTY_PASSPHRASE] = params.passphrase 215 shill = self._wifi_proxy 216 for profile in shill.get_profiles(): 217 profile_properties = shill.dbus2primitive( 219 entry_ids = profile_properties[shill.PROFILE_PROPERTY_ENTRIES] 222 if shill.dbus2primitive(entry[shill.ENTRY_FIELD_NAME]) == ssid:
|
/external/autotest/client/site_tests/cellular_SIMLocking/ |
D | cellular_SIMLocking.py | 63 if e.get_dbus_name() == self.test_env.shill.ERROR_INCORRECT_PIN: 76 if e.get_dbus_name() == self.test_env.shill.ERROR_INCORRECT_PIN: 87 self.test_env.shill.DEVICE_PROPERTY_SIM_LOCK_STATUS, 91 return self.test_env.shill.dbus2primitive(sim_lock_status) 98 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_ENABLED, 110 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_TYPE, 115 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PIN 122 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_TYPE, 127 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PUK 134 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_RETRIES_LEFT, [all …]
|
/external/autotest/client/site_tests/cellular_ModemControl/ |
D | cellular_ModemControl.py | 34 def __init__(self, shill, command_delegate): argument 35 self.shill = shill 39 self.shill.manager.EnableTechnology( 43 self.shill.manager.DisableTechnology( 95 def __init__(self, shill, device, slow_connect): argument 96 self.shill = shill 102 service = self.shill.find_cellular_service_object() 175 state = self.test_env.shill.get_dbus_property( 186 state = self.test_env.shill.get_dbus_property( 224 lambda: not self.test_env.shill.find_cellular_service_object(), [all …]
|
D | control.pseudomodem | 7 PURPOSE = "Verify commands sent to a modem manager are reflected in shill." 9 This test will fail if modem manager state differs from shill state. 18 Tests that commands sent to ModemManager1 are reflected in shill. 21 ensure that the modem state is always properly reflected in shill -- 22 even if the commands are sent to the modem manager instead of shill.
|
/external/autotest/client/site_tests/network_ConfigureEthernetServiceForProfile/ |
D | network_ConfigureEthernetServiceForProfile.py | 31 shill = shill_proxy.ShillProxy.get_proxy() 32 if shill is None: 35 path = shill.configure_service_for_profile('/profile/default', { 36 shill.SERVICE_PROPERTY_TYPE: 'ethernet', 37 shill.SERVICE_PROPERTY_STATIC_IP_NAMESERVERS: '8.8.8.8', 44 shill = shill_proxy.ShillProxy.get_proxy() 45 if shill is None: 48 service = shill.find_object('Service', { 50 shill.SERVICE_PROPERTY_STATIC_IP_NAMESERVERS: '8.8.8.8',
|
/external/autotest/server/site_tests/network_WiFi_ProfileBasic/ |
D | network_WiFi_ProfileBasic.py | 27 if not all([self._wifi_client.shill.create_profile(self.profile_name), 28 self._wifi_client.shill.push_profile(self.profile_name)]): 36 self._wifi_client.shill.pop_profile(self.profile_name) 37 if not self._wifi_client.shill.remove_profile(self.profile_name): 71 self.context.client.shill.clean_profiles() 88 if not self.context.client.shill.pop_profile(bottom.profile_name): 94 if not self.context.client.shill.push_profile(bottom.profile_name): 102 self.context.client.shill.disconnect(client_config0.ssid) 121 if not self.context.client.shill.delete_entries_for_ssid( 133 if not self.context.client.shill.pop_profile(top.profile_name): [all …]
|
/external/autotest/client/site_tests/cellular_SafetyDance/ |
D | cellular_SafetyDance.py | 42 self.test_env.shill.manager.EnableTechnology('cellular')) 47 self.test_env.shill.manager.DisableTechnology('cellular')) 60 return not self.test_env.shill.find_cellular_service_object() 66 service = self.test_env.shill.wait_for_cellular_service_object( 72 self.test_env.shill.connect_service_synchronous( 82 service = self.test_env.shill.wait_for_cellular_service_object( 88 self.test_env.shill.disconnect_service_synchronous( 114 self.device = self.test_env.shill.find_cellular_device_object() 128 test_env.shill.wait_for_cellular_service_object, False): 133 test_env.shill.wait_for_cellular_service_object()
|
/external/autotest/client/site_tests/cellular_DisconnectFailure/ |
D | cellular_DisconnectFailure.py | 157 service = self.test_env.shill.find_cellular_service_object() 168 service = self.test_env.shill.find_cellular_service_object() 211 service = self.test_env.shill.find_cellular_service_object() 212 self.test_env.shill.connect_service_synchronous( 216 self.test_env.shill.disconnect_service_synchronous( 237 service = self.test_env.shill.find_cellular_service_object() 238 self.test_env.shill.connect_service_synchronous( 242 self.test_env.shill.disconnect_service_synchronous( 254 self.test_env.shill.disconnect_service_synchronous( 272 service = self.test_env.shill.find_cellular_service_object() [all …]
|
/external/autotest/client/site_tests/cellular_Smoke/ |
D | cellular_Smoke.py | 41 device = self.test_env.shill.find_cellular_device_object() 45 service = self.test_env.shill.wait_for_cellular_service_object() 50 self.test_env.shill.connect_service_synchronous( 53 state = self.test_env.shill.get_dbus_property( 66 interface = self.test_env.shill.get_dbus_property( 82 self.test_env.shill.disconnect_service_synchronous( 101 test_env.shill.wait_for_cellular_service_object, False):
|
/external/autotest/client/cros/cellular/ |
D | test_environment.py | 66 self.shill = None 135 self.shill = None 143 lambda: self.shill.find_cellular_device_object(), 166 shill = cellular_proxy.CellularProxy.get_proxy(self.bus) 167 shill.manager.SetProperty( 185 self.shill.reset_modem(modem_device, expect_service=False) 195 self.shill = cellular_proxy.CellularProxy.get_proxy(self.bus) 196 if self.shill is None: 219 self.shill.set_logging_for_cellular_test() 298 service = self.shill.wait_for_cellular_service_object() [all …]
|
/external/autotest/server/site_tests/network_WiFi_ChaosLongConnect/ |
D | network_WiFi_ChaosLongConnect.py | 39 client.shill.disconnect(assoc_params.ssid) 40 if not client.shill.init_test_network_state(): 51 client.shill.connect_wifi(assoc_params)) 76 client.shill.disconnect(assoc_params.ssid) 77 client.shill.clean_profiles()
|
/external/autotest/client/site_tests/network_BasicProfileProperties/ |
D | network_BasicProfileProperties.py | 44 shill = wifi_proxy.WifiProxy.get_proxy() 46 shill.manager, profile_name=self.PROFILE_NAME): 47 profiles = shill.get_profiles() 51 profile_properties = shill.dbus2primitive( 60 entries = shill.dbus2primitive(self.get_field_from_properties(
|
/external/autotest/client/site_tests/cellular_DeferredRegistration/ |
D | cellular_DeferredRegistration.py | 31 service = self.test_env.shill.find_cellular_service_object() 32 self.test_env.shill.connect_service_synchronous( 34 timeout_seconds=self.test_env.shill.SERVICE_CONNECT_TIMEOUT) 52 if self.test_env.shill.find_cellular_service_object() is None: 64 if self.test_env.shill.find_cellular_service_object() is not None:
|
/external/autotest/client/site_tests/cellular_OutOfCreditsSubscriptionState/ |
D | cellular_OutOfCreditsSubscriptionState.py | 31 self.test_env.shill.disable_modem_for_test_setup() 41 self.test_env.shill.manager.EnableTechnology( 60 self.test_env.shill.wait_for_cellular_service_object() 74 self.test_env.shill.wait_for_cellular_service_object() 87 self.test_env.shill.wait_for_cellular_service_object() 109 self.test_env.shill.wait_for_cellular_service_object, False):
|
/external/autotest/server/site_tests/network_WiFi_ChaosConnectDisconnect/ |
D | network_WiFi_ChaosConnectDisconnect.py | 37 client.shill.disconnect(assoc_params.ssid) 38 if not client.shill.init_test_network_state(): 48 client.shill.connect_wifi(assoc_params)) 70 client.shill.disconnect(assoc_params.ssid) 71 client.shill.clean_profiles()
|
/external/autotest/client/site_tests/network_TwoShills/ |
D | control | 12 Test that only one shill runs at a time. 14 Checks that shill is already running, and then tries to start a new 15 shill. Fails if the new shill process does not exit in a reasonable
|
/external/autotest/client/site_tests/network_DhcpNegotiationTimeout/ |
D | control | 12 Tests that shill handles DHCP timeout in a reasonable way. In particular, 13 shill should not crash due a to a DHCP timeout. 15 Note that shill's DHCP timeout handling depends on the device technology. 16 This test only vaidates shill's handling of DHCP timeouts for Ethernet.
|
/external/autotest/client/site_tests/cellular_ActivateCDMA/ |
D | cellular_ActivateCDMA.py | 130 service = self.test.test_env.shill.find_cellular_service_object() 163 service = self.test.test_env.shill.find_cellular_service_object() 219 success, state, _ = self.test_env.shill.wait_for_property_in( 220 self.test_env.shill.find_cellular_service_object(), 235 modem = self.test_env.shill.find_cellular_device_object() 236 self.test_env.shill.reset_modem(modem)
|
/external/autotest/server/site_tests/network_WiFi_ProfileGUID/ |
D | network_WiFi_ProfileGUID.py | 52 properties = self.context.client.shill.get_service_properties(ssid) 82 self.context.client.shill.configure_wifi_service(assoc_params) 86 if not self.context.client.shill.delete_entries_for_ssid( 99 self.context.client.shill.configure_wifi_service(assoc_params) 108 if not self.context.client.shill.configure_service_by_guid(
|
/external/autotest/client/site_tests/network_DhcpRenew/ |
D | control | 12 Tests that shill can renew leases through dhcpcd, and deconfigures an 15 This test fails if shill ignores the T1, T2, or lease timeouts. Since 17 some of the interraction between shill and dhcpcd.
|
/external/autotest/client/site_tests/cellular_ActivateLTE/ |
D | cellular_ActivateLTE.py | 264 success, state, duration = self.test_env.shill.wait_for_property_in( 285 lambda: (self.test_env.shill.find_cellular_service_object() 291 service = self.test_env.shill.find_cellular_service_object() 301 device = self.test_env.shill.find_cellular_device_object() 315 self.test_env.shill.reset_modem(self.FindCellularDevice())
|