History log of /system/weaved/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4e4f70bbde99822d52a221c0effb4fad4ddeef69 04-Feb-2016 Jorge Lucangeli Obes <jorgelo@google.com> weave_test: Compile only on 'eng' builds.

Bug: 26967770
Change-Id: I4348e88f4bd1dc80cd40e3186fc31c7a80c34c2a
/system/weaved/Android.mk
e9a8385bccf042c9e80b69de18f3b58179309615 28-Jan-2016 Alex Vakulenko <avakulenko@google.com> weaved: Remove brillo::Any from public weaved APIs

Replaced brillo::Any with base::Value in weaved client library
APIs in order to remove remaining dependency on D-Bus libraries.

BUG: 26558300
Change-Id: I8365743c31022a2f76a8a8768adf6ad19d509749
/system/weaved/Android.mk
0371fea7a697a8c56ebaa2a3ab6d5e3770da341b 07-Jan-2016 Alex Vakulenko <avakulenko@google.com> Add handling of base.reboot to weaved

Now that weaved can use binder on Brillo, add a command handler for
base.reboot command and delegate rebooting to native power manager
daemon.

BUG: 23759426
Change-Id: I88f18d953ae3072b154d6cc822d5064207316189
/system/weaved/Android.mk
ae29f7d91a0b4178556eeb6b99fd05d90fcefd3d 22-Dec-2015 Alex Vakulenko <avakulenko@google.com> Add Binder support to weaved and remove D-Bus interface

Added binder-based IPC to weaved instead of D-Bus. Removed the
old weave commands based on D-Bus and redesigned client library
interface to be more in line with how Binder operates.

BUG: 23782171, 25523591

Change-Id: Ic39a6a2edf2e033e506d233919c9d04e4fab8d01
/system/weaved/Android.mk
10e9f3a80e2d6da0eef16576a9a8fde9e8fdb108 21-Dec-2015 Alex Vakulenko <avakulenko@google.com> weaved: Disable RTTI

There is no longer a reliance on RTTI in libbrillo, so disable RTTI
in the rest of Brillo codebase.

Bug: 26292405
Change-Id: Ib4be977b8c5c73d1f3e4f4f445ced44015b96028
/system/weaved/Android.mk
494b72473a1c436751003c249e1e4a9f81102329 14-Dec-2015 Casey Dahlin <sadmac@google.com> Refactor weaved to use Avahi client library

Change-Id: Iaa82d85fd88a7a252efc9d509dad4c33a576172d
Test: Manual testing by avakulenko
Bug: 26184797
Signed-off-by: Casey Dahlin <sadmac@google.com>
/system/weaved/Android.mk
14b3e6e052de2e706cfa6f011c5db83fb6ca6e65 10-Dec-2015 Alex Vakulenko <avakulenko@google.com> Remove deprecated libweave APIs

With libweave old (commanddef/state) APIs officially deprecated, removed
their usage from weaved. In places when weaved loads legacy command/state
definitions for vendor daemons, this couldn't be done yet, so the
deprecated API warnings were temporary disabled in the make file.

Also removed D-Bus methods/properties to work with the legacy state
snapshot and instead exposed Components/Traits properties out of the daemon.

BUG: 25917706
Change-Id: I328aff526f284dc69560a7bd7907ad838c0365e2
/system/weaved/Android.mk
790643febbcb2d85211da6d01a78360083a0f170 19-Nov-2015 Alex Vakulenko <avakulenko@google.com> weaved: set system property 'weave.state' with the current GCD state

In order for other Brillo system components to know when the device is
fully provisioned/connected to the cloud, add 'weave.state' system
property which has one of the following states:

- unconfigured
- connecting
- connected
- invalid_credentials

Initially (OOB) the device is "unconfigured". When the bootstrap
process finished, the device will be in "connected" state. If the
device is later deleted from the cloud by the user, it will go into
"invalid_credentials" state.

BUG: 24142361
Change-Id: If83e151940a81d5e379e1b0199a9813733c12fdf
/system/weaved/Android.mk
8a808bc20cd94cc0773f9d83a7d598c6568ee5e4 13-Nov-2015 Alex Vakulenko <avakulenko@google.com> Add weaved's unit tests to autotest

Renamed the test binary to weaved_test to stay consistent with
other Brillo test runner and marked it to be executed as part of
brillo_Gtests test.

BUG: 25672600
Change-Id: I5a76b0eb8a0e4892addfc012359a3da2f9ca2cf6
/system/weaved/Android.mk
2e32e93ad7d65650c9d377ef3fbb4ac99ba16646 27-Oct-2015 Alex Vakulenko <avakulenko@google.com> weaved: Rename libchromeos into libbrillo

BUG: 24872993
Change-Id: I9f3c364c09428319f895079fa1f99fa0aea70b93
/system/weaved/Android.mk
3119685217c9f49ef24595088f070fa876eccdd0 19-Oct-2015 Darren Krahn <dkrahn@google.com> Revert "weaved: Temporarily disable keystore_encryptor"

This reverts commit 6765efdf49f824c98d13afefe920bdee237e1c0f.

Change-Id: I4d35889f71d2a8dcd91155f2374f89c1a7d42bd1
/system/weaved/Android.mk
6765efdf49f824c98d13afefe920bdee237e1c0f 15-Oct-2015 Alex Vakulenko <avakulenko@google.com> weaved: Temporarily disable keystore_encryptor

Keystore has a bug that leads to memory corruption and process
crash. Until that bug is fixed, we can't use it, so fall back to
the fake encryptor.

BUG: 24905120
Change-Id: I02ea19431ea9aa9f46c3ad45d880af4b7edf276a
/system/weaved/Android.mk
abbcdea13c174d70cc4af0abd0dadb091a698da8 10-Oct-2015 Alex Vakulenko <avakulenko@google.com> Add client library for weaved

Added client library for weaved to hide the underlying D-Bus IPC
as much as possible.

Change-Id: Id91dad80c593c58124b27a90a34cd3b1852e898f
/system/weaved/Android.mk
df38164c0c7bfef18b68d3ba5be9a516bf6198de 08-Oct-2015 Alex Vakulenko <avakulenko@google.com> Removing mnc-brillo-dev specific changes to weaved

Moved recent changes to weaved from Brillo branch to AOSP and used
conditional compilation to compile Brillo-specific code on Brillo only.

This eliminates differences in source files for the branch and future
code merge issues.

Change-Id: I355a1022cb0d31ea1ab7e0c476824ebbad1af43c
/system/weaved/Android.mk
2915a7b9a45821a7530d2fea8a982bc1b6efc7d3 08-Oct-2015 Alex Vakulenko <avakulenko@google.com> Merge latest version of libweave and update weaved to reflect changes

libweave has a number of interafce changes which need to be reflected in
weaved's implementation of the interfaces. This commit brings weaved in
sync with the current version of libweave.

Change-Id: If6355ef2c19e38b56f96b027038e2d6da0f44709
/system/weaved/Android.mk
0022b7523bca3bde23c0f982384f83a39791e88b 02-Oct-2015 Alex Vakulenko <avakulenko@google.com> Sync with latest version of libweave

Pull the latest changes of libweave and update weaved correspondingly

Change-Id: I0a24a948c9296d4f8a12d1f26f808cb7b78fe572
/system/weaved/Android.mk
786a90630feaa70b81e029edd4f6620e7ab3a211 02-Oct-2015 Peter Qiu <zqiu@google.com> Switch over to use ShillClient instead of NetworkClient

shill and apmanager is ready now on Brillo, so switch over to use
ShillClient.

Bug: 24575517
TEST=Setup dragonboard device using Nexus 6

Change-Id: I73ed3d55fb5688ddc80c07b8a24ed08d5958c539
/system/weaved/Android.mk
4b22cc2583b843cafaca0f2dadc70a81cb7234f9 29-Sep-2015 Scott James Remnant <keybuk@google.com> weaved: build on non-Linux hosts

BUG=24073089
TEST=mm on Mac host

Change-Id: I65e91ab6533c4324da5a8bc656d963503b99bdbf
/system/weaved/Android.mk
87df55b48d89612ac09c4ac4f17463b4139a6d70 28-Sep-2015 Jorge Lucangeli Obes <jorgelo@google.com> Fix init filename.

Android is using <service>.rc instead of init.<service>.rc.

Bug: 24465893
Change-Id: I93306f013eaf06c2e2dd790fd71c5630eb90d7a2
/system/weaved/Android.mk
2322a670394db095f145519554ba6539ed228975 22-Sep-2015 Robert Ginda <rginda@google.com> Initial add of flouride "domain socket" bluetooth client

This will class implement a weave bluetooth client in terms
of a domain socket connection to the brillo flouride daemon.

For now all it does is attempt to open the domain socket.

BUG=24009281

Change-Id: I5eb81aaf57bee4fd7287800566d44151e5e4ee82
/system/weaved/Android.mk
f86123d4738a875523df9d9c10143d766309cba3 12-Sep-2015 Robert Ginda <rginda@google.com> Implement the empty weave::Bluetooth interface.

This is preparation for further bluetooth work.

Bug: 24009281
Change-Id: Ia9bafb04abf9e479950ad20aae224f4918861504
/system/weaved/Android.mk
c947418f6c7c8329e251aa5c31dbfe408030f2db 10-Sep-2015 Alex Vakulenko <avakulenko@google.com> Use LOCAL_INIT_RC to install the init script for weaved

Now there is a better way to install the init scripts using LOCAL_INIT_RC
instead of manually copying the file with PREBUILT rule.

Change-Id: Ibcfb7c405895a0c39301dbc4ce939c4fb9935cd1
/system/weaved/Android.mk
332b26f596f5c6e110d1485277ea9238bfbb2543 22-Aug-2015 Alex Vakulenko <avakulenko@google.com> Rename base command file buffet.json to weaved.json

Forgot to rename that file in one of the previous CLs. We are trying to
get rid of "buffet" in the file system on device, in favor of "weaved".

Change-Id: I0d19aae9eff5e31eef5f07ac5be311905837c080
/system/weaved/Android.mk
b0656bdf8bb327c4b127c8f64a051d15068a5940 22-Aug-2015 Alex Vakulenko <avakulenko@google.com> system/weaved: Fix the location of device_registration_info file

On ChromeOS, buffet saved this file in /var/lib/buffet/ directory.
/var doesn't exist on Brillo, but other daemons save their own
settings under /data/misc, so update weaved to do the same.

Had to create /data/misc/weaved at system boot and change the init
class of weaved to late_start because it needs to start only after
/data is decrypted and mounted.

BUG: 23428579
Change-Id: I8ef38662cb0e8f8ce4db8cd6deb19dd019108b30
/system/weaved/Android.mk
cf92c66d1aa30678beaa64501c9febc3933c23a9 20-Aug-2015 Robert Ginda <rginda@google.com> Implement AvahiMdnsClient

Implement the AvahiMdnsClient interface. This is based on code
from peerd/avahi_client.cc and avahi_service_publisher.cc.

Bug: 23288773
Change-Id: If58df0bf3d71c665c764ca8994b43dcff237549e
/system/weaved/Android.mk
892a5c4e23b8dfa5883996417fadcd46361654a5 21-Aug-2015 Christopher Wiley <wiley@google.com> Rename .dbus.xml files to .dbus-xml

Bug: 23380180
Change-Id: I16234d32e4ec677cf4facd79c54c9431e1507680
/system/weaved/Android.mk
8e34636ec3a3ff33b041a30805b310e17ec3c8ef 21-Aug-2015 Alex Vakulenko <avakulenko@google.com> Rename system folders from buffet/ to weaved/

Public file system locations mentioning buffet (e.g. /etc/buffet) are
now renamed to have references to "weaved".

BUG: 23418381
Change-Id: I11f48422b132353a8189ff08f4e94b2500df376a
/system/weaved/Android.mk
63bdf085f9d68f86950f5b45c8c8ad0ba2088dc0 21-Aug-2015 Alex Vakulenko <avakulenko@google.com> Renamed D-Bus service name to com.android.Weave

Changed the D-Bus service name, interfaces and object paths from
org.chromium.Buffet... to com.android.Weave... to advertise the new
platform.

BUG:23418381
Change-Id: I1f1c48a61695875357c1c9fd11910f9341c133ed
/system/weaved/Android.mk
4248672e65d346f2c029d2502d86dd4fb07e468e 21-Aug-2015 Alex Vakulenko <avakulenko@google.com> Add weaved process to 'inet' group

In order to be able to open PF_INET/PF_INET6 sockets, the process
must belong to 'inet' group because Brillo's kernel is compiled with
CONFIG_ANDROID_PARANOID_NETWORK=y and this essentially kills requests
to socket(2) when creating outbound sockets. This prevents HTTP(S)
requests to go out to the cloud server and stops device registration
process.

BUG:23416684
Change-Id: I98767b97b44b194ef22a0036e93d9ef90320c484
/system/weaved/Android.mk
e245e148d915fdc8551871ba2ec93009c99dde9e 20-Aug-2015 Alex Vakulenko <avakulenko@google.com> weaved: deploy buffet.json to /etc/buffet/commands/

We need to deply buffet.json describing standard Weave commands
implemented by weaved

BUG: 23385334
Change-Id: I27c137bc5c3996fbc04d1aed7645979984a6ad10
/system/weaved/Android.mk
ee805c4191df6d8d6e3d6e933279092f05146b8a 20-Aug-2015 Alex Vakulenko <avakulenko@google.com> system/weaved: Add weaved-client library

weaved-client shared library is a dependency targets for other daemons
implementing Weave protocol to provide device state and handle GCD commands.

BUG: 23384020
Change-Id: Icf13b64e3a3d0a66a7c882751c47947c86493fca
/system/weaved/Android.mk
9054a09819b45d167f2b2f036bfb0b69ad2e5a5c 20-Aug-2015 Daniel Erat <derat@google.com> Use __ANDROID__ instead of __BRILLO__.

__ANDROID__ is defined automatically by the toolchain.

Bug: 23358460
Change-Id: I65961d4ea0891b9da2ce47ffb164d7a48c338e66
/system/weaved/Android.mk
c21ae07685938c7d19ea68cef6c7a55143ab880a 19-Aug-2015 Christopher Wiley <wiley@google.com> Use generated proxies/adaptors

Change-Id: Ie8d402ad8f38e0230dd3addc4bd42a60115e12a0
/system/weaved/Android.mk
2d108f3d93bb40895930df34124df9d994bfd3e4 19-Aug-2015 Alex Vakulenko <avakulenko@google.com> Add weaved_client command-line utility

This is the equivalent to buffet_client from CrOS. This utility
allows provides a command-line interface to weaved daemon.

BUG: 23113639
Change-Id: I2a11f3c641aef74a96d6cc3fe5b3d29cd07bc615
/system/weaved/Android.mk
1642bec2c8a50aa40c0e40fc76c80187607d9525 19-Aug-2015 Alex Vakulenko <avakulenko@google.com> system/weaved: Add dependency on webservd

Add back webserv_client and connect to webserver which is now
available on Brillo.

BUG:23287946
Change-Id: I57b685c1277e5a0a8c1568063e58f33c187e98c7
/system/weaved/Android.mk
f0f55340a10fea9d106b832cd1392441a5efcfd4 19-Aug-2015 Alex Vakulenko <avakulenko@google.com> system/weaved: Make weaved compile and run on Brillo

This is an intermediate step in making weaved daemon compile
and run on Brillo. Right now it starts up successfully at system
boot.

Now we just need to hook it up to other system components such as
web server, avahi, etc.

Bug: 23113639
Change-Id: I163e2558ff2a2ed800d8e4eb28fab727bf844602
/system/weaved/Android.mk
0bc967ff82d44609be9ecf339bd344996dee8c31 18-Aug-2015 Alex Vakulenko <avakulenko@google.com> Added new system/weaved file to Androd.mk

A bunch of changes have been merged from CrOS tree and new source
files need to be added to the make file.

BUG:23288324
Change-Id: I8819bda50e4174044d59511cd77c8ba9fe4cea8a
/system/weaved/Android.mk
c1b676cac226e4b0abe3025092eb1e63ee2c0d24 18-Aug-2015 Gilad Arnold <garnold@google.com> Fix initrc generation.

Bug: 23313270
Change-Id: I08af3595563d0069849ee4ea46e31f3abe83dcca
/system/weaved/Android.mk
8473fb7eb00860a8eb2bfec86316064766a0d1b2 18-Aug-2015 Alex Vakulenko <avakulenko@google.com> Revert "system/weaved: Make weaved compile and run on Brillo"

This reverts commit 15aea55f260d87f59a138e62ed32571c4fee06af.

Change-Id: I50ef75e06d28d3a89ef7a3ed48e57b96d192d1b4
/system/weaved/Android.mk
15aea55f260d87f59a138e62ed32571c4fee06af 17-Aug-2015 Alex Vakulenko <avakulenko@google.com> system/weaved: Make weaved compile and run on Brillo

This is an intermediate step in making weaved daemon compile
and run on Brillo. Right now it starts up successfully at system
boot.

Now we just need to hook it up to other system components such as
web server, avahi, etc.

BUG:23113639

Change-Id: I889474845f9af32f73f83f4e6ac67c24e6cc8ead
/system/weaved/Android.mk
d78756d9e326bffc4ef0d7b071d49cb141cb9307 11-Aug-2015 Alex Vakulenko <avakulenko@google.com> Create make file for system/weaved and compile basic components

This change adds Android.mk to system/weaved target and make basic
components of buffet compile on AOSP. Right now code that depend on
other platform components (web server, shill, peerd) is commented
out/not being compiled.

BUG:23113639
Change-Id: Ice248029e3577dc664f9d82a12bc609d9689208e
/system/weaved/Android.mk