shill: Add a 'Reset' DBus method to Device interface.

BUG=chromium-os:37678
TEST=Build and run unit tests.

Change-Id: I252ef14ff0b7e89e6e09e3590b270c346fd6a9da
Reviewed-on: https://gerrit.chromium.org/gerrit/40590
Commit-Queue: Ben Chan <benchan@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
7 files changed
tree: 9cf93e82510c0b1f3d536b24d12e0aae10d007bd
  1. bin/
  2. data/
  3. dbus_bindings/
  4. doc/
  5. shims/
  6. .gitignore
  7. accessor_interface.h
  8. adaptor_interfaces.h
  9. arp_client.cc
  10. arp_client.h
  11. arp_client_unittest.cc
  12. arp_packet.cc
  13. arp_packet.h
  14. arp_packet_unittest.cc
  15. async_connection.cc
  16. async_connection.h
  17. async_connection_unittest.cc
  18. attribute_list.cc
  19. attribute_list.h
  20. byte_string.cc
  21. byte_string.h
  22. byte_string_unittest.cc
  23. callback80211_metrics.cc
  24. callback80211_metrics.h
  25. callback80211_object.cc
  26. callback80211_object.h
  27. callbacks.h
  28. cellular.cc
  29. cellular.h
  30. cellular_capability.cc
  31. cellular_capability.h
  32. cellular_capability_cdma.cc
  33. cellular_capability_cdma.h
  34. cellular_capability_cdma_unittest.cc
  35. cellular_capability_classic.cc
  36. cellular_capability_classic.h
  37. cellular_capability_classic_unittest.cc
  38. cellular_capability_gsm.cc
  39. cellular_capability_gsm.h
  40. cellular_capability_gsm_unittest.cc
  41. cellular_capability_universal.cc
  42. cellular_capability_universal.h
  43. cellular_capability_universal_unittest.cc
  44. cellular_error.cc
  45. cellular_error.h
  46. cellular_operator_info.cc
  47. cellular_operator_info.h
  48. cellular_operator_info_unittest.cc
  49. cellular_service.cc
  50. cellular_service.h
  51. cellular_service_unittest.cc
  52. cellular_unittest.cc
  53. config80211.cc
  54. config80211.h
  55. config80211_unittest.cc
  56. connection.cc
  57. connection.h
  58. connection_unittest.cc
  59. control_interface.h
  60. crypto_des_cbc.cc
  61. crypto_des_cbc.h
  62. crypto_des_cbc_unittest.cc
  63. crypto_interface.h
  64. crypto_provider.cc
  65. crypto_provider.h
  66. crypto_provider_unittest.cc
  67. crypto_rot47.cc
  68. crypto_rot47.h
  69. crypto_rot47_unittest.cc
  70. dbus_adaptor.cc
  71. dbus_adaptor.h
  72. dbus_adaptor_unittest.cc
  73. dbus_control.cc
  74. dbus_control.h
  75. dbus_manager.cc
  76. dbus_manager.h
  77. dbus_manager_unittest.cc
  78. dbus_objectmanager_proxy.cc
  79. dbus_objectmanager_proxy.h
  80. dbus_objectmanager_proxy_interface.h
  81. dbus_properties.cc
  82. dbus_properties.h
  83. dbus_properties_proxy.cc
  84. dbus_properties_proxy.h
  85. dbus_properties_proxy_interface.h
  86. dbus_properties_unittest.cc
  87. dbus_property_matchers.h
  88. dbus_service_proxy.cc
  89. dbus_service_proxy.h
  90. dbus_service_proxy_interface.h
  91. default_profile.cc
  92. default_profile.h
  93. default_profile_unittest.cc
  94. device.cc
  95. device.h
  96. device_dbus_adaptor.cc
  97. device_dbus_adaptor.h
  98. device_info.cc
  99. device_info.h
  100. device_info_unittest.cc
  101. device_stub.h
  102. device_unittest.cc
  103. dhcp_config.cc
  104. dhcp_config.h
  105. dhcp_config_unittest.cc
  106. dhcp_provider.cc
  107. dhcp_provider.h
  108. dhcp_provider_unittest.cc
  109. dhcp_proxy_interface.h
  110. dhcpcd_proxy.cc
  111. dhcpcd_proxy.h
  112. diagnostics_reporter.cc
  113. diagnostics_reporter.h
  114. diagnostics_reporter_unittest.cc
  115. dns_client.cc
  116. dns_client.h
  117. dns_client_unittest.cc
  118. endpoint.cc
  119. endpoint.h
  120. ephemeral_profile.cc
  121. ephemeral_profile.h
  122. error.cc
  123. error.h
  124. error_unittest.cc
  125. ethernet.cc
  126. ethernet.h
  127. ethernet_service.cc
  128. ethernet_service.h
  129. ethernet_service_unittest.cc
  130. event_dispatcher.cc
  131. event_dispatcher.h
  132. geolocation_info.cc
  133. geolocation_info.h
  134. glib.cc
  135. glib.h
  136. glib_io_input_handler.cc
  137. glib_io_input_handler.h
  138. glib_io_ready_handler.cc
  139. glib_io_ready_handler.h
  140. HACKING
  141. hook_table.cc
  142. hook_table.h
  143. hook_table_unittest.cc
  144. http_proxy.cc
  145. http_proxy.h
  146. http_proxy_unittest.cc
  147. http_request.cc
  148. http_request.h
  149. http_request_unittest.cc
  150. http_url.cc
  151. http_url.h
  152. http_url_unittest.cc
  153. ieee80211.h
  154. io_handler.h
  155. ip_address.cc
  156. ip_address.h
  157. ip_address_unittest.cc
  158. ipconfig.cc
  159. ipconfig.h
  160. ipconfig_dbus_adaptor.cc
  161. ipconfig_dbus_adaptor.h
  162. ipconfig_unittest.cc
  163. kernel_bound_nlmessage.cc
  164. kernel_bound_nlmessage.h
  165. key_file_store.cc
  166. key_file_store.h
  167. key_file_store_unittest.cc
  168. key_value_store.cc
  169. key_value_store.h
  170. key_value_store_matcher.h
  171. key_value_store_unittest.cc
  172. l2tp_ipsec_driver.cc
  173. l2tp_ipsec_driver.h
  174. l2tp_ipsec_driver_unittest.cc
  175. LICENSE
  176. link_monitor.cc
  177. link_monitor.h
  178. link_monitor_unittest.cc
  179. logging.h
  180. Makefile
  181. manager.cc
  182. manager.h
  183. manager_dbus_adaptor.cc
  184. manager_dbus_adaptor.h
  185. manager_unittest.cc
  186. memory_log.cc
  187. memory_log.h
  188. memory_log_unittest.cc
  189. metrics.cc
  190. metrics.h
  191. metrics_unittest.cc
  192. minijail.cc
  193. minijail.h
  194. mm1_bearer_proxy.cc
  195. mm1_bearer_proxy.h
  196. mm1_bearer_proxy_interface.h
  197. mm1_modem_location_proxy.cc
  198. mm1_modem_location_proxy.h
  199. mm1_modem_location_proxy_interface.h
  200. mm1_modem_modem3gpp_proxy.cc
  201. mm1_modem_modem3gpp_proxy.h
  202. mm1_modem_modem3gpp_proxy_interface.h
  203. mm1_modem_modemcdma_proxy.cc
  204. mm1_modem_modemcdma_proxy.h
  205. mm1_modem_modemcdma_proxy_interface.h
  206. mm1_modem_proxy.cc
  207. mm1_modem_proxy.h
  208. mm1_modem_proxy_interface.h
  209. mm1_modem_simple_proxy.cc
  210. mm1_modem_simple_proxy.h
  211. mm1_modem_simple_proxy_interface.h
  212. mm1_modem_time_proxy.cc
  213. mm1_modem_time_proxy.h
  214. mm1_modem_time_proxy_interface.h
  215. mm1_sim_proxy.cc
  216. mm1_sim_proxy.h
  217. mm1_sim_proxy_interface.h
  218. mock_adaptors.cc
  219. mock_adaptors.h
  220. mock_ares.cc
  221. mock_ares.h
  222. mock_arp_client.cc
  223. mock_arp_client.h
  224. mock_async_connection.cc
  225. mock_async_connection.h
  226. mock_callback80211_object.h
  227. mock_cellular.cc
  228. mock_cellular.h
  229. mock_cellular_operator_info.cc
  230. mock_cellular_operator_info.h
  231. mock_cellular_service.cc
  232. mock_cellular_service.h
  233. mock_connection.cc
  234. mock_connection.h
  235. mock_control.cc
  236. mock_control.h
  237. mock_dbus_manager.cc
  238. mock_dbus_manager.h
  239. mock_dbus_objectmanager_proxy.cc
  240. mock_dbus_objectmanager_proxy.h
  241. mock_dbus_properties_proxy.cc
  242. mock_dbus_properties_proxy.h
  243. mock_dbus_service_proxy.cc
  244. mock_dbus_service_proxy.h
  245. mock_device.cc
  246. mock_device.h
  247. mock_device_info.cc
  248. mock_device_info.h
  249. mock_dhcp_config.cc
  250. mock_dhcp_config.h
  251. mock_dhcp_provider.cc
  252. mock_dhcp_provider.h
  253. mock_dhcp_proxy.cc
  254. mock_dhcp_proxy.h
  255. mock_diagnostics_reporter.cc
  256. mock_diagnostics_reporter.h
  257. mock_dns_client.cc
  258. mock_dns_client.h
  259. mock_ethernet.cc
  260. mock_ethernet.h
  261. mock_event_dispatcher.cc
  262. mock_event_dispatcher.h
  263. mock_glib.cc
  264. mock_glib.h
  265. mock_http_request.cc
  266. mock_http_request.h
  267. mock_ipconfig.cc
  268. mock_ipconfig.h
  269. mock_link_monitor.cc
  270. mock_link_monitor.h
  271. mock_log.cc
  272. mock_log.h
  273. mock_log_unittest.cc
  274. mock_manager.cc
  275. mock_manager.h
  276. mock_metrics.cc
  277. mock_metrics.h
  278. mock_minijail.cc
  279. mock_minijail.h
  280. mock_mm1_bearer_proxy.cc
  281. mock_mm1_bearer_proxy.h
  282. mock_mm1_modem_location_proxy.cc
  283. mock_mm1_modem_location_proxy.h
  284. mock_mm1_modem_modem3gpp_proxy.cc
  285. mock_mm1_modem_modem3gpp_proxy.h
  286. mock_mm1_modem_modemcdma_proxy.cc
  287. mock_mm1_modem_modemcdma_proxy.h
  288. mock_mm1_modem_proxy.cc
  289. mock_mm1_modem_proxy.h
  290. mock_mm1_modem_simple_proxy.cc
  291. mock_mm1_modem_simple_proxy.h
  292. mock_mm1_modem_time_proxy.cc
  293. mock_mm1_modem_time_proxy.h
  294. mock_mm1_sim_proxy.cc
  295. mock_mm1_sim_proxy.h
  296. mock_modem.cc
  297. mock_modem.h
  298. mock_modem_cdma_proxy.cc
  299. mock_modem_cdma_proxy.h
  300. mock_modem_gobi_proxy.cc
  301. mock_modem_gobi_proxy.h
  302. mock_modem_gsm_card_proxy.cc
  303. mock_modem_gsm_card_proxy.h
  304. mock_modem_gsm_network_proxy.cc
  305. mock_modem_gsm_network_proxy.h
  306. mock_modem_info.cc
  307. mock_modem_info.h
  308. mock_modem_manager_proxy.cc
  309. mock_modem_manager_proxy.h
  310. mock_modem_proxy.cc
  311. mock_modem_proxy.h
  312. mock_modem_simple_proxy.cc
  313. mock_modem_simple_proxy.h
  314. mock_nl80211_socket.h
  315. mock_nss.cc
  316. mock_nss.h
  317. mock_openvpn_driver.cc
  318. mock_openvpn_driver.h
  319. mock_openvpn_management_server.cc
  320. mock_openvpn_management_server.h
  321. mock_portal_detector.cc
  322. mock_portal_detector.h
  323. mock_power_manager.cc
  324. mock_power_manager.h
  325. mock_power_manager_proxy.cc
  326. mock_power_manager_proxy.h
  327. mock_process_killer.cc
  328. mock_process_killer.h
  329. mock_profile.cc
  330. mock_profile.h
  331. mock_property_store.cc
  332. mock_property_store.h
  333. mock_proxy_factory.cc
  334. mock_proxy_factory.h
  335. mock_resolver.cc
  336. mock_resolver.h
  337. mock_routing_table.cc
  338. mock_routing_table.h
  339. mock_rtnl_handler.cc
  340. mock_rtnl_handler.h
  341. mock_service.cc
  342. mock_service.h
  343. mock_sockets.cc
  344. mock_sockets.h
  345. mock_store.cc
  346. mock_store.h
  347. mock_supplicant_bss_proxy.cc
  348. mock_supplicant_bss_proxy.h
  349. mock_supplicant_interface_proxy.cc
  350. mock_supplicant_interface_proxy.h
  351. mock_supplicant_network_proxy.cc
  352. mock_supplicant_network_proxy.h
  353. mock_supplicant_process_proxy.cc
  354. mock_supplicant_process_proxy.h
  355. mock_time.cc
  356. mock_time.h
  357. mock_vpn.cc
  358. mock_vpn.h
  359. mock_vpn_driver.cc
  360. mock_vpn_driver.h
  361. mock_vpn_provider.cc
  362. mock_vpn_provider.h
  363. mock_vpn_service.cc
  364. mock_vpn_service.h
  365. mock_wifi.cc
  366. mock_wifi.h
  367. mock_wifi_service.cc
  368. mock_wifi_service.h
  369. mock_wimax.cc
  370. mock_wimax.h
  371. mock_wimax_device_proxy.cc
  372. mock_wimax_device_proxy.h
  373. mock_wimax_manager_proxy.cc
  374. mock_wimax_manager_proxy.h
  375. mock_wimax_network_proxy.cc
  376. mock_wimax_network_proxy.h
  377. mock_wimax_provider.cc
  378. mock_wimax_provider.h
  379. mock_wimax_service.cc
  380. mock_wimax_service.h
  381. modem.cc
  382. modem.h
  383. modem_1.cc
  384. modem_1_unittest.cc
  385. modem_cdma_proxy.cc
  386. modem_cdma_proxy.h
  387. modem_cdma_proxy_interface.h
  388. modem_classic.cc
  389. modem_gobi_proxy.cc
  390. modem_gobi_proxy.h
  391. modem_gobi_proxy_interface.h
  392. modem_gsm_card_proxy.cc
  393. modem_gsm_card_proxy.h
  394. modem_gsm_card_proxy_interface.h
  395. modem_gsm_network_proxy.cc
  396. modem_gsm_network_proxy.h
  397. modem_gsm_network_proxy_interface.h
  398. modem_info.cc
  399. modem_info.h
  400. modem_info_unittest.cc
  401. modem_manager.cc
  402. modem_manager.h
  403. modem_manager_1.cc
  404. modem_manager_proxy.cc
  405. modem_manager_proxy.h
  406. modem_manager_proxy_interface.h
  407. modem_manager_unittest.cc
  408. modem_proxy.cc
  409. modem_proxy.h
  410. modem_proxy_interface.h
  411. modem_simple_proxy.cc
  412. modem_simple_proxy.h
  413. modem_simple_proxy_interface.h
  414. modem_unittest.cc
  415. netlink_socket.cc
  416. netlink_socket.h
  417. nice_mock_control.cc
  418. nice_mock_control.h
  419. nl80211_attribute.cc
  420. nl80211_attribute.h
  421. nl80211_socket.cc
  422. nl80211_socket.h
  423. nss.cc
  424. nss.h
  425. nss_unittest.cc
  426. openvpn_driver.cc
  427. openvpn_driver.h
  428. openvpn_driver_unittest.cc
  429. openvpn_management_server.cc
  430. openvpn_management_server.h
  431. openvpn_management_server_unittest.cc
  432. portal_detector.cc
  433. portal_detector.h
  434. portal_detector_unittest.cc
  435. power_manager.cc
  436. power_manager.h
  437. power_manager_proxy.cc
  438. power_manager_proxy.h
  439. power_manager_proxy_interface.h
  440. power_manager_unittest.cc
  441. process_killer.cc
  442. process_killer.h
  443. process_killer_unittest.cc
  444. profile.cc
  445. profile.h
  446. profile_dbus_adaptor.cc
  447. profile_dbus_adaptor.h
  448. profile_dbus_property_exporter.cc
  449. profile_dbus_property_exporter.h
  450. profile_dbus_property_exporter_unittest.cc
  451. profile_unittest.cc
  452. property_accessor.h
  453. property_accessor_unittest.cc
  454. property_iterator.h
  455. property_store.cc
  456. property_store.h
  457. property_store_inspector.cc
  458. property_store_inspector.h
  459. property_store_unittest.cc
  460. property_store_unittest.h
  461. provider_db_unittest.bfd
  462. proxy_factory.cc
  463. proxy_factory.h
  464. refptr_types.h
  465. resolver.cc
  466. resolver.h
  467. resolver_unittest.cc
  468. routing_table.cc
  469. routing_table.h
  470. routing_table_entry.h
  471. routing_table_unittest.cc
  472. rpc_task.cc
  473. rpc_task.h
  474. rpc_task_dbus_adaptor.cc
  475. rpc_task_dbus_adaptor.h
  476. rpc_task_unittest.cc
  477. rtnl_handler.cc
  478. rtnl_handler.h
  479. rtnl_handler_unittest.cc
  480. rtnl_listener.cc
  481. rtnl_listener.h
  482. rtnl_listener_unittest.cc
  483. rtnl_message.cc
  484. rtnl_message.h
  485. rtnl_message_unittest.cc
  486. scope_logger.cc
  487. scope_logger.h
  488. scope_logger_unittest.cc
  489. service.cc
  490. service.h
  491. service_dbus_adaptor.cc
  492. service_dbus_adaptor.h
  493. service_sorter.h
  494. service_under_test.cc
  495. service_under_test.h
  496. service_unittest.cc
  497. shill_ares.cc
  498. shill_ares.h
  499. shill_config.cc
  500. shill_config.h
  501. shill_daemon.cc
  502. shill_daemon.h
  503. shill_main.cc
  504. shill_test_config.cc
  505. shill_test_config.h
  506. shill_time.cc
  507. shill_time.h
  508. shill_unittest.cc
  509. sockets.cc
  510. sockets.h
  511. static_ip_parameters.cc
  512. static_ip_parameters.h
  513. static_ip_parameters_unittest.cc
  514. store_interface.h
  515. supplicant_bss_proxy.cc
  516. supplicant_bss_proxy.h
  517. supplicant_bss_proxy_interface.h
  518. supplicant_interface_proxy.cc
  519. supplicant_interface_proxy.h
  520. supplicant_interface_proxy_interface.h
  521. supplicant_network_proxy.cc
  522. supplicant_network_proxy.h
  523. supplicant_network_proxy_interface.h
  524. supplicant_process_proxy.cc
  525. supplicant_process_proxy.h
  526. supplicant_process_proxy_interface.h
  527. technology.cc
  528. technology.h
  529. technology_unittest.cc
  530. TESTING
  531. testrunner.cc
  532. user_bound_nlmessage.cc
  533. user_bound_nlmessage.h
  534. virtio_ethernet.cc
  535. virtio_ethernet.h
  536. vpn.cc
  537. vpn.h
  538. vpn_driver.cc
  539. vpn_driver.h
  540. vpn_driver_unittest.cc
  541. vpn_provider.cc
  542. vpn_provider.h
  543. vpn_provider_unittest.cc
  544. vpn_service.cc
  545. vpn_service.h
  546. vpn_service_unittest.cc
  547. vpn_unittest.cc
  548. wifi.cc
  549. wifi.h
  550. wifi_endpoint.cc
  551. wifi_endpoint.h
  552. wifi_endpoint_unittest.cc
  553. wifi_service.cc
  554. wifi_service.h
  555. wifi_service_unittest.cc
  556. wifi_unittest.cc
  557. wimax.cc
  558. wimax.h
  559. wimax_device_proxy.cc
  560. wimax_device_proxy.h
  561. wimax_device_proxy_interface.h
  562. wimax_manager_proxy.cc
  563. wimax_manager_proxy.h
  564. wimax_manager_proxy_interface.h
  565. wimax_network_proxy.cc
  566. wimax_network_proxy.h
  567. wimax_network_proxy_interface.h
  568. wimax_provider.cc
  569. wimax_provider.h
  570. wimax_provider_unittest.cc
  571. wimax_service.cc
  572. wimax_service.h
  573. wimax_service_unittest.cc
  574. wimax_unittest.cc
  575. wpa_supplicant.cc
  576. wpa_supplicant.h