aboutsummaryrefslogtreecommitdiff
path: root/dbus
AgeCommit message (Collapse)Author
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
2018-08-07shill: Remove PriorityWithinTechnology propertyAlexander Hendrich
The PriorityWithinTechnology property is unused and also obsolete due to the recent changes in CL:1136437. CQ-DEPEND=CL:1136437 BUG=chromium:848719 TEST=none Change-Id: I3f439fd3dd0a1f0fc4e0bd4c27b4d911ff578101 Reviewed-on: https://chromium-review.googlesource.com/1150233 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Alexander Hendrich <hendrich@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>
2018-08-05shill: Added new error strings for Service::ConnectFailure additionsAlex Khouderchah
am: 0fd44ac7a2 Change-Id: I0ae83fb38114fa264e1ec42f0daaff4ed5a3767d
2018-08-05shill: Added new error strings for Service::ConnectFailure additionsAlex Khouderchah
In the past, shill defaulted to returning an out-of-range error when disconnecting unexpectedly. This code provides some new error values for shill to pass over d-bus, such that more informative error reasons may be provided to external applications. BUG=chromium:625387 TEST=`cros_workon --board nocturne system_api && emerge-nocturne \ system_api && cros deploy ${DUT_IP} system_api`. Run connect-disconnect loop, restart shill and make sure there are no errors. This is only a smoke test. Change-Id: Ie5a29957314305f31b01ac9e6e5369da3861d4cb Reviewed-on: https://chromium-review.googlesource.com/1105395 Commit-Ready: Kirtika Ruchandani <kirtika@chromium.org> Tested-by: Kirtika Ruchandani <kirtika@chromium.org> Reviewed-by: Kirtika Ruchandani <kirtika@chromium.org>
2018-08-03dbus/login_manager: Add deletion error stringLutz Justen
am: 742da1c426 Change-Id: Idb6768cb110c9ae21cd4bc36e3f4a39f2a1c2cb4
2018-08-03dbus/login_manager: Add deletion error stringLutz Justen
The string is used when deleting a policy fails in Session Manager, see CL:1136038 [login: Add ability to delete component policy]. BUG=chromium:793314 TEST=None Change-Id: I656c57a2e2d71d60219f4f5edc2cdc04786ca653 Reviewed-on: https://chromium-review.googlesource.com/1136035 Commit-Ready: Lutz Justen <ljusten@chromium.org> Tested-by: Lutz Justen <ljusten@chromium.org> Reviewed-by: Mattias Nissler <mnissler@chromium.org>
2018-08-02Add DBus constant permission_broker::kPowerCycleUsbPortsEmil Lundmark
am: 8f539e4a01 Change-Id: I5d2a36b6d80f056be4517e7b6d1378e9de7d8d9f
2018-08-02Add DBus constant permission_broker::kPowerCycleUsbPortsEmil Lundmark
BUG=b:78207285 TEST=emerge-${BOARD} chromeos-base/system_api CQ-DEPEND=CL:1095219 Change-Id: If63f731e0b25270f094db5c3256d8e6a5cb9bf81 Reviewed-on: https://chromium-review.googlesource.com/1099161 Commit-Ready: Armando Miraglia <armax@chromium.org> Tested-by: Armando Miraglia <armax@chromium.org> Reviewed-by: Armando Miraglia <armax@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
2018-08-02bluetooth: Add kStackSyncQuitting as bluetooth adapter propertyQiyu Hu
am: a2a458bd5d Change-Id: I7149a19fc50cbaf7c3ae101190a03e4d322a9964
2018-08-02bluetooth: Add kStackSyncQuitting as bluetooth adapter propertyQiyu Hu
BUG=chromium:868411 TEST=CQ Change-Id: I91c0142d22447cf9b1d3c12c0908238102c04c5d Reviewed-on: https://chromium-review.googlesource.com/1152352 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Qiyu Hu <qiyuh@google.com> Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
2018-08-02Rename to org.chromium.MachineLearningAndrew Moylan
am: 90aa066126 Change-Id: I065c44b0ec7003743deb56650c169f7b0a906efd
2018-08-02Rename to org.chromium.MachineLearningAndrew Moylan
org.chromium.Ml is not very readable. Change it while we still can. Chromium doesn't call ML Service yet so this change can still be done easily. TEST=local build BUG=chromium:782499 CQ-DEPEND=CL:1152628, CL:1152346 Change-Id: I51c1bb2b3f5501a2a3173f2d5b07568e4787b991 Reviewed-on: https://chromium-review.googlesource.com/1152627 Commit-Ready: Andrew Moylan <amoylan@chromium.org> Tested-by: Andrew Moylan <amoylan@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-07-30add LoadDlcImage constantXiaochu Liu
am: 6d8535d437 Change-Id: I56dba1613967a2dd7ad778f434263341471bc07b
2018-07-30service_constants: Added constant for IsUsbguardEnabled dbus method.Allen Webb
am: dc7c14fdd7 Change-Id: Iea92fecf3a2ba1d32f36f739e6462e6f7be57a13
2018-07-30add LoadDlcImage constantXiaochu Liu
add LoadDlcImage D-Bus method constant so dlcservice can use. BUG=chromium:852167 TEST=None Change-Id: I289811cd039bbb9a4f0c80988953160626a32427 Reviewed-on: https://chromium-review.googlesource.com/1152494 Commit-Ready: Xiaochu Liu <xiaochu@chromium.org> Tested-by: Xiaochu Liu <xiaochu@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org>
2018-07-30service_constants: Added constant for IsUsbguardEnabled dbus method.Allen Webb
This constant denotes a dbus method that will be used to query whether USBGuard should be enabled at the lock screen. BUG=None TEST=Check that go/crosr/1154427 compiles Change-Id: Ifc99845f649df732e562cbfe3ff783ede21b125f Signed-off-by: Allen Webb <allenwebb@google.com> Reviewed-on: https://chromium-review.googlesource.com/1154326 Reviewed-by: Mattias Nissler <mnissler@chromium.org>