Skip invalid DefaultService object path values.

If shill sends an invalid DefaultService object path value, we need to
explicitly treat since otherwise the DBus library will abort the
program when trying to send a message to the invalid object path.

Bug: chromium:526446
Change-Id: Id91787916b62cd94dab38532b98be0f0a8b6d4c4
Test: Added unittests
11 files changed
tree: 32f5e736a0b72cd7fcb0e45c58a38309c98768ff
  1. dbus_bindings/
  2. init/
  3. payload_generator/
  4. sample_images/
  5. update_manager/
  6. .gitignore
  7. action.h
  8. action_pipe.h
  9. action_pipe_unittest.cc
  10. action_processor.cc
  11. action_processor.h
  12. action_processor_unittest.cc
  13. action_unittest.cc
  14. boot_control.h
  15. boot_control_android.cc
  16. boot_control_android.h
  17. boot_control_chromeos.cc
  18. boot_control_chromeos.h
  19. boot_control_chromeos_unittest.cc
  20. boot_control_interface.h
  21. bzip.cc
  22. bzip.h
  23. bzip_extent_writer.cc
  24. bzip_extent_writer.h
  25. bzip_extent_writer_unittest.cc
  26. certificate_checker.cc
  27. certificate_checker.h
  28. certificate_checker_unittest.cc
  29. chrome_browser_proxy_resolver.cc
  30. chrome_browser_proxy_resolver.h
  31. chrome_browser_proxy_resolver_unittest.cc
  32. clock.cc
  33. clock.h
  34. clock_interface.h
  35. connection_manager.cc
  36. connection_manager.h
  37. connection_manager_interface.h
  38. connection_manager_unittest.cc
  39. constants.cc
  40. constants.h
  41. daemon.cc
  42. daemon.h
  43. dbus_constants.h
  44. dbus_service.cc
  45. dbus_service.h
  46. dbus_service_unittest.cc
  47. dbus_test_utils.h
  48. delta_performer.cc
  49. delta_performer.h
  50. delta_performer_unittest.cc
  51. download_action.cc
  52. download_action.h
  53. download_action_unittest.cc
  54. error_code.h
  55. extent_writer.cc
  56. extent_writer.h
  57. extent_writer_unittest.cc
  58. fake_boot_control.h
  59. fake_clock.h
  60. fake_file_writer.h
  61. fake_hardware.h
  62. fake_p2p_manager.h
  63. fake_p2p_manager_configuration.h
  64. fake_prefs.cc
  65. fake_prefs.h
  66. fake_shill_proxy.cc
  67. fake_shill_proxy.h
  68. fake_system_state.cc
  69. fake_system_state.h
  70. file_descriptor.cc
  71. file_descriptor.h
  72. file_writer.cc
  73. file_writer.h
  74. file_writer_unittest.cc
  75. filesystem_verifier_action.cc
  76. filesystem_verifier_action.h
  77. filesystem_verifier_action_unittest.cc
  78. generate_pc_file.sh
  79. hardware.h
  80. hardware_android.cc
  81. hardware_android.h
  82. hardware_chromeos.cc
  83. hardware_chromeos.h
  84. hardware_interface.h
  85. http_common.cc
  86. http_common.h
  87. http_fetcher.cc
  88. http_fetcher.h
  89. http_fetcher_unittest.cc
  90. hwid_override.cc
  91. hwid_override.h
  92. hwid_override_unittest.cc
  93. install_plan.cc
  94. install_plan.h
  95. libcros_proxy.cc
  96. libcros_proxy.h
  97. libcurl_http_fetcher.cc
  98. libcurl_http_fetcher.h
  99. libupdate_engine-client-test.pc.in
  100. libupdate_engine-client.pc.in
  101. local_coverage_rate
  102. main.cc
  103. metrics.cc
  104. metrics.h
  105. mock_action.h
  106. mock_action_processor.h
  107. mock_certificate_checker.h
  108. mock_connection_manager.h
  109. mock_file_writer.h
  110. mock_hardware.h
  111. mock_http_fetcher.cc
  112. mock_http_fetcher.h
  113. mock_omaha_request_params.h
  114. mock_p2p_manager.h
  115. mock_payload_state.h
  116. mock_prefs.h
  117. mock_update_attempter.h
  118. MODULE_LICENSE_APACHE2
  119. mtd_file_descriptor.cc
  120. mtd_file_descriptor.h
  121. multi_range_http_fetcher.cc
  122. multi_range_http_fetcher.h
  123. NOTICE
  124. omaha_hash_calculator.cc
  125. omaha_hash_calculator.h
  126. omaha_hash_calculator_unittest.cc
  127. omaha_request_action.cc
  128. omaha_request_action.h
  129. omaha_request_action_unittest.cc
  130. omaha_request_params.cc
  131. omaha_request_params.h
  132. omaha_request_params_unittest.cc
  133. omaha_response.h
  134. omaha_response_handler_action.cc
  135. omaha_response_handler_action.h
  136. omaha_response_handler_action_unittest.cc
  137. OWNERS
  138. p2p_manager.cc
  139. p2p_manager.h
  140. p2p_manager_unittest.cc
  141. payload_constants.cc
  142. payload_constants.h
  143. payload_state.cc
  144. payload_state.h
  145. payload_state_interface.h
  146. payload_state_unittest.cc
  147. payload_verifier.cc
  148. payload_verifier.h
  149. postinstall_runner_action.cc
  150. postinstall_runner_action.h
  151. postinstall_runner_action_unittest.cc
  152. prefs.cc
  153. prefs.h
  154. prefs_interface.h
  155. prefs_unittest.cc
  156. PRESUBMIT.cfg
  157. proxy_resolver.cc
  158. proxy_resolver.h
  159. real_system_state.cc
  160. real_system_state.h
  161. run_unittests
  162. sample_omaha_v3_response.xml
  163. shill_proxy.cc
  164. shill_proxy.h
  165. shill_proxy_interface.h
  166. subprocess.cc
  167. subprocess.h
  168. subprocess_unittest.cc
  169. system_state.h
  170. tar_bunzip2.gypi
  171. terminator.cc
  172. terminator.h
  173. terminator_unittest.cc
  174. test_http_server.cc
  175. test_utils.cc
  176. test_utils.h
  177. test_utils_unittest.cc
  178. testrunner.cc
  179. unittest_key.pem
  180. unittest_key2.pem
  181. update_attempter.cc
  182. update_attempter.h
  183. update_attempter_unittest.cc
  184. update_engine-client.gyp
  185. update_engine.conf
  186. update_engine.gyp
  187. update_engine_client.cc
  188. update_metadata.proto
  189. UpdateEngine.conf
  190. utils.cc
  191. utils.h
  192. utils_unittest.cc
  193. WATCHLISTS
  194. zip_unittest.cc