aboutsummaryrefslogtreecommitdiff
path: root/dbus/update_engine/dbus-constants.h
AgeCommit message (Collapse)Author
2020-02-26Add kUpdateStatusCleanupPreviousUpdate.android-r-preview-4android-r-preview-3android-r-preview-2Yifan Hong
Test: pass Bug: 147696014 Change-Id: I63160745c5904597d4faf573a556ada753674b9f
2017-05-10Update dbus constants for update engineWeidong Guo
CL 479467 depends on this CL. BUG=chromium:691108 TEST=N/A Change-Id: I8781afa4e21343c4f33184764262d08e9f6e5dec Reviewed-on: https://chromium-review.googlesource.com/481102 Reviewed-by: Alex Deymo <deymo@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org> Tested-by: Weidong Guo <weidongg@chromium.org> Commit-Queue: Weidong Guo <weidongg@chromium.org>
2017-02-21Expose DBus API to enable cellular updates.Niranjan Kumar
Can set UpdateEngine to either allow or prohibit updates over cellular data network connections. BUG=640721 TEST=none Change-Id: I3322da7270243e0c070668c49175f34bf20eceb1 Reviewed-on: https://chromium-review.googlesource.com/441994 Commit-Ready: Niranjan Kumar <kumarniranjan@chromium.org> Tested-by: Niranjan Kumar <kumarniranjan@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
2016-06-09Expose the update engine function GetEolStatus to dbus clientXiaoyin Hu
Chrome side will use this method to check the end of life status of the device and show notifications corresponding to each status. BUG=chromium:611816 TEST=chrome compile Change-Id: I237caaaebe60c9ddc72d111a545a612f8d7e676a Reviewed-on: https://chromium-review.googlesource.com/350874 Commit-Ready: Xiaoyin Hu <xiaoyinh@chromium.org> Tested-by: Xiaoyin Hu <xiaoyinh@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2016-02-24Expose the update engine function GetLastAttemptError to dbus clientsAhmed Fakhry
This is in preparation for getting the last attempt error code on the chrome side in order to show the user appropriate actionable error messages. BUG=chromium:581071 TEST=emerge-peach_pit system_api Change-Id: I5af9de0f55331f273408cdcfc8daec9c35612f46 Reviewed-on: https://chromium-review.googlesource.com/328849 Commit-Ready: Ahmed Fakhry <afakhry@chromium.org> Tested-by: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by: Alex Deymo <deymo@chromium.org>
2015-09-02update_engine: Add missing constants in the DBus api.Alex Deymo
update_engine client library currently installs update_engine/dbus_constants.h from the source code with almost the same constants as this file. To avoid duplication, this patch adds the missing constants, to the update_engine/dbus-constants.h file so we can deprecate update_engine/dbus_constants.h BUG=None TEST=emerge-link system_api update_engine Change-Id: I38746d07d3356b9f3dfe2e7592e1a1ea6c8f2f8a Reviewed-on: https://chromium-review.googlesource.com/296778 Commit-Ready: Alex Deymo <deymo@chromium.org> Tested-by: Alex Deymo <deymo@chromium.org> Reviewed-by: Alex Deymo <deymo@chromium.org>
2015-08-27Split DBus constants per daemon.Alex Deymo
The service_constants.h file defines the DBus method names, property names, signal names, property values and other DBus string constants that define the API from Chromium to the Chromium OS system. It was also the main way daemons in Chromium OS could talk to other daemons, by sending DBus method calls using the method and interface names defined here. We are moving towards generated proxies for DBus communication packaged in client libraries. Each daemon should expose a client library use to talk to that daemon. The code generated from the .xml description covers the interface names, methods names and property names, but doesn't include property values and other required constants involved in the interface but not expressed in the .xml file. This patch splits the DBus constants used by Chromium and other daemons in one file per daemon, that will eventually be part of the client library presented by that daemon. CQ-DEPEND=CL:295757 BUG=b:23560718 TEST=emerge-link system_api update_engine Change-Id: I726633454ef248d280e0a21c534da6c42b1d53ab Reviewed-on: https://chromium-review.googlesource.com/295756 Commit-Ready: Alex Deymo <deymo@chromium.org> Tested-by: Alex Deymo <deymo@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>