Home
last modified time | relevance | path

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

12345678910>>...13

/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/site_tests/network_DefaultProfileServices/
Dnetwork_DefaultProfileServices.py31 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/
Dshill_context.py42 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 …]
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.py34 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 …]
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.
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/
Dnetwork_ConfigureEthernetServiceForProfile.py31 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/
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 …]
/external/autotest/client/site_tests/cellular_Smoke/
Dcellular_Smoke.py41 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/
Dtest_environment.py66 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/
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/network_BasicProfileProperties/
Dnetwork_BasicProfileProperties.py44 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/
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:
/external/autotest/client/site_tests/cellular_OutOfCreditsSubscriptionState/
Dcellular_OutOfCreditsSubscriptionState.py31 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/
Dnetwork_WiFi_ChaosConnectDisconnect.py37 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/
Dcontrol12 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/
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/client/site_tests/cellular_ActivateCDMA/
Dcellular_ActivateCDMA.py130 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/
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_ActivateLTE/
Dcellular_ActivateLTE.py264 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())

12345678910>>...13