summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-25Fix operator<< Status calls.HEADmastermainAlex Deymo
The Status object needs to be converted to a string before printing. Bug: 31098727 Test: `make dist` Change-Id: Ic226a95a33edee296198d4bb1ee98a670dbb8b9b
2016-08-25Fixes brillo_camera_client to compile for nyc.Ari Hausman-Cohen
BUG: 28935775 TEST: program compiles (cherry picked from commit e60fd1d098e406db4a92fe49f5c484c41ad09d73) Change-Id: I55d5fba3ed17f426f2133f7a8d0016e56d1c555f
2016-08-25Revert "Remove outdated brillo_camera example."Alex Deymo
This reverts commit 1c6c51d9a6d53689aee3e6b6f160b15cabdc429f. Bug: 31098727 Change-Id: I9704e406dde2055536c68481b2cb1c45e8085762 Test: `make`
2016-08-24Remove outdated brillo_camera example.Alex Deymo
Bug: 31068573 Change-Id: I839a06f5190283f56bd04e389a33233a28d60c85 Test: `make dist`
2016-07-31Remove Brillo-specific LOCAL_MODULE_TAGSDan Willemsen
Replaced with PRODUCT_PACKAGES_ENG in brillo_base.mk Change-Id: I1a1e888ec0b1a2a0b734f95de3701e85592ddcee
2016-05-26dbus_example: Update libchrome APIs to r395517Luis Hector Chavez
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. BUG=28985443 Change-Id: I2c62cf4a33e45cf05a8625a489f262072d876589
2016-04-13Stop using android namespaceChristopher Wiley
This polutes the global namespace and causes problems when libchrome and libbase bring ::base and ::android::base into view. Bug: 28117776 Change-Id: I146f696b0329e79a07abd2c383cfb5bbed4717ba Test: Compiles
2016-02-25Add example of taking a picture with the camera stackChristopher Wiley
Bug: 23631807 Test: Running this code on a brilloemulator claims to have taken a picture Change-Id: I8d43fe7ed7b72f6293c57c08addef5fc1354f01f
2016-02-08Add eng tags to sensor examples.brillo-m10-releasebrillo-m10-devRalph Nathan
We want the sensor examples to be built for all Brillo eng targets. BUG=26980523 Change-Id: I09e15d01b88d732563f5ce32cd8757d086c020a3
2016-02-04service_example: Pass the brillo::MessageLoop to BinderWatcher.Alex Deymo
The default BinderWatcher constructor expects the brillo::MessageLoop to be marked as current. This patch passes the brillo::MessageLoop explicitly to the BinderWatcher instead. While at it, fixed the stdin line parsing when the message has spaces. Bug: 26356682 TEST=mmma product/google/common/service_example TEST=Deployed on edison-eng. It works. Change-Id: I126a553fa1df5fd1e4bc0588b989fa38ec8d0fc9
2016-02-03service_example: Instantiate a brillo::MessageLoop.Alex Deymo
The brillo::BinderWatcher now requires a brillo::MessageLoop to work. Bug: None TEST=mmma product/google/common/service_example Change-Id: I27175aeacc708764e366aec604f84a76cfdc337f
2016-01-20dbus_example: Update libchrome APIs to r369476Alex Vakulenko
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Change-Id: I9de3130cc5c64a074b86d81d6980e4f7f6fbfc7a
2016-01-19Add SELinux policies for example service.Ralph Nathan
Add selinux policies for the brillo_example_service which is started by init. The brillo_example_client has to be started manually as root. Otherwise, the oneway callback from the service to the client fails. BUG=26405163 TEST=manual test with the out of tree flow Change-Id: I08af4f08f16dcaa36abdb441bb72d140ddf8c351
2016-01-14Add a README for the example service.Ralph Nathan
Add a README in markdown for the example service. BUG=26346663 Change-Id: I4cb450df904e829bf45bf5442ff6c88658532824
2016-01-13Merge "Modify service example to use aidl."Ralph Nathan
2016-01-07Modify service example to use aidl.Ralph Nathan
Add an example binder service and client that use aidl. BUG=26346663 TEST=manual test Change-Id: I3bac122a5cc6030205bed2491b1c9dd979895318
2016-01-04Merge "sensors:ndk-example-app: rewrite to work with multiple sensors"brillo-m9-releasebrillo-m9-devMohammed Habibulla
2016-01-04Merge "Add different sensor types to the the sensor HAL test"Mohammed Habibulla
2015-12-30Clean up lights example.Ralph Nathan
Clean up initializer warning messages in the lights example. BUG=26333031 TEST=none Change-Id: Id8a01a608696a82043fb6f24904442a6c4144be8
2015-12-30sensors:ndk-example-app: rewrite to work with multiple sensorsBruce Beare
Code is brought into feature alignment with the sensor HAL test. Additional sensor types added. Each sensor of every type are activated and if successful, data is returned. BUG=none Change-Id: Ieff446aed388c04014c57670c6fae2e113f229f2 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2015-12-30Add different sensor types to the the sensor HAL testBruce Beare
The sensor HAL test is extended to allow the selection of a particular sensor type. Additional sensor types are easy to add. The default (for compatibility) continues to be the accelerometer. Orientation and Light sensors are added with this commit. BUG=none Change-Id: If17624a610d9de1c71e437c0d680de48308b82e3 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2015-12-21Clean up initializer warning messagesBruce Beare
BUG=none Change-Id: I2eb24d073385a0bda72f97c0bd7cb4b0d3672165 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2015-12-09Follow-on fixes from base/logging.h move to android-basebrillo-m8-releasebrillo-m8-devJim Guggemos
Bug: http://b/26023797 Change-Id: If3eca033ba4d29e9df0f1d8ba8c1f4605b260ef2
2015-12-07Sensor HAL test needs to find first equipped accelerometerBruce Beare
The sensor HAL test won't find the accelerometer if the HAL supports several... and the equipped one isn't listed in the HAL first. BUG=TBS Change-Id: I96b36c02f49ecd3779fd0b3d869febc8a9067630 Tracked-on: https://jira01.devtools.intel.com/browse/BP-154 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Reviewed-on: https://android.intel.com/444226 Reviewed-by: Musca, Constantin <constantin.musca@intel.com> Tested-by: Musca, Constantin <constantin.musca@intel.com> Reviewed-by: Serban, Mihai <mihai.serban@intel.com>
2015-12-07Fix init script filename.Jorge Lucangeli Obes
Bug: 26069060 Change-Id: I77c785763e743ad91e02a97e155479db36004f17
2015-12-03Merge "Move service example from device/generic/brillo."Ralph Nathan
2015-12-03Merge "Move dbus example from device/generic/brillo."Ralph Nathan
2015-12-03Move service example from device/generic/brillo.Ralph Nathan
Centralize all the example code for Brillo by moving the service example from device/generic/brillo. BUG=25927954 TEST=none Change-Id: I121f09243784c5e75e585cdaa6668cfa8a5c1982
2015-12-03Merge "Stop fatal warnings in i2c_service, gpio_playground"Jim Guggemos
2015-12-03Move dbus example from device/generic/brillo.Ralph Nathan
Centralize all the example code for Brillo by moving the dbus example from device/generic/brillo. BUG=25927954 TEST=dbus example client and daemon build for dragonboard. Change-Id: Ia3cfd77f1af5ed0a4bec9586a9f7c9cd86a975e8
2015-12-03Stop fatal warnings in i2c_service, gpio_playgroundJim Guggemos
Replace GNU old-style field designators (clang didn't like em) Made unused param warnings not fatal in gpio_playground Change-Id: I758a7651b139d782608fa133150af6a0a024ab01 TEST: compiled shamu-userdebug, edison-eng
2015-12-03Move lights example from device/generic/brillo.Ralph Nathan
Centralize all the example code for Brillo by moving the lights example from device/generic/brillo. BUG=25927954 TEST=lights-hal-example-app builds for dragonboard. Change-Id: I9e6bb54b8c6955775a9846123a4535b8e645da0e
2015-12-03Move keyboard example from device/generic/brillo.Ralph Nathan
Centralize all the example code for Brillo by moving the keyboard example from device/generic/brillo. BUG=25927954 TEST=keyboard-example builds for dragonboard. Change-Id: I58d43002df25864b49ade51d1c5dfcdceaaac3c0
2015-11-11brillo_gpios: Update libchromeos -> libbrilloMohammed Habibulla
BUG=25641461 Change-Id: Ied83462465883268e68c6d980f2a1d0e2aa7ea22
2015-11-03Add Brillo i2c sample app.Ali Afshar
Change-Id: I151f8087af26d621e742a21113bbce6ac2349cca
2015-10-27gpio_playground: Add a TODO to deal with multiple read() eventsGaurav Shah
BUG: 25317933 Change-Id: I4cfbc583b4c1bbdd50ee2b58cde05d14e701bacb
2015-10-27Merge "Brillo GPIO sample: write to output pin and read input pin Usage: ↵Shawn Shen
gpio_playground --gin=28 --gout=24 --goffset=902" into mnc-brillo-dev
2015-10-27Brillo GPIO sample: write to output pin and read input pinShawn S
Usage: gpio_playground --gin=28 --gout=24 --goffset=902 BUG:24751824 Change-Id: Id79379b1eccf83d61baac6b044eb74d48cd2180f
2015-10-26Move sensors example codeYiming Chen
Move sensors example code from device/generic/brillo/examples to product/google/common. BUG=25282533 Change-Id: I9e7ccb03ab6788bf82720cbd133f817cf817782b
2015-10-07Add initial Brillo LED sampleShawn S
Addressed review comments Change-Id: I592890434704952a13b3ff4a189760ff5a426984
2015-10-02product/google/common: Add NOTICE and MODULE_LICENSE_* filesGaurav Shah
BUG: 24505467 Change-Id: Ie5f3ffecbd19d0a56bb305a0ae849f50640226f9
2015-08-11Initial empty repositoryBaligh Uddin