6789bcbfbc2cbc7eec7713513b4b2038f7f8c52c |
|
26-Oct-2015 |
Peter Qiu <zqiu@google.com> |
Do not use singleton for mock objects Android complains about memory leakage when using singleton for mock objects, and it is not really necessary to use singleton for mock objects either. So remove the singleton from those objects. While there, update the binary path for "sleep" on Android, which is used for starting a dummy process in the test. Bug: 25186794 TEST=Run apmanager_test on Brillo board TEST=Run unittests for Chrome OS Change-Id: Ifb5a5c6876aa67a94411d823109c14a209a46d86
/system/connectivity/apmanager/mock_dhcp_server_factory.cc
|
326b6cfba5ab73c9e41a7585d1bc95871631122a |
|
02-Sep-2015 |
Peter Qiu <zqiu@google.com> |
Re-license apmanager to Apache2 This patch automatically replaced the license on all text files from Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as a reference. The license header was added to .gyp, the NOTICE was replaced with a copy of the Apache2 license and MODULE_LICENSE_* file was updated. BUG=23619937 TEST=grep 'Chromium OS Authors' doesn't find anything. Change-Id: I4ade0a15ff18ab159d4a2f99525b62c780b13c89
/system/connectivity/apmanager/mock_dhcp_server_factory.cc
|
bf8e36cde93c8714b5e1482d205d2e3e424d1290 |
|
04-Dec-2014 |
Peter Qiu <zqiu@chromium.org> |
apmanager: DHCP server support Start a DHCP server for an AP service when it is configured in server mode. The server address is configure as "192.168.x.254" where x is the least significant byte of the service identifier. The DHCP range is from 192.168.x.1 to 192.168.x.128. BUG=chromium:438836 TEST=unittests and manual test Manual test: Start an AP service using apmanager and verify a DUT can connect to it with an IP address CQ-DEPEND=CL:233032,CL:233493 Change-Id: I16a0d03c8eac7f02722c8c8f5185ca75a1edebcb Reviewed-on: https://chromium-review.googlesource.com/233047 Reviewed-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org>
/system/connectivity/apmanager/mock_dhcp_server_factory.cc
|