shill: Add simple "shill_setup_wifi" command

This test exercises the D-Bus API to configure and connect to
a WiFi service.

BUG=chromium:447250
TEST=Run command

Change-Id: Ic13e9fb1c2682a01561a72887b2d212d47cfb0f7
Reviewed-on: https://chromium-review.googlesource.com/241735
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
2 files changed
tree: 46169203177848dee1d088746d6097bd6f5a9237
  1. bin/
  2. cellular/
  3. dbus_bindings/
  4. doc/
  5. ethernet/
  6. init/
  7. mobile_operator_db/
  8. net/
  9. setup_wifi/
  10. shims/
  11. supplicant/
  12. test-scripts/
  13. udev/
  14. upstart/
  15. vpn/
  16. wifi/
  17. wimax/
  18. .gitignore
  19. accessor_interface.h
  20. active_link_monitor.cc
  21. active_link_monitor.h
  22. active_link_monitor_unittest.cc
  23. adaptor_interfaces.h
  24. arp_client.cc
  25. arp_client.h
  26. arp_client_test_helper.cc
  27. arp_client_test_helper.h
  28. arp_client_unittest.cc
  29. arp_packet.cc
  30. arp_packet.h
  31. arp_packet_unittest.cc
  32. async_connection.cc
  33. async_connection.h
  34. async_connection_unittest.cc
  35. callbacks.h
  36. certificate_file.cc
  37. certificate_file.h
  38. certificate_file_unittest.cc
  39. connection.cc
  40. connection.h
  41. connection_health_checker.cc
  42. connection_health_checker.h
  43. connection_health_checker_unittest.cc
  44. connection_info.cc
  45. connection_info.h
  46. connection_info_reader.cc
  47. connection_info_reader.h
  48. connection_info_reader_unittest.cc
  49. connection_info_unittest.cc
  50. connection_tester.cc
  51. connection_tester.h
  52. connection_tester_unittest.cc
  53. connection_unittest.cc
  54. connectivity_trial.cc
  55. connectivity_trial.h
  56. connectivity_trial_unittest.cc
  57. control_interface.h
  58. crypto_des_cbc.cc
  59. crypto_des_cbc.h
  60. crypto_des_cbc_unittest.cc
  61. crypto_interface.h
  62. crypto_provider.cc
  63. crypto_provider.h
  64. crypto_provider_unittest.cc
  65. crypto_rot47.cc
  66. crypto_rot47.h
  67. crypto_rot47_unittest.cc
  68. crypto_util_proxy.cc
  69. crypto_util_proxy.h
  70. crypto_util_proxy_unittest.cc
  71. dbus_adaptor.cc
  72. dbus_adaptor.h
  73. dbus_adaptor_unittest.cc
  74. dbus_async_call_helper.h
  75. dbus_control.cc
  76. dbus_control.h
  77. dbus_manager.cc
  78. dbus_manager.h
  79. dbus_manager_unittest.cc
  80. dbus_name_watcher.cc
  81. dbus_name_watcher.h
  82. dbus_name_watcher_unittest.cc
  83. dbus_properties.cc
  84. dbus_properties.h
  85. dbus_properties_proxy.cc
  86. dbus_properties_proxy.h
  87. dbus_properties_proxy_interface.h
  88. dbus_properties_unittest.cc
  89. dbus_property_matchers.h
  90. dbus_service_proxy.cc
  91. dbus_service_proxy.h
  92. dbus_service_proxy_interface.h
  93. dbus_variant_gmock_printer.cc
  94. dbus_variant_gmock_printer.h
  95. default_profile.cc
  96. default_profile.h
  97. default_profile_unittest.cc
  98. device.cc
  99. device.h
  100. device_claimer.cc
  101. device_claimer.h
  102. device_claimer_unittest.cc
  103. device_dbus_adaptor.cc
  104. device_dbus_adaptor.h
  105. device_info.cc
  106. device_info.h
  107. device_info_unittest.cc
  108. device_stub.h
  109. device_unittest.cc
  110. dhcp_config.cc
  111. dhcp_config.h
  112. dhcp_config_unittest.cc
  113. dhcp_provider.cc
  114. dhcp_provider.h
  115. dhcp_provider_unittest.cc
  116. dhcp_proxy_interface.h
  117. dhcpcd_proxy.cc
  118. dhcpcd_proxy.h
  119. diagnostics_reporter.cc
  120. diagnostics_reporter.h
  121. diagnostics_reporter_unittest.cc
  122. dns_client.cc
  123. dns_client.h
  124. dns_client_factory.cc
  125. dns_client_factory.h
  126. dns_client_unittest.cc
  127. dns_server_tester.cc
  128. dns_server_tester.h
  129. dns_server_tester_unittest.cc
  130. eap_credentials.cc
  131. eap_credentials.h
  132. eap_credentials_unittest.cc
  133. eap_listener.cc
  134. eap_listener.h
  135. eap_listener_unittest.cc
  136. eap_protocol.h
  137. endpoint.cc
  138. endpoint.h
  139. ephemeral_profile.cc
  140. ephemeral_profile.h
  141. error.cc
  142. error.h
  143. error_unittest.cc
  144. event_dispatcher.cc
  145. event_dispatcher.h
  146. external_task.cc
  147. external_task.h
  148. external_task_unittest.cc
  149. file_io.cc
  150. file_io.h
  151. file_reader.cc
  152. file_reader.h
  153. file_reader_unittest.cc
  154. geolocation_info.cc
  155. geolocation_info.h
  156. glib.cc
  157. glib.h
  158. glib_io_handler_factory.cc
  159. glib_io_handler_factory.h
  160. glib_io_input_handler.cc
  161. glib_io_input_handler.h
  162. glib_io_ready_handler.cc
  163. glib_io_ready_handler.h
  164. HACKING
  165. hook_table.cc
  166. hook_table.h
  167. hook_table_unittest.cc
  168. http_proxy.cc
  169. http_proxy.h
  170. http_proxy_unittest.cc
  171. http_request.cc
  172. http_request.h
  173. http_request_unittest.cc
  174. http_url.cc
  175. http_url.h
  176. http_url_unittest.cc
  177. icmp.cc
  178. icmp.h
  179. icmp_unittest.cc
  180. ip_address_store.cc
  181. ip_address_store.h
  182. ip_address_store_unittest.cc
  183. ipconfig.cc
  184. ipconfig.h
  185. ipconfig_dbus_adaptor.cc
  186. ipconfig_dbus_adaptor.h
  187. ipconfig_unittest.cc
  188. key_file_store.cc
  189. key_file_store.h
  190. key_file_store_unittest.cc
  191. key_value_store.cc
  192. key_value_store.h
  193. key_value_store_unittest.cc
  194. link_monitor.cc
  195. link_monitor.h
  196. link_monitor_unittest.cc
  197. logging.cc
  198. logging.h
  199. manager.cc
  200. manager.h
  201. manager_dbus_adaptor.cc
  202. manager_dbus_adaptor.h
  203. manager_unittest.cc
  204. metrics.cc
  205. metrics.h
  206. metrics_unittest.cc
  207. mock_active_link_monitor.cc
  208. mock_active_link_monitor.h
  209. mock_adaptors.cc
  210. mock_adaptors.h
  211. mock_ares.cc
  212. mock_ares.h
  213. mock_arp_client.cc
  214. mock_arp_client.h
  215. mock_async_connection.cc
  216. mock_async_connection.h
  217. mock_certificate_file.cc
  218. mock_certificate_file.h
  219. mock_connection.cc
  220. mock_connection.h
  221. mock_connection_health_checker.cc
  222. mock_connection_health_checker.h
  223. mock_connection_info_reader.cc
  224. mock_connection_info_reader.h
  225. mock_connectivity_trial.cc
  226. mock_connectivity_trial.h
  227. mock_control.cc
  228. mock_control.h
  229. mock_crypto_util_proxy.cc
  230. mock_crypto_util_proxy.h
  231. mock_dbus_manager.cc
  232. mock_dbus_manager.h
  233. mock_dbus_properties_proxy.cc
  234. mock_dbus_properties_proxy.h
  235. mock_dbus_service_proxy.cc
  236. mock_dbus_service_proxy.h
  237. mock_device.cc
  238. mock_device.h
  239. mock_device_claimer.cc
  240. mock_device_claimer.h
  241. mock_device_info.cc
  242. mock_device_info.h
  243. mock_dhcp_config.cc
  244. mock_dhcp_config.h
  245. mock_dhcp_provider.cc
  246. mock_dhcp_provider.h
  247. mock_dhcp_proxy.cc
  248. mock_dhcp_proxy.h
  249. mock_diagnostics_reporter.cc
  250. mock_diagnostics_reporter.h
  251. mock_dns_client.cc
  252. mock_dns_client.h
  253. mock_dns_client_factory.cc
  254. mock_dns_client_factory.h
  255. mock_dns_server_tester.cc
  256. mock_dns_server_tester.h
  257. mock_eap_credentials.cc
  258. mock_eap_credentials.h
  259. mock_eap_listener.cc
  260. mock_eap_listener.h
  261. mock_event_dispatcher.cc
  262. mock_event_dispatcher.h
  263. mock_external_task.cc
  264. mock_external_task.h
  265. mock_file_io.h
  266. mock_glib.cc
  267. mock_glib.h
  268. mock_http_request.cc
  269. mock_http_request.h
  270. mock_ip_address_store.cc
  271. mock_ip_address_store.h
  272. mock_ipconfig.cc
  273. mock_ipconfig.h
  274. mock_link_monitor.cc
  275. mock_link_monitor.h
  276. mock_log.cc
  277. mock_log.h
  278. mock_log_unittest.cc
  279. mock_manager.cc
  280. mock_manager.h
  281. mock_metrics.cc
  282. mock_metrics.h
  283. mock_passive_link_monitor.cc
  284. mock_passive_link_monitor.h
  285. mock_pending_activation_store.cc
  286. mock_pending_activation_store.h
  287. mock_portal_detector.cc
  288. mock_portal_detector.h
  289. mock_power_manager.cc
  290. mock_power_manager.h
  291. mock_power_manager_proxy.cc
  292. mock_power_manager_proxy.h
  293. mock_ppp_device.cc
  294. mock_ppp_device.h
  295. mock_ppp_device_factory.cc
  296. mock_ppp_device_factory.h
  297. mock_process_killer.cc
  298. mock_process_killer.h
  299. mock_profile.cc
  300. mock_profile.h
  301. mock_property_store.cc
  302. mock_property_store.h
  303. mock_proxy_factory.cc
  304. mock_proxy_factory.h
  305. mock_resolver.cc
  306. mock_resolver.h
  307. mock_routing_table.cc
  308. mock_routing_table.h
  309. mock_service.cc
  310. mock_service.h
  311. mock_socket_info_reader.cc
  312. mock_socket_info_reader.h
  313. mock_store.cc
  314. mock_store.h
  315. mock_traffic_monitor.cc
  316. mock_traffic_monitor.h
  317. mock_virtual_device.cc
  318. mock_virtual_device.h
  319. NETLINK_MESSAGES.txt
  320. nice_mock_control.cc
  321. nice_mock_control.h
  322. OWNERS
  323. passive_link_monitor.cc
  324. passive_link_monitor.h
  325. passive_link_monitor_unittest.cc
  326. pending_activation_store.cc
  327. pending_activation_store.h
  328. pending_activation_store_unittest.cc
  329. portal_detector.cc
  330. portal_detector.h
  331. portal_detector_unittest.cc
  332. power_manager.cc
  333. power_manager.h
  334. power_manager_proxy.cc
  335. power_manager_proxy.h
  336. power_manager_proxy_interface.h
  337. power_manager_unittest.cc
  338. ppp_daemon.cc
  339. ppp_daemon.h
  340. ppp_daemon_unittest.cc
  341. ppp_device.cc
  342. ppp_device.h
  343. ppp_device_factory.cc
  344. ppp_device_factory.h
  345. ppp_device_unittest.cc
  346. process_killer.cc
  347. process_killer.h
  348. process_killer_unittest.cc
  349. profile.cc
  350. profile.h
  351. profile_dbus_adaptor.cc
  352. profile_dbus_adaptor.h
  353. profile_dbus_property_exporter.cc
  354. profile_dbus_property_exporter.h
  355. profile_dbus_property_exporter_unittest.cc
  356. profile_unittest.cc
  357. property_accessor.h
  358. property_accessor_unittest.cc
  359. property_iterator.h
  360. property_observer.h
  361. property_observer_interface.h
  362. property_observer_unittest.cc
  363. property_store.cc
  364. property_store.h
  365. property_store_unittest.cc
  366. property_store_unittest.h
  367. protobuf_lite_streams.cc
  368. protobuf_lite_streams.h
  369. provider_db_unittest.bfd
  370. provider_interface.h
  371. proxy_factory.cc
  372. proxy_factory.h
  373. refptr_types.h
  374. resolver.cc
  375. resolver.h
  376. resolver_unittest.cc
  377. result_aggregator.cc
  378. result_aggregator.h
  379. result_aggregator_unittest.cc
  380. routing_table.cc
  381. routing_table.h
  382. routing_table_entry.h
  383. routing_table_unittest.cc
  384. rpc_task.cc
  385. rpc_task.h
  386. rpc_task_dbus_adaptor.cc
  387. rpc_task_dbus_adaptor.h
  388. rpc_task_unittest.cc
  389. scope_logger.cc
  390. scope_logger.h
  391. scope_logger_unittest.cc
  392. scoped_umask.cc
  393. scoped_umask.h
  394. service.cc
  395. service.h
  396. service_dbus_adaptor.cc
  397. service_dbus_adaptor.h
  398. service_property_change_notifier.cc
  399. service_property_change_notifier.h
  400. service_property_change_test.cc
  401. service_property_change_test.h
  402. service_sorter.h
  403. service_under_test.cc
  404. service_under_test.h
  405. service_unittest.cc
  406. shared_dbus_connection.cc
  407. shared_dbus_connection.h
  408. shill.gyp
  409. shill.gypi
  410. shill_ares.cc
  411. shill_ares.h
  412. shill_config.cc
  413. shill_config.h
  414. shill_daemon.cc
  415. shill_daemon.h
  416. shill_export.h
  417. shill_main.cc
  418. shill_test_config.cc
  419. shill_test_config.h
  420. shill_unittest.cc
  421. socket_info.cc
  422. socket_info.h
  423. socket_info_reader.cc
  424. socket_info_reader.h
  425. socket_info_reader_unittest.cc
  426. socket_info_unittest.cc
  427. static_ip_parameters.cc
  428. static_ip_parameters.h
  429. static_ip_parameters_unittest.cc
  430. store_interface.h
  431. stub_storage.h
  432. technology.cc
  433. technology.h
  434. technology_unittest.cc
  435. TESTING
  436. testing.h
  437. testrunner.cc
  438. tethering.cc
  439. tethering.h
  440. traffic_monitor.cc
  441. traffic_monitor.h
  442. traffic_monitor_unittest.cc
  443. virtual_device.cc
  444. virtual_device.h
  445. virtual_device_unittest.cc