98d1fee994302f5e2ad7a7b60de2f2d74f35408b |
|
01-Feb-2016 |
Alex Vakulenko <avakulenko@google.com> |
Periodicly clean up command queue and remove old processed commands Do periodic command queue cleanup to reclaim memory from commands that have been in terminal state for certain period of time (5 mins). Change-Id: Ief9cdbf023a222412c296644c9e927c4be000024 Reviewed-on: https://weave-review.googlesource.com/2434 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
/external/libweave/src/component_manager_impl.h
|
ce850b557cd406e4dc546557acbf756484aac198 |
|
04-Jan-2016 |
Alex Vakulenko <avakulenko@google.com> |
Add the ability to remove a component from component tree This functionality will be neaded on Brillo side to remove components added by vendor daemons when those daemons exit (normally or abnormally). This will allow those daemons to re-add the same component when they get restarted. Change-Id: Ida350cfa38d4f1265d1e86fccca893cdf7f5030c Reviewed-on: https://weave-review.googlesource.com/2087 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/component_manager_impl.h
|
34668e731bb194b443bc0e6029d6d3583f08de28 |
|
15-Dec-2015 |
Vitaly Buka <vitalybuka@google.com> |
Reformat Change-Id: Ia98499f9ada220151b24ecb8b60b02524d700bc4 Reviewed-on: https://weave-review.googlesource.com/1967 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/component_manager_impl.h
|
41aa8090265b73876da7b99b5d246b4a64fe0474 |
|
10-Dec-2015 |
Vitaly Buka <vitalybuka@google.com> |
Use base::Clock in AuthManager for better testing Change-Id: Ifbb23e4da565a1c86ff728803d2e07e3f8c3b1f4 Reviewed-on: https://weave-review.googlesource.com/1873 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
/external/libweave/src/component_manager_impl.h
|
ece713e1f51b6d9e7afda725ae258dc7e12f8c90 |
|
09-Dec-2015 |
Vitaly Buka <vitalybuka@google.com> |
Add shared MockClock class and cleaned up base::Clock usage Change-Id: I8492747700274591eab1a3f591ddb94814723943 Reviewed-on: https://weave-review.googlesource.com/1870 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
/external/libweave/src/component_manager_impl.h
|
d91d625f29b752be035c5fb49bb29d7ee85fcb90 |
|
06-Dec-2015 |
Alex Vakulenko <avakulenko@google.com> |
Switch to use ComponentManager for traits/components Removed the old StateManager, CommandManager and related classes and switched over to using ComponentManager for all device trait and component definitions as well as device state. Change-Id: I99b99a935ba217703d31aa523a3124cca0fa3e90 Reviewed-on: https://weave-review.googlesource.com/1788 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
/external/libweave/src/component_manager_impl.h
|
6b394d1073eebf08400899e8056b86adc449bc3e |
|
06-Dec-2015 |
Alex Vakulenko <avakulenko@google.com> |
Add support for legacy state/commandDefs to ComponentManager Added methods to convert legacy state/stateDefs/commandDefs to the new trait definitions and components and functions to convert the trait definitions/component tree back to old commandDefs and state. Change-Id: Ia03142c53d00bbc4f880389166982167e3c8b1e9 Reviewed-on: https://weave-review.googlesource.com/1787 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/component_manager_impl.h
|
b736c98f33f0556fb1c8d58d5d73b5c41888c153 |
|
05-Dec-2015 |
Alex Vakulenko <avakulenko@google.com> |
Make CommandManager::AddCommand() usable for both cloud and local cases Add Command::Origin parameter to AddCommand as well as let it return the cloud command ID for the command instance. Change-Id: I694c72aba80bc0f0f240453bfab0d11e773d70aa Reviewed-on: https://weave-review.googlesource.com/1786 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/component_manager_impl.h
|
ba9811581e419d94fc6efd42ae11c631c45a3b58 |
|
05-Dec-2015 |
Alex Vakulenko <avakulenko@google.com> |
Convert ComponentManager into an interface and create a mock This will help to mock out ComponentManager's functionality for unit tests in the future. Change-Id: Ie74c49c6b31b00b0c4d38bf0db715a62a9532bc7 Reviewed-on: https://weave-review.googlesource.com/1785 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/component_manager_impl.h
|