Chris Masone [Sat, 18 May 2013 02:01:50 +0000 (19:01 -0700)]
Add RetrieveActiveSessions constant to service_constants.h
BUG=None
TEST=emerge- system_api
Change-Id: I1bb49a3aaf31fa58c81303a31f6618f2226fb154
Reviewed-on: https://gerrit.chromium.org/gerrit/55610
Commit-Queue: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Joao da Silva [Wed, 8 May 2013 13:27:14 +0000 (15:27 +0200)]
Removed old constants for user policy calls.
BUG=chromium:187482
Change-Id: If8bfe465f889bf3b06ab0cdc9439278d208df42f
Reviewed-on: https://gerrit.chromium.org/gerrit/50451
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Joao da Silva <joaodasilva@chromium.org>
Tested-by: Joao da Silva <joaodasilva@chromium.org>
Scott James Remnant [Wed, 8 May 2013 21:42:06 +0000 (14:42 -0700)]
Bluetooth: remove old names of constants
BUG=chromium:221813
TEST=compile chrome after CL to switch to new constant names
Change-Id: Ia22558bf0c533eee42ece9cdaf04ed39e1857bf5
Reviewed-on: https://gerrit.chromium.org/gerrit/50505
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Scott James Remnant [Wed, 8 May 2013 21:40:14 +0000 (14:40 -0700)]
Bluetooth: update non-legacy API constants
Some errors specified in the documentation were missing, and others
were placed in the wrong namespace so fix appropriately.
BUG=chromium:221813
TEST=compile chrome after CL to remove legacy D-Bus clients,
and compile chrome after CL to switch to new constant names
Change-Id: I6088d8fe6a5b5e3a3b5e7276ac985db6c9824e73
Reviewed-on: https://gerrit.chromium.org/gerrit/50504
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Scott James Remnant [Wed, 8 May 2013 21:38:34 +0000 (14:38 -0700)]
Bluetooth: remove legacy API constants
BUG=chromium:221813
TEST=compile chrome after CL to remove legacy D-Bus clients
Change-Id: I45e6c8a61e6cb7b6cdcf4a3b2ef5d4baf0ee1915
Reviewed-on: https://gerrit.chromium.org/gerrit/50503
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Joao da Silva [Tue, 7 May 2013 12:30:47 +0000 (14:30 +0200)]
Added constants for the multi-profile user-policy calls.
BUG=chromium:187482
CQ-DEPEND=Ib748e2d59150034f4caa882ca01caf86eddbc9d4
Change-Id: I1aca34770fbd6fb2f78edc94e70d6b7d037c0aed
Reviewed-on: https://gerrit.chromium.org/gerrit/50270
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Joao da Silva <joaodasilva@chromium.org>
Tested-by: Joao da Silva <joaodasilva@chromium.org>
Liam McLoughlin [Sun, 10 Feb 2013 14:10:46 +0000 (09:10 -0500)]
Add system_api GYP file
BUG=chromium:220003
TEST=Run emerge-<board> -v platform2 with and without platform2 USE
flag on a range of boards plus the host
Change-Id: I72f14c578227d2077d9a50f7007d9aaf618b339a
Reviewed-on: https://gerrit.chromium.org/gerrit/42999
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Liam McLoughlin <lmcloughlin@chromium.org>
Tested-by: Liam McLoughlin <lmcloughlin@chromium.org>
Paul Stewart [Thu, 2 May 2013 17:21:45 +0000 (10:21 -0700)]
Remove unused L2TPIPsec.GroupName property
kL2tpIpsecGroupNameProperty is not used in shill or chrome,
and I've confused it at least once with kL2tpIpsecTunnelGroupProperty.
Make it go away.
BUG=chromium:224834
TEST=Recompile shill, codesearch in cs.chromium.org
Change-Id: I5d288043c8fa0d83b60f75a230cf1d11cfb163e2
Reviewed-on: https://gerrit.chromium.org/gerrit/49909
Reviewed-by: Philipp Neubeck <pneubeck@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Thieu Le [Wed, 1 May 2013 00:14:28 +0000 (17:14 -0700)]
Add shill::kSIMOperatorIdProperty.
BUG=chromium:237033
TEST=Build shill
Change-Id: Ida58025cab907703cb3f6eb57c617c631abb4a76
Reviewed-on: https://gerrit.chromium.org/gerrit/49689
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Thieu Le <thieule@chromium.org>
Tested-by: Thieu Le <thieule@chromium.org>
Rahul Chaturvedi [Mon, 29 Apr 2013 18:54:37 +0000 (11:54 -0700)]
Add plugged in time property constant to the system api.
BUG=chromium:175798
TEST=None.
Change-Id: I641d1067624b29f302c855041949d47255359930
Reviewed-on: https://gerrit.chromium.org/gerrit/49498
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: Rahul Chaturvedi <rkc@chromium.org>
Daniel Erat [Sat, 27 Apr 2013 20:25:21 +0000 (13:25 -0700)]
system_api: Add CONNECTED_TO_USB to PowerSupplyProperties.
This adds a new value to the BatteryState enum for USB power
sources.
BUG=chromium:172894
TEST=built it
CQ-DEPEND=I875148cb64c782240fcbf08d0fc4b112b5523fe6
Change-Id: Iae3cd53325998bdb882b00273a990ff216556e58
Reviewed-on: https://gerrit.chromium.org/gerrit/49470
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
Paul Stewart [Fri, 26 Apr 2013 20:22:20 +0000 (13:22 -0700)]
Add GetLoadableProfileEntries shill Service method
Add a method call for listing the possible profile/entry
pairs that are available to configure a given service.
BUG=chromium:235674
TEST=Recompile shill
Change-Id: I58adf4fdb4450a546ff79c16c95e771087b0b61c
Reviewed-on: https://gerrit.chromium.org/gerrit/49350
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Daniel Erat [Wed, 24 Apr 2013 22:59:31 +0000 (15:59 -0700)]
system_api: Remove unused PowerSupplyProperties fields.
BUG=chromium:234786
TEST=built chrome and powerd
Change-Id: I21f14389a4d6197edb7557a26357d7e2642afb6a
Reviewed-on: https://gerrit.chromium.org/gerrit/49213
Commit-Queue: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Daniel Erat [Tue, 23 Apr 2013 23:14:46 +0000 (16:14 -0700)]
system_api: Add user_activity_screen_dim_delay_factor.
This adds a user_activity_screen_dim_delay_factor field to
the PowerManagementPolicy protocol buffer.
BUG=chromium:212394
TEST=built it
Change-Id: I4a773c4cc8e5f4427a21eadde127e00d537656a2
Reviewed-on: https://gerrit.chromium.org/gerrit/49134
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Bartosz Fabianowski <bartfab@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
Daniel Erat [Tue, 23 Apr 2013 23:23:35 +0000 (16:23 -0700)]
api: Move PowerSupplyProperties and add an enum.
This moves power_supply_properties.proto to the
power_manager subdirectory, adds an enum field to it, and
renames some of the existing fields. I'm leaving the old
file in place until Chrome and powerd have been updated to
not compile it.
BUG=chromium:196402
TEST=compiled it
Change-Id: Ia98bdce63e4368f6bf6b6d241c7d6a69b1a427ad
Reviewed-on: https://gerrit.chromium.org/gerrit/49008
Commit-Queue: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Paul Stewart [Wed, 17 Apr 2013 17:53:04 +0000 (10:53 -0700)]
Add "UserHash" Profile property
Add a read-only property to Profile that contains a hash representing
the logged-in user associated with this profile.
BUG=chromium:231858
TEST=Emerge, then compile shill
Change-Id: If9d181525fbfc4d3984daa04c2b293c24b16a3ad
Reviewed-on: https://gerrit.chromium.org/gerrit/48378
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Paul Stewart [Tue, 16 Apr 2013 16:31:00 +0000 (09:31 -0700)]
Add "etherneteap" technology type
Add a type for configuring shared EAP authentication parameters
for Ethernet networks.
BUG=chromium:227433
TEST=Recompile shill
Change-Id: Iac6e3943bf1bb8f41e25b231d295bf89f6e5ec98
Reviewed-on: https://gerrit.chromium.org/gerrit/48227
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Chih-Chung Chang [Thu, 11 Apr 2013 03:18:38 +0000 (11:18 +0800)]
Add property names used in the GetNodes API of CRAS.
BUG=chromium:215835
TEST=build_image
Change-Id: I499dd6e68699700682507c31ee29d8fba778dfe9
Reviewed-on: https://gerrit.chromium.org/gerrit/47835
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Commit-Queue: Chih-Chung Chang <chihchung@chromium.org>
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
Alex Deymo [Thu, 11 Apr 2013 01:48:14 +0000 (18:48 -0700)]
Bluetooth experimental: Add the new Input1 experimental interface.
A new Input1 Bluetooth interface was introduced on our BlueZ code exposing
the "connectability" of a HID device through a new property with 4 possible
values. This patch adds the needed constants to retrieve that property from
chromium.
BUG=chromium:220553
TEST=None
Change-Id: I46d533ec125fd7ce58e90cb39403110dbff29819
Reviewed-on: https://gerrit.chromium.org/gerrit/47827
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Julian Pastarmov [Tue, 9 Apr 2013 15:04:26 +0000 (17:04 +0200)]
Add shared header for common switches used by Chrome and ChromeOS modules.
BUG=chromium:221354
TEST=none
Change-Id: I21a0a6f3c1e1a2d818c9e6a6de240b57d860d558
Reviewed-on: https://gerrit.chromium.org/gerrit/47644
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Julian Pastarmov <pastarmovj@chromium.org>
Tested-by: Julian Pastarmov <pastarmovj@chromium.org>
Darren Krahn [Thu, 4 Apr 2013 22:52:45 +0000 (15:52 -0700)]
Added new cryptohome dbus APIs for attestation.
BUG=chromium:219959
TEST=emerge chromeos-cryptohome
Change-Id: I20f77c230e3869fc88023c610b1d2377a63a3387
Reviewed-on: https://gerrit.chromium.org/gerrit/47379
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
Paul Stewart [Wed, 3 Apr 2013 05:15:26 +0000 (22:15 -0700)]
Add Device property "EapAuthenticationCompleted"
Provide a property that Ethernet devices will use to indicate
whether an EAP authentication has successfully completed on
this link.
BUG=chromium:225914
TEST=Compile shill, use symbol (upcoming shill CL) and use
list-devices to test that this property is available.
Change-Id: I30ffe8a42b96b7f1b17bff4256f09711e6c48556
Reviewed-on: https://gerrit.chromium.org/gerrit/47403
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Paul Stewart [Wed, 3 Apr 2013 05:15:26 +0000 (22:15 -0700)]
Add Device property "EapAuthenticatorDetected"
Provide a property that Ethernet devices will use to indicate
whether an EAP authenticator has been detected on this link.
While here perform a little local sorting.
BUG=chromium:225914
TEST=Compile shill, use symbol (upcoming shill CL) and use
list-devices to test that this property is available.
Change-Id: If606d2f84447d61094d230358f7757483d19b80c
Reviewed-on: https://gerrit.chromium.org/gerrit/47227
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Yufeng Shen [Wed, 27 Mar 2013 22:45:06 +0000 (18:45 -0400)]
system_api: Add power_manager::kPeripheralBatteryStatusSignal
This signal is used for power_manager to send Chrome the battery
status of peripheral devices.
Also add the proto buffer definition for PeripheralBatteryStatus.
BUG=chromium:221420
TEST=built it
Change-Id: I26751758500c4028807d8d29f7036eb8777aeca9
Reviewed-on: https://gerrit.chromium.org/gerrit/46708
Commit-Queue: Yufeng Shen <miletus@chromium.org>
Reviewed-by: Yufeng Shen <miletus@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
Paul Stewart [Tue, 26 Mar 2013 22:49:18 +0000 (15:49 -0700)]
Fix method name for explicitly connect to "best" services
Add method name "ConnectToBestServices", added to shill in:
https://gerrit.chromium.org/gerrit/45781
BUG=chromium:221838
TEST=Recompile shill
Change-Id: I7533b3f0abdfd6c74f095bc2f8b7864472111c70
Reviewed-on: https://gerrit.chromium.org/gerrit/46661
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Paul Stewart [Tue, 26 Mar 2013 22:49:18 +0000 (15:49 -0700)]
Add method to explicitly connect to "best" services
Add method name "ConnectToBestServices", added to shill in:
https://gerrit.chromium.org/gerrit/45781
BUG=chromium:221838
TEST=Recompile shill
Change-Id: I1064d470d3f69da9f25b31e71d6785a13b7e7ac6
Reviewed-on: https://gerrit.chromium.org/gerrit/46571
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Dylan Reid [Tue, 26 Mar 2013 17:56:56 +0000 (10:56 -0700)]
Add CRAS Control interface.
The control interface lives in the root cras object and is what Chrome
will use to control both volume and device selection.
BUG=chromium-os:33666
TEST=dbus-monitor --system while hitting volume keys
Change-Id: I0e5e91f4b5575af7819a80fcc9f7adf0a6e32170
Reviewed-on: https://gerrit.chromium.org/gerrit/46527
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
Commit-Queue: Dylan Reid <dgreid@chromium.org>
Tested-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Daniel Erat [Sat, 23 Mar 2013 19:36:43 +0000 (12:36 -0700)]
system_api: Add chromeos::kSetDisplaySoftwareDimming.
This adds a constant for a new SetDisplaySoftwareDimming
D-Bus method that will be exported by Chrome. It will
replace the SoftwareScreenDimmingRequested signal that's
currently emitted by powerd.
BUG=chromium:221391
TEST=built it
TBR=marcheu@chromium.org
Change-Id: I9f7cf7095d8f57f48cd92e2c6e420249f2739abb
Reviewed-on: https://gerrit.chromium.org/gerrit/46363
Commit-Queue: Daniel Erat <derat@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Daniel Erat [Thu, 21 Mar 2013 18:29:56 +0000 (11:29 -0700)]
system_api: Delete old power manager constants and protos.
This deletes D-Bus constants that are no longer used, along
with PowerAccumulation (never used, as far as I can tell)
and PowerStateControl .proto files.
BUG=chromium:176405,chromium:221391
TEST=did a build
TBR=cmasone@chromium.org
CQ-DEPEND=I76373cb22a40347aa6a3f011ef250481799ddf55
Change-Id: Ic3d731363d0c3520a6e1b8783ddcf505c5b811e1
Reviewed-on: https://gerrit.chromium.org/gerrit/46362
Commit-Queue: Daniel Erat <derat@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Dylan Reid [Thu, 21 Mar 2013 22:28:21 +0000 (15:28 -0700)]
Add CRAS DBUS constants.
Constants that Chrome will use to communicate with CRAS over DBUS.
BUG=chromium-os:33666
TEST=compile and run chrome.
Change-Id: I5e6b20f65295f555601656dd682fa99778fbcc5c
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/46170
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Scott James Remnant [Thu, 21 Mar 2013 23:53:09 +0000 (16:53 -0700)]
system_api: add BlueZ 5 Profile Errors
BUG=chromium-os:38832
TEST=make chrome
Change-Id: I2514d34003643ab624b528dc645601b9010c7dec
Reviewed-on: https://gerrit.chromium.org/gerrit/46184
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Scott James Remnant [Mon, 11 Mar 2013 22:34:56 +0000 (15:34 -0700)]
system_api: add BlueZ 5 interfaces
Many of the interfaces are the same as the old; though some methods,
signals and properties have been removed, moved or renamed. For the
most part just re-use the existing constants, except prefix the new
interface name with 'Experimental' to match the way we're supporting
both interfaces in Chromium during development.
BUG=chromium-os:38832
TEST=make chrome
Change-Id: Ia69db2cc4002f0dc3944dae71d9982df667f5d12
Reviewed-on: https://gerrit.chromium.org/gerrit/45147
Reviewed-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Paul Stewart [Thu, 21 Mar 2013 18:13:20 +0000 (11:13 -0700)]
Add property for Cisco Tunnel Group
Provide a service property for providing a tunnel group to be
assigned to this L2TPIpsec connection.
BUG=chromium:199004
TEST=Compile
Change-Id: Ie16db7717e5b514e52cbd703c852b030cd092d21
Reviewed-on: https://gerrit.chromium.org/gerrit/46145
Commit-Queue: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Daniel Erat [Wed, 20 Mar 2013 14:57:24 +0000 (07:57 -0700)]
system_api: Add PowerManagementPolicy.reason.
This adds a "reason" field that can be logged by the power
manager to aid in debugging.
BUG=chromium:176405
TEST=built it
TBR=bartfab@chromium.org
Change-Id: I2b8522ea6f64bad985b6efdfbda3f74f0799ae3e
Reviewed-on: https://gerrit.chromium.org/gerrit/45995
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Bartosz Fabianowski <bartfab@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
Daniel Erat [Thu, 14 Mar 2013 16:23:07 +0000 (09:23 -0700)]
system_api: Add idle_notify_ms to PowerManagementPolicy.
This also adds constants for IdleActionImminent and
IdleActionDeferred D-Bus signals that will be emitted by
powerd.
BUG=chromium:195560
TEST=built it
Change-Id: Ie7ce73c72078da3cb757879a4097324828ba4205
Reviewed-on: https://gerrit.chromium.org/gerrit/45801
Reviewed-by: Bartosz Fabianowski <bartfab@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Scott James Remnant [Mon, 11 Mar 2013 22:34:24 +0000 (15:34 -0700)]
system_api: add D-Bus ObjectManager interface
This is a new standard interface
BUG=none
TEST=none
Change-Id: I54a9f49129e8234ea883d72f3991a48df385a915
Reviewed-on: https://gerrit.chromium.org/gerrit/45146
Commit-Queue: Scott James Remnant <keybuk@chromium.org>
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Paul Stewart [Thu, 14 Mar 2013 17:50:59 +0000 (10:50 -0700)]
system-api: Add PEM certificate Properties
Add service properties that provide the PEM contents of the
CA certificate to be used in an 802.1x, L2TPIpsec and OpenVPN
connections in shill.
BUG=chromium-os:39685
TEST=Compile
Change-Id: I8f42f28f9aaff050c586b4388ee7e7a7bd6df37a
Reviewed-on: https://gerrit.chromium.org/gerrit/45442
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Ryan Sleevi <rsleevi@chromium.org>
Scott James Remnant [Mon, 11 Mar 2013 22:33:29 +0000 (15:33 -0700)]
service_api: complete D-Bus Properties interface
BUG=none
TEST=none
Change-Id: I9e52b21a2066ba71d65c1bdd7cb2174f211551f7
Reviewed-on: https://gerrit.chromium.org/gerrit/45145
Reviewed-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Darren Krahn [Thu, 14 Mar 2013 20:23:46 +0000 (13:23 -0700)]
Added new cryptohome dbus constants.
BUG=chromium-os:39830
TEST=emerge system_api and chromeos-cryptohome
Change-Id: Icab6661dceb9ccc4c6af6536c22588d9beb3001b
Reviewed-on: https://gerrit.chromium.org/gerrit/45477
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Paul Stewart [Mon, 11 Mar 2013 20:21:21 +0000 (13:21 -0700)]
Add shill's ConfigureServiceForProfile function
This method will allow adding / modifying the properties in a
profile entry regardless of state of a matching visible service
associated with a different profile.
BUG=chromium-os:39513
TEST=Unit tests
Change-Id: Ifef028749b0b7221b87ded8fe0b80159e785b771
Reviewed-on: https://gerrit.chromium.org/gerrit/45127
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Thieu Le [Wed, 13 Mar 2013 22:22:52 +0000 (15:22 -0700)]
Add new "Cellular.OutOfCredits" property to shill cellular service.
BUG=chromium-os:18137
TEST=emerge system_api and shill
Change-Id: Id46ab01c7e0d1327a1b7e7ec5ceda2da0b002a69
Reviewed-on: https://gerrit.chromium.org/gerrit/45358
Reviewed-by: Arman Uguray <armansito@chromium.org>
Commit-Queue: Thieu Le <thieule@chromium.org>
Tested-by: Thieu Le <thieule@chromium.org>
Jenny Zhang [Mon, 11 Mar 2013 22:53:08 +0000 (15:53 -0700)]
Add new service constants for org.torproject.tlsdate TimeUpdated signal.
Change-Id: Ide79f7a932b4eb04cc51bb63fe5424650b7d8847
BUG=chrome-os-partner:14436
TEST=NONE
Reviewed-on: https://gerrit.chromium.org/gerrit/45144
Tested-by: Jenny Zhang <jennyz@chromium.org>
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Commit-Queue: Jenny Zhang <jennyz@chromium.org>
Darin Petkov [Mon, 11 Mar 2013 13:16:48 +0000 (14:16 +0100)]
Add shill's Service.ErrorDetails property.
The property will be used to propagate custom server-supplied error
messages to the UI. See CL:45070.
BUG=chromium-os:31410
TEST=emerged system_api along with shill
Change-Id: I8a481be6b4c13cb5ca232d5e65b9a20e977ce5c0
Reviewed-on: https://gerrit.chromium.org/gerrit/45069
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Darin Petkov <petkov@chromium.org>
Daniel Erat [Tue, 5 Mar 2013 22:21:01 +0000 (14:21 -0800)]
system_api: Add DISPLAY_POWER_INTERNAL_ON_EXTERNAL_OFF.
This adds an additional value to the
chromeos::DisplayPowerState enum: just before suspending, we
want to turn the internal displays back on while leaving
external displays off.
BUG=chromium-os:39289
TEST=manual: built it
Change-Id: I0854379e5d8691aea7fb5dc23c78b44ac82ad04f
Reviewed-on: https://gerrit.chromium.org/gerrit/44685
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Daniel Erat [Mon, 4 Mar 2013 17:43:19 +0000 (09:43 -0800)]
system_api: RequestSuspend should be method, not signal.
This renames the power_manager::kRequestSuspendSignal
constant to power_manager::kRequestSuspendMethod.
BUG=chromium:179713
TEST=built it
CQ-DEPEND=I0bb7c80073b4fe437f08c75370744c436fefa96e
Change-Id: Ib7e15923355e499346029d4f9d3e59c52848d2ce
Reviewed-on: https://gerrit.chromium.org/gerrit/44529
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
Greg Spencer [Tue, 26 Feb 2013 02:28:06 +0000 (18:28 -0800)]
Rename VerifyAndSignData to VerifyAndEncryptData
The Shill team prefers this name (because it's more accurate).
TEST=emerge system_api
BUG=chromium-os:38993
Change-Id: I74af23022d9102744b0b427093596c7010a77930
Reviewed-on: https://gerrit.chromium.org/gerrit/44307
Tested-by: Greg Spencer <gspencer@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Greg Spencer <gspencer@chromium.org>
Daniel Erat [Wed, 27 Feb 2013 23:30:50 +0000 (15:30 -0800)]
system_api: Add chromeos::kSetDisplayPower.
This defines the name of a "SetDisplayPower" method call
that will be exported by Chrome for the power manager and
adds a DisplayPowerState enum.
BUG=chromium-os:39289
TEST=built it
Change-Id: I8a1cf19e68b26fd2f84dcd560ed4c21a9565814e
Reviewed-on: https://gerrit.chromium.org/gerrit/44257
Commit-Queue: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Greg Spencer [Fri, 15 Feb 2013 01:10:26 +0000 (17:10 -0800)]
Added manager API constants for new Shill APIs.
BUG=chromium-os:38726
TEST=emerge system_api, built chromiumos image.
Change-Id: I9feb3325e2a4e3d36cf35c3be943f468d0f2039c
Reviewed-on: https://gerrit.chromium.org/gerrit/43367
Commit-Queue: Greg Spencer <gspencer@chromium.org>
Reviewed-by: Greg Spencer <gspencer@chromium.org>
Tested-by: Greg Spencer <gspencer@chromium.org>
Ben Chan [Thu, 14 Feb 2013 21:47:31 +0000 (13:47 -0800)]
Add shill CompleteCellularActivation DBus method constant.
BUG=chromium-os:38974
TEST=emerge system_api
Change-Id: I0cd0b25d1f6d48234d176fc596f2129c7f1561f5
Reviewed-on: https://gerrit.chromium.org/gerrit/43368
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Paul Stewart [Fri, 25 Jan 2013 01:05:08 +0000 (17:05 -0800)]
wifi: Manager: Create CompleteServices property
The "Services" property of the manager returns only visible
services. Provide another property which will provide the
entire list of services, including those that are not visible.
BUG=chromium-os:38017
TEST=Compile
Change-Id: Ic8af4999b25503c3b002504edd12405dc91cc824
Reviewed-on: https://gerrit.chromium.org/gerrit/41982
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Daniel Erat [Wed, 2 Jan 2013 23:52:00 +0000 (15:52 -0800)]
system_api: Add PowerManagementPolicy protobuf.
This defines a PowerManagementPolicy protocol buffer that
can be sent from Chrome to powerd to dynamically change
powerd's behavior. It is intended to be comprehensive
enough to be used for currently-planned per-user enterprise
policies (including Public Accounts) as well as supporting
PowerSaveBlocker in Chrome (e.g. disabling suspend while
downloading files, disabling screen-dimming while watching
videos, etc.).
BUG=chromium-os:36889,chromium-os:38281
TEST=built it
Change-Id: I1dea398f03bd67623d30e22ab8ca2525dd1594d4
Reviewed-on: https://gerrit.chromium.org/gerrit/40349
Commit-Queue: Daniel Erat <derat@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Ahmad Sharif [Tue, 29 Jan 2013 22:48:54 +0000 (14:48 -0800)]
dbus: add GetPerfData() method.
BUG=chromium-os:37970
TEST=Tested in conjunction with:
https://gerrit.chromium.org/gerrit/#/c/41546/
https://codereview.chromium.org/
11185038/
Change-Id: Ie5f73fe035bffec606ccde2608473bd506209a15
Reviewed-on: https://gerrit.chromium.org/gerrit/42254
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Commit-Queue: asharif <asharif@chromium.org>
Tested-by: asharif <asharif@chromium.org>
Joao da Silva [Wed, 30 Jan 2013 12:09:17 +0000 (13:09 +0100)]
Added constant for the GetSanitizedUsername() dbus call.
This method will be implemented in cryptohomed.
BUG=chromium:163318
TEST=none
Change-Id: I33d066eea8ebf8d793b4a6451b639be406a8155f
Reviewed-on: https://gerrit.chromium.org/gerrit/42298
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Joao da Silva <joaodasilva@chromium.org>
Tested-by: Joao da Silva <joaodasilva@chromium.org>
Daniel Erat [Thu, 24 Jan 2013 17:40:34 +0000 (09:40 -0800)]
system_api: Add description to suspend delay proto.
Adds a 'description' string to RegisterSuspendDelay protocol
buffers to aid in debugging.
BUG=chromium-os:36980
TEST=it builds
Change-Id: I661570a23b42f3fba892671edc730ffe5584f35a
Reviewed-on: https://gerrit.chromium.org/gerrit/41934
Commit-Queue: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Daniel Erat [Thu, 17 Jan 2013 17:30:02 +0000 (09:30 -0800)]
system_api: Remove deprecated power manager constants.
This removes D-Bus constants related to the previous suspend
delay implementation and powerm.
BUG=chromium-os:36980,chromium-os:36804
TEST=built an image
Change-Id: I4f544f5c21086cb83e20f72ed477fd94cfa88f34
Reviewed-on: https://gerrit.chromium.org/gerrit/41866
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: David James <davidjames@chromium.org>
Ben Chan [Wed, 23 Jan 2013 20:16:19 +0000 (12:16 -0800)]
Add shill Reset DBus method constant.
BUG=chromium-os:37678
TEST=emerge system_api
Change-Id: I1cf21b37d8b8bfaa5043b2ce0ad3bff889a88b8f
Reviewed-on: https://gerrit.chromium.org/gerrit/41849
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Ben Chan [Wed, 16 Jan 2013 05:52:04 +0000 (21:52 -0800)]
Add shill Manager.UninitializedTechnologies property.
BUG=chromium-os:37877
TEST=emerge system_api
Change-Id: I9e9982ec07db9bcf9cdc42106c988a6379f317b7
Reviewed-on: https://gerrit.chromium.org/gerrit/41348
Reviewed-by: Darin Petkov <petkov@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Steven Bennetts [Thu, 10 Jan 2013 23:04:47 +0000 (15:04 -0800)]
Add GetNetworksForGeolocation
BUG=None
TEST=None
Change-Id: I9dd3d51e137dbee75ae045a3fda3b605f41df9aa
Reviewed-on: https://gerrit.chromium.org/gerrit/41064
Tested-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Brian Harring <ferringb@chromium.org>
Paul Stewart [Thu, 10 Jan 2013 00:28:17 +0000 (16:28 -0800)]
shill: wifi: Add constant for 802.11w (PMF)
Add a WiFi service property that indicates whether an AP for this
service has been seen that requires Protected Management Frame
support.
BUG=chromium-os:37698
TEST=Compile
Change-Id: I1fb5f35cd85f2b8c0e7a0bb2ac69cc920d988830
Reviewed-on: https://gerrit.chromium.org/gerrit/40972
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Alex Deymo [Thu, 20 Dec 2012 00:08:57 +0000 (16:08 -0800)]
bluetooth: New constant for a BlueZ error response.
BlueZ may return a NotSupported error message while trying to pair
to a not supported device. We want to show a especial message to
the user in this case.
BUG=chromium-os:27902
TEST=cros_chrome_make
Change-Id: I0922889c60a7c971eaeb9561e30aefa6d113ec31
Reviewed-on: https://gerrit.chromium.org/gerrit/39992
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Darin Petkov [Wed, 5 Dec 2012 12:40:44 +0000 (13:40 +0100)]
Add shill's Service disconnect and misconnect history properties.
BUG=chromium-os:36924
TEST=emerged along with shill using the new properties, unit tests
Change-Id: I5e1852af18381995c30c5e1f356d3c2745c44d2f
Reviewed-on: https://gerrit.chromium.org/gerrit/39241
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
Ben Chan [Thu, 13 Dec 2012 22:19:56 +0000 (14:19 -0800)]
Remove deprecated cashew DBus service constants.
BUG=chromium-os:37243
TEST=Build system_api and Chrome OS.
Change-Id: I378e725543f0d2506a6ddd21ecdb78e099cf98ed
Reviewed-on: https://gerrit.chromium.org/gerrit/39678
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Thieu Le <thieule@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
Ben Chan [Mon, 10 Dec 2012 19:31:31 +0000 (11:31 -0800)]
Add shill Cellular.ActivateOverNonCellularNetwork property.
BUG=chromium-os:37117
TEST=emerge system_api
Change-Id: I1e51039df70612202206c94e75e041faf27f0216
Reviewed-on: https://gerrit.chromium.org/gerrit/39496
Reviewed-by: Darin Petkov <petkov@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Daniel Erat [Fri, 7 Dec 2012 15:32:53 +0000 (07:32 -0800)]
system_api: Rename a 'delay' field to 'timeout'.
This gives a field in RegisterSuspendDelayRequest a slightly
more accurate name.
BUG=chromium-os:36980
TEST=it builds (field isn't used by any checked-in code)
Change-Id: I7cdd39bc80c5e8b56c1da8992f4ad58e14b053b9
Reviewed-on: https://gerrit.chromium.org/gerrit/39373
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Ready: Daniel Erat <derat@chromium.org>
Darren Krahn [Wed, 5 Dec 2012 23:18:21 +0000 (15:18 -0800)]
Added cryptohome attestation calls.
Only the calls needed by Chrome have been added.
BUG=chromium-os:36561
TEST=emerge system_api
Change-Id: Ia12711166de1c7c4fcf2b2e5b413c2a0b48b2566
Reviewed-on: https://gerrit.chromium.org/gerrit/39272
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Commit-Ready: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Alex Deymo [Fri, 7 Dec 2012 17:48:44 +0000 (09:48 -0800)]
bluetooth: Added some bluez error constants more. Fix ',' --> '.'
BUG=chromium-os:27902
TEST=cros_chrome_make
Change-Id: I69cac2022cbba8eb80077bafb428c54753a56752
Reviewed-on: https://gerrit.chromium.org/gerrit/39377
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
Commit-Ready: Alex Deymo <deymo@chromium.org>
Daniel Erat [Wed, 5 Dec 2012 23:57:18 +0000 (15:57 -0800)]
system_api: Add suspend-delay constants and protos.
This adds new signal and method name constants and protocol
buffers for the power manager's suspend delay feature. I'm
attempting to clean up the D-Bus usage here (by using
signals vs. methods correctly and using protocol buffers
instead of bare D-Bus arguments) and to make suspend delays
safer and easier to troubleshoot (by adding delay IDs
instead of maintaining a counter).
BUG=chromium-os:36980
TEST=none
Change-Id: I60a49f6c5d4046eabcf22d0a6352e817fa97c4bb
Reviewed-on: https://gerrit.chromium.org/gerrit/39277
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Daniel Erat <derat@chromium.org>
Paul Stewart [Fri, 30 Nov 2012 19:29:25 +0000 (11:29 -0800)]
shill: Add error constants for EAP failures
BUG=chromium-os:31466
TEST=Upcoming change to shill
Change-Id: Ifae8eeb45c1f9ef5a9f0406482a15c0c9adca12c
Reviewed-on: https://gerrit.chromium.org/gerrit/39007
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Ready: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Chris Masone [Sat, 1 Dec 2012 03:29:01 +0000 (19:29 -0800)]
[system_api] Add Appropriately named constants for session manager signals
To replace the session_manager's glib signals with dbus signals
we need constants for their names.
BUG=chromium-os:36656
TEST=emerge-amd64-generic system_api
Change-Id: I581238925559a90d5d586009f0d071c6fba1746f
Reviewed-on: https://gerrit.chromium.org/gerrit/39033
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Chris Masone <cmasone@chromium.org>
Chris Masone [Tue, 27 Nov 2012 17:39:22 +0000 (09:39 -0800)]
[system_api] Add signal names to appropriate namespaces
Signals are emitted from a DBus service. I thought signals were sent
_to_ a certain interface way back in the day, so many signal names are
defined in the namespace of the thing that's intended to receive them.
Fix this long-standing foolishness by duplicating them to the right
namespace and deprecating the existing constants.
BUG=chromium-os:36668
TEST=build_packages; as nothing is removed yet, all should be well.
TEST=http://chromegw/i/chromiumos.tryserver/builders/mario-paladin/builds/1006
Change-Id: Id6a94e79702b0cff75945573f8f8215e672a08f6
Reviewed-on: https://gerrit.chromium.org/gerrit/38739
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Chris Masone <cmasone@chromium.org>
Chris Masone [Tue, 27 Nov 2012 21:56:35 +0000 (13:56 -0800)]
[system_api] Add CheckLiveness method name for LibCrosService
It turns out Chrome supports providing async methods, so we should
re-implement liveness checking using them. This is the method
Chrome will implement that the session_manager can call to determine
if it is currently responsive.
BUG=chromium-os:36686
TEST=emerge system_api
Change-Id: I9174db95819887d28d0248032ec614ed5bf1ca77
Reviewed-on: https://gerrit.chromium.org/gerrit/38754
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Chris Masone <cmasone@chromium.org>
Daniel Erat [Wed, 21 Nov 2012 23:08:16 +0000 (15:08 -0800)]
system_api: Rename SuspendState timestamp to wall_time.
This renames the SuspendState protocol buffer's "timestamp"
field to "wall_time" and updates its documentation to
clarify that it contains wall time (base::Time) rather than
CLOCK_MONOTONIC (base::TimeTicks).
BUG=chromium-os:36503
TEST=none
CQ-DEPEND=Ie3fdd0fcda82089421f5f889cb63c26415e5676f
Change-Id: I84b4f90ce774f43a4f4566f129fcd9415f55cccf
Reviewed-on: https://gerrit.chromium.org/gerrit/38492
Commit-Ready: Daniel Erat <derat@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Daniel Erat [Tue, 20 Nov 2012 17:36:17 +0000 (09:36 -0800)]
system_api: Add SuspendState protocol buffer.
This adds a SuspendState protocol buffer that will be
included in a SuspendStateChanged D-Bus signal emitted by
powerm in response to the system suspending or resuming.
BUG=chromium-os:36380,chromium-os:36503
TEST=none
Change-Id: I30d78ce2190a31c3f0465ce1f8b4085d6e173d52
Reviewed-on: https://gerrit.chromium.org/gerrit/38442
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Daniel Erat <derat@chromium.org>
Daniel Erat [Sat, 17 Nov 2012 01:09:00 +0000 (17:09 -0800)]
system_api: Add InputEvent protocol buffer.
This defines an InputEvent protocol buffer to be sent by the
powerm component of the power manager, along with an
"InputEvent" constant to be used as the signal name.
BUG=chromium-os:36380
TEST=power button works as before
CQ-DEPEND=I8ef42b62e21a40066a3b08b827d5ad5a1f24ba6b
Change-Id: I8c6b912ec52b00bb9a5ad6ccc6c1fe3965c08514
Reviewed-on: https://gerrit.chromium.org/gerrit/38339
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Ready: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Lei Zhang [Tue, 20 Nov 2012 06:08:05 +0000 (22:08 -0800)]
Remove deprecated mtpd methods.
BUG=chromium-os:36450
TEST=emerge system_api
Change-Id: If393385dfcfb33677d7ae28de24df7a3b797be81
Reviewed-on: https://gerrit.chromium.org/gerrit/38362
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Lei Zhang <thestig@chromium.org>
Tested-by: Lei Zhang <thestig@chromium.org>
Lei Zhang [Thu, 15 Nov 2012 05:43:17 +0000 (21:43 -0800)]
Add constants for MTP ReadFileChunk DBus methods.
Also add a constant for renaming EnumerateStorage to EnumerateStorages.
BUG=chromium:160860
TEST=emerge system_api
Change-Id: Ibb8d20d4fb51b7e66c50f3c803c961c48b7eb2ad
Reviewed-on: https://gerrit.chromium.org/gerrit/38095
Tested-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Lei Zhang <thestig@chromium.org>
Mattias Nissler [Fri, 2 Nov 2012 15:59:01 +0000 (16:59 +0100)]
Add DBus constants for local account policy calls to session_manager.
BUG=chromium-os:35715
TEST=None
Change-Id: I36fce57e233ac5615dfc048272ff37d581709a75
Reviewed-on: https://gerrit.chromium.org/gerrit/37910
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Ready: Mattias Nissler <mnissler@chromium.org>
Tested-by: Mattias Nissler <mnissler@chromium.org>
Daniel Erat [Wed, 14 Nov 2012 23:37:26 +0000 (15:37 -0800)]
system_api: Add constants for powerm.
This adds "RootPowerManager" constants that were formerly
just in the power_manager repo so that Chrome will be able
to use them to communicate with powerm.
BUG=chromium-os:36380
TEST=built it
CQ-DEPEND=I4290abfa6992ebfa449686dd20cc47c08ed252db
Change-Id: Id650a7a194cfdd9938b7fe7cf223f1af21b472e0
Reviewed-on: https://gerrit.chromium.org/gerrit/38069
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Ready: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Greg Spencer [Mon, 5 Nov 2012 23:12:32 +0000 (15:12 -0800)]
Adding ClearProperties to shill constants
This adds a kClearPropertiesFunction constant to service_constants.h
so tha Chrome can use the new ClearProperties function.
BUG=chromium-os:35900
TEST=built
Change-Id: Ic3e7ec0547b15785f9172263b18b4b00f31c1024
Reviewed-on: https://gerrit.chromium.org/gerrit/37396
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Greg Spencer <gspencer@chromium.org>
Tested-by: Greg Spencer <gspencer@chromium.org>
Constantin-Alexandru Tudorica [Mon, 29 Oct 2012 08:52:50 +0000 (10:52 +0200)]
Added a DBus constant for "GetFeedbackLogs"
As requested in http://codereview.chromium.org/
11026008/ I have added
a new constant.
BUG=chromium:138582
TEST=None.
Change-Id: Ia042c6b6a22f5bcc873e0bbd132d20ffc02722de
Reviewed-on: https://gerrit.chromium.org/gerrit/36769
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Commit-Ready: Constantin Tudorica <tudalex@chromium.org>
Tested-by: Constantin Tudorica <tudalex@chromium.org>
Philipp Neubeck [Tue, 23 Oct 2012 08:02:17 +0000 (10:02 +0200)]
Changed uint32 to uint32_t, added missing stdint include to service_constants.h.
The uint32 typed constants were used by mtpd, which internally uses uint32_t.
BUG=chromium-os:35618
TEST=nothing changed
Change-Id: Iab21a2ce34808f98977d3d68a04abb3387807c63
Reviewed-on: https://gerrit.chromium.org/gerrit/36332
Tested-by: Philipp Neubeck <pneubeck@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Ready: Philipp Neubeck <pneubeck@chromium.org>
Chris Masone [Thu, 25 Oct 2012 19:51:58 +0000 (12:51 -0700)]
[system_api] Define new DBus signals for Chrome liveness detection.
To determine whether Chrome is responsive, we'll be pinging it over DBus
at a defined time interval, and expecting an ACK before the next ping is sent.
This defines the signal to be sent to the browser, and the name of the method
it should call in reply
BUG=chromium-os:35729
TEST=emerge the package.
Change-Id: I2153031d452c83e9f28e0f8125b6873635f1fc93
Reviewed-on: https://gerrit.chromium.org/gerrit/36582
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Chris Masone <cmasone@chromium.org>
Gaurav Shah [Mon, 22 Oct 2012 23:26:06 +0000 (16:26 -0700)]
service_constants: Add identifier for debugd's GetAllUserLogs method.
BUG=chromium-os:34817
TEST=emerge-lumpy system_api
Change-Id: Ie689e714c85c986e0a613276e7d55068acf95b93
Reviewed-on: https://gerrit.chromium.org/gerrit/36284
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Gaurav Shah <gauravsh@chromium.org>
Gaurav Shah [Tue, 23 Oct 2012 19:40:57 +0000 (12:40 -0700)]
service_constants: Add more geolocation request property names.
This adds some missing property names used in geolocation requests.
BUG=chromium-os:34844
TEST=none
Change-Id: I3397e6c6d11f86af46387b7e9c27ef31b183f090
Reviewed-on: https://gerrit.chromium.org/gerrit/36360
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Gaurav Shah <gauravsh@chromium.org>
Darren Krahn [Tue, 23 Oct 2012 20:32:08 +0000 (13:32 -0700)]
Added MOUNT_ERROR_TPM_NEEDS_REBOOT.
BUG=chromium:156655
TEST=Manual
Change-Id: Id77fe09a5055b0052c6a5f351fec48267b6a1db9
Reviewed-on: https://gerrit.chromium.org/gerrit/36363
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Commit-Ready: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Gaurav Shah [Fri, 19 Oct 2012 02:51:56 +0000 (19:51 -0700)]
Add constants for Geolocation object field names
BUG=chromium-os:34844
TEST=none
Change-Id: I240ff80597b18c3611f7c299d0c110ac9144fe25
Reviewed-on: https://gerrit.chromium.org/gerrit/36036
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Gaurav Shah <gauravsh@chromium.org>
Ben Chan [Wed, 17 Oct 2012 05:25:25 +0000 (22:25 -0700)]
Add shill Cellular.SIMPresent property.
BUG=chromium-os:34002
TEST=emerge system_api
Change-Id: I01a2c1dcf00fee78ce1f9f6c51a1df76327ee044
Reviewed-on: https://gerrit.chromium.org/gerrit/35809
Reviewed-by: Darin Petkov <petkov@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Ben Chan [Fri, 28 Sep 2012 07:05:03 +0000 (00:05 -0700)]
Add cros-disks FORMAT_ERROR_DEVICE_NOT_ALLOWED enum value.
BUG=chromium-os:34171
TEST=emerge system_api
Change-Id: I934bcf44075d38d0326b5b89cbe05ee784d131f4
Reviewed-on: https://gerrit.chromium.org/gerrit/34263
Reviewed-by: Darin Petkov <petkov@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Lei Zhang [Sat, 22 Sep 2012 01:08:10 +0000 (18:08 -0700)]
Add a new mtpd constant and remove obsolete constants.
BUG=none
TEST=chrome and mtpd still builds correctly.
Change-Id: I15774dd9eb677d9e86cadc9a3fdca8ec0f74d7e3
Reviewed-on: https://gerrit.chromium.org/gerrit/33836
Tested-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Lei Zhang <thestig@chromium.org>
Darin Petkov [Fri, 21 Sep 2012 09:12:27 +0000 (11:12 +0200)]
shill: cellular: Add Cellular.ProviderRequiresRoaming property.
BUG=chromium-os:32872
TEST=emerge-lumpy system_api shill
Change-Id: I0df0b718bdecc7225fff7e67589ac5d31d593d1b
Reviewed-on: https://gerrit.chromium.org/gerrit/33772
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
Darin Petkov [Tue, 18 Sep 2012 09:25:02 +0000 (11:25 +0200)]
Add Device.SetCarrier method name constant.
BUG=chromium-os:34344
TEST=emerge-lumpy system_api shill
Change-Id: I4f8e49f183be1173d1ac3b313cb9228891ed660c
Reviewed-on: https://gerrit.chromium.org/gerrit/33514
Commit-Ready: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Paul Stewart [Mon, 17 Sep 2012 17:13:47 +0000 (10:13 -0700)]
shill: Add property "IgnoredDNSSearchPaths"
Add a manager property to provide a list of DNS Search paths
that should be ignored when applying DHCP parameters. This
covers a list of DNS search suffixes that are popularly
provided, but are generally unlikely to provide any useful
results, therefore significantly reducing DNS lookup performance.
BUG=chromium-os:34495
TEST=Compile
Change-Id: I54bdd33a05bb704d8c3ff05f71e034fe42635e89
Reviewed-on: https://gerrit.chromium.org/gerrit/33443
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Christopher Wiley [Mon, 17 Sep 2012 18:16:45 +0000 (11:16 -0700)]
system_api: Add search domain list property for shill
We've run into some bugs around the way we create FQDNs from user
entered fragments. Expose the domain search list for an interface so
that we may test how it is configured.
BUG=chromium-os:34260
TEST=None
Change-Id: I469545c7263684b34af619c3369e42e476b86e71
Reviewed-on: https://gerrit.chromium.org/gerrit/33438
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
Haruki Sato [Wed, 12 Sep 2012 06:24:31 +0000 (15:24 +0900)]
system_api: Remove deprecated ScreenIs{Locked,Unlocked}Method and ScreenIs{Locked,Unlocked}Signal for power_manager.
BUG=chromium-os:32457
TEST=unittests and manually verify you can lock/unlock the screen.
Change-Id: I60ada005764c1ac48a469cc8b98b74b34b692996
Reviewed-on: https://gerrit.chromium.org/gerrit/33058
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Haruki Sato <haruki@chromium.org>
Tested-by: Haruki Sato <haruki@chromium.org>
Darin Petkov [Wed, 12 Sep 2012 09:42:46 +0000 (11:42 +0200)]
Add SupportedCarriers property for shill's Device object.
BUG=chromium-os:34344
TEST=emerge-x86-alex system_api, shill
Change-Id: Id6935ed7a9215f282bd6241ac6de447b94a8eac1
Reviewed-on: https://gerrit.chromium.org/gerrit/33070
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
Ben Chan [Tue, 11 Sep 2012 18:59:52 +0000 (11:59 -0700)]
Add cros-disks vendor and product DBus properties.
BUG=chromium-os:33225
TEST=emerge system_api
Change-Id: I81e2d0cc347f971471f04da0f961241b1cbd2639
Reviewed-on: https://gerrit.chromium.org/gerrit/33042
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Denis Glotov [Tue, 11 Sep 2012 17:59:37 +0000 (21:59 +0400)]
Add constant for the new dbus API "StartDeviceWipe"
BUG=chromium:122768
TEST=none
Change-Id: Ia33392d9b7c3b78d8ad9ff112996740e53a6165c
Reviewed-on: https://gerrit.chromium.org/gerrit/32946
Commit-Ready: Denis Glotov <glotov@chromium.org>
Tested-by: Denis Glotov <glotov@chromium.org>
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Darin Petkov [Thu, 6 Sep 2012 10:39:02 +0000 (12:39 +0200)]
Add cellular service carrier names to be used with Device.SetCarrier.
BUG=chromium-os:31562
TEST=emerge-x86-alex system_api, shill
Change-Id: I3c7922d07430bdd4c201f040afae9cdf2a6849fa
Reviewed-on: https://gerrit.chromium.org/gerrit/32380
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
Lei Zhang [Tue, 4 Sep 2012 20:32:39 +0000 (13:32 -0700)]
Add a storage name field to the MtpStorageInfo protobuf for mtpd.
BUG=chromium-os:29557
TEST=none
Change-Id: I9439a05e0d1ce59dc44a24a0f9aff2be56665e0f
Reviewed-on: https://gerrit.chromium.org/gerrit/32164
Reviewed-by: Satoru Takabayashi <satorux@chromium.org>
Commit-Ready: Lei Zhang <thestig@chromium.org>
Tested-by: Lei Zhang <thestig@chromium.org>
Lei Zhang [Fri, 31 Aug 2012 18:13:04 +0000 (11:13 -0700)]
Add MtpFileEntry and MtpStorageInfo protobuf for mtpd.
BUG=chromium-os:29557
TEST=none
Change-Id: Ic6738892c8063f3c0e2f7272bfffceb5f4f19e05
Reviewed-on: https://gerrit.chromium.org/gerrit/32060
Reviewed-by: Satoru Takabayashi <satorux@chromium.org>
Commit-Ready: Lei Zhang <thestig@chromium.org>
Tested-by: Lei Zhang <thestig@chromium.org>