Home
last modified time | relevance | path

Searched refs:shill (Results 1 – 25 of 103) sorted by relevance

12345

/external/autotest/client/cros/scripts/
Dprofile41 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 …]
Ddevice44 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/cros/networking/
Dshill_context.py39 shill = shill_proxy.ShillProxy.get_proxy()
43 enabled = shill.get_dbus_property(
44 shill.manager,
50 prohibited_csv = shill.get_dbus_property(
51 shill.manager,
70 shill.set_dbus_property(
71 shill.manager,
79 shill = shill_proxy.ShillProxy.get_proxy()
82 shill.set_dbus_property(
83 shill.manager,
[all …]
Dshill_xmlrpc_server.py131 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/
Dcellular_SIMLocking.py63 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/
Dcellular_ModemControl.py37 def __init__(self, shill, command_delegate, slow_disable): argument
38 self.shill = shill
43 self.shill.manager.EnableTechnology(
47 self.shill.manager.DisableTechnology(
108 def __init__(self, shill, device, slow_connect, slow_disable): argument
109 self.shill = shill
116 service = self.shill.find_cellular_service_object()
193 state = self.test_env.shill.get_dbus_property(
204 state = self.test_env.shill.get_dbus_property(
242 lambda: not self.test_env.shill.find_cellular_service_object(),
[all …]
Dcontrol.pseudomodem7 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.
17 Tests that commands sent to ModemManager1 are reflected in shill.
20 ensure that the modem state is always properly reflected in shill --
21 even if the commands are sent to the modem manager instead of shill.
/external/autotest/server/site_tests/network_WiFi_ProfileBasic/
Dnetwork_WiFi_ProfileBasic.py27 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/
Dcellular_SafetyDance.py42 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/
Dcellular_DisconnectFailure.py157 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 …]
Dcontrol.pseudomodem9 by shill.
13 The test will fail if the cellular service exposed by shill is in an
26 while it is CONNECTED. The expected behavior of shill is to do nothing if the
/external/autotest/client/site_tests/cellular_Smoke/
Dcellular_Smoke.py42 device = self.test_env.shill.find_cellular_device_object()
46 service = self.test_env.shill.wait_for_cellular_service_object()
51 self.test_env.shill.connect_service_synchronous(
54 state = self.test_env.shill.get_dbus_property(
67 interface = self.test_env.shill.get_dbus_property(
86 self.test_env.shill.disconnect_service_synchronous(
105 test_env.shill.wait_for_cellular_service_object, False):
/external/autotest/client/cros/cellular/
Dtest_environment.py69 self.shill = None
142 self.shill = None
150 lambda: self.shill.find_cellular_device_object(),
173 shill = cellular_proxy.CellularProxy.get_proxy(self.bus)
174 shill.manager.SetProperty(
192 self.shill.reset_modem(modem_device, expect_service=False)
202 self.shill = cellular_proxy.CellularProxy.get_proxy(self.bus)
203 if self.shill is None:
226 self.shill.set_logging_for_cellular_test()
305 service = self.shill.wait_for_cellular_service_object()
[all …]
/external/autotest/server/site_tests/network_WiFi_ChaosLongConnect/
Dnetwork_WiFi_ChaosLongConnect.py39 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/cellular_DeferredRegistration/
Dcellular_DeferredRegistration.py31 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:
Dcontrol.pseudomodem7 PURPOSE = "Verify shill deferred regisrtration behavior."
19 Tests that shill can handle temporary registration loss without destroying
21 while still connected to the network. Additionally, make sure that shill
/external/autotest/client/site_tests/cellular_OutOfCreditsSubscriptionState/
Dcellular_OutOfCreditsSubscriptionState.py31 self.test_env.shill.disable_modem_for_test_setup()
40 self.test_env.shill.manager.EnableTechnology(
59 self.test_env.shill.wait_for_cellular_service_object()
73 self.test_env.shill.wait_for_cellular_service_object()
86 self.test_env.shill.wait_for_cellular_service_object()
107 self.test_env.shill.wait_for_cellular_service_object, False):
/external/autotest/server/site_tests/network_WiFi_ChaosConnectDisconnect/
Dnetwork_WiFi_ChaosConnectDisconnect.py37 client.shill.disconnect(assoc_params.ssid)
38 if not client.shill.init_test_network_state():
49 client.shill.connect_wifi(assoc_params))
71 client.shill.disconnect(assoc_params.ssid)
72 client.shill.clean_profiles()
/external/autotest/client/site_tests/network_DhcpNegotiationTimeout/
Dcontrol12 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/server/site_tests/network_WiFi_ProfileGUID/
Dnetwork_WiFi_ProfileGUID.py52 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/
Dcontrol12 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_ScanningProperty/
Dcontrol.pseudomodem9 This test will fail if shill does not update the |Scanning| property correctly
19 Test that the |Scanning| Property of the shill cellular device object is
22 shill Manager interface.
/external/autotest/server/site_tests/network_WiFi_AssocConfigPerformance/
Dnetwork_WiFi_AssocConfigPerformance.py66 assoc_result = self.context.client.shill.connect_wifi(client_conf)
73 self.context.client.shill.disconnect(client_conf.ssid)
96 assoc_result = self.context.client.shill.connect_wifi(client_conf)
115 self.context.client.shill.disconnect(client_conf.ssid)
/external/autotest/server/cros/network/
Dconnection_worker.py88 if not self.work_client.shill.init_test_network_state():
97 self.work_client.shill.connect_wifi(assoc_params))
111 self.work_client.shill.disconnect(self.ssid)
112 self.work_client.shill.clean_profiles()
/external/autotest/client/site_tests/network_DhcpFailureWithStaticIP/
Dcontrol14 Note that shill's DHCP timeout handling depends on the device technology.
15 This test only vaidates shill's handling of DHCP timeouts for Ethernet.

12345