Implement the TODOs in dlcservice.
The following revision refers to this bug: https://chromium.googlesource.com/aosp/platform/system/update_engine/+/8ba486f595ed0e5090a8392434903aa01095c556 commit 8ba486f595ed0e5090a8392434903aa01095c556 Author: Xiaochu Liu <xiaochu@chromium.org> Date: Thu Nov 15 16:11:31 2018 update_engine: support DLC update All DLC update related code is hide behind USE_dlc flag so platform update never touches this new code path unless enabled later. In CheckForUpdate, update_engine calls dlcservice to get a list of DLC module and set 'dlc_ids_' accordingly. BUG=chromium:900653 TEST=unittest Change-Id: I654e37effa7c1b70b25147a027f2b16abe6bf9e1 Reviewed-on: https://chromium-review.googlesource.com/1321009 Commit-Ready: Xiaochu Liu <xiaochu@chromium.org> Tested-by: Xiaochu Liu <xiaochu@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org> [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/real_system_state.h [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/real_system_state.cc [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/update_attempter_unittest.cc [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/update_attempter.h [add] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/common/dlcservice_interface.h [add] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/dlcservice_chromeos.cc [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/update_attempter.cc [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/system_state.h [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/fake_system_state.h [modify] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/update_engine.gyp [add] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/common/dlcservice.h [add] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/dlcservice_chromeos.h [add] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/common/dlcservice_stub.cc [add] https://crrev.com/8ba486f595ed0e5090a8392434903aa01095c556/common/dlcservice_stub.h
This issue has an owner, a component and a priority, but is still listed as untriaged or unconfirmed. By definition, this bug is triaged. Changing status to "assigned". Please reach out to me if you disagree with how I've done this.
Comment 1 by xiaochu@chromium.org
, Oct 31