/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]})
|
D | destination | 35 shill = shill_proxy.ShillProxy() 40 if shill.manager.VerifyDestination(*args[0:NUM_VERIFY_ARGS]): 48 print shill.manager.VerifyAndEncryptData(*args[0:NUM_ENCRYPT_ARGS])
|
/external/autotest/client/site_tests/network_WiFiInvalidParameters/ |
D | network_WiFiInvalidParameters.py | 41 def check_bad_ssids(self, shill): argument 49 config_params = {shill.SERVICE_PROPERTY_TYPE: 'wifi', 50 shill.SERVICE_PROPERTY_SSID: ssid, 51 shill.SERVICE_PROPERTY_SECURITY_CLASS: 'none'} 54 shill.configure_service(config_params) 68 def check_bad_wep_keys(self, shill): argument 101 config_params = {shill.SERVICE_PROPERTY_TYPE: 'wifi', 102 shill.SERVICE_PROPERTY_SSID: self.get_ssid(), 103 shill.SERVICE_PROPERTY_PASSPHRASE: key, 104 shill.SERVICE_PROPERTY_SECURITY_CLASS: 'wep'} [all …]
|
D | control | 7 PURPOSE = 'Verify shill returns correct errors for invalid WiFi configurations' 15 errors to come back from shill. 17 This test fails if shill doesn't return the expected DBus exceptions when
|
/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/site_tests/network_SIMLocking/ |
D | network_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/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/network_3GModemControl/ |
D | network_3GModemControl.py | 32 def __init__(self, shill, command_delegate): argument 33 self.shill = shill 37 self.shill.manager.EnableTechnology( 41 self.shill.manager.DisableTechnology( 93 def __init__(self, shill, device, slow_connect): argument 94 self.shill = shill 100 service = self.shill.find_cellular_service_object() 222 lambda: not self.test_env.shill.find_cellular_service_object(), 246 service = self.test_env.shill.wait_for_cellular_service_object() 263 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_3GSafetyDance/ |
D | network_3GSafetyDance.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.find_cellular_service_object, False): 133 test_env.shill.wait_for_cellular_service_object()
|
/external/autotest/client/site_tests/network_3GDisconnectFailure/ |
D | network_3GDisconnectFailure.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/cros/cellular/ |
D | test_environment.py | 76 self.shill = None 144 self.shill = None 152 modem_device = self.shill.find_cellular_device_object() 176 shill = cellular_proxy.CellularProxy.get_proxy(self.bus) 177 shill.manager.SetProperty( 195 self.shill.reset_modem(modem_device, expect_service=False) 205 self.shill = cellular_proxy.CellularProxy.get_proxy(self.bus) 206 if self.shill is None: 232 self.shill.set_logging_for_cellular_test() 311 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/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/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.find_cellular_service_object, False):
|
/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/network_CDMAActivate/ |
D | network_CDMAActivate.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/network_WiMaxPresent/ |
D | control | 17 5. shill is not built with WiMAX support or does not communicate with the 30 It simply checks if shill creates a WiMAX device object, which verifies that: 34 - The WiMAX manager is running and can communicate with shill over DBus. 35 - shill is built with WiMAX support.
|
/external/autotest/client/cros/networking/ |
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:
|