shill: wifi: Register newly-configured hidden networks

When a hidden WiFi service is created via ConfigureService,
it should be registered.  This matches up exactly with how
hidden services are loaded from newly pushed profile in
WiFi::LoadHiddenServices().

BUG=chromium-os:26676
TEST=New unit tests, manual -- configure a hidden network via
configure-hidden-wifi, then propose a scan via "test-flimflam scan",
while running "iw event" to confirm whether the new SSID appears in
the scan list

Change-Id: I09cc26ad93c816ae109d5ce993354e2a9ed6240c
Reviewed-on: https://gerrit.chromium.org/gerrit/21289
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
4 files changed
tree: 7c583ab3133d8eb0e1dd32ac4e1f43dfe1fb652a
  1. dbus_bindings/
  2. doc/
  3. .gitignore
  4. accessor_interface.h
  5. adaptor_interfaces.h
  6. async_connection.cc
  7. async_connection.h
  8. async_connection_unittest.cc
  9. byte_string.cc
  10. byte_string.h
  11. byte_string_unittest.cc
  12. callbacks.h
  13. cellular.cc
  14. cellular.h
  15. cellular_capability.cc
  16. cellular_capability.h
  17. cellular_capability_cdma.cc
  18. cellular_capability_cdma.h
  19. cellular_capability_cdma_unittest.cc
  20. cellular_capability_classic.cc
  21. cellular_capability_classic.h
  22. cellular_capability_classic_unittest.cc
  23. cellular_capability_gsm.cc
  24. cellular_capability_gsm.h
  25. cellular_capability_gsm_unittest.cc
  26. cellular_capability_universal.cc
  27. cellular_capability_universal.h
  28. cellular_capability_universal_unittest.cc
  29. cellular_error.cc
  30. cellular_error.h
  31. cellular_service.cc
  32. cellular_service.h
  33. cellular_service_unittest.cc
  34. cellular_unittest.cc
  35. connection.cc
  36. connection.h
  37. connection_unittest.cc
  38. control_interface.h
  39. crypto_des_cbc.cc
  40. crypto_des_cbc.h
  41. crypto_des_cbc_unittest.cc
  42. crypto_interface.h
  43. crypto_provider.cc
  44. crypto_provider.h
  45. crypto_provider_unittest.cc
  46. crypto_rot47.cc
  47. crypto_rot47.h
  48. crypto_rot47_unittest.cc
  49. dbus_adaptor.cc
  50. dbus_adaptor.h
  51. dbus_adaptor_unittest.cc
  52. dbus_control.cc
  53. dbus_control.h
  54. dbus_objectmanager_proxy.cc
  55. dbus_objectmanager_proxy.h
  56. dbus_objectmanager_proxy_interface.h
  57. dbus_properties.cc
  58. dbus_properties.h
  59. dbus_properties_proxy.cc
  60. dbus_properties_proxy.h
  61. dbus_properties_proxy_interface.h
  62. dbus_properties_unittest.cc
  63. dbus_property_matchers.h
  64. default_profile.cc
  65. default_profile.h
  66. default_profile_unittest.cc
  67. device.cc
  68. device.h
  69. device_dbus_adaptor.cc
  70. device_dbus_adaptor.h
  71. device_info.cc
  72. device_info.h
  73. device_info_unittest.cc
  74. device_stub.h
  75. device_unittest.cc
  76. dhcp_config.cc
  77. dhcp_config.h
  78. dhcp_config_unittest.cc
  79. dhcp_provider.cc
  80. dhcp_provider.h
  81. dhcp_provider_unittest.cc
  82. dhcp_proxy_interface.h
  83. dhcpcd_proxy.cc
  84. dhcpcd_proxy.h
  85. dns_client.cc
  86. dns_client.h
  87. dns_client_unittest.cc
  88. endpoint.cc
  89. endpoint.h
  90. ephemeral_profile.cc
  91. ephemeral_profile.h
  92. error.cc
  93. error.h
  94. error_unittest.cc
  95. ethernet.cc
  96. ethernet.h
  97. ethernet_service.cc
  98. ethernet_service.h
  99. event_dispatcher.cc
  100. event_dispatcher.h
  101. glib.cc
  102. glib.h
  103. glib_io_input_handler.cc
  104. glib_io_input_handler.h
  105. glib_io_ready_handler.cc
  106. glib_io_ready_handler.h
  107. HACKING
  108. http_proxy.cc
  109. http_proxy.h
  110. http_proxy_unittest.cc
  111. http_request.cc
  112. http_request.h
  113. http_request_unittest.cc
  114. http_url.cc
  115. http_url.h
  116. http_url_unittest.cc
  117. ieee80211.h
  118. io_handler.h
  119. ip_address.cc
  120. ip_address.h
  121. ip_address_unittest.cc
  122. ipconfig.cc
  123. ipconfig.h
  124. ipconfig_dbus_adaptor.cc
  125. ipconfig_dbus_adaptor.h
  126. ipconfig_unittest.cc
  127. key_file_store.cc
  128. key_file_store.h
  129. key_file_store_unittest.cc
  130. key_value_store.cc
  131. key_value_store.h
  132. key_value_store_unittest.cc
  133. l2tp_ipsec_driver.cc
  134. l2tp_ipsec_driver.h
  135. l2tp_ipsec_driver_unittest.cc
  136. LICENSE
  137. Makefile
  138. manager.cc
  139. manager.h
  140. manager_dbus_adaptor.cc
  141. manager_dbus_adaptor.h
  142. manager_unittest.cc
  143. metrics.cc
  144. metrics.h
  145. metrics_unittest.cc
  146. mm1_modem_modem3gpp_proxy.cc
  147. mm1_modem_modem3gpp_proxy.h
  148. mm1_modem_modem3gpp_proxy_interface.h
  149. mm1_modem_modemcdma_proxy.cc
  150. mm1_modem_modemcdma_proxy.h
  151. mm1_modem_modemcdma_proxy_interface.h
  152. mm1_modem_proxy.cc
  153. mm1_modem_proxy.h
  154. mm1_modem_proxy_interface.h
  155. mm1_modem_simple_proxy.cc
  156. mm1_modem_simple_proxy.h
  157. mm1_modem_simple_proxy_interface.h
  158. mm1_sim_proxy.cc
  159. mm1_sim_proxy.h
  160. mm1_sim_proxy_interface.h
  161. mock_adaptors.cc
  162. mock_adaptors.h
  163. mock_ares.cc
  164. mock_ares.h
  165. mock_async_connection.cc
  166. mock_async_connection.h
  167. mock_cellular.cc
  168. mock_cellular.h
  169. mock_connection.cc
  170. mock_connection.h
  171. mock_control.cc
  172. mock_control.h
  173. mock_dbus_objectmanager_proxy.cc
  174. mock_dbus_objectmanager_proxy.h
  175. mock_dbus_properties_proxy.cc
  176. mock_dbus_properties_proxy.h
  177. mock_device.cc
  178. mock_device.h
  179. mock_device_info.cc
  180. mock_device_info.h
  181. mock_dhcp_config.cc
  182. mock_dhcp_config.h
  183. mock_dhcp_provider.cc
  184. mock_dhcp_provider.h
  185. mock_dhcp_proxy.cc
  186. mock_dhcp_proxy.h
  187. mock_dns_client.cc
  188. mock_dns_client.h
  189. mock_event_dispatcher.cc
  190. mock_event_dispatcher.h
  191. mock_glib.cc
  192. mock_glib.h
  193. mock_http_request.cc
  194. mock_http_request.h
  195. mock_ipconfig.cc
  196. mock_ipconfig.h
  197. mock_manager.cc
  198. mock_manager.h
  199. mock_metrics.cc
  200. mock_metrics.h
  201. mock_mm1_modem_modem3gpp_proxy.cc
  202. mock_mm1_modem_modem3gpp_proxy.h
  203. mock_mm1_modem_modemcdma_proxy.cc
  204. mock_mm1_modem_modemcdma_proxy.h
  205. mock_mm1_modem_proxy.cc
  206. mock_mm1_modem_proxy.h
  207. mock_mm1_modem_simple_proxy.cc
  208. mock_mm1_modem_simple_proxy.h
  209. mock_mm1_sim_proxy.cc
  210. mock_mm1_sim_proxy.h
  211. mock_modem.cc
  212. mock_modem.h
  213. mock_modem_cdma_proxy.cc
  214. mock_modem_cdma_proxy.h
  215. mock_modem_gsm_card_proxy.cc
  216. mock_modem_gsm_card_proxy.h
  217. mock_modem_gsm_network_proxy.cc
  218. mock_modem_gsm_network_proxy.h
  219. mock_modem_manager_proxy.cc
  220. mock_modem_manager_proxy.h
  221. mock_modem_proxy.cc
  222. mock_modem_proxy.h
  223. mock_modem_simple_proxy.cc
  224. mock_modem_simple_proxy.h
  225. mock_nss.cc
  226. mock_nss.h
  227. mock_openvpn_driver.cc
  228. mock_openvpn_driver.h
  229. mock_openvpn_management_server.cc
  230. mock_openvpn_management_server.h
  231. mock_portal_detector.cc
  232. mock_portal_detector.h
  233. mock_power_manager.cc
  234. mock_power_manager.h
  235. mock_power_manager_proxy.cc
  236. mock_power_manager_proxy.h
  237. mock_profile.cc
  238. mock_profile.h
  239. mock_property_store.cc
  240. mock_property_store.h
  241. mock_proxy_factory.cc
  242. mock_proxy_factory.h
  243. mock_resolver.cc
  244. mock_resolver.h
  245. mock_routing_table.cc
  246. mock_routing_table.h
  247. mock_rtnl_handler.cc
  248. mock_rtnl_handler.h
  249. mock_service.cc
  250. mock_service.h
  251. mock_sockets.cc
  252. mock_sockets.h
  253. mock_store.cc
  254. mock_store.h
  255. mock_supplicant_bss_proxy.cc
  256. mock_supplicant_bss_proxy.h
  257. mock_supplicant_interface_proxy.cc
  258. mock_supplicant_interface_proxy.h
  259. mock_supplicant_process_proxy.cc
  260. mock_supplicant_process_proxy.h
  261. mock_time.cc
  262. mock_time.h
  263. mock_vpn.cc
  264. mock_vpn.h
  265. mock_vpn_driver.cc
  266. mock_vpn_driver.h
  267. mock_vpn_service.cc
  268. mock_vpn_service.h
  269. mock_wifi.cc
  270. mock_wifi.h
  271. mock_wifi_service.cc
  272. mock_wifi_service.h
  273. modem.cc
  274. modem.h
  275. modem_1.cc
  276. modem_1_unittest.cc
  277. modem_cdma_proxy.cc
  278. modem_cdma_proxy.h
  279. modem_cdma_proxy_interface.h
  280. modem_classic.cc
  281. modem_gsm_card_proxy.cc
  282. modem_gsm_card_proxy.h
  283. modem_gsm_card_proxy_interface.h
  284. modem_gsm_network_proxy.cc
  285. modem_gsm_network_proxy.h
  286. modem_gsm_network_proxy_interface.h
  287. modem_info.cc
  288. modem_info.h
  289. modem_info_unittest.cc
  290. modem_manager.cc
  291. modem_manager.h
  292. modem_manager_proxy.cc
  293. modem_manager_proxy.h
  294. modem_manager_proxy_interface.h
  295. modem_manager_unittest.cc
  296. modem_proxy.cc
  297. modem_proxy.h
  298. modem_proxy_interface.h
  299. modem_simple_proxy.cc
  300. modem_simple_proxy.h
  301. modem_simple_proxy_interface.h
  302. modem_unittest.cc
  303. nice_mock_control.cc
  304. nice_mock_control.h
  305. nss.cc
  306. nss.h
  307. nss_unittest.cc
  308. openvpn_driver.cc
  309. openvpn_driver.h
  310. openvpn_driver_unittest.cc
  311. openvpn_management_server.cc
  312. openvpn_management_server.h
  313. openvpn_management_server_unittest.cc
  314. portal_detector.cc
  315. portal_detector.h
  316. portal_detector_unittest.cc
  317. power_manager.cc
  318. power_manager.h
  319. power_manager_proxy.cc
  320. power_manager_proxy.h
  321. power_manager_proxy_interface.h
  322. power_manager_unittest.cc
  323. profile.cc
  324. profile.h
  325. profile_dbus_adaptor.cc
  326. profile_dbus_adaptor.h
  327. profile_dbus_property_exporter.cc
  328. profile_dbus_property_exporter.h
  329. profile_dbus_property_exporter_unittest.cc
  330. profile_unittest.cc
  331. property_accessor.h
  332. property_accessor_unittest.cc
  333. property_iterator.h
  334. property_store.cc
  335. property_store.h
  336. property_store_unittest.cc
  337. property_store_unittest.h
  338. provider_db_unittest.bfd
  339. proxy_factory.cc
  340. proxy_factory.h
  341. refptr_types.h
  342. resolver.cc
  343. resolver.h
  344. resolver_unittest.cc
  345. routing_table.cc
  346. routing_table.h
  347. routing_table_entry.h
  348. routing_table_unittest.cc
  349. rpc_task.cc
  350. rpc_task.h
  351. rpc_task_dbus_adaptor.cc
  352. rpc_task_dbus_adaptor.h
  353. rpc_task_unittest.cc
  354. rtnl_handler.cc
  355. rtnl_handler.h
  356. rtnl_handler_unittest.cc
  357. rtnl_listener.cc
  358. rtnl_listener.h
  359. rtnl_listener_unittest.cc
  360. rtnl_message.cc
  361. rtnl_message.h
  362. rtnl_message_unittest.cc
  363. scope_logger.cc
  364. scope_logger.h
  365. scope_logger_unittest.cc
  366. service.cc
  367. service.h
  368. service_dbus_adaptor.cc
  369. service_dbus_adaptor.h
  370. service_sorter.h
  371. service_under_test.cc
  372. service_under_test.h
  373. service_unittest.cc
  374. shill.conf
  375. shill_ares.cc
  376. shill_ares.h
  377. shill_config.cc
  378. shill_config.h
  379. shill_daemon.cc
  380. shill_daemon.h
  381. shill_main.cc
  382. shill_test_config.cc
  383. shill_test_config.h
  384. shill_time.cc
  385. shill_time.h
  386. shill_unittest.cc
  387. sockets.cc
  388. sockets.h
  389. store_interface.h
  390. supplicant_bss_proxy.cc
  391. supplicant_bss_proxy.h
  392. supplicant_bss_proxy_interface.h
  393. supplicant_interface_proxy.cc
  394. supplicant_interface_proxy.h
  395. supplicant_interface_proxy_interface.h
  396. supplicant_process_proxy.cc
  397. supplicant_process_proxy.h
  398. supplicant_process_proxy_interface.h
  399. technology.cc
  400. technology.h
  401. technology_unittest.cc
  402. TESTING
  403. testrunner.cc
  404. virtio_ethernet.cc
  405. virtio_ethernet.h
  406. vpn.cc
  407. vpn.h
  408. vpn_driver.cc
  409. vpn_driver.h
  410. vpn_driver_unittest.cc
  411. vpn_provider.cc
  412. vpn_provider.h
  413. vpn_provider_unittest.cc
  414. vpn_service.cc
  415. vpn_service.h
  416. vpn_service_unittest.cc
  417. vpn_unittest.cc
  418. wifi.cc
  419. wifi.h
  420. wifi_endpoint.cc
  421. wifi_endpoint.h
  422. wifi_endpoint_unittest.cc
  423. wifi_service.cc
  424. wifi_service.h
  425. wifi_service_unittest.cc
  426. wifi_unittest.cc
  427. wpa_supplicant.cc
  428. wpa_supplicant.h