commit | c00d1fa87127a33bd1e1a7cf049a54a9cca49d68 | [log] [tgz] |
---|---|---|
author | Peter Qiu <zqiu@chromium.org> | Thu Aug 13 15:00:55 2015 -0700 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri Aug 28 16:44:34 2015 -0700 |
tree | a6384c76f282a90c30311fa1181b40ba2969a097 | |
parent | a92b0a0438803ebb3432d7b42672fbb7fb6bccf4 [diff] |
shill: update chromeos dbus adaptors Following are the changes to the adaptor: - Remove the support for ObjectManager for now to avoid any testing complications. - Register adaptor to the bus synchronously to avoid possible race conditions. - Unregister adaptor on its destruction to allow object path to be reusable and prevent memory leak on the bus. While there, update Manager interface xml to provide raw message in the method handler. This allows the handler to be synchronous, since we don't need to verify claimer's name via DBus watcher anymore (message sender is used as claimer name). Also update Manager's usage of DeviceClaimer. BUG=chromium:517680 TEST=unittests, wifi_matfunc tests Change-Id: Ia1f306227cae3b27285d80fc7931538e59978e4a Reviewed-on: https://chromium-review.googlesource.com/293562 Commit-Ready: Zeping Qiu <zqiu@chromium.org> Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org>