Introduce brillo binder interface

This is more or less an exact analogue of the DBus interface, but
available over binder. We also add support to the client library and let
update_engine_client build with binder. We don't yet support an
equivalent of the status signal/the HandleStatusUpdate method. That will
come in a future CL.

Bug: 25908638
TEST=Verified update_engine_client functionality

Change-Id: Ic793619c8019b0d50aa184e0f592b6a9ab71e0b0
25 files changed
tree: f057d6c6b7de344c6bb36c15e1ba37ad13750e10
  1. binder_bindings/
  2. client_library/
  3. common/
  4. dbus_bindings/
  5. include/
  6. init/
  7. payload_consumer/
  8. payload_generator/
  9. sample_images/
  10. scripts/
  11. update_manager/
  12. update_payload_key/
  13. weaved/
  14. .gitignore
  15. Android.mk
  16. binder_main.cc
  17. binder_service.cc
  18. binder_service.h
  19. binder_service_android.cc
  20. binder_service_android.h
  21. boot_control_android.cc
  22. boot_control_android.h
  23. boot_control_chromeos.cc
  24. boot_control_chromeos.h
  25. boot_control_chromeos_unittest.cc
  26. chrome_browser_proxy_resolver.cc
  27. chrome_browser_proxy_resolver.h
  28. chrome_browser_proxy_resolver_unittest.cc
  29. common_service.cc
  30. common_service.h
  31. common_service_unittest.cc
  32. connection_manager.cc
  33. connection_manager.h
  34. connection_manager_interface.h
  35. connection_manager_unittest.cc
  36. daemon.cc
  37. daemon.h
  38. dbus_service.cc
  39. dbus_service.h
  40. dbus_test_utils.h
  41. fake_file_writer.h
  42. fake_p2p_manager.h
  43. fake_p2p_manager_configuration.h
  44. fake_shill_proxy.cc
  45. fake_shill_proxy.h
  46. fake_system_state.cc
  47. fake_system_state.h
  48. generate_pc_file.sh
  49. hardware_android.cc
  50. hardware_android.h
  51. hardware_chromeos.cc
  52. hardware_chromeos.h
  53. image_properties.h
  54. image_properties_android.cc
  55. image_properties_chromeos.cc
  56. libcros_proxy.cc
  57. libcros_proxy.h
  58. libupdate_engine-client-test.pc.in
  59. libupdate_engine-client.pc.in
  60. local_coverage_rate
  61. main.cc
  62. metrics.cc
  63. metrics.h
  64. metrics_utils.cc
  65. metrics_utils.h
  66. metrics_utils_unittest.cc
  67. mock_action.h
  68. mock_action_processor.h
  69. mock_connection_manager.h
  70. mock_file_writer.h
  71. mock_omaha_request_params.h
  72. mock_p2p_manager.h
  73. mock_payload_state.h
  74. mock_update_attempter.h
  75. MODULE_LICENSE_APACHE2
  76. NOTICE
  77. omaha_request_action.cc
  78. omaha_request_action.h
  79. omaha_request_action_unittest.cc
  80. omaha_request_params.cc
  81. omaha_request_params.h
  82. omaha_request_params_unittest.cc
  83. omaha_response.h
  84. omaha_response_handler_action.cc
  85. omaha_response_handler_action.h
  86. omaha_response_handler_action_unittest.cc
  87. OWNERS
  88. p2p_manager.cc
  89. p2p_manager.h
  90. p2p_manager_unittest.cc
  91. parcelable_update_engine_status.cc
  92. parcelable_update_engine_status.h
  93. payload_state.cc
  94. payload_state.h
  95. payload_state_interface.h
  96. payload_state_unittest.cc
  97. PRESUBMIT.cfg
  98. proxy_resolver.cc
  99. proxy_resolver.h
  100. real_system_state.cc
  101. real_system_state.h
  102. run_unittests
  103. sample_omaha_v3_response.xml
  104. shill_proxy.cc
  105. shill_proxy.h
  106. shill_proxy_interface.h
  107. system_state.h
  108. tar_bunzip2.gypi
  109. test_http_server.cc
  110. testrunner.cc
  111. unittest_key.pem
  112. unittest_key2.pem
  113. update_attempter.cc
  114. update_attempter.h
  115. update_attempter_unittest.cc
  116. update_engine-client.gyp
  117. update_engine.conf
  118. update_engine.gyp
  119. update_engine.rc
  120. update_engine_client.cc
  121. update_metadata.proto
  122. update_status_utils.cc
  123. update_status_utils.h
  124. UpdateEngine.conf
  125. WATCHLISTS
  126. weave_service.cc
  127. weave_service.h
  128. weave_service_factory.cc
  129. weave_service_factory.h
  130. weave_service_interface.h