Age | Commit message (Collapse) | Author |
|
Since libweave no longer has the 'base' trait, its 'reboot' and
'identify' commands are removed too.
Delete the command handler for 'base.identify' or else ledflasher just
crashes at startup (with 'unknown command' error).
Change-Id: I7d2a19640c53dd288620c0e6dabae389f26dbc11
|
|
Also export libbinder's headers, since you need them to include
headers from libledservice-common.
Bug: 27804373
Change-Id: I42b58408fd4eeab3e0d277bb5771a6507ba1d90d
Test: Compiles.
|
|
schema onOff trait - dynamically add components based on available LEDs from lights HAL - custom trait _ledInfo to save lights HAL LED names"
|
|
- light schema onOff trait
- dynamically add components based on available LEDs from lights HAL
- custom trait _ledInfo to save lights HAL LED names
BUG:26798554
Change-Id: I4c1dd0cdb2f3479703e9082fea152a713178e65c
|
|
Change-Id: I96882baca31c8392e003f8e8ffa26f7822c6f4a2
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
eng image will include native unittests
Change-Id: If547f257e00159e84e8b031de706ef797f506728
|
|
Bug: 23907593
Bug: 26525138
Change-Id: I8c3010d0cd43aed135b80211ad0a42c14354edfb
|
|
Weaved replaces brillo::Any with base::Value in its client library,
so need to update clients.
Also this removes last D-Bus dependencies from ledflasher.
Bug: 26558300
Change-Id: I8265e06aca6f707dde6edbebeafe0b28b8eb17ff
|
|
- model_id: AAw7x
- model_name=Brillo Starter Board
- name: LED Flasher
- oem_name: by Google Inc.
- product_id: developer-boards:ledflasher
Bug:26023817
Change-Id: Ibb25dff8f391ac97a6ed148bb9fe1d8a5123a72c
|
|
Following change in https://android-review.googlesource.com/#/c/197681/
Bug: 26573107
Change-Id: I4b9ba7bb3fdf67e9ddf52dedef42887bb43609b7
|
|
Added a handler for base.identify command that would flash LEDs on the
board for 2 seconds. Also when the device goes into pairing mode, its
LEDs will flash as well to confirm that the client is connected to the
right physical device.
BUG: 26467076
Change-Id: I7ef31e9d2694c46b6d9c61b209f3e50b99fc3258
|
|
weaved now provides new variants of Command::Abort() that allow
to specify the error information as brillo::Error or binder::Status.
BUG: 25875613
Change-Id: Icf82c1c6c752eae7e651213d46e42baa103bef38
|
|
weaved::Service::AddCommandHandler() and SetStateProperty() now
expect the trait name as a separate argument.
BUG: 26443877
Change-Id: Id5a1f2ff779c13a7c6fb9cb3a71c5e23ff0cddb1
|
|
The hardware access service of ledflasher (ledservice) used to expose
D-Bus API to ledflasher daemon to get low level access to on-board LEDs.
We are moving away from D-Bus in favor of Binder, so replace the RPC
to use binder now.
BUG: 26404046
Change-Id: Ib0ff50868e33a3be3a4dc6cdf92d92f5b4c80287
|
|
Weave daemon now uses Binder as the underlying transport and its
client library has been updated. Update ledflasher to support the
new APIs.
BUG: 23782171
Change-Id: I19b2a6699f39f9f621ab201fab4ec89da20e71ff
|
|
These were mentioned in comment sections of the conf file but these
pairing modes are no longer supported.
BUG: 26441921
Change-Id: I99e8654bc10d0536d3cc458c6f457830f3173185
|
|
There is no longer a reliance on RTTI in libbrillo, so disable RTTI
in the rest of Brillo codebase.
With RTTI disabled, we rely on __PRETTY_FUNCTION__ macro to infer some
type names. Unfortunately CLANG and GCC use different decorations for
template types with default parameters (such as std::vector and std::map)
which causes problems.
Since most of Brillo code is compiled with clang, use that for code
that relies on brillo::Any.
BUG: 26292405
Change-Id: I922649add010fd68dab90146894494864f44c02e
|
|
The new server push enabled component/trait validation rules. This
allows us to use the new schema that does not require vendor commands,
parameters and state to start with underscore ("_").
Also fixed a few minor errors in schema definition.
Change-Id: I099474949746835892d0aeeaca46efc31e9569c4
|
|
|
|
|
|
Removed command and state definitions and use trait definitions
instead. Also, create "ledflasher" component for weave.
Bug: 25917707
Change-Id: I031541fd2ca3771a9283b82845d48044bf97892d
|
|
D-Bus code generator now uses abstract proxy interfaces whenever
possible, so made necessary modifications on the caller side to
use them as well.
BUG: 26092352
Change-Id: Id0fcec14824188753290b60006f8e80714533d27
|
|
LED driver will be removed for Edison.
ledservice should use the internally stored state to check
if LED is on when lights hal is available.
This will fix the weave toggle command issue.
BUG=None
Change-Id: I83086517ad1a066c8212253ac99bd5a92c37a26a
|
|
The lights hal is using libmraa to turn on/off the leds.
Allow the ledservice (libmraa) to access the exported GPIOs'
dir via sysfs.
BUG=26024720
Tracked-On: https://jira01.devtools.intel.com/browse/BP-152
Change-Id: I8877d71fac30a5e3a1705481a4e4fc3e90a75544
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
TEST: compiled shamu-userdebug, edison-eng
Change-Id: I16a2817858a92fb1691d8353718baf7dfe505b7c
|
|
ledflasher relied on weaved/libweave for command parameter validation
which is no longer provided by libweave, so it needs to be less strict
about accepting commands with invalid parameters. Instead of just crashing
the application should just abort the command with corresponding error
message.
BUG: 25829264
Change-Id: Iae09b0d68006a1d5226d15d8b40552d42c7ab411
|
|
Now that libweave doesn't do any type checking on command/state
schemas, it is no longer able to "fix" the schema to make it usable
by the cloud server. The applications must provide the correct schemas
to libweave from the start.
Change-Id: If3068024e4cefa5330197822582ad3422d744ce1
|
|
BUG:25627281
Change-Id: I27e780849ca05b1856b6f9e896c6757766e919e3
|
|
Bug: None
Change-Id: I158a7ab0bb56823f9fa67157defaecdf405a10a5
|
|
|
|
|
|
Change the ledflasher to use the lights hal if it is available. If the
lights hal isn't available, then it defaults back to using sysfs.
Remove a CHECK from ledflasher.cpp as a short term fix. Added a TODO
there for a longer term solution.
BUG=24846780
BUG=25498156
TEST=manual test on both the edison and dragonboard
Change-Id: I6b2d57ff61bde7a2c7ec31fc744871240ad9f83d
|
|
This cuts down on repeated commands in .te files.
Change-Id: Ia96c66b3ddc77d96911f0fa1465ae753ae19bd2d
|
|
This change converts ledflasher to using the
cfgtree.mk-based product definition changes.
It depends on the cfgtree change and changes to
both crash_reporter and brillo_config to pull
in those two variables where expected.
This path may now be copied verbatim for out
of tree use. The only missing convenience piece
is the envsetup.sh which a call to
brunch product envsetup --generate
will fix.
BUG=25343470
TEST=full in-tree build in progress. an out of tree validating build will follow.
Change-Id: Iab912c4684a7e3a70c58431ae50c2a5c4f9bf953
|
|
BUG: 24872993
Change-Id: Icb71a84a1960a85916d6583204126899b2f6dde7
|
|
Bug:25198860
Change-Id: Ic0f082d7662d626fdda0ad95321d2009f990492c
|
|
Bug: 24989289
Change-Id: Ib90e4a8e27d946c6330b60cd6de432d25adef05e
|
|
When the Product ID field was changed, the comment was not
updated to match.
Change-Id: Ibeb03c49262e6fc73447bd8a9b43c6901c58b485
|
|
namespaces" into mnc-brillo-dev
|
|
The new method of setting the product ID is to set the
BRILLO_PRODUCT_ID field, which sets the /etc/os-release.d file.
Change-Id: I13db71b0765006b06d0d2e06716342efd937c266
|
|
libchromeos is transitioning to libbrillo and chromeos namespaces
and include directory is changing to brillo.
Bug: 24872993
Change-Id: Ib1c2f4dc2bec5484abf1b2a28ebba50601bd61e9
|
|
crash_reporter needs access to the ledflasher and ledservice
domains in order to generate minidump files.
Change-Id: I1c23b54a915b9ffbb93a48646964d3e11b03f9ac
|
|
Do not use weave'd D-Bus proxies directly. Use the new client library.
Change-Id: I3486689e565517b7fd66ee1f4bd441ab0369eab5
|
|
This reverts commit cab8a36b9bde506b9c0adfffcb3bc120b892b3c7.
Change-Id: Ia14195a52b4c5c2bf924f5f902749d85b3fdc83a
|
|
This reverts commit f497fa2a624ea0351c90745c1d8593b7270c0626.
Change-Id: I87794e484a3bf51bec3a8c1b80d70b28b84d2887
|
|
Weave has changed some of D-Bus APIs and metrics needs to be updated
accrdingly. Command::Done is replaced with Complete(), Command::Abort
now takes error code and error messages, Command::category is removed
and Command::status is renamed to Command::state
Change-Id: Ic6717769e88d1ff5f72e1d66d9012ee1ef5e4f1e
|
|
Change-Id: I764e2dddf11e05bb5878983e9c630b153167fffc
|
|
Command categories are deprecated in libweave/weaved, so remove the check
from ledflasher
Change-Id: I35c59d7c9ba5f233a1670c7a3ad1782b806ed71f
|
|
manifest" into mnc-brillo-dev
|
|
Change-Id: I35978220f9a0365e32b6d38b7037e63e104fcd98
|