HomeSort by relevance Sort by last modified time
    Searched full:shill (Results 1 - 25 of 434) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/client/site_tests/network_DefaultProfileServices/
network_DefaultProfileServices.py 15 Wipe the default profile, start shill, configure a service, restart
16 shill, and check that the service exists.
22 DEFAULT_PROFILE_PATH = '/var/cache/shill/default.profile'
31 shill = shill_proxy.ShillProxy.get_proxy()
32 if shill is None:
33 raise error.TestFail('Could not connect to shill')
35 shill.manager.PopAllUserProfiles()
36 path = shill.configure_service({
37 shill.SERVICE_PROPERTY_TYPE: 'wifi',
38 shill.SERVICE_PROPERTY_MODE: 'managed'
    [all...]
  /external/autotest/client/site_tests/network_WiFiInvalidParameters/
network_WiFiInvalidParameters.py 15 """Test that shill will reject invalid WiFi service configurations.
17 In particular, this test checks shill's behavior with invalid SSIDs,
41 def check_bad_ssids(self, shill):
42 """Assert that shill will reject attempts connect to invalid SSIDs.
44 @param shill ShillProxy object representing shill.
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
    [all...]
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
  /system/update_engine/
connection_utils.cc 19 #include <shill/dbus-constants.h>
25 if (type_str == shill::kTypeEthernet) {
27 } else if (type_str == shill::kTypeWifi) {
29 } else if (type_str == shill::kTypeWimax) {
31 } else if (type_str == shill::kTypeBluetooth) {
33 } else if (type_str == shill::kTypeCellular) {
40 if (tethering_str == shill::kTetheringNotDetectedState) {
42 } else if (tethering_str == shill::kTetheringSuspectedState) {
44 } else if (tethering_str == shill::kTetheringConfirmedState) {
53 return shill::kTypeEthernet
    [all...]
connection_manager_unittest.cc 28 #include <shill/dbus-constants.h>
29 #include <shill/dbus-proxies.h>
30 #include <shill/dbus-proxy-mocks.h>
103 reply_dict[shill::kDefaultServiceProperty] =
118 reply_dict[shill::kTypeProperty] = string(service_type);
121 reply_dict[shill::kPhysicalTechnologyProperty] =
126 reply_dict[shill::kTetheringProperty] = string(service_tethering);
146 shill::kTetheringNotDetectedState);
161 "/service/guest/network", shill::kTypeWifi, nullptr, service_tethering);
172 TestWithServiceType(shill::kTypeEthernet, nullptr, ConnectionType::kEthernet)
    [all...]
  /external/autotest/client/site_tests/network_DhcpNegotiationTimeout/
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.
network_DhcpNegotiationTimeout.py 15 restarts shill, and waits for DHCP to timeout.
17 After the timeout interval, checks if the same shill process is
40 utils.restart_service("shill")
41 start_pid = self.get_daemon_pid("shill")
44 end_pid = self.get_daemon_pid("shill")
46 raise error.TestFail("shill restarted (probably crashed)")
  /external/autotest/client/site_tests/network_TwoShills/
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
network_TwoShills.py 10 """Test that only one shill runs at a time"""
18 Check if shill is running.
23 return utils.get_service_pid("shill") != 0
42 raise error.TestFail("shill not running at start")
49 # Run shill, expecting it to abort quickly. If the new
54 "shill --foreground --device-black-list=%s" % default_netdev,
58 raise error.TestFail("shill did not exit within %d seconds" %
  /external/autotest/client/site_tests/network_ShillInitScripts/
network_ShillInitScripts.py 13 """ Test that shill init scripts perform as expected. Use the
15 current state). The shill manager is stopped and a proxy
17 via "dbus-send" in the shill startup scripts. However, the
18 "real" shill is still also started from time to time and we
22 save_directories = [ '/var/cache/shill',
24 '/run/shill',
32 guest_shill_user_profile_dir = '/run/shill/guest_user_profile/shill'
33 guest_shill_user_log_dir = '/run/shill/guest_user_profile/shill_logs'
34 magic_header = '# --- shill init file test magic header ---
    [all...]
  /external/autotest/client/site_tests/cellular_DeferredRegistration/
control.pseudomodem 7 PURPOSE = "Verify shill deferred regisrtration behavior."
10 - Shill destroys a service due to temporary registration loss
11 - Shill never destroys a service after permanent registration loss
19 Tests that shill can handle temporary registration loss without destroying
21 while still connected to the network. Additionally, make sure that shill
cellular_DeferredRegistration.py 18 Tests that shill can handle temporary registration loss without
21 sure that shill still disconnects a service that has suffered a
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/cros/scripts/
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...]
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/cros/networking/
shill_context.py 5 """A collection of context managers for working with shill objects."""
17 SHILL_START_LOCK_PATH = '/run/lock/shill-start.lock'
20 """An error raised by a context managers dealing with shill objects."""
25 """A context manager for allowing only specified technologies in shill.
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
    [all...]
  /external/autotest/client/site_tests/cellular_ActivateCDMA/
control.pseudomodem 9 activation process when shill accesses the modem via ModemManager.
23 After an online payment to activate a CDMA network, shill issues an OTASP
26 reflected correctly in shill and that activation retries are repeatedly
  /external/autotest/client/site_tests/network_DhcpRenew/
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_RestartShill/
network_RestartShill.py 13 Stop shill, restart it, check that we can talk to it.
15 DEFAULT_PROFILE_PATH = '/var/cache/shill/default.profile'
24 shill = shill_proxy.ShillProxy.get_proxy()
  /external/autotest/client/site_tests/network_DhcpFailureWithStaticIP/
control 14 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.
  /external/autotest/client/site_tests/cellular_OutOfCreditsSubscriptionState/
control.pseudomodem 7 PURPOSE = "Verify shill out-of-credits behavior using subscription state."
10 - Shill does not mark a cellular service as out-of-credits when the modem
12 - Shill does not clear the out-of-credits flag when the subscription state
21 Tests that shill marks a cellular service as out-of-credits according to the
  /external/autotest/client/site_tests/cellular_ModemControl/
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/server/site_tests/network_WiFi_ProfileBasic/
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)
108 # disconnected" flag on all services. This should cause shill
121 if not self.context.client.shill.delete_entries_for_ssid
    [all...]
  /system/update_engine/update_manager/
real_shill_provider_unittest.cc 26 #include <shill/dbus-constants.h>
27 #include <shill/dbus-proxies.h>
28 #include <shill/dbus-proxy-mocks.h>
137 shill::kDefaultServiceProperty, dbus::ObjectPath(service_path));
180 shill::kTetheringNotDetectedState,
199 service_path, shill::kTypeEthernet, shill_tethering, &conn_change_time);
234 reply_dict[shill::kDefaultServiceProperty] =
250 reply_dict[shill::kTypeProperty] = std::string(service_type);
253 reply_dict[shill::kPhysicalTechnologyProperty] =
258 reply_dict[shill::kTetheringProperty] = std::string(service_tethering)
    [all...]
  /external/autotest/client/site_tests/network_BasicProfileProperties/
network_BasicProfileProperties.py 14 """Test that shill's DBus properties for profiles work."""
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/network_DefaultProfileCreation/
network_DefaultProfileCreation.py 18 Wipe the default profile, start shill, and check that a default
25 DEFAULT_PROFILE_PATH = '/var/cache/shill/default.profile'
53 shill = shill_proxy.ShillProxy.get_proxy()
57 if shill.get_profiles():
66 raise error.TestFail('shill should load a profile within '
70 raise error.TestFail('shill profile is still empty after '

Completed in 2304 milliseconds

1 2 3 4 5 6 7 8 91011>>