Define and implement an AdaptorInterface for Service

This interface will be used by Service to communicate with
the adaptor that exposes its functionality over IPC.

The D-Bus implementation of this interface is included, and
integrated to the D-Bus control interface.

Bug: 24194427
TEST=Build apmanager for both Brillo and Chrome OS

Change-Id: Ib87e13247cb4fbff53081b2e5cbad61bb499ce31
10 files changed
tree: c4eee04d1751d6e281ff19c48407fbd7a5e923f0
  1. Android.mk
  2. MODULE_LICENSE_APACHE2
  3. NOTICE
  4. OWNERS
  5. PRESUBMIT.cfg
  6. apmanager.gyp
  7. apmanager.rc
  8. config.cc
  9. config.h
  10. config_adaptor_interface.h
  11. config_unittest.cc
  12. control_interface.h
  13. daemon.cc
  14. daemon.h
  15. dbus/
  16. dbus_bindings/
  17. dbus_permissions/
  18. device.cc
  19. device.h
  20. device_adaptor_interface.h
  21. device_info.cc
  22. device_info.h
  23. device_info_unittest.cc
  24. device_unittest.cc
  25. dhcp_server.cc
  26. dhcp_server.h
  27. dhcp_server_factory.cc
  28. dhcp_server_factory.h
  29. dhcp_server_unittest.cc
  30. error.cc
  31. error.h
  32. error_unittest.cc
  33. event_dispatcher.cc
  34. event_dispatcher.h
  35. fake_config_adaptor.cc
  36. fake_config_adaptor.h
  37. fake_device_adaptor.cc
  38. fake_device_adaptor.h
  39. file_writer.cc
  40. file_writer.h
  41. firewall_manager.cc
  42. firewall_manager.h
  43. firewall_proxy_interface.h
  44. hostapd_monitor.cc
  45. hostapd_monitor.h
  46. hostapd_monitor_unittest.cc
  47. init/
  48. libapmanager-client-test.pc.in
  49. libapmanager-client.pc.in
  50. main.cc
  51. manager.cc
  52. manager.h
  53. manager_unittest.cc
  54. mock_config.cc
  55. mock_config.h
  56. mock_control.cc
  57. mock_control.h
  58. mock_device.cc
  59. mock_device.h
  60. mock_dhcp_server.cc
  61. mock_dhcp_server.h
  62. mock_dhcp_server_factory.cc
  63. mock_dhcp_server_factory.h
  64. mock_event_dispatcher.cc
  65. mock_event_dispatcher.h
  66. mock_file_writer.cc
  67. mock_file_writer.h
  68. mock_hostapd_monitor.cc
  69. mock_hostapd_monitor.h
  70. mock_manager.cc
  71. mock_manager.h
  72. mock_process_factory.cc
  73. mock_process_factory.h
  74. mock_service.cc
  75. mock_service.h
  76. process_factory.cc
  77. process_factory.h
  78. rpc_interface.h
  79. run_all_tests.cc
  80. service.cc
  81. service.h
  82. service_adaptor_interface.h
  83. service_unittest.cc
  84. shill_manager.cc
  85. shill_manager.h
  86. shill_proxy_interface.h
  87. shill_stub_proxy.cc
  88. shill_stub_proxy.h
  89. testrunner.cc