summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-17Suppress clang-tidy performance warnings in shill.HEADandroid-n-mr2-preview-2android-n-mr2-preview-1android-n-mr1-preview-2android-n-mr1-preview-1mastermainChih-Hung Hsieh
am: dba181546e Change-Id: I74aaa8cab55675bbc3715569fe322f85d7956c60
2016-08-17Suppress clang-tidy performance warnings in shill.Chih-Hung Hsieh
Add NOLINT to suppress warnings on non-const-reference parameters. These functions need to have type RpcServerMethodHandler. Bug: 30407689 Change-Id: I2ce3698b9b7f94c5158d6bdc46d37090d5b3ff93 Test: build with WITH_TIDY=1
2016-08-10Empty change for testing TreeHugger.David James
am: 5fde07bc50 Change-Id: I85a6ecde95da296b4eb7b2ebd36bdd84702e8741
2016-08-10Empty change for testing TreeHugger.David James
Change-Id: Ic10ac13694d6f3eda3adf5541160c442e6df6abb
2016-08-02Remove Brillo-specific LOCAL_MODULE_TAGSDan Willemsen
am: 5cdcabe103 Change-Id: I9e3c107b84a9ad9096a9c09b70e498fd56347491
2016-07-31Remove Brillo-specific LOCAL_MODULE_TAGSDan Willemsen
Replaced with PRODUCT_PACKAGES_ENG in brillo_base.mk Change-Id: I0080e16a5a060c89fa90c5d9e65ae87ca580e8e7
2016-07-28Fix clang-tidy performance warnings in shill.Chih-Hung Hsieh
am: ec5aa476af Change-Id: I6985e582b5aa76b82796e80e855b5edfbd24c7f1
2016-07-28Fix clang-tidy performance warnings in shill.Chih-Hung Hsieh
* Use const reference type for parameters, local variables, and for-loop index variables to avoid unnecessary copy. Bug: 30407689 Bug: 30413223 Bug: 30413862 Change-Id: Ib6b5f11086d07f39b924f748ea44c15b82d83d23
2016-07-01Fix google-explicit-constructor warnings in shill.Chih-Hung Hsieh
am: 530fe47029 Change-Id: Ie4b8f4f8139d9c6bfa8305fec6d63c3d68b0ff1a
2016-06-30Fix google-explicit-constructor warnings in shill.android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Chih-Hung Hsieh
Bug: 28341362 Change-Id: I7fbe21e702b88ca1a78c55674719caefb80a1ac6 Test: build with clang-tidy
2016-06-27Fix misc-macro-parentheses warnings in shill am: e7126b88fdChih-Hung Hsieh
am: baebe0b9d9 Change-Id: I0c51a4dec8e5dcc8c52a81fd30b73ba4e701e66d
2016-06-27Fix misc-macro-parentheses warnings in shillChih-Hung Hsieh
am: e7126b88fd Change-Id: Ie08b0cc0f989d3c9da8364259619a3368970eddb
2016-06-27Fix misc-macro-parentheses warnings in shillChih-Hung Hsieh
Add parentheses around macro arguments used beside operators. Bug: 28705665 Test: build with clang-tidy Change-Id: Ibdd93e93785a56c70151c5ccc358c0c1797d2857
2016-06-23device: remove ScanType enum am: e04b064a46Eric Caruso
am: b72cc485e1 Change-Id: I29de2d98a6502048fa429a1148e26df15768badd
2016-06-23device: remove ScanType enumEric Caruso
am: e04b064a46 Change-Id: I183e78a07dd114cc0197fc3854d8faf22d5ef647
2016-06-23device: remove ScanType enumEric Caruso
This only has one value and has been useless since the removal of progressive scan, so we can get rid of it. BUG=chromium:611492 TEST=make, unit tests Change-Id: I287adcbdfe323848630686b3957f9faad550fbe9
2016-06-17wifi: do not send random MAC request until supplicant appears am: c65e95eb77Eric Caruso
am: 197d69b1cd Change-Id: If3ab1ec7b3fdd31495da1727216b4db8796fe95b
2016-06-17wifi: do not send random MAC request until supplicant appearsEric Caruso
am: c65e95eb77 Change-Id: Iff4d7eaf605f63e50d93f15d5bcbf66ae872532b
2016-06-17wifi: do not send random MAC request until supplicant appearsEric Caruso
If supplicant hasn't appeared yet, wait to send the request to enable random MAC until we have connected to it. BUG=chromium:619615,chromium:620395 TEST=cbuildbot --remote tricky-tot-chrome-pfq-informational Change-Id: I4b4b9b93fe12fe49abebf54dac2e6498fd26f2f7 Original-reviewed-by: Kevin Cernekee <cernekee@chromium.org> Original-reviewed-on: https://chromium-review.googlesource.com/c/352773/
2016-06-15Use NATIVE_TESTS with BUILD_NATIVE_TEST am: 1425b8e2b5Dan Willemsen
am: 7ffb4b81bd Change-Id: I130f5765fbe9273409434bbb9495de8727585284
2016-06-15Use NATIVE_TESTS with BUILD_NATIVE_TESTDan Willemsen
am: 1425b8e2b5 Change-Id: Ib86eadc365ba32ca0d6264c21ecbdf04a760aa4e
2016-06-14Use NATIVE_TESTS with BUILD_NATIVE_TESTDan Willemsen
Change-Id: I8acde1ee119560fa4f764b8ed4966fb96d04e95b
2016-06-01shill: Update libchrome APIs to r395517 am: f37f8cf4abLuis Hector Chavez
am: 5cb40d6f2b * commit '5cb40d6f2bac0fb5f6d349f8e9fa965288fba551': shill: Update libchrome APIs to r395517 Change-Id: Id3e8bbfa1d5f644f48b2131e5b136582b423c6db
2016-06-01shill: Update libchrome APIs to r395517Luis Hector Chavez
am: f37f8cf4ab * commit 'f37f8cf4ab372417a643877b092049c41437c05f': shill: Update libchrome APIs to r395517 Change-Id: Ibcf1a19b151d6ff29b634148ddb9897fa8da5755
2016-05-26shill: Update libchrome APIs to r395517android-n-preview-4Luis Hector Chavez
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. BUG: 28985443 TEST: All tests in shill_test pass on dragonboard-eng build Change-Id: I8630fc88d2d5c212be7cb593e83675d99eeec000
2016-05-24shill_setup_wifi: Add Binder support am: d31204664bSamuel Tan
am: ca8d335982 * commit 'ca8d33598275f4469e4a74ab69c639ddb57de366': shill_setup_wifi: Add Binder support Change-Id: Ie459132ca89e0847d98b344d0b2f23997db60270
2016-05-24shill_setup_wifi: Add Binder supportSamuel Tan
am: d31204664b * commit 'd31204664bb7b74427946dd95f3dc2ea97e161a6': shill_setup_wifi: Add Binder support Change-Id: I377e8c890c0b99bb0cc3d1b939ae3751c3f573fb
2016-05-24shill_setup_wifi: refactor DBusDaemon-related code am: cbe9d2ec5fSamuel Tan
am: 2662997dbe * commit '2662997dbe2ea80cd3cb4013ea8608ff493c5df5': shill_setup_wifi: refactor DBusDaemon-related code Change-Id: I1ed052973b6ff04f377e53fa4aedc4d286f5fdae
2016-05-24shill_setup_wifi: refactor DBusDaemon-related codeSamuel Tan
am: cbe9d2ec5f * commit 'cbe9d2ec5f2a3bb92f94a2e6041174af1f96186b': shill_setup_wifi: refactor DBusDaemon-related code Change-Id: Ie0b1eee32aec6f64d2b857a31b718ae54a4aeca8
2016-05-24shill_setup_wifi: Add Binder supportSamuel Tan
Add support for Binder to shill_setup_wifi. BUG: 28572520 TEST: 1) Manually set SHILL_USE_BINDER flag in Android.mk to true, to build shill with Binder support. 2) Build dragonboard image and flash device. 3) Run 'adb shell ping www.google.com' and verify that ping fails. 4) Run 'adb shell shill_setup_wifi --ssid=$NETWORK', where $NETWORK is the SSID of an open network in range of the dragonboard, and verify that the command does not fail. 5) Repeat step 3, but verify that the ping succeeds. 6) Repeat step 1, but this time, set the variable to false to build shill without Binder support (i.e. use D-Bus). 7) Repeat steps 2-5 to verify that shill_setup_wifi continues to work when shill is built with D-Bus support. Change-Id: Id6773e0072627047116c5a254ba294ca3f592380
2016-05-24shill_setup_wifi: refactor DBusDaemon-related codeSamuel Tan
Refactor DBusDaemon related code into a separate class, DBusClient. This will allow us to easily plug in a BinderClient later when we add binder support to shill_setup_wifi. BUG: 28572520 TEST: shill_setup_wifi compiles successfully, and works as it did before the refactor. Change-Id: I88bee02f4112d0b2e9f7572b626cc8167dd8dc97
2016-05-15Initate VPN reconnections when the default physical service is Online am: ↵Kevin Cernekee
8e3ac1b9da am: 1d94999387 * commit '1d94999387f8f5ebf7d7ff5067d33a1908d1ffbf': Initate VPN reconnections when the default physical service is Online Change-Id: I746fdb8f6dc742e19156cf56065c239021bb9a0d
2016-05-15Add Service::OnDefaultServiceStateChanged() callback am: e5fb494742Kevin Cernekee
am: 473d0f0aa5 * commit '473d0f0aa51dcdf0229748ac9595a303b84e275f': Add Service::OnDefaultServiceStateChanged() callback Change-Id: I6d6ae169a2056b6197dc71c55b0d0e8d56f0dbe4
2016-05-15Initate VPN reconnections when the default physical service is OnlineKevin Cernekee
am: 8e3ac1b9da * commit '8e3ac1b9da21aac8c0e97049e0a0c8326f32e3ba': Initate VPN reconnections when the default physical service is Online Change-Id: Ib7f7197c77ec4a58ab9f45704e3d10e933954ee7
2016-05-15Add Service::OnDefaultServiceStateChanged() callbackKevin Cernekee
am: e5fb494742 * commit 'e5fb49474296421454309d1995890613a0da9ceb': Add Service::OnDefaultServiceStateChanged() callback Change-Id: I1f314c0135d7fb356f5d87e7f83174898179a178
2016-05-15Initate VPN reconnections when the default physical service is OnlineKevin Cernekee
The current logic tries to reconnect the VPN when the default physical service changes, and is in any of the connected states. This means that it will try to reconnect even if a portal was detected and shill is waiting for the user to authenticate to the portal. This is not desirable because the device does not have internet access in Portal state. Change it so that it waits until the default service is Online before attempting a reconnection. Bug: None BUG=chromium:598781 TEST=`FEATURES=test emerge-link shill` Change-Id: I97b632783b0fd1ce6a7ca36cb5b03a142263f0b6
2016-05-15Add Service::OnDefaultServiceStateChanged() callbackKevin Cernekee
This allows VPNs to figure out when the default physical service has transitioned back to the Online state, so they can trigger a reconnection. Bug: None BUG=chromium:598781 TEST=`FEATURES=test emerge-link shill` Change-Id: I331eb12cbcd5f60c4fa1687d55fcca58331316fe
2016-05-13Fix cellular_service_unittest.cc in Chromium OS. am: 49f7411df3Alex Deymo
am: 22eb85aadf * commit '22eb85aadf7d9c1213798c64d2e703ed80adcd39': Fix cellular_service_unittest.cc in Chromium OS. Change-Id: Idac2827ea7b9dc232bef003de65dd345f213b6a4
2016-05-13Fix cellular_service_unittest.cc in Chromium OS.Alex Deymo
am: 49f7411df3 * commit '49f7411df36e849a34227ceb54610dea798a50af': Fix cellular_service_unittest.cc in Chromium OS. Change-Id: I95ee65e77d4df2c66a565d0bd071c062ddeaad94
2016-05-12Fix cellular_service_unittest.cc in Chromium OS.android-wear-n-preview-3android-wear-n-preview-1android-n-preview-3Alex Deymo
These tests are only compiled in Chromium OS and the signature of UserInitiatedDisconnect() changed with CL:222343. This patch simply updates the unittest to compile. Bug: 25160005 TEST=FEATURES=test emerge-daisy_spring shill TBR=wiley,samueltan Change-Id: I423ab9cc5f614e9b6a3eca59267fc173caf4595e
2016-05-07shill: add BinderService for each BinderAdaptor am: 94ecc4af84Samuel Tan
am: d327fe40a1 * commit 'd327fe40a172e0895033b311baf4c34b6e134cab': shill: add BinderService for each BinderAdaptor Change-Id: If99a9d2b4dc944766fb10be060ef2022980fb0e1
2016-05-07shill: implement IService Binder interface methods am: 7fa0defef4Samuel Tan
am: 0642a4a096 * commit '0642a4a0969dd1fbf0c47a3ea4d269c0de458ea6': shill: implement IService Binder interface methods Change-Id: Ibf9b3d7575869ddba8fb7b34d34c7be20cb364c7
2016-05-07shill: make brillo::BinderWatcher a member of shill::BinderControl am: ↵Samuel Tan
c8758fdee5 am: a93e99a71d * commit 'a93e99a71dc18c0ab2a47e35e3b8a5b49d44e0c6': shill: make brillo::BinderWatcher a member of shill::BinderControl Change-Id: I00eb650408f1c4ef50139507aec49d994f0d1fdd
2016-05-07shill: Provide reason string to Service::UserInitiatedConnect and ↵Samuel Tan
...Service::UserInitiatedDisconnect am: 66d6016713 am: cfc5df0822 * commit 'cfc5df0822c5a914d82a2ca1663d3aab290a0674': shill: Provide reason string to Service::UserInitiatedConnect and ...Service::UserInitiatedDisconnect Change-Id: I10641175c768750a80ce097c3b9cae4374a3a9d4
2016-05-07shill: update error types in IService Binder interface am: 572b6fe95cSamuel Tan
am: 98b0e9ac68 * commit '98b0e9ac68dfe167620bbfd484f85f7861c034a9': shill: update error types in IService Binder interface Change-Id: Iafad773661ea75aedc190a994e18099bccaf0193
2016-05-07shill: implement IManager Binder interface methods am: fe01898d9fSamuel Tan
am: f12e310beb * commit 'f12e310beb74f32fe954681d93074fee7f066172': shill: implement IManager Binder interface methods Change-Id: Ic5c8aff2405f986496970c29b7d099716c2a6201
2016-05-07shill: add BinderService for each BinderAdaptorSamuel Tan
am: 94ecc4af84 * commit '94ecc4af842bd8c94259d5580627d5988f51da82': shill: add BinderService for each BinderAdaptor Change-Id: Ib7a4a2011b3c2edc22582315d337578dd7877cf8
2016-05-07shill: implement IService Binder interface methodsSamuel Tan
am: 7fa0defef4 * commit '7fa0defef4fe8869fee60ae8658add2ce30a90f8': shill: implement IService Binder interface methods Change-Id: Ifa6cbb0904b836839e0126529def31b496567230
2016-05-07shill: make brillo::BinderWatcher a member of shill::BinderControlSamuel Tan
am: c8758fdee5 * commit 'c8758fdee532e1260b366bc371268de9a7ecd2ca': shill: make brillo::BinderWatcher a member of shill::BinderControl Change-Id: I0d58d2b807c7268efc6d7aa1b99388aafb51a809
2016-05-07shill: Provide reason string to Service::UserInitiatedConnect and ↵Samuel Tan
...Service::UserInitiatedDisconnect am: 66d6016713 * commit '66d60167138f31fcfbc6bc5119a329fc46f09fcf': shill: Provide reason string to Service::UserInitiatedConnect and ...Service::UserInitiatedDisconnect Change-Id: I55ad77681eca1bfe2270974e06e750af6e6ea02b