- Apr 22, 2016
-
-
Alex Vakulenko authored
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
-
- Apr 18, 2016
-
-
Christopher Wiley authored
Also export libbinder's headers, since you need them to include headers from libledservice-common. Bug: 27804373 Change-Id: I42b58408fd4eeab3e0d277bb5771a6507ba1d90d Test: Compiles.
-
- Mar 07, 2016
-
-
Alex Vakulenko authored
Merge "Updated ledflasher sample to use trait/component model - light schema onOff trait - dynamically add components based on available LEDs from lights HAL - custom trait _ledInfo to save lights HAL LED names"
-
- Feb 26, 2016
-
-
Shawn S authored
- 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
-
Bruce Beare authored
Change-Id: I96882baca31c8392e003f8e8ffa26f7822c6f4a2 Signed-off-by:
Bruce Beare <bruce.j.beare@intel.com>
-
- Feb 11, 2016
-
-
Vitaly Buka authored
eng image will include native unittests Change-Id: If547f257e00159e84e8b031de706ef797f506728
-
Vitaly Buka authored
Bug: 23907593 Bug: 26525138 Change-Id: I8c3010d0cd43aed135b80211ad0a42c14354edfb
-
- Jan 28, 2016
-
-
Alex Vakulenko authored
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
-
- Jan 22, 2016
-
-
Shawn S authored
- 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
-
- Jan 21, 2016
-
-
Jorge Lucangeli Obes authored
Following change in https://android-review.googlesource.com/#/c/197681/ Bug: 26573107 Change-Id: I4b9ba7bb3fdf67e9ddf52dedef42887bb43609b7
-
- Jan 08, 2016
-
-
Alex Vakulenko authored
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
-
Alex Vakulenko authored
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
-
Alex Vakulenko authored
weaved::Service::AddCommandHandler() and SetStateProperty() now expect the trait name as a separate argument. BUG: 26443877 Change-Id: Id5a1f2ff779c13a7c6fb9cb3a71c5e23ff0cddb1
-
Alex Vakulenko authored
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
-
Alex Vakulenko authored
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
-
- Jan 07, 2016
-
-
Alex Vakulenko authored
These were mentioned in comment sections of the conf file but these pairing modes are no longer supported. BUG: 26441921 Change-Id: I99e8654bc10d0536d3cc458c6f457830f3173185
-
- Dec 29, 2015
-
-
Alex Vakulenko authored
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
-
- Dec 16, 2015
-
-
Alex Vakulenko authored
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
-
- Dec 09, 2015
-
-
Alex Vakulenko authored
-
Mohammed Habibulla authored
-
Alex Vakulenko authored
Removed command and state definitions and use trait definitions instead. Also, create "ledflasher" component for weave. Bug: 25917707 Change-Id: I031541fd2ca3771a9283b82845d48044bf97892d
-
Alex Vakulenko authored
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
-
- Dec 08, 2015
-
-
anbranci authored
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
-
- Dec 07, 2015
-
-
Constantin Musca authored
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>
-
- Dec 03, 2015
-
-
Jim Guggemos authored
TEST: compiled shamu-userdebug, edison-eng Change-Id: I16a2817858a92fb1691d8353718baf7dfe505b7c
-
- Nov 25, 2015
-
-
Alex Vakulenko authored
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
-
- Nov 24, 2015
-
-
Alex Vakulenko authored
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
-
- Nov 17, 2015
-
-
Vitaly Buka authored
BUG:25627281 Change-Id: I27e780849ca05b1856b6f9e896c6757766e919e3
-
- Nov 13, 2015
-
-
Jorge Lucangeli Obes authored
Bug: None Change-Id: I158a7ab0bb56823f9fa67157defaecdf405a10a5
-
- Nov 06, 2015
-
-
Jorge Lucangeli Obes authored
-
Gaurav Shah authored
-
Ralph Nathan authored
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
-
- Nov 05, 2015
-
-
Jorge Lucangeli Obes authored
This cuts down on repeated commands in .te files. Change-Id: Ia96c66b3ddc77d96911f0fa1465ae753ae19bd2d
-
Will Drewry authored
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
-
- Oct 27, 2015
-
-
Alex Vakulenko authored
BUG: 24872993 Change-Id: Icb71a84a1960a85916d6583204126899b2f6dde7
-
- Oct 23, 2015
-
-
Shawn S authored
Bug:25198860 Change-Id: Ic0f082d7662d626fdda0ad95321d2009f990492c
-
- Oct 16, 2015
-
-
Steve Fung authored
Bug: 24989289 Change-Id: Ib90e4a8e27d946c6330b60cd6de432d25adef05e
-
Steve Fung authored
When the Product ID field was changed, the comment was not updated to match. Change-Id: Ibeb03c49262e6fc73447bd8a9b43c6901c58b485
-
- Oct 13, 2015
-
-
Alex Vakulenko authored
Merge "ledflasher: Rename "chromeos" -> "brillo" in include paths and namespaces" into mnc-brillo-dev
-
Steve Fung authored
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
-