aboutsummaryrefslogtreecommitdiff
path: root/dbus
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
2018-09-26smbprovider: Add MountConfigProto to directory_entryandroid-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseJimmy Gong
am: f63dc2e08f Change-Id: Ic468d1f954009321e594d96f6f8c70ccaf87333d
2018-09-26system_api: add anomaly event service interfaceLuigi Semenzato
am: 98bc2a6d4b Change-Id: I068e11ac44524bd35898dda5142e0bf098ae6722
2018-09-26smbprovider: Add MountConfigProto to directory_entryupstream-masterJimmy Gong
- Added MountConfigProto since MountConfig options will be passed from chrome-side. BUG=chromium:888096 TEST=emerges Change-Id: Ia5514b53b4070738aeb9ff1b55f212d9b90071ec Reviewed-on: https://chromium-review.googlesource.com/1239199 Commit-Ready: jimmy gong <jimmyxgong@chromium.org> Tested-by: jimmy gong <jimmyxgong@chromium.org> Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
2018-09-26system_api: add anomaly event service interfaceLuigi Semenzato
This also adds new event types to the metrics event protobuf, and adds generation of C++ sources for use by the anomaly collector. BUG=chromium:729335 TEST=compiles, links, and runs with anomaly_collector Change-Id: I330d9103752c9db58c6db824f69e25d5cc6bd180 Reviewed-on: https://chromium-review.googlesource.com/1239736 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
2018-09-25system_api: Add power_manager::kSetScreenBrightnessMethod.Daniel Erat
am: 536735c009 Change-Id: I1501b603aaf6c6596e16a51dba351edb55d474f8
2018-09-25system_api: Add power_manager::kSetScreenBrightnessMethod.Daniel Erat
Add a new "SetScreenBrightness" constant. The existing powerd SetScreenBrightnessPercent is being updated to take a protocol message instead of D-Bus args, so we might as well rename it to be shorter at the same time. BUG=chromium:881786 TEST=used with updated powerd Change-Id: I720b259fe518e0a9a45f981a0ba1db68d9a726b4 Reviewed-on: https://chromium-review.googlesource.com/1242034 Commit-Ready: Dan Erat <derat@chromium.org> Tested-by: Dan Erat <derat@chromium.org> Reviewed-by: Jia Meng <jiameng@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-09-21system_api: Add SetBacklightBrightnessRequest powerd proto.Daniel Erat
am: 9aded9e58d Change-Id: Ia2748af4881724a915068aecb81bbe5043936998
2018-09-21system_api: Add SetBacklightBrightnessRequest powerd proto.Daniel Erat
Add a SetBacklightBrightnessRequest protocol message that Chrome will send to powerd via SetScreenBrightnessPercent D-Bus method calls. These calls currently send raw D-Bus arguments, but a new "cause" argument is needed. Also add a new "MODEL" enum value to BacklightBrightnessChange's "cause" enum. BUG=chromium:881786 TEST=built it Change-Id: Ife2fc6741ece56620ced37feab8e33c093aeae0a Reviewed-on: https://chromium-review.googlesource.com/1237429 Commit-Ready: Dan Erat <derat@chromium.org> Tested-by: Dan Erat <derat@chromium.org> Reviewed-by: Jia Meng <jiameng@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-09-20system_api: change message name.Xiaoyong Zhou
am: ebc49ea2d3 Change-Id: Iec8a045a11c8ffd70ad62a05f1c92bbbfb09bdfc
2018-09-20diagnostics: Constant for Mojo pipe tokenMaksim Ivanov
am: 891a69dbf8 Change-Id: Iec60201c55adb59306939aade5f1ee54862de39b
2018-09-20system_api: change message name.Xiaoyong Zhou
This CL change the name of LockBootLockboxRequest to FinalizeNVRamBootLockboxRequest for consistent naming. BUG=None TEST=None Change-Id: I1e72e29c3271fd1ebd394f79956555c9d5e396ba Reviewed-on: https://chromium-review.googlesource.com/1225890 Commit-Ready: Xiaoyong Zhou <xzhou@chromium.org> Tested-by: Xiaoyong Zhou <xzhou@chromium.org> Reviewed-by: Mattias Nissler <mnissler@chromium.org>
2018-09-20diagnostics: Constant for Mojo pipe tokenMaksim Ivanov
Add a constant with the Mojo pipe token for the Mojo pipe between the browser and the diagnosticsd daemon. This constant needs to be known on both ends of this Mojo pipe. For example, on the browser side, that's the name that is passed to mojo::OutgoingInvitation::AttachMessagePipe(). BUG=chromium:869377 TEST=system_api package builds Change-Id: I3020c07de5493dac0740e43a4ec2d1791105e805 Reviewed-on: https://chromium-review.googlesource.com/1230873 Commit-Ready: Maksim Ivanov <emaxx@chromium.org> Tested-by: Maksim Ivanov <emaxx@chromium.org> Reviewed-by: Roman Sorokin <rsorokin@chromium.org>
2018-09-19Add VmStatus to StartVmResponse.Nicholas Verne
am: 137cb973fb Change-Id: Iab2f35e320fa323758b76654bdac6d0a837990ca
2018-09-19Add VmStatus to StartVmResponse.Nicholas Verne
When this status indicates the VM is already running, CrostiniManager can avoid waiting forever for a signal that Tremplin has started in the VM. Bug: crbug:884576 Change-Id: I7c4577a4fa5d0bcba2c158a046ad31e81236b421 Reviewed-on: https://chromium-review.googlesource.com/1226733 Commit-Ready: Nicholas Verne <nverne@chromium.org> Tested-by: Nicholas Verne <nverne@chromium.org> Reviewed-by: Jeffrey Kardatzke <jkardatzke@google.com>
2018-09-18Add a display density parameter.Tim Zheng
am: 48093e2673 Change-Id: I1e84c21ccd9ccfef8daf6828339cc586b1839955
2018-09-18Add package info for Crostini appsIan Barkley-Yeung
am: 9939aeafb5 Change-Id: I7dbe89efca450b3cafd97c9523fcd944e8a5cb57
2018-09-18Add a display density parameter.Tim Zheng
This change add a display density parameter to vm_tools.cicerone.LaunchContainerApplicationRequest. This is used to enlarge Crostini windows for some older Linux apps that don't show well on HiDPI displays by user preferences. BUG=chromium:839242 TEST=New proto buffer field added and it still compiles. Change-Id: I963f1bf60281b16110e515891e3a44a3fab6505e Reviewed-on: https://chromium-review.googlesource.com/1226168 Commit-Ready: Tim Zheng <timzheng@chromium.org> Tested-by: Tim Zheng <timzheng@chromium.org> Reviewed-by: Jeffrey Kardatzke <jkardatzke@google.com> Reviewed-by: David Reveman <reveman@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
2018-09-18Add package info for Crostini appsIan Barkley-Yeung
Add package_id of owning package to the Cicerone -> Host proto ApplicationList BUG=chromium:822514 TEST=Apps from .desktop files associated with a package now have 'uninstall' on right-click menu; Apps from .desktop files I created do not have 'uninstall' Change-Id: Ibe148209763a4633a653107b2819a56146d5706f Reviewed-on: https://chromium-review.googlesource.com/1213615 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Ian Barkley-Yeung <iby@chromium.org> Reviewed-by: Jeffrey Kardatzke <jkardatzke@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
2018-09-17smbprovider: Generalize operation errorsBailey Berro
am: b03af03538 Change-Id: I3ae4c5b74f089bb79a96563171d73ff4235a0552
2018-09-17smbprovider: Generalize operation errorsBailey Berro
This change adds more generic Start/Continue operation errors and method constants for Start/ContinueReadDirectory. BUG=chromium:757625 TEST=emerges Change-Id: Ic73faa628e3e825190e4d46ddaa3d1f671054edd Reviewed-on: https://chromium-review.googlesource.com/1226156 Commit-Ready: Bailey Berro <baileyberro@chromium.org> Tested-by: Bailey Berro <baileyberro@chromium.org> Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
2018-09-09system_api: Add DBus constants and protos for OOBE configZentaro Kavanagh
am: 326384d6d8 Change-Id: I52b4147d23148167bcdbd94d7a235a113dda4c18
2018-09-09system_api: Add DBus constants and protos for OOBE configZentaro Kavanagh
BUG=chromium:869209 TEST=emerges Change-Id: I73228de51221000312801719d8c9e77238da654b Reviewed-on: https://chromium-review.googlesource.com/1197211 Commit-Ready: Zentaro Kavanagh <zentaro@chromium.org> Tested-by: Zentaro Kavanagh <zentaro@chromium.org> Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
2018-09-05login: Add retrieve primary user to session manager dbus constantsandroid-o-mr1-iot-release-1.0.4Mengqi Guo
am: 54dc6731ac Change-Id: Ifa7253346468df0cff239776e3c4f14ddf1ee98b
2018-09-05system_api: service_constants.h: add MetricsEventLuigi Semenzato
am: 41fa301106 Change-Id: I8c2284b360e55897ed1b6a23b4bc67e83c9823ab
2018-09-05login: Add retrieve primary user to session manager dbus constantsMengqi Guo
Add retrieve primary user method name to public dbus constants so it can be used by other packages. BUG=b:77568272 TEST=cros_workon_make --board=nami system_api --test --install compiles and builds. Change-Id: Iaf17df366798df53a8be7544df7acc7cee969418 Signed-off-by: Mengqi Guo <mqg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1198047 Reviewed-by: Dan Erat <derat@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
2018-09-05system_api: service_constants.h: add MetricsEventLuigi Semenzato
This adds constants for the MetricsEventService. Ideally this would have gone in with the addition of metrics_event.proto, but I had my chrome and cros sources out of sync. BUG=chromium:729335 TEST=chromium compiles (cros clones these in Rust code) Change-Id: I2407619196dd6fe75e3143caa932bb443ad5fffc Reviewed-on: https://chromium-review.googlesource.com/1204910 Commit-Ready: Luigi Semenzato <semenzato@chromium.org> Tested-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-09-01system_api: dbus: rename metrics_event proto fileLuigi Semenzato
am: ac2aa599ab Change-Id: Ibe58efd64a8910958d2ea26fd692698fbff9a125
2018-09-01system_api: dbus: rename metrics_event proto fileLuigi Semenzato
Naming the protobuf specification "service.proto" causes conflicts in the chrome build. This may be related to https://github.com/protocolbuffers/protobuf/issues/2520 namespace protobuf_service_2eproto { void InitDefaults() { Naming the file "service.proto" makes the namespace contain the word "service", which happens to be used by another protobuf for vm_concierge. So I get a link-time multiple definition. BUG=chromium:729335 TEST=compiles and runs correctly with chromium changes that use it Change-Id: Ic83489d3bab15f627288e44c323e5032da76d874 Reviewed-on: https://chromium-review.googlesource.com/1199965 Commit-Ready: Luigi Semenzato <semenzato@chromium.org> Tested-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-08-31Add lcd_density to StartArcMiniContainerRequestMitsuru Oshima
am: f64e5e47cf Change-Id: I1c604692fb16bd8fe92702e1fe114a2607c8c8f9
2018-08-31Add lcd_density to StartArcMiniContainerRequestMitsuru Oshima
This will be used to inject the density from chrome to Android. BUG=b:66995734 TEST=manual Change-Id: I4cc7e1387389e1cb5c7e099584c12763ed1c5988 Reviewed-on: https://chromium-review.googlesource.com/1197393 Commit-Ready: Mitsuru Oshima <oshima@chromium.org> Tested-by: Mitsuru Oshima <oshima@chromium.org> Reviewed-by: Yusuke Sato <yusukes@chromium.org>
2018-08-30smbprovider: Add SMB1 unsupported ErrorTypeBailey Berro
am: 74d6276bbc Change-Id: I70111b0d9d5888bb4bb8ae9197d278539d44dfff
2018-08-30smbprovider: Add SMB1 unsupported ErrorTypeBailey Berro
Adds an error to the smbprovider::ErrorType enum to be used to differentiate between a generic failure and a failure because a specified share is SMB1 which we do not support. BUG=chromium:757625 TEST=emerges Change-Id: Ia2847f903d471c4015681a04303d2f01ce4310f1 Reviewed-on: https://chromium-review.googlesource.com/1195586 Commit-Ready: Zentaro Kavanagh <zentaro@chromium.org> Tested-by: Zentaro Kavanagh <zentaro@chromium.org> Tested-by: Bailey Berro <baileyberro@chromium.org> Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
2018-08-29system_api: dbus: add metrics_event protobufferLuigi Semenzato
am: a71cda985d Change-Id: Id361b62634fa8781542238d94df60dd2007e226b
2018-08-29system_api: dbus: add metrics_event protobufferLuigi Semenzato
This is used for signaling memory pressure events from Chrome to memd (or other interested party). BUG=chromium:729335 TEST=compiles and runs correctly with chromium changes that use it Change-Id: I00aee977045977d606e3f09eb8a4215c54ea5ee2 Reviewed-on: https://chromium-review.googlesource.com/1186024 Commit-Ready: Luigi Semenzato <semenzato@chromium.org> Tested-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-08-29Add protobuf for mime type mappings in Crostini.Jeffrey Kardatzke
am: ca3489faea Change-Id: I75709a3a89eb096ad787b3b981a8c20bee8e5797
2018-08-29Add protobuf for mime type mappings in Crostini.Jeffrey Kardatzke
BUG=chromium:869747 TEST=Builds Change-Id: Id2d59d432b8037a4fcc0f2d2c0c267fac5b088f2 Reviewed-on: https://chromium-review.googlesource.com/1188447 Commit-Ready: Jeffrey Kardatzke <jkardatzke@google.com> Tested-by: Jeffrey Kardatzke <jkardatzke@google.com> Reviewed-by: Dan Erat <derat@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org>
2018-08-23seneschal: Update proto commentsChirantan Ekbote
am: bbae6045ae Change-Id: I368f327234734113e0b0b63d64dcea0dac95c826
2018-08-23seneschal: Update proto commentsChirantan Ekbote
Update some comments in the seneschal .proto file to reflect changes in behavior on the server. BUG=chromium:703939 TEST=none Change-Id: I0af63d03eda9b585f2cb1519d1f786c1649658d4 Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1186133 Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
2018-08-17diagnostics: API for bootstrapping Mojo to browserMaksim Ivanov
am: 14c26906cd Change-Id: I3c3142f62e4b04ef19a08b254ed9baf8e72cdcd9
2018-08-17diagnostics: API for bootstrapping Mojo to browserMaksim Ivanov
Add D-Bus API that allows bootstrapping Mojo connection between browser and diagnosticsd. Mojo will be used for the actual bidirectional communication between these two endpoints. BUG=chromium:869377 TEST=none Change-Id: I1746e26a95e5d8d04b47ffd7a54c29456c83de01 Reviewed-on: https://chromium-review.googlesource.com/1165982 Commit-Ready: Maksim Ivanov <emaxx@chromium.org> Tested-by: Maksim Ivanov <emaxx@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-08-14service_constants: Add constant for IsShillSandboxingEnabled dbus method.Micah Morton
am: 71adbf6a56 Change-Id: I9b56ec6fcedd1a2541891a8496b70a0d4e39a168
2018-08-14cryptohome: Add MOUNT_ERROR_REMOVE_FAILED.Greg Kerr
am: c0be499563 Change-Id: Ie39dfdaac290a7f0e65e72dbd1d9136a1cb981cc
2018-08-14service_constants: Add constant for IsShillSandboxingEnabled dbus method.Micah Morton
This constant denotes a dbus method that will be used to query whether shill should run in a minijail. BUG=chromium:649417 TEST=Check that go/crosr/1173260 compiles Change-Id: If1cea8fc87df93071f1523c4fef54cbec82469bb Reviewed-on: https://chromium-review.googlesource.com/1172729 Commit-Ready: Micah Morton <mortonm@chromium.org> Tested-by: Micah Morton <mortonm@chromium.org> Reviewed-by: Mattias Nissler <mnissler@chromium.org>
2018-08-14cryptohome: Add MOUNT_ERROR_REMOVE_FAILED.Greg Kerr
Bug: 211405 Change-Id: Iaff745efb5a1ef895cdbacdc86fc2472f01e2101 Reviewed-on: https://chromium-review.googlesource.com/1173426 Commit-Ready: Greg Kerr <kerrnel@chromium.org> Tested-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-08-08seneschal: Add storage location fieldChirantan Ekbote
am: a6a1ab39b1 Change-Id: Iaa9ebdde3ec6da78de62245dd216d0c6bd5bc57f
2018-08-08seneschal: Add storage location fieldChirantan Ekbote
Add a storage location field to the SharePath message so that it's not trivially easy for users to share their cookies and other private data with a VM. The path included with the message is now treated as being relative to the storage location and cannot contain ".." components or end with ".". Additionally, rename service.proto to seneschal_service.proto. It turns out the protobuf compiler only uses the file name when generating the include guard so it's not possible to include headers from 2 different files named service.proto even if they are in different packages. BUG=chromium:703939 TEST=`vmc share termina ../Cookies` doesn't work Change-Id: I096006dceb1af75c4c80dcec95ed9b8a8129616a Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1166451 Reviewed-by: Dylan Reid <dgreid@chromium.org>
2018-08-08service_contants: Add kErrorAlreadyExists to bluetooth_device namespaceMiao-chen Chou
am: 21991ada79 Change-Id: I6f6ba46a31a77e8f0af9e48c0e6f7961eececfbf
2018-08-08service_contants: Add kErrorAlreadyExists to bluetooth_device namespaceMiao-chen Chou
BUG=chromium:863613 TEST=none Change-Id: Ic7207bcabc858ae33d870c592e834d83d3c70550 Reviewed-on: https://chromium-review.googlesource.com/1166455 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Miao-chen Chou <mcchou@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
2018-08-07shill: Remove PriorityWithinTechnology propertyandroid-o-mr1-iot-release-1.0.3Alexander Hendrich
am: 245db4e4e9 Change-Id: Ib11566e8c374852940c9202e3bc6b2c4e3d43ca7