327bd4253115abc757ebaf5f1bddd9f5ad2253e4 |
22-Jun-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Ignore masked EAP passwords Whenever an app retrieves one of the saved network configuration using the WifiManager API's, we mask out the |preSharedKey|, |wepKeys| and |enterpriseConfig.getPassword()| fields. These apps may however pass the same network configuration (with some changes) back to the framework via WifiManager.updateNetwork() or WifiManager.connect() API's. Since the current update API does not specify which field within the WifiConfiguration is modified, framework tries to copy over all the fields sent in thus overriding the real password with the masked value sent by the app. Ideally the apps should create a new WifiConfiguration with just the fields that they want to modify and send it via WifiManager.updateNetwork(). But, since this is a very common mistake we have some protection against this in the framework for the |preSharedKey| and |wepKeys|. But, we're missing this protection for the |enterpriseConfig.getPassword()| fields. Bug: 62893342 Test: Unit tests. Test: Manual test to ensure that masked password sent from settings is ignored. Test: Regression tests. Change-Id: I163c8c44b2717364aff88cb7ca1b2faa3aa6cce9
ifiConfigManagerTest.java
ifiConfigurationTestUtil.java
|
23216ca333dc411e6ce0829f777ca29992388443 |
13-Jun-2017 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Cache only results of full single scans Change the single scan results caching logic inside WifiScanner: 1. Only cache scan results if they were for full scans. We've expanded the meaning of "full scans" to include both 2g + 5g and 2g + 5g + dfs. 2. Filter out any scan results from the cache if they're over 3 minutes old. The motivation of this CL is to solve these problems: 1. Do not overwrite full scan results requested by an external app (ex. Settings) with results from a partial scan (ex. from WifiConnectivityManager). This avoids the race condition where the settings app performs a scan and gets a partial list of results back because it was ovewritten by an internal partial scan request in between. 2. Scan results retrieved by apps will not contain stale scan results. In N, wpa_supplicant evicted any scan results which were older than 3 minutes from the cache. So, this CL restores that behavior. Bug: 38212080 Test: Verified that both the settings and wifi wake is working properly with the fix. Test: Will send for full regression tests (b/62711875). Test: New unit tests to verify that the partial scan results don't override the cache. Test: Modified existing unit tests to account for the change in behavior. The broadcast (and cache) is now only updated on full scans. Some of the tests were modified to produce full scan results, while the other tests expectations were modified for partial scan results. Change-Id: I4d6fb994d50995434f76218386272aa2562476fe
canner/WifiScanningServiceTest.java
|
8ec0ba59c20b8266d735912fb71575834c991acc |
09-Jun-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: check app status for startLOHS" into oc-dev
|
221b119b6044721dfe3c43efe706ec3ef11ea9ff |
09-Jun-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiVendorHal: improve handling of debug events" into oc-dev
|
61c5552cd973827fc035334d580c1082456f9b21 |
09-Jun-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Backup networks from apps holding CONFIG_OVERRIDE" into oc-dev
|
95bad763cff555fcf37442d5d3129f777bb0b978 |
08-Jun-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Change to |NETWORK_SETTINGS| permission" into oc-dev
|
9e83c3b65710cef6e04015565974750ee67200f1 |
26-May-2017 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Backup networks from apps holding CONFIG_OVERRIDE We currently backup only networks created by system apps. Change that to instead backup only networks created by apps holding the |CONFIG_OVERRIDE| permission. This will let us backup networks from apps like SetupWizard which holds the |CONFIG_OVERRIDE| permission. Since such apps have the permission to modify any network in the device, it doesn't matter that the |creatorUid| info is lost during the restore process. PS: See the discussion in b/29201888 for why the creatorUid cannot be preserved across restore. Bug: 38041584 Test: Unit tests Test: 'bmgr backup com.android.provider.settings' Test: 'bmgr restore <sha> com.android.provider.settings' Change-Id: I550631d11f34942e408a6e4068bcb45ce22cb8e6
ifiBackupRestoreTest.java
|
04977155d75180c629a6c44b9db1fa9d2e250e76 |
08-Jun-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Revert "WifiScanningService: Don't cache results of partial scan"" into oc-dev
|
a6e534fc17203d535ec786b25aad9ff65afdbbea |
08-Jun-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: check app status for startLOHS When apps register a request for LOHS, they should be the foreground app at the time of the request. If the requesting app is not the foreground app, the ERROR_INCOMPATIBLE_MODE error will be returned. Bug: 62356000 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: softap integration tests locally Test: in progress LOHS integration tests locally Test: cts-tradefed run cts-dev --module CtsNetTestCases -t android.net.wifi.cts.WifiManagerTest Change-Id: Ic51bbc28478f90983555943a45f4fd70f4b2b385
ifiServiceImplTest.java
|
5e6aea460e272ef7c70029abe9f0e5a695ad119e |
10-May-2017 |
mukesh agrawal <quiche@google.com> |
WifiVendorHal: improve handling of debug events Move processing of debug events (onRingBufferDataAvailable and onDebugErrorAlert) from a HWBinder thread, to the WifiStateMachine thread. The idea here is to quickly free up shared resources: the thread on which we receive the HIDL event, and the HWBinder async buffer space that is used to queue pending upcalls. The reason we want to free up these resources more quickly is that, in some cases, the debug events need to wait 100-200msec to acquire the WifiDiagnostics object's intrinsic lock. A risk of this change is that we might use a large amount of memory by queuing up large amounts of ring-buffer data callbacks on the Looper's MessageQueue. However, I think that is a better risk to take, than the risk of starving other HALs of access to HWBinder resources. Bug: 38182372 Test: tests/wifitests/runtests.sh # on bullhead Test: adb shell dumpsys wifi | grep TIMEOUT # expect no match Change-Id: I7ec24f8b862cfb8ac100b1c975d732a886ed09fe
ifiVendorHalTest.java
|
ae5d7343534f7f41c53f98a1782183405ff32a0d |
08-Jun-2017 |
Roshan Pius <rpius@google.com> |
Revert "WifiScanningService: Don't cache results of partial scan" This reverts commit 24dc6bb288a15516c89ab507bb86511556824144. BUG: 62394341 Change-Id: Ice9c5d34a374d5a600e0797504d3c4774e4b2ace
canner/WifiScanningServiceTest.java
|
1fdb6151dcc85c990483492e2d9cbd9b7c243164 |
01-Jun-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: set LOHS wifi config networkId The WifiConfiguration object used to connect to a locally started LOHS needs a networkId that signals to ConnectivityService that the application wants to use the LOHS to talk to co-located devices. Bug: 62076211 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.WifiApConfigStoreTest Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.WifiServiceImplTest Test: manually tested with in-progress integration test Change-Id: Ic316250184eae0f04dc0fb83efb9710d5d65f0af
ifiApConfigStoreTest.java
|
1f6626d7488bba014b42bab8bbcd4720694df485 |
25-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: add mode to softap update Plumb the softap target mode in to WifiStateMachine so we can add it to the softap state change broadcast. Also cleaned up some of the error and stopping states noticed due to the mode updates and tests. This removes extra calls to clear the requests and uses the ap state change broadcast to notify registered callers about the LOHS stopping instead of attempting to get intermediate state. Bug: 62076211 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Icff0a9b30e1eb9e5aa945d289d274da7ec8910eb
estUtil.java
ifiServiceImplTest.java
ifiStateMachineTest.java
|
f1a0272c0fb3f11bc338e97481d8cb73cfe74641 |
06-Jun-2017 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Change to |NETWORK_SETTINGS| permission Use the new |NETWORK_SETTINGS| permission for all backup/restore changes. Bug: 62353755 Test: 'bmgr backup com.android.provider.settings' Test: 'bmgr restore <sha> com.android.provider.settings' Test: Unit tests Change-Id: I5c62ed1b4cb6a6445755aaf0fd1a3b67f0a25501
ifiServiceImplTest.java
|
2f47b2755faffaa1a011ddeb8527bd9c99bb6106 |
25-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: add iface name to ap updates When softap mode changes state, add the interface name to the ap state change broadcast. This will be used by ConnectivityService to properly track interface updates and changes. Bug: 62076211 Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: softap integration tests locally Test: manually toggled and confirmed in logs Test: wifi integration tests Change-Id: I655dbdbf522c582973bb3fa8a2c42dadceb85a8d
estUtil.java
ifiServiceImplTest.java
ifiStateMachineTest.java
|
a1c5c10247d9e00f740956ce949b3ca0d9401e60 |
02-Jun-2017 |
Randy Pan <zpan@google.com> |
Merge "SavedNetworkEvaluator: ignore ephemeral networks" into oc-dev
|
9da08e01464d39de3f14fe09f535660635d39c42 |
02-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Merge changes from topic 'supplicant_sta_iface_hal_network_change' into oc-dev * changes: Remove network from supplicant when it is disabled Do not remove and add the same network
|
71d33fa108f651995ba0af00ad7b38749daef8dd |
01-Jun-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiScanningService: Don't cache results of partial scan" into oc-dev
|
32a2c670100b84fb049f55ad5a8a300c60a48aa5 |
31-May-2017 |
Randy Pan <zpan@google.com> |
SavedNetworkEvaluator: ignore ephemeral networks Ephemeral networks should be evaluted by ScoredNetworkEvaluator. Otherwise, an ephemeral network might be chosen over a saved network. Plus, the SaveNetworkEvaluator's scoring algorithm is different from the ScoredNetworkEvalutor, so the result coming out from these two evalutors can be very different. Bug: 62197617 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I3237b4ca50dd6964dd8678011e6a9940c0ca1d0b
avedNetworkEvaluatorTest.java
|
403df479e25031276c738dbea334f09bb7e4bf37 |
18-May-2017 |
Ningyuan Wang <nywang@google.com> |
Remove network from supplicant when it is disabled This CL expands OnSavedNetworkUpdateListener interface by replacing onSavedNetworkUpdate() event with a list of detailed events. This CL also removes a network from supplicant when it's disabled. Bug: 37406637 Test: compile, unit tests, manual tests, integration test Change-Id: Idfa29cd15b8ad75de3bb7448abd7f3c93f9778f0
ifiConfigManagerTest.java
|
ff27ddf1923d9d4d4cfa8cc1a1ddb8748d0f2426 |
08-May-2017 |
Ningyuan Wang <nywang@google.com> |
Do not remove and add the same network This patch allows SupplicantStatIfaceHal to skip the "remove and add" process for supplicant network if there is already the same network saved in supplicant. This will be helpful when phone reconnects to a EAP-SIM network. In that case, EAP state parameters will not be cleared by removing network, so supplicant can take advantage of those parameters for fast-reauth. Bug: 37529849 Test: compile. unit test, integration test, manual test Change-Id: I4326e9f60f4f8a64674a52d1dbbcd34c5e709064
upplicantStaIfaceHalTest.java
ifiConfigurationTestUtil.java
ifiConfigurationUtilTest.java
|
24dc6bb288a15516c89ab507bb86511556824144 |
30-May-2017 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Don't cache results of partial scan These partial scan requests are initiated by the wifi stack when connected to a network for network selection purposes. This might interfere with full scan requests made by external apps. So, don't cache such partial scan results. The apps will always get results of the last full scan request made. Bug: 38212080 Test: Unit tests Test: Verified manually that the WifiManager#getScanResults() no longer outputs partial scan results. Change-Id: I5e320435e34c6bd74639dd13a480bb26ecea1edb
canner/WifiScanningServiceTest.java
|
0697df2e29a3255620760667e9192d82102cd85c |
31-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add support for installing Passpoint profile via overloaded API" into oc-dev
|
d35cddaf72ba0d679143fa07e07df330c6893574 |
25-May-2017 |
Peter Qiu <zqiu@google.com> |
Add support for installing Passpoint profile via overloaded API In N and earlier, WifiManager#addNetwork was used for adding/installing Passpoint profiles. In O, we've refactored the Passpoint support and provided dedicated APIs. In order to be backward compatible with existing apps, we need to continue support installing Passpoint profile using WifiManager#addNetwork. Bug: 62142779 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Manually update WifiInstaller to use WifiManager#addNetwork to install Passpoint profile, and verify it works. Change-Id: I4a91273dccef5521c2bbca2a83e2ff08ce109a14 Merged-In: I4a91273dccef5521c2bbca2a83e2ff08ce109a14
ifiServiceImplTest.java
|
ab73d041b30848ba20e69244418fbfa9b4975383 |
31-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes I1c24c60d,I1e8998c9 into oc-dev * changes: WifiStateMachine: Reset network ID for WPS InformationElementUtil: Handle malformed scan results
|
06917c95b568c01e30edab40a1149bf8e2ae1962 |
30-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: setWifiEnabled permission check" into oc-dev
|
6f91c8e110e38d1856b2006f4d60437dcaade5d8 |
30-May-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Reset network ID for WPS |WifiNative.migrateNetworksFromSupplicant| retrieves the network ID of the configuration from wpa_supplicant. This is useful for migration of config store from N to O, but we don't need this network ID information for WPS operations since the network ID's allocated by wpa_supplicant will clash with network ID's allocated by framework. So, reset the network ID before we add it to WifiConfigManager. Bug: 62156507 Test: Unit tests Change-Id: I1c24c60dc2de2d039b3c372d52d10d55cc4d0241
ifiStateMachineTest.java
|
3e80f5fa9e07c935c328fd06de555cfd5f43ed26 |
30-May-2017 |
Roshan Pius <rpius@google.com> |
InformationElementUtil: Handle malformed scan results Malformed scan results will leave the |protocol|, |keyManagement| and |pairwiseCipher| fields in inconsistent after IE parsing. Handle this in the |generateCapabilitiesString()| method. This CL restores the handling of these malformed scan results prior to ag/2285932. Bug: 62154614 Test: Unit tests Change-Id: I1e8998c9d951c7dc4e2d7163c80091fd40ca3672
til/InformationElementUtilTest.java
|
de6ff4c1fc87364efc5fa15de31325b4450548b0 |
25-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: setWifiEnabled permission check Instead of using the package name to determine if the caller of setWifiEnabled is from settings or sysui, switch over to use the NETWORK_SETTINGS permission. This permission check will be done to avoid stopping softap mode by third-party apps. Bug: 38163947 Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually tested attempting to enable wifi from settings, quick settings and quick quick settings when wifi tethering was active Test: cts-tradefed run cts-dev --module CtsNetTestCases -t android.net.wifi.cts.WifiManagerTest#testSetWifiEnabledByAppDoesNotStopHotspot Merged-In: I05a3cab6bc2b4b725badcbb7416f3f5bcd0dc3e9 Change-Id: I05a3cab6bc2b4b725badcbb7416f3f5bcd0dc3e9
ifiServiceImplTest.java
|
54a43675ba622c77dbbcc4ff12fa2c4a92578683 |
18-May-2017 |
Roshan Pius <rpius@google.com> |
SelfRecovery: Module for initiating internal stack restarts Adding a new module for initiating stack restarts when we detect some kind of failure internally. This module essentially moves the |restartWifiStack| functionality out of WifiLastResortWatchdog so that it can be reused by WifiStateMachine for HAL/wificond crashes. The 3 reasons for triggering self recovery currently are: 1. Last resort watchdog bite. 2. HAL crash. 3. Wificond crash. TBD: We could potentially perform the same recovery on a supplicant crash. Bug: 36586897 Test: Manual tests by crashing the HAL & wificond. Test: Unit tests. Change-Id: Id3e0c2cc7b339ff02ae4a5597a1f2009cb946125
elfRecoveryTest.java
ifiLastResortWatchdogTest.java
ifiStateMachineTest.java
|
f7364b4baea06722022b7c6519ace0556481cc06 |
26-May-2017 |
Ningyuan Wang <nywang@google.com> |
Support parsing WPS for scan result capabilties string This CL allows InformaitonElementUtil to parse WPS information element and append [WPS] to the capabilities string. This also removes a few lines of unused code. Bug: 62034562 Test: compile, unit tests, manual test Change-Id: Ic4ccd58ba3aaf268a81516888815bec8e4b32330
til/InformationElementUtilTest.java
|
78156cd914c78f7bd427b85d4b5ebf338d8166c3 |
24-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiMetrics: Add methods to increment new hal/cond metrics" into oc-dev
|
42e4920fdc3ad70f437f7a5967169b06116f1c62 |
24-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiConfigManager: convert BSSID to lower case" into oc-dev
|
48807b36bcc3d518ed12389e4889e5583fc8d672 |
24-May-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Abort scan before connection" into oc-dev
|
2bfc3924e0c811ac7771d76d6a5c3164205add33 |
24-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Support coexistence of wpa and wpa2 IEs in scan result" into oc-dev
|
2a0ad34fff0956b85afa702617a3322ca85c3dca |
16-May-2017 |
Roshan Pius <rpius@google.com> |
WifiMetrics: Add methods to increment new hal/cond metrics Bug: 36586897 Test: Unit tests Change-Id: Ic3bca30e59111923f6c7b65e8955b4d37046b2e0 (cherry picked from commit bd2cff58fca2f3d9a0cd6df8526b23f48d9d44ec)
ifiMetricsTest.java
|
9dc9a8750ecd1ab25c5b4c7d17c8930ca2ffb6c3 |
23-May-2017 |
Ningyuan Wang <nywang@google.com> |
Rename ChannelHelper.getSupplicantScanFreqs() We no longer use supplicant for scanning, so we need to rename this helper function. Since this helper function is not specifically for supplicant, this CL just removes the 'Supplicant' part in its name. This also fixes a few comments related to supplicant. Bug: 36031295 Test: compile, unit tests, manual tests Change-Id: Iabbf20e07b52ea015db227984511affaa055f205
canner/BaseWifiScannerImplTest.java
canner/KnownBandsChannelHelperTest.java
canner/NoBandChannelHelperTest.java
canner/WificondPnoScannerTest.java
|
f9b25d48b7cadff8cb8eead96114f8b6725cc800 |
22-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: add packageName to startLOHS call" into oc-dev
|
a3e8c64fb19018c0a5ed0c8faf1dfe22a49aa17b |
21-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: implement startLOHS" into oc-dev
|
85c2015666f37e7ea2df69ef9962de0b6ccc7cf8 |
20-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: implement stopLOHS" into oc-dev
|
a8bea9aed9c0e8a16e51568541b90f0900edb9ef |
20-May-2017 |
Randy Pan <zpan@google.com> |
WifiConfigManager: convert BSSID to lower case When application specifies a particular BSSID for a WifiConfiguration, the passed in string can be in any format. When storing this BSSID field, we now always convert it lower case to match the format of how BSSID is presented in scan results. Bug: 38439640 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ic39d35694ee766cf83366fe7f00560684a18ac02
ifiConfigManagerTest.java
|
c66d00cefbd32ec2fbefcf1fd54c1aaf50b5ce5a |
19-May-2017 |
Ningyuan Wang <nywang@google.com> |
Support coexistence of wpa and wpa2 IEs in scan result When there are both wpa1 and wpa2(rsn) ies in scan result, InformationElementUtil.generateCapabilitiesString() should handle it and generate capabilties string correctly. Bug: 37653951 Test: compile, unit tests, manual test, integration test Change-Id: I7160fcbbd75c07f4fe02de62a3e4539fa628eab3
til/InformationElementUtilTest.java
|
70df7749fe3dc574c1ef7713d48b51afc79787fb |
20-May-2017 |
Glen Kuhne <kuh@google.com> |
Merge "P2P: Fix onServiceDiscovery callback param parsing" into oc-dev
|
c4ad341e844e88a34be7ed4c3c9509fb72608b37 |
02-May-2017 |
Ningyuan Wang <nywang@google.com> |
Abort scan before connection In the past, supplicant would abort any ongoing scan before issuing a connection or roaming request. For Android O we issue scans using wificond, so supplicant doesn't know about ongoing scan issued by wificond. As a result, we may have regression that connection request may be delayed because device is waiting for ongoing scan to finish. This patch adds back the logic at framework level, fixing the potential regression. Bug: 37743832 Test: compile, unit tests, integration test, manual test Change-Id: I556c7561d39a9d0b91399d5b3348256bcf0943c8
ifiNativeTest.java
ificondControlTest.java
|
0f257d8ab5787450bdd24119ad809ffdfd29f98d |
18-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: add packageName to startLOHS call Add the caller's packageName to the startLOHS call. This gets the packageName from the caller's context for permissions checks. Tests were also update to reflect this change. This will be submitted as a topic with a change in frameworks/base. Bug: 31466854 Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I34ba7e4a9485fbfe295acaa9977b2adcd17343c5
ifiServiceImplTest.java
|
a39790ac184ea4b5fb5422c06d0aea0f03fbc6db |
12-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: implement startLOHS When an application requests LOHS, check current state for incompatible modes, outstanding requests and then register a request object for that caller. If this is the first caller, WifiServiceImpl will then trigger WifiController to start softap mode. When the softap mode switch completes, callers will be notified of the outcome via the LocalOnlyHotspotCallback api. Bug: 31466854 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If54756914f4daf5aab1663e6d747ead68d42fd1e
ifiServiceImplTest.java
|
a2cbd2429606052cf6f2306c54f8c590d7a55174 |
11-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: implement stopLOHS When a requestor is done with LOHS, closing the callback will trigger stopLocalOnlyHotspot. This CL implements the logic to unregister the request and stop softap mode - if that caller was the last registered requestor. In this CL, LocalOnlyHotspotRequestInfo was also updated to use a different key to track the requests. This was done to support apps calling with shared uids. Bug: 31466854 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I585ec1cbd4284e40e068bb47d12f80fc445d9270
ifiServiceImplTest.java
|
3a27fefe1b7643e56f0e61786714d219dfbe4b82 |
19-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: act on interface ip mode changes" into oc-dev
|
7bedba03d13fb5f010040d16146100e93e35c9e0 |
19-May-2017 |
Glen Kuhne <kuh@google.com> |
Merge "P2P: fix add upnp service version number parsing" into oc-dev
|
22dfcc6ab20d260c0318090386af91ea95724e99 |
19-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: listen and act on softap changes" into oc-dev
|
f4232f9036f66fd505786dff0a3d6e84f78c8168 |
19-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiNative: Add VINTF check for vendor HAL" into oc-dev
|
56a5f2f6e07086346829c5681ba37395c1521d2e |
19-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: check caller for watchLOHS" into oc-dev
|
59a3ed49892642ee146f7f140fc55c39fda7b7ea |
19-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "P2P: Fix cancelServiceDiscovery mis-cast" into oc-dev
|
a42d526f8a53b25c58062fed33db5fedda8ceee1 |
16-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: act on interface ip mode changes When Connectivity service notifies WifiService of interface ip mode changes, we should use them to update our registered LOHS requestors. When the LOHS is ready to use, we will be notified about the LOCAL_ONLY mode and trigger the onStarted callback. If tethering starts, we should notify the requestors via the onFailed call with an INCOMPATIBLE_MODE error. In the unlikely case of an IP failure, we should also trigger the onFailed callback with the GENERIC error. This CL also adds tests and handling for cases where additional LOHS requests are added after the hotspot is already up and running. Bug: 31466854 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I1c6a25eca7b23f161ea4403a980292e82968c4c1
ifiServiceImplTest.java
|
878e0cccd652ea556680b9cc101b01142e9ad919 |
16-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: listen and act on softap changes The registered callers of LocalOnlyHotspot need to be updated when the hotspot fails or stops. This is currently implemented by having WifiServiceImpl listen for WIFI_AP_STATE_CHANGE broadcasts. When updates about softap failures or stopping (disabling or disabled) are received, appropriate messages are constructed and sent to registered callers. This CL additionally adds tests confirming this behavior. An additional helper methods were added to aid testing for sending the broadcasts and sending messages to the registered LOHS requestors. Bug: 31466854 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I5ade861423c7ea25690a084e9e4c7c9861f1dbcd
ocalOnlyHotspotRequestInfoTest.java
estUtil.java
ifiServiceImplTest.java
|
cd1587091a7a9c0b175fc64f33b6f17e62215829 |
03-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: check caller for watchLOHS Add a check to see if a caller has the signature only NETWORK_SETTINGS permission before registering them to watch LocalOnlyHotspot changes. Bug: 36760523 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ie52613269d1a0e9e361ff0a96039ee2b894a2204
ifiServiceImplTest.java
|
f546e73b75f8b2a0eb4e4fc37b226c566956da34 |
18-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantStaIfaceHal: reset current network info when removing all network" into oc-dev
|
526ca05b3fe1f92a49c55411cd4901ef0f787782 |
18-May-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Tighten key checks in string parsing" into oc-dev
|
8131b04dc799cb0c75240c7b9eb0517ba1f00be8 |
13-May-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Add VINTF check for vendor HAL Currently, we're ignoring HAL start failures to support devices like gce, hikey which did not have any vendor HAL support previously. To solve that problem: 1. Remove the Vendor HAL daemon (HIDL shim) from such device's device.mk. Handled by other CL's in the topic. 2. Add the Wifi HAL's to the VINTF (manifest.xml) on all devices which has the Vendor HAL daemon running. (Unfortunately, there is no automatic translation from the module missing in device.mk to manifest.xml currently). Handled by other CL's in the topic. 3. Use the HalDeviceManager to query the VINTF to figure out if the Vendor HAL is present on the device or not. 4a. If the Vendor HAL is not supported, ignore start/stop calls. 4b. If the Vendor HAL is present, report failure if start/stop fails. Also, fixed a few invalid mock expectations set. Bug: 36886769 Test: Device boots up and connects to wifi on 2017 devices. Test: Unit tests. Change-Id: Ia3d90c8fafe2f8c156c843f5f47b94deaabe5a56 (cherry picked from commit 30f34829e0e7e49dc09c897c72dd0ded7d9805eb)
alDeviceManagerTest.java
ifiNativeTest.java
ifiStateMachineTest.java
|
0c96f88c6d9f031ab76392cdb1255bd249212ad3 |
30-Apr-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: add binder death callback impl Binder objects for requesting applications are tracked in LocalOnlyHotspotRequestInfo objects. When a binder death is detected, this object calls back in to WifiServiceImpl so the request can be removed and the hotspot can shutdown if there are not any outstanding requests. Added a test to verify behavior when there are not any pending requests, further testing will be added when we start tracking the startLOHS requests. Bug: 31466854 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ida9cf996683acca03e5478845721501d12ee1a7f
ifiServiceImplTest.java
|
748932d87b7084ae33f7eb6453e30076b0e20524 |
17-May-2017 |
Glen Kuhne <kuh@google.com> |
P2P: fix add upnp service version number parsing Fixed an error introduced in the p2p hal, where the add service hal was incorrectly decoding a upnp service version as a decimal number instead of hexadecimal. Bug: 38174469 Test: Updated unit tests Change-Id: Ibf085498e2dfe0190810bd96a7868e1f5dacd94d
2p/SupplicantP2pIfaceHalTest.java
|
7b5e49330904ad3db564b57ef3cff1fc63b911b7 |
16-May-2017 |
Peter Qiu <zqiu@google.com> |
SupplicantStaIfaceHal: reset current network info when removing all network So that we don't propagate stale framework network info when receiving events from supplicant. Bug: 38252586 Test: manual test Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: integration regression test Change-Id: I9414bdc332b02a024f3d31d6c9d3504749c7245a
upplicantStaIfaceHalTest.java
|
c5f4b2597df6284d35d2f3af8fb35f72e140c5a7 |
13-May-2017 |
Glen Kuhne <kuh@google.com> |
P2P: Fix onServiceDiscovery callback param parsing onServiceDiscovery was incorrectly constructing a legacy style supplicant ctrl-iface event string to pass to WifiP2pServiceResponse.newInstance. Modified newInstance to just receive the raw HIDL parameters, and skip the string construction and deconstruction. Bug: 38174469 Test: CtsVerifier Service Discovery Requester & unit test Change-Id: I7872d3575f44e8a29b43dffd8fb083022a5a415f
2p/SupplicantP2pIfaceCallbackTest.java
|
5420aa3143c2a21ed2b06cd4db2d9d6f5d0af562 |
16-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantP2pIfaceHal: Restore listenChannel behaviour" into oc-dev
|
b1ccc1af4a8023f351baf2983adadf372eedcbd5 |
12-May-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Return false when disableNetwork fails This was returning the wrong result when WifiConfigManager fails the operation. WifiConfigManager in previous releases would always return success for the operation and hence the bug was masked. Bug: 37976256 Test: Unit tests Change-Id: I69939d935d91b894cf5b8e35e5d40282de21838b
ifiStateMachineTest.java
|
92d08fb607bcf4d9f0dac478f4c14ec45363bfc6 |
12-May-2017 |
Amin Shaikh <ashaikh@google.com> |
Fix NPE in WifiServiceImplTest Bug: 37794067 Test: runtest --path ./tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java Change-Id: Ieb08c9fec1a2b130f156def10a6878c5b3340d4e
ifiServiceImplTest.java
|
d3b9ca7c0e12b83841295b4ebe0023f54de04e0f |
12-May-2017 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Tighten key checks in string parsing When the wpa_supplicant.conf file received during restore is parsed, we look for specific known keys which we use to identify the network type. Instead of checking for lines starting with "<KEY>", check for lines starting with "<KEY>=" which is the general format for all wpa_supplicant params in the network block. PS: This fixes the associated bug because the backup data contained an unknown field called "eapRetryCount" which would have previously matched out check to see if it's an EAP network. Bug: 38248167 Test: Unit tests. Change-Id: Ib4e158c8ed4cd10db694d389e5296e280363f9c9
ifiBackupRestoreTest.java
|
3af7d54afce3e72a8ccf037dd8e4fa30c8ccf878 |
12-May-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Restore listenChannel behaviour Bug: 38246261 Test: Manual tests with curator app. Test: Unit tests. Change-Id: I05e6d8d98e7875d1789e27fe0a34062784c69081
2p/SupplicantP2pIfaceHalTest.java
|
506d139a5358e00e208f02eb6f84be7790525f53 |
12-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes from topic 'onarevert' into oc-dev * changes: Move ONA back into the wifi framework. Revert "Move WifiNotificationController to NetworkRecommendation"
|
cb90e9415a66b9328d5e091317262151e83be823 |
12-May-2017 |
Glen Kuhne <kuh@google.com> |
P2P: Fix cancelServiceDiscovery mis-cast cancelServieDiscovery was mis-parsing/casting a long into an int, and throwing a NumberFormatException. Bug: 38245447 Test: CTS Verifier, updated unit tests Change-Id: I3978f74a9898ad7af0fadf72f8067f89d3fed180
2p/SupplicantP2pIfaceHalTest.java
|
88d77863cb2caeb3a994f7931a08bded96efa71b |
12-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "P2P: handle null p2p_dev_address sta auth/deauth" into oc-dev
|
f72eaac0e38a0f4682839fc1826651015f2c94a9 |
11-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiDiagnostics: disable ring-buffers on |user| builds" into oc-dev
|
7e9eafab778c3920732a965ca9a0b330c6c676d6 |
04-May-2017 |
Glen Kuhne <kuh@google.com> |
P2P: handle null p2p_dev_address sta auth/deauth This fixes an issue introduced with the HIDL interface, legacy STA devices have a null p2p device address, and only use a src address. The pre-HIDL behaviour was to use the srcAddress if the p2pDeviceAddress was unavailable, this CL restores that. Bug: 37961262 Test: Manual verification with LINKS app, added unit test Change-Id: Ib270228e8a2d1f90423c7057052623115f586f64
2p/SupplicantP2pIfaceCallbackTest.java
|
4d31977e4f161e91d9b3bcbc830d72edfaaa1753 |
11-May-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiStateMachine: properly update wifi enabling" into oc-dev
|
f4efccec8a7f8c871dbf0b7360f44d28e0a6db6d |
04-May-2017 |
Amin Shaikh <ashaikh@google.com> |
Move ONA back into the wifi framework. - This is the minimum change to restore the "Open networks available" feature from N and fulfill O requirements without causing regressions - Post the "Open networks available" using the NETWORK_AVAILABLE NotificationChannel. Note that the feature is still enabled/disabled by toggling Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON - Before showing a notification, check if the current user has the DISALLOW_CONFIG_WIFI restriction. See b/35996959 for details. - Add tests for the UserManager check in WifiNotificationController Bug: 37794067 Test: ./tests/wifitests/runtests.sh Change-Id: I0266f63acafc56b995f71420af726933908ce8a0
ifiNotificationControllerTest.java
|
a3458ecb3c1b1a7dae295a6c728242dcc06a04f3 |
05-May-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: properly update wifi enabling When switching modes, WifiStateMachine should only update the wifi state to enabling when actually heading to connect mode. This is currently not the case and we end up seeing the UI update the wifi icon to show that wifi is starting up. Bug: 37925273 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ie3a092c7805b64316c42f2781b14deb3986d2572
ifiStateMachineTest.java
|
24c6c561641948da3315f9f8124fc960b65a70a8 |
10-May-2017 |
Glen Kuhne <kuh@google.com> |
Merge "Fix P2P provision discovery config method" into oc-dev
|
cee93a796f42939b2d4f2e3e5491c3d951694662 |
28-Apr-2017 |
Joe LaPenna <jlapenna@google.com> |
Revert "Move WifiNotificationController to NetworkRecommendation" This reverts commit fcbdc7fdb5612e82991494832a95c73bcc898f12. Bug: 37794067 Test: ./tests/wifitests/runtests.sh Change-Id: I6c4b876fc50d35fbec03dab58fb26caa6e4d1655
ifiNotificationControllerTest.java
|
e64cc58a5ba045a3e6b81994614e2b0a95c7add4 |
09-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add retry logic for wifi Hal starting failure" into oc-dev
|
c343b5ceff3a1153db772a4c0ffb24c6870c3db0 |
06-May-2017 |
mukesh agrawal <quiche@google.com> |
WifiDiagnostics: disable ring-buffers on |user| builds We've seen ring-buffer events cause a number of problems due to overload or deadlock. While the ring-buffers events aren't necessarily the root cause of these problems, the ring-buffer events _are_ a significant factor. Mitigate risk for end-users, by disabling ring-buffers on |user| builds. Bug: 37756562 Test: tests/wifitests/runtests.sh Test: manual test (see below) Manual test: (on bullhead) 1. install |user| build 2. connect to GoogleGuest 3. adb shell pgrep system_server 4. adb shell dumpsys wifi | grep "ring-buffer =" -> expect no matching lines 5. adb shell pgrep system_server 6. PIDs from steps 3 and 5 should match 7. install |userdebug| build 8. connect to GoogleGuest 9. adb shell pgrep system_server 10. adb shell dumpsys wifi | grep "ring-buffer =" -> expect at least one match 11. adb shell pgrep system_server 12. PIDs from steps 9 and 11 should match Change-Id: Ib7cf1f9e9442ed3c3191d2b20b0812afbbf62930
ifiDiagnosticsTest.java
|
cdd40445c5f08de39b1c412f53eb775f03211880 |
08-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Update anonymous identity upon EAP network connection" into oc-dev
|
5a843c0d793abf48de2c77e0b1a54fded88bb018 |
05-May-2017 |
Glen Kuhne <kuh@google.com> |
Fix P2P provision discovery config method Fixes some more bugs introduced with HIDL. When using a PIN for provision discovery, the target config method should be the opposite of the role (KEYPAD or DISPLAY) that the sender is using. This flips the role for the target config method when sending the request, and sends the correct broadcast when completing the provisioning on both devices. Bug: 38002403 Test: Manually tested via Links app, CTS GO Negotiation Test (PIN), updated unit test Change-Id: Ic6f775030c6dd1476f56677fb79c895d59bb25b4
2p/SupplicantP2pIfaceCallbackTest.java
|
b45a7dca630092f56363d16d2ba14d10f69845bf |
05-May-2017 |
Randy Pan <zpan@google.com> |
Merge "Fix how WifiMonitor/WifiP2pMonitor sends a message" into oc-dev
|
098640f533f3fc04cb49cb860f9dc45ad8a19e69 |
02-May-2017 |
Randy Pan <zpan@google.com> |
Fix how WifiMonitor/WifiP2pMonitor sends a message A message can potentially have multiple handlers. Looper recycles the message after one handler is done with it. Sending/copying the recycled message to another handler is problematic. Fix the issue by always sending a copy of the original message. Bug: 37714369 Test: runtest.sh Change-Id: I2f4a4903ac8da94816341def969878f888154b6c
ifiMonitorTest.java
2p/WifiP2pMonitorTest.java
|
a1da73ea4926ce8a5689594ff3685b0fe033d99f |
02-May-2017 |
Ningyuan Wang <nywang@google.com> |
Update anonymous identity upon EAP network connection This allows wifi framework to update anonymous identity provided by authenticator to network configuration. With this, supplicant can use pseudonym instead of permanent identity for EAP-SIM/AKA/AKA' networks. Bug: 37530183 Test: compile, unit tests, manual test Change-Id: Iaf9d709cbcaabb5b183ee14a23982bd99188b91e
upplicantStaIfaceHalTest.java
upplicantStaNetworkHalTest.java
|
3895a16e00aa5899e90c014566e4fe33a63e3619 |
29-Apr-2017 |
Ningyuan Wang <nywang@google.com> |
Add retry logic for wifi Hal starting failure This add the retry logic for starting the wifi HAL because wifi HAL might still be in the process of stopping. Bug: 37681479 Test: compile, unittests Test: manual test toggling the hotspot mode quickly Change-Id: If87d8a0ebdcdf8a0aca233808b9d84393d21f738
alDeviceManagerTest.java
|
1e9f3c08bff48d5a743888b8445432592aece22f |
04-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix potential NPE in WifiService dump" into oc-dev
|
8b484d08ba97fd99dfe56dba4bf2fd1bd81e3cde |
02-May-2017 |
Michael Plass <mplass@google.com> |
Merge changes I2cb3160c,Ie98f2afa,Iebf4b1c3 into oc-dev * changes: [WifiScoreReport] cleanups WifiScoreReport housecleaning [WifiScoreReport] restructuring
|
031cdffdaf223772d4ea52569ec7a08d00013208 |
02-May-2017 |
Glen Kuhne <kuh@google.com> |
Fix potential NPE in WifiService dump Added nullchecks to WifiServiceImpl & WifiMetrics dump methods usage of args. This is a precaution to similar null pointer exceptions that were occuring in statemachine dump methods. Bug: 37907061 Test: Added some unit tests Change-Id: I0ab74421cddc31f7270cdd314fb86678194be0f0
ifiMetricsTest.java
ifiServiceImplTest.java
|
8472ba80953fbbb0227eff5faac497e1bca067b0 |
02-May-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge changes from topic 'LOHSapi' into oc-dev * changes: WifiServiceImpl: update API for LOHS WifiServiceImpl: add tethering check for LOHS WifiServiceImpl: add LOHS permission checks
|
0025465e311fe9504cd79610523a1b8171995acc |
30-Apr-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: update API for LOHS Add a return code for disallowed tethering for the user. Since this needs to be a new failure mode, the return type for starting LOHS needed to change. Updated tests to reflect this as well. This CL will be part of a topic - there is a corresponding WifiManager change. Bug: 37073685 Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I22d1fcf755d1384d482bd03dbc9a6388dfa4d3db
ifiServiceImplTest.java
|
8f4f48b96b690aa099f85aad7a361cf39e431f42 |
01-May-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: update method name for timestamp related APIs Bug: 37514629 Test: build Change-Id: Ib8ade875bd51df6b8fd0f1acb6b730cc545aa084
otspot2/PasspointConfigStoreDataTest.java
otspot2/PasspointXmlUtilsTest.java
|
b09edccf2056d1106da4b901e1e8b26841a02a61 |
30-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: add tethering check for LOHS Before starting up local only hotspot, first make sure we aren't already tethering. If we are, return null since it is not a valid mode change. If not, continue to throw UnsupportedOperationException. Bug: 36765661 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I9a371c4c8ecbbcc658ab8dd844f87b8705bced3c
ifiServiceImplTest.java
|
2fd9436184ea37a297f2abd5e884d30d0014b620 |
29-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: add LOHS permission checks The new calls to start/stopLocalOnlyHotspot and getLocalOnlyHotspotConfig need to have permission checks to make sure only valid callers can turn the hotspot on since that disables wifi. Enabling LocalOnlyHotspot also requires the location permission and that Location services are enabled. A utility was added to ease testing. This CL also adds tests verifying the permission checks. Bug: 36760523 Bug: 37082656 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I91b28ccb44113bb6233a50f643db785e0a509d53
ifiServiceImplTest.java
til/WifiPermissionsUtilTest.java
|
aaa03cbbf831e3518d849d0742539fdf39f0627c |
29-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: add empty calls for LOHS Add new calls to start/stopLocalOnlyHotspot and start/stop observing hotspot updates. The calls will be exposed in a later CL. The calls throw the UnsupportedOperationException until the implementation is complete. Also added tests to verify the exceptions are thrown. Bug: 36704763 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Change-Id: If6895534ecd1db5fafb3a451b26e2d3018cd60df
ifiServiceImplTest.java
|
768b7a7cb87525e92eb1a59a7a3e0c98b9f6f238 |
29-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
LocalOnlyHotspotRequestInfo: track LOHS requests Add a new class to keep track of apps Binder instances that request LocalOnlyHotspot. When the app dies, it will trigger a callback to remove the request. We will also unlinkToDeath when the app calls to stop using LocalOnlyHotspot. This object also contains a Messenger that will allow WifiServiceImpl to communicate updates to WifiManager for the requesting app. Bug: 36732530 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ia366a3cc7339cdea94a137d62905b15b72cf05c0
ocalOnlyHotspotRequestInfoTest.java
|
bb65f9709f0e32e0b592e547815538247cf6e169 |
28-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "P2P: Modify loadGroups & fix NPE" into oc-dev
|
a6ff93d77ccfdf527221f3dfa877303c14cea25d |
28-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Throttle wifi scan requests from background apps (2/2)." into oc-dev
|
b37f46b4ae7c9e9961a5303adb772c56532d45f4 |
27-Apr-2017 |
Wei Wang <weiwa@google.com> |
Merge "Clean up after RTT operations finished. (2/2)" into oc-dev
|
1711409f11610d2d646036306ec8de4fb2f69712 |
22-Apr-2017 |
Wei Wang <weiwa@google.com> |
Clean up after RTT operations finished. (2/2) Uses a single callback for RTT event. Bug: 36185358 Test: Manual with RTT app. Change-Id: I2840aafd39ae23427a069d689ff36f84eea00d33
ifiVendorHalTest.java
|
f98c74c146254de084f8f8f9f15ed8aaae2b0d20 |
19-Apr-2017 |
Michael Plass <mplass@google.com> |
[WifiScoreReport] cleanups Remove references to unused config item config_wifi_framework_cellular_handover_enable_user_triggered_adjustment is no longer used. Don't fetch it. Remove other declared constants that are no longer used. Rename some misnamed constants. Bug: 33085022 Bug: 33013630 Bug: 36364366 Test: unit tests pass Change-Id: I2cb3160c13f3dbc2a51d37db25973770af224203
ifiScoreReportTest.java
|
d350a59494f8b54d46e253fffc48a49ac78fc069 |
18-Apr-2017 |
Michael Plass <mplass@google.com> |
WifiScoreReport housecleaning Remove version with legacy debugging code and convoluted logic, along with some now-obsolete tests. Bug: 36364366 Test: Unit tests pass Change-Id: Ie98f2afacce617d27a14caac39bc13be94872866
ifiScoreReportTest.java
|
9b256a5cb87062b7ae1696324e2bd7c9b1ceca27 |
04-Nov-2016 |
Michael Plass <mplass@google.com> |
[WifiScoreReport] restructuring This version has both the cleaned-up version of the scoring calculation, along with the old. Any differences are logged. Some bugs in the 'old' version are also fixed, to eliminate the diffs. The unit tests now use a real WifiInfo instead of a mock. Test: Unit tests pass Test: Manual test walking away from AP until disconnect, check for diffs Bug: 36364366 Change-Id: Iebf4b1c31004f7c101189d98180b91e532ff7aba
ifiScoreReportTest.java
|
b8adfb745a2c1540db40af204f7de9b1a815071f |
22-Apr-2017 |
Glen Kuhne <kuh@google.com> |
P2P: Modify loadGroups & fix NPE Some of the loadGroups logic was incorrectly transformed from socket to HIDL supplicant calls, (isCurrent vs !isCurrent). Fixed that. startWpsPbc no longer accepts a null value as a wildcard, and causes a NPE. Fixed that too. Bug: 37286961 Test: Manual + CTS Verifier + new unit test Change-Id: Ie24e89f7bc9d0f03511ace2e5c0ac1cbbe31e359
2p/SupplicantP2pIfaceHalTest.java
|
a208bbfb1b4755327c54bc3fcb8bce954f3d76f5 |
25-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes from topic 'experio-scoring' into oc-dev * changes: Create ScoredNetworkEvaluator. Remove CURATE_SAVED_OPEN_NETWORKS
|
84a08e7fc9d72a92935286c2deecad10109f03b8 |
25-Apr-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Specify a match of only the first discovery" into oc-dev
|
a0123342c22401f06fa847da475fc44fa19013ba |
24-Apr-2017 |
Glen Kuhne <kuh@google.com> |
Merge "New Wifi Metrics Connection Event logging" into oc-dev
|
49f29f155e729fd02eeae18b98cfc6ee4910ad3f |
21-Apr-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Specify a match of only the first discovery Configure all subscriber service discovery to wake up the host only on the first match. Reduce power. Bug: 37547045 Test: unit tests and integration (sl4a) tests passing. Change-Id: If94462579244f87e624534e75e1707474588eda0
ware/WifiAwareServiceImplTest.java
|
edabcd4004fe1ad46e58ee973906913cc3edc79e |
23-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: add new methods to start softap Add the implementations for two new methods to control softap mode. These methods will be called by other methods in WifiServiceImpl and also by ConnectivityService. The calls are not intended to be called by applications and will be protected by the NETWORK_STACK permission. Note: this CL is adding the calls, they will be used in an upcoming CL. Bug: 36540346 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Change-Id: I6bc664a32c5df03db1dffb8db20330d9dc904113 Merged-In: I6bc664a32c5df03db1dffb8db20330d9dc904113 Merged-In: If1ab98324b4f860efa93286637a4fdcec7d8f775
ifiServiceImplTest.java
|
bdac915b98217c63284b47a7925f0719c8e40844 |
18-Apr-2017 |
Wei Wang <weiwa@google.com> |
Throttle wifi scan requests from background apps (2/2). Background apps cannot start wifi scans more frequent than once every 30 minutes. Bug: 37320631 Test: Manual test. Unit tests with runtest.sh. Change-Id: I4473dbfa6a9efcb889cca78ed77ff483174be276
ifiServiceImplTest.java
|
f14e4b8fdd949b4ba0feb63dded4d9b233859300 |
15-Apr-2017 |
Amin Shaikh <ashaikh@google.com> |
Create ScoredNetworkEvaluator. - Bring back WifiNetworkScoreCache into the wifi framework - Replace RecommendedNetworkEvaluator with ScoredNetworkEvalutor, which is the same as the previous ExternalScoreEvaluator (ag/1865733) with some changes: * Check whether a ScanResult matches the current network by comparing the matching WifiConfiguration instead of the current bssid * Only create untrusted WifiConfigurations for open networks * Set candidate ScanResults for all WifiConfigurations - not only the final chosen WifiConfiguration * Mark newly created ephemeral WifiConfiguration as enabled for network selection * Log a maximum of one LocalLog line per round of network selection Bug: 37357981 Test: ./test/wifitests/runtests.sh Change-Id: I99da4edb371928efb7ca7a9dcd28ddaca9209da8
ecommendedNetworkEvaluatorTest.java
coredNetworkEvaluatorTest.java
ifiNetworkSelectorTestUtil.java
|
2cf3661d146e2bdd0d761028e91df775c8eabca3 |
14-Apr-2017 |
Amin Shaikh <ashaikh@google.com> |
Remove CURATE_SAVED_OPEN_NETWORKS - Update SavedNetworkEvaluator to no longer reference this setting. - Update SavedNetworkEvaluatorTest#setCandidateScanResultsForAllSavedNetworks to ensure that candidate ScanResults are added to saved secure networks in addition to useExternalScores saved networks and open networks Bug: 37356724 Test: ./tests/wifitests/runtests.sh Change-Id: I87794f339a9910fb343d1994910320efe0feafa2
avedNetworkEvaluatorTest.java
|
46c84f9fd984cc4b67f5252e30bce7f756be558c |
01-Mar-2017 |
Glen Kuhne <kuh@google.com> |
New Wifi Metrics Connection Event logging Created a new StaEventList which logs all commands & messages from Supplicant, Framework and the API that can modify the state of a STA connection. Upto 512 of these are listed atomically and added to the WifiMetrics report. This enables metrics about the full lifetime of a Connection. Bug: 35799311 Test: Added Unit tests Change-Id: I11f75995f15203c9d38f78fe175de0fc4702e3b2
ifiMetricsTest.java
canner/WifiScanningServiceTest.java
|
3871ff67f4a6970f1831fc8951392746c9e2bfa2 |
13-Apr-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: setWifiApEnabled unit tests Add unit tests to cover setWifiApEnabled. This did require a small change to check a tethering permission and add the user manager. Bug: 37294233 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I7bdfdcbdfa60605bc2e61f18aa8abeb4bcaf5c56 Merged-In: I77413789b1b2a19c9330f4c9b9978c4a0f5b5bf8 Merged-In: I33ae84d7282dea967a53a644018e20eb2902eca3
ifiServiceImplTest.java
|
bd0447ff06c5719494960e2e3ec95b84941baf2a |
30-Mar-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Implement custom network specifier Implement support for Wi-Fi Aware custom network specifier. Simplifies code (no string parsing) and provides infrastructure for additional controls on network matching (to be added later). (cherry-pick of commit fed87ea776ae79754b001a0a8cf5cd7d6a312139) Bug: 36275276 Bug: 36053921 Test: unit tests and integration (sl4a) tests. Merged-In: If526f80f3d0a76002b0b5f8a013f8d188b14e456 Change-Id: If526f80f3d0a76002b0b5f8a013f8d188b14e456
ware/WifiAwareDataPathStateManagerTest.java
|
9598644f66920ee6c4c32ba5da4dbcb1080f09d2 |
17-Apr-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge changes I11475732,I8de27f2b into oc-dev * changes: WifiServiceImpl: check calls to enable wifi WifiServiceImpl: test setWifiEnabled
|
05d6ff7612ee795daf3a6fd0ee5a99e01c7a8685 |
03-Apr-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: check calls to enable wifi When the user has entered softap mode, apps should not be able to toggle wifi on. This leaves the user with unexpected behavior. This CL adds checks for softap mode to make sure only Settings and SysUI (Quick and QuickQuick settings) can toggle wifi on. Bug: 36358238 Test: manually Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: wifi integration tests Change-Id: I114757324b529a43c411dc8a01afcb05a23489ee Merged-In: I114757324b529a43c411dc8a01afcb05a23489ee
ifiServiceImplTest.java
|
184a4207f60c2255486c28b45724c71738d087b7 |
31-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: test setWifiEnabled Before adding mode checks, add unit tests to check current behavior. Bug: 36358238 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I8de27f2bceebb589b173d91d79dfa3a5afe6a675 Merged-In: I8de27f2bceebb589b173d91d79dfa3a5afe6a675
ifiServiceImplTest.java
|
5303b9cb6acc2149b454e8aad58f33d8df88ba78 |
26-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: create temp sharing AP config Create a temporary config for use by local only hotspot. These configs are generated by the WifiApConfigStore, but will not be stored. Bug: 36704784 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I3470708a274e97f6e4a752ea1863cfa86bfbf8b6 Merged-In: I3470708a274e97f6e4a752ea1863cfa86bfbf8b6
ifiApConfigStoreTest.java
|
9440acb666a0ec018fb9e0a6ff682d97ca97c076 |
28-Mar-2017 |
Etan Cohen <etancohen@google.com> |
Make the NetworkSpecifier a class instead of a string. Bug: 27533960 Bug: 36053921 Bug: 36275276 Test: unit tests (wifi), integration (aware) tests Change-Id: I6524e678a2f116ec8799c4c029bb3823dd889b2b Merged-In: I9a52ccc70177a86d70cb8f24246109672837875c Merged-In: Ic9fe860aa016d27a981cd76cf4f4214ce2d2bd69
ware/WifiAwareDataPathStateManagerTest.java
|
6abf3c0c866f93ca91c52559283d6ff33abdd295 |
13-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes Ie40bfecf,I26352317 into oc-dev * changes: SupplicantP2pIfaceCallback: Remove quotes around network name SupplicantStaIfaceHal: Change the order of broadcasts
|
d5a56317c4697aab6fc8c277ba33dbce6542db79 |
13-Apr-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceCallback: Remove quotes around network name This is needed to maintain backward compatibility with previous releases. Bug: 37286961 Test: Unit tests Change-Id: Ie40bfecfbb302cb4f5e93695d9a2e60f8c405c56
2p/SupplicantP2pIfaceCallbackTest.java
|
e4a99c6c3d3ce34ac33c7fb63fc4202468580a91 |
12-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix START_WPS null exception" into oc-dev
|
911facd2a26141efe5f242e11a07a9d84a45749a |
06-Apr-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Change the order of broadcasts WifiStateMachine has some assumptions on the order of broadcasts received. It expects the STATE_CHANGE broadcast before NETWORK_CONNECTION one. This was true in the old socket interface ordering of events. So, restore that ordering. This reordering was causing WSM to not set the |meteredHint| and |ephemeral| flags in WifiInfo. Bug: 36840555 Test: Unit tests Change-Id: I26352317f755e114489501c6b7de95c61e06c7d0
upplicantStaIfaceHalTest.java
|
6232408a5fc660b2d8642d56747e05c15c6255b8 |
05-Apr-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: fix failing test Fix failing unit test due to a change in the implementation of registerContentObserver. This method is final so our mock was not being called. The implementation change uses a static method, ultimately the source of the failure. Bug: 36919372 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I15d680fdf1211c1171708a3305bdcdcf4b916961 Merged-In: I15d680fdf1211c1171708a3305bdcdcf4b916961
ifiServiceImplTest.java
|
36f52ffb5fd16c89f022dead27d8df9e51874160 |
21-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: check device encryption at boot When a device is booting, it may need to be decrypted. This extra step will restart system services, including wifi. If this restart happens while we are creating interfaces or loading firmware, we can get odd exceptions end up crashing. To avoid this, we add a check to see if the device needs to be decrypted. If it does, we do not start wifi. Added unittests to cover both decrypted and encrypted boot. Also with and without wifi enabled. Bug: 35416881 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: wifi integration tests Change-Id: I8d471c7d0345611f90782dd3bc1b2261957eee73 Merged-In: I8d471c7d0345611f90782dd3bc1b2261957eee73
ifiServiceImplTest.java
|
781fa6d27f15a1e3b8cc3d3cd7aaa63b38c8d56e |
07-Apr-2017 |
Glen Kuhne <kuh@google.com> |
Fix START_WPS null exception Fixed an uncaught null being passed in through the startWps API. Bug: 36491634 Test: Added a unit test Change-Id: Ic8f5cec9d43332b4c8701582455e662a6f885f20
ifiStateMachineTest.java
|
124d8a17ef2853554dafb64e28fe0a8b1204d6cd |
08-Apr-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiStateMachine: exclude CMD_RSSI_POLL for LogRecs" into oc-dev
|
9a89f4f412a0bac946ad842b437ab9e5e3b59828 |
28-Mar-2017 |
mukesh agrawal <quiche@google.com> |
WifiStateMachine: exclude CMD_RSSI_POLL for LogRecs Due to the frequency with which we execute CMD_RSSI_POLL (every 3 seconds, when the screen is on), the CMD_RSSI_POLL LogRecs often crowd out more useful information. To resolve this problem: don't include CMD_RSSI_POLL in the log records maintained by StateMachine. But, to facilitate debugging of CMD_RSSI_POLL issues, _do_ include CMD_RSSI_POLL when verbose logging is enabled. Ideally, we'd solve this in some other way, so that the LogRecs include all commands processed by the WifiStateMachine. My hope is that we don't lose too much relevant information with this change, because the consumers of the RSSI data do their own logging. Bug: 26960649 Test: unit tests Change-Id: Icea22f9fe23c29cb5d2ad97b10955b74977d5e1a
ifiStateMachineTest.java
|
a805f151c790272d2c016cf59b89b052981bb7ae |
05-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Check validity of staticIpConfigurations" into oc-dev
|
24ee320f5ef7359514bd5167a4a11e31813e5019 |
05-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WSM: Support add/update/enable network in any state" into oc-dev
|
19c1d955a4784f12c49714662569c022b51707e6 |
04-Apr-2017 |
Randy Pan <zpan@google.com> |
Merge "Update PNO scan network list upon network update" into oc-dev
|
140de55c011751c1add7644425d4bd87fa3e0e68 |
04-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: fix parsing of IMSI from legacy Passpoint config file" into oc-dev
|
ab83ab09b554e4012af5cf439efe081504a29b88 |
03-Apr-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: fix parsing of IMSI from legacy Passpoint config file The parsing of IMSI form the legacy Passpoint config file is incorrect. The IMSI field is under "Credential/SIM" node instead of "Credential" node. Bug: 36531896 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manual upgrade device with EAP-SIM Passpoint profile from N to O Change-Id: If6ff9facfb380def84818a4c03c80c0bad4c08a9
otspot2/LegacyPasspointConfigParserTest.java
|
e87ca83103d68c0b9d0166069ccbfa52da533d88 |
04-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "[Reland] hotspot2: track creator UID for installed providers" into oc-dev
|
e271dc73cc98cf2847535aea311a7ca15cedf788 |
04-Apr-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Persist immediately on enable/disable network" into oc-dev
|
5d0addadb370bcbb8900414fb9597bd415e6fea0 |
03-Apr-2017 |
Randy Pan <zpan@google.com> |
Update PNO scan network list upon network update Add a listener interface in WifiConfigManager to notify events such as network being enabled, disabled, blacklisted or un-blacklisted. WifiConnectivityManager listens to the above events and update the PNO scan network list if necessary. Bug: 30399964 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I75523a3a53ff62b14d485fd722354c4d6c3b18c1
ifiConfigManagerTest.java
ifiConnectivityManagerTest.java
|
6f1055408a43428ababffc1d1fa928c825924680 |
04-Apr-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Persist immediately on enable/disable network The change in network state due to public API calls should be immediately persisted (not wait for the buffered write from updateNetworkSelectionStatus to kick in after 10 seconds). This was detected in the test: |test_reboot_configstore_reconnect| which connects to a network and immediately reboots the device. This prevents the last buffered write (for enabling network) to be flushed out and hence the network is reloaded as disabled. Bug: 35811529 Test: Unit tests Change-Id: I6f769429df67d83ad014ef552901a7b1419c7721
ifiConfigManagerTest.java
|
f581432bf2e9d11d2c1d959c203f76ba1fb90573 |
03-Apr-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachineTest: Fix test flake Bug: 36843246 Bug: 36796809 Test: runtest.sh Change-Id: I6a4f204e3266dd249b85a15e60110d4fef641993
ifiStateMachineTest.java
|
07816a4745b8030911869ceb58fa735e47834fe4 |
03-Apr-2017 |
Peter Qiu <zqiu@google.com> |
[Reland] hotspot2: track creator UID for installed providers This is purely for debugging purpose. It is not used for restricting apps that can update/remove configs. Since for Passpoint configuration, the app that's responsible for adding a config might not be the app that's responsible for removing that config. Bug: 36566563 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: verify Creator UID in the output of "adb shell dumpsys" and the config store file Change-Id: I5c651fb204b6e07c2b1d6324350d63d25a38c894
ifiStateMachineTest.java
otspot2/PasspointConfigStoreDataTest.java
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
dc5eab67d9ca3e0453318071746e76b5d16990d6 |
30-Mar-2017 |
Roshan Pius <rpius@google.com> |
WSM: Support add/update/enable network in any state WifiConfigManager can support network addition/updation as soon as the config store is read at bootup. So, add support for it in WSM. ENABLE_NETWORK handling is duplicated because when wifi is off, we don't want to trigger a connection request (when disableOthers is true). Bug: 36773940 Test: Unit tests. Change-Id: Ib4089e45e61062e1043329b2b77d1d19579cb3c0
ifiConfigManagerTest.java
ifiStateMachineTest.java
|
31eb1e8997a0ee98df33f6d8b3b907e0fcb070ed |
02-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: request ANQP element for OSU Providers" into oc-dev
|
39521e6d1069bcaea1865452dc456dea357cf322 |
02-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: initiate disconnect when updating current network's provider" into oc-dev
|
9eacd39e43a93090038e24b6145735408b774387 |
01-Apr-2017 |
Peter Qiu <zqiu@google.com> |
Merge "Revert "hotspot2: track creator UID for installed providers"" into oc-dev
|
f3fd8c5cdaa66dbaceecbe52a125a4657e0c68c4 |
01-Apr-2017 |
Peter Qiu <zqiu@google.com> |
Revert "hotspot2: track creator UID for installed providers" This reverts commit 2e60a41775fc66f245e7413db72002aebe69e823. Change-Id: Ifa60c015adb2bac7d91d000ea21e53d1217bb72f
ifiStateMachineTest.java
otspot2/PasspointConfigStoreDataTest.java
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
27f71578063f5cf8bc500610091fdbf72cca4bae |
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: track creator UID for installed providers" into oc-dev
|
968b1098f6389047b075abacbfa316a012c722a5 |
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: verify CA certificate before installing Passpoint provider" into oc-dev
|
bfeb0f81cfc23628978146cb84626cc20ef21b11 |
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: set domain_suffix_match for Passpoint network" into oc-dev
|
c77b158ce8a31267240607e31f7bb19833e7e934 |
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantP2pIfaceHal: Fixed the usage of the wrong enum" into oc-dev
|
3c6394d352ff171e74cdf3380bde654ccebd5dc2 |
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiStateMachinePrimeTest: update any matcher" into oc-dev
|
7f7b374b3e75a929ab0d46426daf9a5e92c2d85b |
31-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Fixed the usage of the wrong enum The enum used to compare the onProvisionDiscoveryCompleted callback's configMethods mask was wrong. It should be the WpsConfigMethods enum values. Bug: 36805671 Test: Unit tests Change-Id: I48ff9b9872db45dfa54d27553f6de34191e0a50f
upplicantP2pIfaceCallbackTest.java
2p/SupplicantP2pIfaceCallbackTest.java
|
d44fca25d34d80d98c242423c3a5504a325553ab |
31-Mar-2017 |
Roshan Pius <rpius@google.com> |
XmlUtil: Restore networks with CURRENT status as ENABLED When the device reboots while connected to a network, they might have their status saved as CURRENT in the xml store file. When this is being restored, we need to set this network status as ENABLED (since it is not connected at the point of restore). Bug: 35811529 Test: Unit tests Change-Id: I282f56a1c5c3e78b98fb23913772636be68e0f20
til/XmlUtilTest.java
|
63a874bf77ec9b59ae6113e17fd90221c64125fb |
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: set WifiConfiguration#isHomeProviderNetwork for Passpoint networks" into oc-dev
|
40eaab440de6210a857dac19d89bee244db9ced6 |
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Make WifiStateTrackerTest work with Mockito2.0" into oc-dev
|
ca89072bcd5e04f1c7efec08545958751a49bab1 |
30-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachinePrimeTest: update any matcher Passing a null WifiConfiguration to start softap mode is a valid option. The tests need to be updated to reflect this since mockito was updated. Bug: 36658081 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ia1633375b57703edcad3d34954b636c475c8a8e6
ifiStateMachinePrimeTest.java
|
d6ba42b153a41a19c9ce4fb8e63abbe859ad67e9 |
27-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: set WifiConfiguration#isHomeProviderNetwork for Passpoint networks When creating a WifiConfiguration for a Passpoint network, set isHomeProviderNetwork based on the matching status, set to true when matching a home Passpoint provider. Bug: 36592220 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ibe0d9b2f19f9d563547788dba45cee9bcde6a233
otspot2/PasspointManagerTest.java
otspot2/PasspointNetworkEvaluatorTest.java
|
efab6719309021b890dc39b1a7434ea6b7f7bb64 |
06-Feb-2017 |
Sohani Rao <sohanirao@google.com> |
Send Auth failure reason in broadcast intent SupplicantStateChange broadcast intent for authentication failure doesn't capture the reason for authentication failure. To indicate this reason to the user, use the newly defined (but hidden), auth failure codes to make the intent richer. Bug: 33245941 Test: Unit test Change-Id: I76496cfc7365103d9ec74b12d60bde772fcba801
upplicantStaIfaceHalTest.java
upplicantStateTrackerTest.java
ifiMonitorTest.java
|
2078ffdef94c81f7808b56b87e8087bead8a2e09 |
28-Mar-2017 |
Sohani Rao <sohanirao@google.com> |
Make WifiStateTrackerTest work with Mockito2.0 Replace anyString() with any() in order to get the test passing Bug: 36659003 Test: Unit test for WifiStateTracker Change-Id: Id35bab32591a72df3de18b6d771971f8981029b2
ifiStateTrackerTest.java
|
6ecd7a8dcde46e3524c15c4a07075ca06ab681b5 |
30-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: initiate disconnect when updating current network's provider When a Passpoint provider configuration that's being used for the current network connection is updated, we should initiate a disconnect from the current connection so that updated provider configuration (e.g. credential) will be used. Bug: 36777009 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: verify WiFi is disconnect then reconnect when updating Passpoint provider that's used for the current connection Change-Id: Id5ed0883a75ef8b0ca6d238f4e8e52d7a4d36ea7
ifiStateMachineTest.java
|
6236c87501a724cdb4e727b1631ee11db106460c |
30-Mar-2017 |
Randy Pan <zpan@google.com> |
Merge "Clean up saved network score calculation" into oc-dev
|
3108e4b84d64353b6a055655af92271c98ad267e |
30-Mar-2017 |
Paul Duffin <paulduffin@google.com> |
Merge "Remove dependency on org.mockito.compat.ArgumentMatcher class" into oc-dev
|
13fb8e99c1a793c42e102e4f16f63de02f6eeed3 |
29-Mar-2017 |
Randy Pan <zpan@google.com> |
Clean up saved network score calculation 1) Apply band specific RSSI saturation threshold. 2) Remove the no internet penalty since the network should have been blacklisted because of DISABLED_NO_INTERNET. 3) Clean up a couple of line indents. Bug: 36223866 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I9e5a9dda5ba38248ae0d6ed3ac64c46d655c4280
avedNetworkEvaluatorTest.java
|
fab2bc6d0df6f2523d0b8a5ecfebaf1ee936bcee |
30-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Cherry-picl: Remove bssid hotlist from framework" into oc-dev
|
bb9016d1e5f7c2b27502e7d7db13b55460bca88b |
24-Mar-2017 |
Michael Plass <mplass@google.com> |
Cherry-picl: Remove bssid hotlist from framework Bug: 30147676 Test: Relevant unit tests pass, wifi functions Change-Id: Iac6a4c3d4a9e842e73b6122218fe0842126e43e7
canner/WifiScanningServiceTest.java
|
ace82ee060e3e7408cdbba195eab9d0309769ef4 |
29-Mar-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Restrict publish/subscribe count configuration API" into oc-dev
|
bab957bb2055ee595f66bf4a87614efb1327b905 |
29-Mar-2017 |
Glen Kuhne <kuh@google.com> |
Merge "Reset & Stop updating WifiInfo outside ConnectMode" into oc-dev
|
e8fd83b34e2d7e7ac275fef0baa1f33b9982a0b1 |
20-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: request ANQP element for OSU Providers Ideally, we would only want to request OSU Providers ANQP element when no provider is installed and request all elements when at least one provider is installed. However, this would result in more complexity on the cache management and the code. Since the ANQP results will cached, the traffic hits should be minimized. This can be optimized in the future if needed to. Bug: 36174048 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ie948caf4f37b2ff206271bd1d34d14fc2061ead6
otspot2/ANQPRequestManagerTest.java
otspot2/PasspointManagerTest.java
|
9ce3fcacd65cc2171018de70e1a5ad05f9e0ff2c |
29-Mar-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Fix unit tests" into oc-dev
|
f331a6bf511cc9d105a45219548d0ad3feab5a70 |
20-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: verify CA certificate before installing Passpoint provider For Hotspot 2.0 Release 1, the provisioning method is not standardized, so to improve security, the CA certificate must be trusted by one of the pre-loaded public CAs in the system key store. So verify the CA certificate if one is provided before installing the Passpoint provider. A utility class CertificateVerifier is created in order to easily mock the certificate verification in unit tests. Bug: 34460350 Test: manual test Change-Id: I627ef9da2876ffbaf29aadb2d5b281c75ec1d145
otspot2/PasspointManagerTest.java
|
2e60a41775fc66f245e7413db72002aebe69e823 |
24-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: track creator UID for installed providers This is purely for debugging purpose. It is not used for restricting apps that can update/remove configs. Since for Passpoint configuration, the app that's responsible for adding a config might not be the app that's responsible for removing that config. Bug: 36566563 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: verify Creator UID in the output of "adb shell dumpsys" and the config store file Change-Id: I66b744934c1643c6d66eb96d4ee437d6cc09fb52
ifiStateMachineTest.java
otspot2/PasspointConfigStoreDataTest.java
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
2aa7cc7c13207c3afa3ef428ec1c8cdc1893c50c |
24-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: set domain_suffix_match for Passpoint network This is needed to be compliant with the Hotspot 2.0 spec, was missed during the refactoring. Bug: 36569007 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Verify Passpoint network connections Change-Id: Idf1c5ac565d48a38f87f2e2aba824c7cab8c9e9a
otspot2/PasspointProviderTest.java
|
0b74b795587b6aada97c7c63f0febf94c76633e2 |
20-Mar-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Restrict publish/subscribe count configuration API Public API access to publish/subscribe count removed. Enforce restriction on service side. (cherry-pick of commit 16b00750e1d3c41ce9b4ccae9f07e0586e8ca2d0) Bug: 36446307 Test: unit tests and integration (sl4a) tests Merged-In: I28edd79dcf3aa1e34f921a35c388dc0b056831d0 Change-Id: I28edd79dcf3aa1e34f921a35c388dc0b056831d0
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
|
9fdded9b33d8b519b713d682ca63dffc8a2191bc |
28-Mar-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Fix unit tests Update to reflect new mockito semantics. No functional change, no change to test semantics! (cherry-pick of commit 331184d17817a25263e2e731f87a3bc68bc831ef) Bug: 36658906 Bug: 36658964 Bug: 36658672 Bug: 36658428 Test: unit tests now passing Merged-In: I2a500859608789301c17133d521089944b0d1fb2 Change-Id: I2a500859608789301c17133d521089944b0d1fb2
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareNativeManagerTest.java
ware/WifiAwareRttStateManagerTest.java
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
|
653cd53f0906a90fbf5b1d9d0bd30917043d1bfc |
02-Mar-2017 |
Glen Kuhne <kuh@google.com> |
Check validity of staticIpConfigurations Added a check ensuring Static IP wificonfigurations have a non-null StaticIpConfiguration and ipAddress. This fixes a potential stalling of WifiStateMachine in ObtainingIpState indefinitely. Bug: 35849629 Test: Added unit test. Existing pass Change-Id: Ibc55050db99f71acdb821f9c62e0433fda18632f
ifiServiceImplTest.java
|
47b8bdb173893084115ead905ea7ffe847840ca2 |
23-Mar-2017 |
Glen Kuhne <kuh@google.com> |
Reset & Stop updating WifiInfo outside ConnectMode Added a WifiInfo reset call on entering and exiting ConnectModeState, as well as setting WifiInfo SupplicantState to Disconnected. Also removed handling of SUPPLICANT_STATE_CHANGE_EVENT from ScanModeState, which results in no updates to WifiInfo. This fixes an issue where WifiConnectivityManager could become frozen due to wpa_supplicant shenanigans in ScanModeState. Test: Added a unit test Bug: 36416438 Change-Id: Id8f4bd6434937ece08978a6186f6a9b1a6ab9c37
ifiStateMachineTest.java
|
c22ad7f19888f7967edcf30080543bb632ddd68d |
03-Mar-2017 |
Randy Pan <zpan@google.com> |
Same BSSID award When firmware roaming is supported, apply the same BSSID award to all of the BSSIDs under the same network as the currently connected BSSID. This is under the assumption that firmware will roam to that better BSSID. This might save a disconnection triggered by network switch when the score of the currently connected BSSID is lower than a network with a different SSID, but within the currently connected network there is a BSSID better than the currently connected BSSID. Bug: 35642269 Test: runtest.sh Change-Id: Ie09170d0cb11565f72e3b45b702d39c88ababba9
avedNetworkEvaluatorTest.java
ifiNetworkSelectorTestUtil.java
|
17c2a7b30e5680b11fc0073ce322ee7bc14ef2c5 |
03-Feb-2017 |
Randy Pan <zpan@google.com> |
Local log buffer shared by connectivity modules Move the creation of the local log buffer for connectivity modules to WifiInjector. Then pass it over to all the connectivity modules. Dump the log buffer via WifiConnectivityManager. While there, removed the null check in localLog() for all the connectivity modules. Bug: 35642622 Test: runtest.sh and manual test Change-Id: I31866c6fecdd9f50061f47e34e16c701ff230a6c
avedNetworkEvaluatorTest.java
ifiConnectivityManagerTest.java
ifiNetworkSelectorTest.java
ifiStateMachineTest.java
otspot2/PasspointNetworkEvaluatorTest.java
|
ab8c62a5c348702090aceee23de12945cc3fdb0d |
27-Feb-2017 |
Randy Pan <zpan@google.com> |
Firmware roaming configuration management Clear the BSSID blacklist when starting/stopping WifiConnectivityManager or when we are about to connect to a user or app specified network. Write the new roaming configuration to firmware when the BSSID blacklist is updated and both WifiConnectivityManager and Wifi client mode are enabled. Bug: 35642221 Test: runtest.sh and manual tests Change-Id: I841c30f9218b4615252f9a75490a480e2f2d0265
ifiConnectivityManagerTest.java
|
b6686e9d42895f9c2b9f4278cd892149bee04e3a |
01-Feb-2017 |
Randy Pan <zpan@google.com> |
Always honor config specified BSSID When WifiNetworkSelector recommends a network for connection and the WifiConfiguration of the network has a BSSID specified, we always use that BSSID for connection attempt no matter firmware controls roaming or not. If the WifiConfiguration doesn't have a BSSID specified, WifiConnectivityManager doesn't specify a BSSID for connection attempt if firmware controls roaming. If the BSSID of the scan result for the recommended network configuration doesn't match the config specified BSSID, we drop the connection or roaming attempt. While there, made the indent style consistent in the unit test file. Bug: 35641886 Test: runtests.sh and manual tests. Change-Id: I888a65f2f9d4cb418f43775a8ecd1035c0cead28
ifiConnectivityManagerTest.java
|
a54399f6da655dfbe440333ca3682b9199060a27 |
18-Jan-2017 |
Randy Pan <zpan@google.com> |
Hand off roaming to firmware if supported If firmware supports the controlled roaming feature, don't specify the target BSSID when connecting, and framework no longer initiates roaming. While there, cleaned up the indent of localLog() messages in WifiConnectivityManager.java. Bug: 35642216 Test: runtests.sh and manual tests Change-Id: I02355c9b49bbd9275365a43151cc11a81c4696aa
ifiConnectivityManagerTest.java
|
f139f833426aec5258c80fa582ca7007c079c0a2 |
28-Mar-2017 |
Esteban Talavera <etalavera@google.com> |
Fix broken build Bug: 36510794 Test: m -j && frameworks/opt/net/wifi/tests/wifitests/runtests.sh (only to check the compilation part) Change-Id: If7a1d6d849f7993ea381ad2266380f05f65fb7c0 Merged-In: If7a1d6d849f7993ea381ad2266380f05f65fb7c0
upplicantStaIfaceHalTest.java
|
f2e03411f137f55940a8f3592e96a272585bd7dd |
22-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Fixing some nits Remove unnecesary static types defined in SupplicantStaIfaceHal and be consistent with all the other API's in WifiNative. The layer below (i.e WifiVendorHal, SupplicantStaIfaceHal, etc) should convert from WifiNative type to the corrsponding HIDL type. Also, WifiVendorHal can direcly accept a looper in it's constructor instead of passing it a Handler Thread. Bug: 36524196 Test: Manual test & unit tests Change-Id: I90c65f97b0025e6d1416170c18038d4e2064d76f Merged-In: I90c65f97b0025e6d1416170c18038d4e2064d76f
upplicantStaIfaceHalTest.java
ifiVendorHalTest.java
|
45a984619e338090981499e4823e0177649e3c28 |
22-Mar-2017 |
Roshan Pius <rpius@google.com> |
Add try/catch blocks for incoming HAL params Add try/catch blocks for handling exceptions raised during handling incoming params to the HAL calling code. While there, Rename SupplicantStaIfaceHal.addNetwork to SupplicantStaIfaceHal.addNetworkAndSaveConfig Bug: 36510794 Bug: 36510113 Test: Compiles & able to connect to wifi networks Change-Id: Idc52d6ea63c4c23e9a3c8f12827f7b6ef1ea07b8 Merged-In: Idc52d6ea63c4c23e9a3c8f12827f7b6ef1ea07b8
upplicantStaIfaceHalTest.java
|
edf8be948c0879a2153582e853dc048f3060512a |
24-Mar-2017 |
Roshan Pius <rpius@google.com> |
WSM: Reconnect on network credential change Currently, we ignore connect request if we're already connected to the same network. This is not correct for network modifications. Hence, trigger a reconnect in this case. Changes in the CL: 1. Add a new |hasCredentialChanged| param in NetworkUpdateResult. 2. Use that in WSM to determine if we need to trigger a reconnect. While there, Removed a couple of unused setters in NetworkUpdateResult. Fixed WifiConfigManager unit test failure due to mockito change. Bug: 36505419 Bug: 36020928 Test: Unit tests and manual tests via settings UI. Test: Will send for regression tests. Change-Id: I1adaac58108c2f65fb36173a468dff000f5372c8 Merged-In: I1adaac58108c2f65fb36173a468dff000f5372c8
ifiConfigManagerTest.java
|
af0e32cfa2f7402c60b9df88a0d9bd19f421026c |
22-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Handle vendor HAL death The handling is similar to wificond binder death handling. We go back to initial state on the vendor HAL death. Also fixed couple of nits: 1. Fixed the vendor Hal test failures due to mockito change. 2. Renamed the log event handler variable (fixing a previous sed). Bug: 34859006 Test: Unit tests Test: Crashed the vendor HAL manually and verified WSM returned to Initial State Change-Id: Ia2c8249ca5b6857af09f8e996900881ac8a844ec Merged-In: Ia2c8249ca5b6857af09f8e996900881ac8a844ec
ifiStateMachineTest.java
ifiVendorHalTest.java
|
730ccbfc0c291c37265fc0abe67e55f831a9fe38 |
27-Mar-2017 |
Paul Duffin <paulduffin@google.com> |
Remove dependency on org.mockito.compat.ArgumentMatcher class Bug: 32912773 Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh (cherry picked from commit bdbf4228eb7fdfffdde3dffe81f6b53fca44cd02) Change-Id: I3ad3c48d4569019a2cdd9d52994e85be6b8d2272
ificondControlTest.java
|
bb2fdf553e6580923e1dc3e6ac90ca777c5d7226 |
28-Mar-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "disable failing tests" am: 8700fa5b38 am: 1d139c5132 am: cc45b89296 Change-Id: I07c3361c3bee95042e82ee833081663f12fd05e0
|
8700fa5b38ce4d9a439936df04058b557bbd4cd1 |
28-Mar-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "disable failing tests"
|
2f87382a69b04aa6fe90b2ba2f41954525c1f494 |
28-Mar-2017 |
Sohani Rao <sohanirao@google.com> |
Merge "Unit tests for SupplicantStateTracker" am: cb86d10809 am: 9497861799 am: 0327819aa7 Change-Id: Ifed582e4dbf244a4f55bbefaf3a8853cf09134f5
|
cb86d10809667ce2803485382223a7bc19726495 |
28-Mar-2017 |
Sohani Rao <sohanirao@google.com> |
Merge "Unit tests for SupplicantStateTracker"
|
a905b8da5e09573fff79e53a07e6b4d53b697cc4 |
27-Mar-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: fix Passpoint unit test failures due to Mockito changes" am: 7f7773b37d am: e8f4dde21b am: b9194b0438 Change-Id: I599a470c78e7a75fd066650632c663f6a0243c2d
|
7f7773b37d41371517f212ffdda3cca5b7181632 |
27-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: fix Passpoint unit test failures due to Mockito changes"
|
2a3d1bbe1226dca81a6e2387e781acfd77e0072b |
27-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Remove shouldDisconnect and redundant transition" am: f06fd7eebf am: b198610fd3 am: a687043ca4 Change-Id: I64121a06546b704ec5b04a14314c519d8857ef46
|
f06fd7eebff96a7d0cacfc72a1c01ca34b129755 |
27-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Remove shouldDisconnect and redundant transition"
|
2200b0df1f05306c14850030ac6044216ca5cc10 |
27-Mar-2017 |
Roshan Pius <rpius@google.com> |
Revert "WifiConfigManager: Add quotes back for psk" am: 2a4eccdb8a am: 5ece6f34b9 am: 7492bde5f0 Change-Id: I83c0012a05e8942485035d50f7b1e114683c51e7
|
99b966a68495bfaa0bf25b350da71fb5f689ff83 |
23-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: fix Passpoint unit test failures due to Mockito changes Bug: 36407367 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e package com.android.server.wifi.hotspot2 Change-Id: I77751f84c1940717fc754e39df535c912204405a
otspot2/PasspointManagerTest.java
|
2a4eccdb8aab8e028e8bc8e88e13ab73d8627d87 |
25-Mar-2017 |
Roshan Pius <rpius@google.com> |
Revert "WifiConfigManager: Add quotes back for psk" This reverts commit a63ab49c1d20d7a698537b5253d172a8dffc235f. Change-Id: Ic1516df6078001260c721cf8400855297d6cf67a
ifiConfigManagerTest.java
|
bdeb0886b58f41af5522c0c51808ab5d4a6898ec |
25-Mar-2017 |
Roshan Pius <rpius@google.com> |
Unit test fixes for SupplicantP2pIfaceHalTest am: e31ef13082 am: 243de96fd1 am: b9ddcff51d Change-Id: Ifa0d507502482e89a746579dee08dbfe3681d855
|
dd89c797c7e6d09decc1d493f79f70605df5e099 |
25-Mar-2017 |
Roshan Pius <rpius@google.com> |
Unit test fixes for WifiConfigManager/WifiVendorHal am: 28102ffacd am: 8127b1ea3c am: 052c06786c Change-Id: I3778b70263fa8d88b3ddb9b9e9bc943ff30cafcd
|
da7d73da44a47933cfc99660c2d247c24fd72544 |
24-Mar-2017 |
mukesh agrawal <quiche@google.com> |
disable failing tests Disable failing unit tests, except for the ones where a) we already have fixes up for review, or b) the test was failing before the Mockito update The tests are disabled via a new annotation, so that we can more easily track progress on updating the tests to work with the new version of Mockito. Bug: 36407367 Test: runtests.sh -e notClass com.android.server.wifi.WifiVendorHalTest,com.android.server.wifi.hotspot2.PasspointManagerTest,com.android.server.wifi.WifiConfigManagerTest,com.android.server.wifi.p2p.SupplicantP2pIfaceHalTest#testCancelServiceDiscovery_exception Change-Id: Idca42fe735821a29a6dc0ca975bf5d39909ec508
isabledForUpdateToAnyMatcher.java
ifiStateMachinePrimeTest.java
ifiStateTrackerTest.java
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareNativeManagerTest.java
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
|
e31ef130820979e9a5487299ad4486291d840272 |
25-Mar-2017 |
Roshan Pius <rpius@google.com> |
Unit test fixes for SupplicantP2pIfaceHalTest Bug: 36407367 Test: tests pass now. Change-Id: Ibb42e13afecdc22e040726824b034e29218c067d
2p/SupplicantP2pIfaceHalTest.java
|
28102ffacda0802a1c4aa1b7edbbcc2bf01391a9 |
24-Mar-2017 |
Roshan Pius <rpius@google.com> |
Unit test fixes for WifiConfigManager/WifiVendorHal Bug: 36407367 Test: tests pass now. Change-Id: I45fec07e8f041e1043a3bb5da5c855d02e2c27e9
ifiConfigManagerTest.java
ifiVendorHalTest.java
|
99f90f5cb7637ece0358003d3d3355036e6d68f7 |
17-Mar-2017 |
Sohani Rao <sohanirao@google.com> |
Unit tests for SupplicantStateTracker Create unit test(s) for SupplicantStateTracker. Need to modify constructor of the class for testability. Change-Id: I5fb6a049ee09cb07e7d866abd9ed3b2b737f7a6e Bug: 36485448 Test: Unit tests, Sanity (Power on, wifi On, connect to AP)
upplicantStateTrackerTest.java
|
4935869481fa6f33fd99e522b8d8d6bed01cc2aa |
24-Mar-2017 |
Randy Pan <zpan@google.com> |
Fix WifiConnectivityManagerTest am: 3697d5ed11 am: b51583f2ba am: 45f344d61a Change-Id: I2a076aceabe62bd16b7602676059919a4435b662
|
3697d5ed11fea02e6369336d54e19145ba76425f |
24-Mar-2017 |
Randy Pan <zpan@google.com> |
Fix WifiConnectivityManagerTest Bug: 36407367 Test: runtests.sh against WifiConnectivityManagerTest Change-Id: I3eb5342b55fc5dfc40f4a6a45a249d956f802e1f
ifiConnectivityManagerTest.java
|
a5936a61582404692c6046e3b496d3b1d22a94cb |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Remove shouldDisconnect and redundant transition This removes the redundant state transition upon START_CONNECT request. This also removes the shouldDisconnect parameter because supplicant will implicitly disconnect current connected network anyway upon a connect request. Bug: 36535549 Test: compile, unit tests, integration test Change-Id: Ib636eb05e9b37e54deeeb1f107dd47da7fe75ad0
upplicantStaIfaceHalTest.java
|
b8d9814a3706cf5c4daba829e9b5dd2430078c04 |
24-Mar-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: fix failures in PasspointNetworkEvaulatorTest" am: ac6d9af4c5 am: de8c942e61 am: f780e22e29 Change-Id: Id29ba0807ad3388a6073e19a71c59a3ddf237484
|
ac6d9af4c59c3bbf7a11c0e179c7addc5cc6e2da |
24-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: fix failures in PasspointNetworkEvaulatorTest"
|
600cf5594ee20348f3642cbf77a4946dc52e9a6d |
24-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix WifiScanningServiceTest" am: a5ad2d6d80 am: ef71a5876d am: 2ebd8d56e9 Change-Id: I8f8fa32df134eddeb6ce160ecad7e73d065ac68d
|
9538a4defe0e66d4edba1eafc60723c3e4a9619a |
24-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix WificondControlTest" am: 7a9dd7b65b am: 2888a3df14 am: 2879780714 Change-Id: Ie7348cc709297dd8f75741ec69c9a10a6f1c2c28
|
a5ad2d6d804032502d88bcfadbf7c9411c6f949a |
24-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix WifiScanningServiceTest"
|
7a9dd7b65b6cba77613b87e778e9805a49fdbb36 |
24-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix WificondControlTest"
|
8573681ccff85c0cfb79691edf815f26103f729f |
24-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Fix WificondControlTest This fixes WificondControlTest by add the stubbing of getInterfaceName() Bug: 36407367 Test: compile, unit tests Change-Id: I7f0157f40c88e8c972ad728a851b444d5319bc3a
ificondControlTest.java
|
fee1cae825bad9459edcefb67fa600874d875816 |
24-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Fix WifiScanningServiceTest This fixes WifiScanningServiceTest by replacing any(Foo.class) with any(). any() is able to match null. Bug: 36407367 Test: compile, unit tests Change-Id: I04adfea054086f38a9d8a03f800f9436d6ad1d78
canner/WifiScanningServiceTest.java
|
e5be458980ba6313368341c3caf6cf614438fd81 |
24-Mar-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: use android.graphics.drawable.Icon for Passpoint icon data" am: e7efc1b20e am: 497c2e277d am: c0b42e0f03 Change-Id: Ib78f5c93985ef13db11264401ecddf2acb21d421
|
e7efc1b20e644ff622b8f9f042afa34b2a4452ad |
23-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: use android.graphics.drawable.Icon for Passpoint icon data"
|
9af726975141f59dab95524b11c33e1d9fd16da0 |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix WificondPnoScannerTest and WificondScannnerTest" am: a7de2b43f6 am: 0e280a0ee0 am: 6e013009e2 Change-Id: I2576dbdcdbef5891d5428fe2927fa901c5c3e9bc
|
bd7478ac1841804d128740fa1ae7dce64af1e4e2 |
23-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: fix failures in PasspointNetworkEvaulatorTest Bug: None Test: frameworks/opt/net/wifi/tests/wifitests/runtests -e class com.android.server.wifi.hotspot2.PasspointNetworkEvaluatorTest Change-Id: Ia3579ac9c3b491a306b2e9d62cb7dda740f077ca
otspot2/PasspointNetworkEvaluatorTest.java
|
a7de2b43f64463282a07dfa9377e8292e4491d86 |
23-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Fix WificondPnoScannerTest and WificondScannnerTest"
|
24367605737f34ba941aac315d3da210c5805921 |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Fix WificondPnoScannerTest and WificondScannnerTest This fixes unit tests by using any() instead of any(Set.Class). This allowes any() to match null parameter. Bug: 36407367 Test: compile, unit tests Change-Id: Ie9b52d3f4bd837b7af66b669b49224c5d7395378
canner/BaseWifiScannerImplTest.java
canner/WificondPnoScannerTest.java
canner/WificondScannerTest.java
|
4ebe0e0f5723ed58bafaea8b27c0b5ca5852500a |
23-Mar-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: allow Process.WIFI_UID to modify Passpoint networks" am: 26b510e630 am: 70c6644fa3 am: 11091af8e2 Change-Id: I245ad00797b6ed5f02489bcc9f819d4bfbd020cb
|
26b510e6306c9776e7a9fde5f800c9c58bc075d6 |
23-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: allow Process.WIFI_UID to modify Passpoint networks"
|
f660ccc51029bb8fcd2f5e4fd54d078972b35b80 |
23-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "SoftApManager: retrieve config when null" am: fb30401ec2 am: c9b0a3060a am: 92f77d5ca9 Change-Id: Id8121a599e87309793b6b0a3a3374c90ae437219
|
6a5a04fa4fcd71b1448cc6499599b8935f246b6a |
16-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: use android.graphics.drawable.Icon for Passpoint icon data Bug: 35857805 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I0936eb28a4e820b49cdab99fa31364696a27c0f0
otspot2/PasspointManagerTest.java
|
254c1858d2d13582b640c6893c5b1f51339d71bc |
23-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiStateMachineTest: update string matchers" am: 9fe2d67c75 am: ca988991bf am: f816df9f68 Change-Id: I474e0cbbf021521c20fada06e37874ccde146c13
|
fb30401ec20fa2f82c1ae9d37efc367630bb2995 |
23-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "SoftApManager: retrieve config when null"
|
9fe2d67c7529c922f71d6dbc2e10fc65d141a11c |
23-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiStateMachineTest: update string matchers"
|
1294ec27c04b8efffcd1d38056dfa7368eae39a4 |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Separate single scan and sched scan result handling" am: 7a74c36073 am: f0f96d5741 am: b68f68e3bc Change-Id: I43fe1b256d1d35d4c7c7043d47f8927f3b6da517
|
7a74c36073dfe94717b24741538502f9781140cb |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Separate single scan and sched scan result handling"
|
e7f3bdb1ecc717966166c8397a0d49b6493ba637 |
22-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachineTest: update string matchers This CL fixes test failures introduced by the change for matchers in mockito. The test used anyString() where the test value was null. The test now sets the value and uses it in the matcher. Bug: 36407367 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.WifiStateMachineTest Change-Id: Iaae2db2766392fabd4458c2c376655a78eafde34
ifiStateMachineTest.java
|
037724980a7a6c5281422ccbfacbaba908ab46f3 |
22-Mar-2017 |
Randy Pan <zpan@google.com> |
Move BSSID blacklist to WifiConnectivityManager am: 167b90b5e0 am: 497c084dcb am: 99be848186 Change-Id: Ic81cafee9029b624116932ad6ab49a99506fe110
|
3a86cc60b6cd3a5eb7b4982ba98f7e71ad45915e |
20-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: allow Process.WIFI_UID to modify Passpoint networks Passpoint networks are generated by PasspointManager, and can be added to WifiConfigManager via either PasspointNetworkEvaluator (for auto connection) or Settings app (for manual connection). In either case, the network will need to be removed from WifiConfigManager once the connection is completed. Since the Passpoint networks are managed/owned by us, bypass the permission check for any Passpoint network modifications made by us (with UID Process.WIFI_UID). Bug: 36357280 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manual test Change-Id: I5b1bcf3cb882a9d63a1643d8db779788c22b8036
ifiConfigManagerTest.java
|
51493e199ebf1e1191ccf652f0081d229018a11f |
21-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Separate single scan and sched scan result handling Bug: 36479602 Test: compile, unit tests, integration test Change-Id: I066619ca7c53cf7e8e53ce776c1b419201d522f1
ifiMonitorTest.java
ificondControlTest.java
canner/WificondPnoScannerTest.java
|
167b90b5e002698378728a54a417a08c317d29dc |
25-Feb-2017 |
Randy Pan <zpan@google.com> |
Move BSSID blacklist to WifiConnectivityManager Now the BSSID blacklist is managed by WifiConnectivityManager and passed to WifiNetworkSelector for scan results filtration. Bug: 35642214 Test: runtests.sh and manual tests Change-Id: I7afb5e66be471f3582075adb687a7d85ba49a80b
ifiConnectivityManagerTest.java
ifiNetworkSelectorTest.java
|
099b837815bc6e0c24a0e4a4fad0bee8ec339d01 |
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaIfaceHal: Broadcast bssid change event" am: 168fba7187 am: 7a9a3b4d49 am: 8968c27b92 Change-Id: I8461d5305a57bb5572cdf800b92887c04be3028b
|
9f60c8e06a287f00389554361a89387125a61928 |
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge changes I0faf4cff,If7c3473b am: 8e048dfa14 am: aa28ee3bcb am: 821a060157 Change-Id: I6641e88c2f42889157bbe07a1d3a4f2e7edb15a1
|
168fba718720b54cf0a88cfad7f96948925fb1e3 |
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaIfaceHal: Broadcast bssid change event"
|
8e048dfa149e15cd7e0baf0d10ff4358e79e0dca |
21-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge changes I0faf4cff,If7c3473b * changes: WifiStateMachine: Remove networks on enter/exit ConnectMode SupplicantP2pIfaceHal: Add the 2 missing callback handling
|
d8324d5655b2e90ade91a9dffe7632e582f72999 |
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Fix pin sending for connect am: 7395d73fb3 am: 715be5e753 am: 88889efd00 Change-Id: I1963bd12ba0e50ce6b221d1ed19daf7518ba9efc
|
7395d73fb33a6ad5e234f8fc2832810ec8109af9 |
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Fix pin sending for connect Send the pin for all types of WPS connect requests to wpa_supplicant. Bug: 36475029 Test: Unit tests Change-Id: I4965d59c88ea976255b141056224fb46570c2e92
2p/SupplicantP2pIfaceHalTest.java
|
79a79d4b81bda6fcb76ccfdec096ec6ab765897a |
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
Split up WifiNative/WifiMonitor into STA-AP/P2P am: 163f9765f9 am: 33541513a4 am: 429a5e264b Change-Id: I558bea4248bab9cc343c69fd9c82b45f96fe4339
|
35c9c7f7a2f83d81b8d61da834b3960f5b9ffe19 |
21-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Broadcast bssid change event Bug: 36451639 Test: Unit tests Change-Id: Id4dc17fc9b0af1145a264406bf5d540c60c511f2
upplicantStaIfaceHalTest.java
ifiMonitorTest.java
|
56ee240e9e4c6a4967f08faa50cef95bfd5c2949 |
20-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Remove networks on enter/exit ConnectMode Bug: 36189070 Test: Unit tests Test: Turned on/off wifi several times & verified that the networks are removed. Change-Id: I0faf4cffacb440746516122845667a7a7a5e6546
ifiStateMachineTest.java
|
163f9765f9e4c3f868b1e0d630b6adeaa115fb4a |
17-Mar-2017 |
Roshan Pius <rpius@google.com> |
Split up WifiNative/WifiMonitor into STA-AP/P2P With HIDL, there isn't any dependencies between the STA & P2P WifiNative's. So, split up WifiNative/WifiMonitor into 2, one for P2P & non-P2P cases. The WifiP2pNative, WifiP2pMonitor & SupplicantP2pIfaceHal classes are now moved to p2p package. Also, added couple of missing methods in SupplicantP2pIfaceHal from SupplicantStaIfaceHal. Bug: 36371256 Test: Compiles, device boots up and connect to wifi networks. Change-Id: I85ea84355ab2a1803053f663f207b42b793c552c
upplicantP2pIfaceCallbackTest.java
upplicantP2pIfaceHalTest.java
ifiNativeTest.java
2p/SupplicantP2pIfaceHalTest.java
|
15830d28ee4e526a86ed90d02a2b6177edf23829 |
20-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Support for P2P client list and save config am: 2a1078dc37 am: 8773fa1bfd am: e414848248 Change-Id: I2edd53a68af6ca45d750c387b2554d4d075c03db
|
2a1078dc3729bab248bbd28c8336749481e045cf |
16-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Support for P2P client list and save config Also, Moved mac address to long conversion methods to NativeUtil to help with unit tests. Bug: 36042785 Test: Added unit tests. Change-Id: I6c1a78abf8c0f8159195c2542dfe217a7b954df0
upplicantP2pIfaceHalTest.java
|
9a0db4944213876f2bb30e7d0cf079384ffa9f99 |
19-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Reset to default country code when phone is out of service" am: c67240d12b am: 384409871a am: fc4a591f6c Change-Id: Ibd90beb8916f3781e0c0dc795a12e3697d75d5c3
|
c67240d12b213e732cc9e1358349e7163812d524 |
19-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Reset to default country code when phone is out of service"
|
5353a4413684083df0e8ff2fbd6f5f256731bd28 |
16-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Reset to default country code when phone is out of service Bug: 36229469 Test: compile, unit tests, manual test Change-Id: Ic6689cee5f559158cee16c3bf3072e96496f19c6
ifiCountryCodeTest.java
|
6471efc59661843bf95aab46d17d31b9a32c3a54 |
17-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Fix WPS handling am: a21bea22a9 am: fd21b14f1b am: 8418d04ca2 Change-Id: I85e5dae7d3761fcb0c6f65520776c9f702c3cdd5
|
a21bea22a9d442b5886207855ddf63ffee972f0b |
14-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Fix WPS handling Since wpa_supplicant is no longer our config store, we need to read the network params out of it add it to WifiConfigManager after WPS network addition. Bug: 34714021 Test: Manual tests. Able to connect to wps networks now. Test: Some unit tests. It can be better, but need to figure out how to extract the message reply from WSM. Change-Id: I41231698c7e99ec46d34a60a70c04a6ee25ebfe4
ifiStateMachineTest.java
|
1356c05b7b5d5ca0e7f79340355e50cf8e5df39d |
17-Mar-2017 |
Paul Duffin <paulduffin@google.com> |
Remove ambiguous wildcard import of org.mockito.Matchers.* am: 029cbaebb9 am: 7000e9738f am: 0c95368083 Change-Id: Idb9a9c73d6f4f1a6c451a82da8f081fb0ff2f5f9
|
029cbaebb9ae0c1ef8596f56101e59984a71d64f |
17-Mar-2017 |
Paul Duffin <paulduffin@google.com> |
Remove ambiguous wildcard import of org.mockito.Matchers.* The recent upgrade to Mockito 2.7.13 has caused some problems for grok (and new javac toolchain). The changed files used wildcard imports to import the same methods from both Matchers and Mockito. This was not a problem previously because in the previous version of Mockito the Mockito class extended the Matchers class and so even though two methods with the same name were imported they were not treated as a conflict because they were treated as being the same method. In 2.7.13 the Mockito class no longer extends the Matchers class instead they both extend the ArgumentMatchers class and so for some reason javac no longer treats them as the same method. This was not detected by presubmit builds because jack is still treating the methods as being the same. Bug: 32912773 Test: m -j32 ANDROID_FORCE_JACK_ENABLED=disabled FrameworksWifiTests Change-Id: I4f505b2b0450e14a65ff3a6ba2dc7b3583592047
ifiControllerTest.java
ifiLockManagerTest.java
canner/WifiScanningServiceTest.java
|
12d88e1561f3a8a959f5add9b61c668d04437476 |
17-Mar-2017 |
Peter Qiu <zqiu@google.com> |
Merge changes from topic 'legacy passpoint indicator' am: 44104c69e8 am: 8166105ea7 am: ab5e48f755 Change-Id: Ic92ebb520683b855340fcee3690a839c6bacc257
|
b4c12f96b76e2f831e6eb33f1ac53e20440190d1 |
17-Mar-2017 |
Peter Qiu <zqiu@google.com> |
WifiConfigMangaer: use updated legacy Passpoint config indicator am: 018e39e2f6 am: 1395be1e70 am: 8106f6ce92 Change-Id: I0ff73f38c8db168b8c9852d3eb232f9f9ed95633
|
ed81bd99e9e89062796d78366f6614706c8d855f |
17-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for WifiStateMachine#syncGetMatchingWifiConfig am: 48c93da3c5 am: ba15667e97 am: e948a05668 Change-Id: Ib9bd31d48e64c03a1f04483e35d540426b316753
|
c4ffd679940aa0177a0fba2c8693619f8b3cc6e9 |
17-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: update semantics for PasspointManager#matchProvider am: b54f07e01c am: f80d78535b am: 874395d470 Change-Id: I545a1bdc18d3a92730d8da73e333f6f872fb9b81
|
ff5296a14a7b1336bdfd78d9dbd43de0adefe013 |
17-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: use ScanResult to match Passpoint providers am: ec28f863c5 am: 9d1bf067f6 am: 8c8d999ebc Change-Id: I4159557c607b432a6bb81e008981038c9f344223
|
018e39e2f6201519373e7f4dbb1427f0e5274898 |
10-Mar-2017 |
Peter Qiu <zqiu@google.com> |
WifiConfigMangaer: use updated legacy Passpoint config indicator Bug: 36101691 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I85cd5619072ec978913df932c0b47ebe696074bc
ifiConfigManagerTest.java
ifiConfigStoreLegacyTest.java
|
48c93da3c53650a62bc827199840137417c0825a |
09-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for WifiStateMachine#syncGetMatchingWifiConfig This function will try to match a Passpoint AP to an installed Passpoint provider. Once a match is found, it will generate and return a WifiConfiguration for the given Passpoint AP, which will contain all necessary credentials for connecting to it. Note that, the generated configuration is not added to WifiConfigManager. The consumer of this WifiConfiguration (e.g. Settings app) can use this WifiConfiguration to initiate a connection via WifiManager's API. This operation is only supported in client mode, since PasspointManager might issue ANQP requests when matching scan result to a provider. Bug: 35888100 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: install Global Reach Passpoint profile and verify the Global Reach Passpoint AP in the Settings UI is shown with "available via xxx" text. Change-Id: I9bbd57819326d285367e89a342f21da79fc33555
ifiStateMachineTest.java
otspot2/PasspointManagerTest.java
|
b54f07e01c9daef8883c85e09f61436f2c06cc72 |
07-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: update semantics for PasspointManager#matchProvider Instead of returning a list of matched providers, it will now return the best provider for the given AP (based on ScanResult). It will return null if no match is found. So PasspointManager is responsible for ranking providers for a given AP (based on ScanResult), while PasspointNetworkEvalutor is responsible for ranking Passpoint networks with matched provider. Bug: 35888100 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Manual test with Global Reach Passpoint AP Change-Id: I9e2a76aaf319f6180d7767fe8f713547221feb6c
otspot2/PasspointManagerTest.java
otspot2/PasspointNetworkEvaluatorTest.java
|
ec28f863c5e46c0a75e8bdb92283304b875ee0f2 |
07-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: use ScanResult to match Passpoint providers This removes ScanDetail and NetworkDetail dependencies from PasspointManager, and allows provider matching to be performed using ScanResult instead of ScanDetail. Bug: 35888100 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manual test using Global Reach Passpoint profile Change-Id: I229f042352e2d51cfaf9c154d707f3b6b39b2c5d
otspot2/ANQPRequestManagerTest.java
otspot2/PasspointManagerTest.java
otspot2/PasspointNetworkEvaluatorTest.java
otspot2/PasspointNetworkScoreTest.java
|
9ef555a48ac600c8766f703fa60db15b69e20301 |
10-Mar-2017 |
Peter Qiu <zqiu@google.com> |
WifiConfigurationXmlUtil: persist additional fields for legacy Passpoint configuration When migrating legacy Passpoint configurations, the configuration will only get migrated when its owner logs in. In the meantime, we will need persist all the required data in the share store temporarily. So persist the additional required fields for Passpoint to the storage to avoid any data loss in the case when migration took multiple boots to complete. Bug: 36099588 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manual test updating a device from N to O, verify all configs are migrated. Change-Id: I040dfd9f207ed1a9b2e3ccd50eca50560d6e1444
etworkListStoreDataTest.java
ifiConfigStoreTest.java
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
8e7a3131a0903a049623eb553f270c123c2c173a |
16-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantHal: Fix Wps PBC/Display setup" am: 15d4e32d0b am: ff31a7c427 am: 3631993e85 Change-Id: I5fde09af599548c764550012edf31c0a56937efd
|
15d4e32d0b4ae41eb582aeef9e9c97792e25f703 |
16-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantHal: Fix Wps PBC/Display setup"
|
23b9ad32d1b903a2527ad7ef8deae78b51eddc97 |
16-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Stop supporting persistent country code am: 586197ab0e am: cb937877d4 am: fda3524c35 Change-Id: I192a882351827df4be6309bf3881cf60627a7779
|
d19743b66ba214a8c4a5166d1fe7d938f97a3f03 |
14-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantHal: Fix Wps PBC/Display setup For Wps PBC/Display the app can choose to send a null bssid to indicate that we want to indicate wildcard. So, add support for it. Change NativeUtil.macAddressToByteArray to allow null/empty strings which would return all zero'ed bssid. Bug: 34714021 Test: Unit tests Test: WPS setup can now be initiated via settings app. Change-Id: I223eb9666163a0f02fe6b68480b1a05895563803
upplicantP2pIfaceHalTest.java
upplicantStaIfaceHalTest.java
til/NativeUtilTest.java
|
586197ab0ed6d1c9d76c7b461a19ab8733ce9b3a |
14-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Stop supporting persistent country code This actually reverts ag/1108739/, which we don't need anymore. Bug: 29353903 Test: compile, unit tests Change-Id: Ic0e52f0832d0b78a3b6f7e24694e2b0427866d75
ifiCountryCodeTest.java
|
a92ba32e8d79bdffa4ec8efe158e808c02655fec |
15-Mar-2017 |
Randy Pan <zpan@google.com> |
Merge "Schedule a scan immediately when disconnected" am: 1df53b3ec0 am: d4f7867a19 am: 56a9011a03 Change-Id: If32214b0e0c87c793b5764131e360e8d5b35bda7
|
1df53b3ec09d8bd1713b55167ebe283bd1c1a9e9 |
15-Mar-2017 |
Randy Pan <zpan@google.com> |
Merge "Schedule a scan immediately when disconnected"
|
4e0a1bafa7a86e2840c855846f3fdaee9cd00424 |
10-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: retrieve config when null To support temporary softap configs, SoftApManager will not automatically write out passed in configs to the WifiApConfigStore. This means that Settings will need to continue explicitly saving config changes through the WifiManager API and cannot depend on a call to start softap to write a new config. Bug: 35809698 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: Wifi integration tests Change-Id: I60e138ada3258e29ed4f411616e85b553c7dd34d
oftApManagerTest.java
|
53aa2cc5f30cf53c73324a4629b404d49023a0dc |
15-Mar-2017 |
Michael Plass <mplass@google.com> |
Merge "BgScan rename for wifi vendor background scan" am: f66217fc1b am: 5af7cdd3d8 am: 1eef091776 Change-Id: I2d97934b64dec3c733a3f2528e5b1be210501d4d
|
a6c9196ab06177459471e7307415802ebb8fcafb |
15-Mar-2017 |
Michael Plass <mplass@google.com> |
Merge "[SupplicantStaIfaceHal] Detect PSK mismatch" am: f1b57b5f1b am: 384f1e83f8 am: 573be03ed2 Change-Id: I728e8a18e5652656c4787c3d26f427136a7a3503
|
f66217fc1b9631cfdafa9fbb51296146fd777317 |
15-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "BgScan rename for wifi vendor background scan"
|
f1b57b5f1b6bb710a5db5afb91aa101417f26347 |
15-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[SupplicantStaIfaceHal] Detect PSK mismatch"
|
3a861cce1ca6416175a1657c8c2b7ced3cc67fa5 |
15-Mar-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: ignore Passpoint networks in SavedNetworkEvaluator" am: 7c4e3b39a5 am: 91f699078c am: 692150076f Change-Id: I386e9cee9f39b590d29c98663e630178e06832a2
|
7c4e3b39a5fba0749cab3c244dcda45a1ff3c35b |
15-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: ignore Passpoint networks in SavedNetworkEvaluator"
|
7fa6b3923dc14351bca10ef501786dd7d0eb2e21 |
14-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiStateMachine: Note user selection only for settings app" am: a4d316f8e7 am: b78c831e79 am: 4137f1c86f Change-Id: I451af45a0ddf68d12b4c69a7af90079798b371ed
|
67a4541372684c5d0a3f834f8be76bd8d29ca7ac |
14-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: ignore Passpoint networks in SavedNetworkEvaluator While there, enable the Passpoint network when it is created by PasspointNetworkEvaluator to be more consistent. Bug: 36218488 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I72fa55a9cb6baf71e8650e10cb54b496a7be1343
otspot2/PasspointNetworkEvaluatorTest.java
|
a4d316f8e789bc1aa6645235f139e48636fe1f2d |
14-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "WifiStateMachine: Note user selection only for settings app"
|
6ba8a37de432d957e10dd9cc74798758870d02e6 |
14-Mar-2017 |
Michael Plass <mplass@google.com> |
BgScan rename for wifi vendor background scan Also clean up some stale todos Test: Unit tests pass Bug: 35806209 Bug: 34900537 stale todo fixed by b/35101185 Bug: 34901818 removed todo Bug: 34901744 retarget todo to b/35138520 Change-Id: I90a77a1aad7ff55c26ee70b383bcdbd16cac32cf
ifiVendorHalTest.java
|
92e43feb3eb54736a28226b588bc087fdda1646e |
11-Mar-2017 |
Michael Plass <mplass@google.com> |
[SupplicantStaIfaceHal] Detect PSK mismatch Use checks analogous to those in wpa_supplicant_8/wpa_supplicant/events.c to decide whether or not a disconnect is likely due to an incorrect password. Test: Attempt to join a PSK network with the wrong password Test: Unit tests added Bug: 35464954 Change-Id: I47196cf89dbd602c22a61b430b764c7ea76f04d5
upplicantStaIfaceHalTest.java
|
d6b541c35b7196a9317a645944b7ab0a6e2482e9 |
14-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Add support for more than 1 radio stat instance" am: eb26485dd3 am: 68f2425919 am: 45f20dd63d Change-Id: Iff9ab131028c49b147d61900fc706977d313991f
|
eb26485dd36b83676b4931e415f20b284abd7dfc |
14-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Add support for more than 1 radio stat instance"
|
6e482c9c1882fd32edb446aa6f2f1e080a5cda25 |
14-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: protect Settings softap config" am: e65f63b675 am: 193d9023ac am: 838083e229 Change-Id: I22f08ab46ef10b52a9f28e7da7e9fb21f258e281
|
e65f63b6758b2c310a17263fab622adf798e47cd |
14-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: protect Settings softap config"
|
3d5cb3a914766414039a1a1261af8452c15efbb9 |
14-Mar-2017 |
Randy Pan <zpan@google.com> |
Merge "Helper class for Wifi connectivity operations" am: c6b2bac85c am: 8c895ff8e1 am: 2b2a72a2bd Change-Id: I1d5b12b7281bbb24fa6a5d625291bff104078a04
|
c6b2bac85c9cabb01058169279e238168a47d405 |
14-Mar-2017 |
Randy Pan <zpan@google.com> |
Merge "Helper class for Wifi connectivity operations"
|
a1727e40dc6b2742df5b32451f1dfa787fc6aa98 |
14-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Note user selection only for settings app The previous CL for this bug also modified the user selection when we let non-settings app to initiate connection. This bug CL reverts that, non-settings app can only initiate connection, but not set user connect choice. Bug: 36040264 Test: Unit tests Change-Id: If70fe974274277bd804f5cc17a5751dee76f44e3
ifiStateMachineTest.java
|
9ca3944e48689ee1d72eed1ed27bc19ecea2c039 |
13-Mar-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] Add support for more than 1 radio stat instance Bug: 36148086 Test: Existing Unit tests & manual tests on newer devices. Change-Id: Ibc84f4217f0e9cb7b59d60ab606dbd2fa443cb2e
ifiVendorHalTest.java
|
4fdbb2cd44da9cd50bfdc022e7fcf7eec53986a6 |
14-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: use the updated public intent definitions"
|
efe96b06536c59bf0e47d83c5544b228caf5111f |
13-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Rename SupplicantWifiScannerImpl to WificondScannerImpl am: 05d51a2d8e am: e11ddc06aa am: bea1f6ae58 Change-Id: Ic65d1cc964329c93e53b5a3f3bc39a8bc9f68b06
|
915a3782e33684562dff8a0897d1446227301b75 |
13-Mar-2017 |
Randy Pan <zpan@google.com> |
Schedule a scan immediately when disconnected This gives the device a chance to reconnect as soon as possible. Bug: 35188856 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I8eb019ca11b2b63ab17edcc2fa60fb8795141951
ifiConnectivityManagerTest.java
|
b48796131ddd016071144f77f208360e8c408f0e |
02-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: use the updated public intent definitions While there, add unit tests for handling WNM frames. Bug: 35857805 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ic546aa2854d925a9546fcabdca92fc056c2435f4 Merged-In: Ic546aa2854d925a9546fcabdca92fc056c2435f4
otspot2/PasspointManagerTest.java
|
6eaae7e66124abce3c9ab218d7bf0d00a943aa8d |
13-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: use the updated public intent definitions"
|
9c7730dd2cbf7c8d0d42052bee15a7a1323b8133 |
24-Feb-2017 |
Randy Pan <zpan@google.com> |
Helper class for Wifi connectivity operations Add a helper class for WifiConnectivityManager and WifiNetworkSelector to interface WifiNative for connectivity related operations. Initially implement firmware roaming related methods. Bug: 35643651 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ie8b6547fdb6cb0026d3746d56db9a9665b840b78
ifiConnectivityHelperTest.java
|
05d51a2d8eb67ea2eaf4cae43280d1cf9fe92645 |
02-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Rename SupplicantWifiScannerImpl to WificondScannerImpl This also fixes a few formatting issues. Bug: 35707137 Test: compile, unit tests, integration test Change-Id: I1b6642b723c5676620d65136cc6c773b49e28559
canner/BaseWifiScannerImplTest.java
canner/SupplicantPnoScannerTest.java
canner/SupplicantWifiScannerTest.java
canner/WifiScanningServiceTest.java
canner/WificondPnoScannerTest.java
canner/WificondScannerTest.java
|
dbe0b20c52382bc600852fd73c75ba8685463045 |
11-Mar-2017 |
Paul Duffin <paulduffin@google.com> |
Merge "Refactor code incompatible with Mockito 2.7.13" am: 5a9f890485 am: 03ea367389 am: f0bad7a2a2 Change-Id: I01a07fd1b01797710bf630e16160a7a038c327a3
|
5a9f890485371054fb52dc7e17478d074ee2e856 |
11-Mar-2017 |
Paul Duffin <paulduffin@google.com> |
Merge "Refactor code incompatible with Mockito 2.7.13"
|
951121b2101909e1c4041a07d0dceb723c2883d7 |
11-Mar-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Synchronize clearing of handles am: e1d5fa72eb am: 1c8169105d am: b472ba351e Change-Id: Ifdad26257453aa06098f1c2ae71ee88074dade28
|
e1d5fa72eb35fb8f936e19d0830548593de6a6ff |
10-Mar-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Synchronize clearing of handles Test: Unit tests Test: manual test of start/stop ap mode on both bands Test: manually kill hidl wifi service Bug: 36119402 Change-Id: I9991e7c723423892a5a185c3ec08cf93d3b7be2b
ifiVendorHalTest.java
|
daf64460268bbf258c54cf8d0d1af3c8b55fd361 |
11-Mar-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] link layer stats unit tests" am: c01e0416b7 am: 01c924b132 am: 2461429d26 Change-Id: I4f813e79e0c3da36e7748fdf60eb9a7dc1dd4b30
|
c01e0416b71b561d9aa7f8fb788ed45866a2ed3d |
11-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] link layer stats unit tests"
|
2e09710368280e06d60d22eb6921ecf7a2951cbc |
11-Mar-2017 |
Peter Qiu <zqiu@google.com> |
util: add utility functions for retrieving Hotspot 2.0 specific IEs am: 9e83e33d44 am: d63fbe170c am: fe27c6690f Change-Id: Ia4932a3666b5f128d810b85143124c09755bd9b6
|
9e83e33d444446e59aa59fc355972ff804d8eafa |
07-Mar-2017 |
Peter Qiu <zqiu@google.com> |
util: add utility functions for retrieving Hotspot 2.0 specific IEs Instead of using the parsed IEs maintained in NetworkDetail, the interested party can use the newly added utility functions to retrieve the elements that it is interested in. This allows us to remove the NetworkDetail dependencies from Passpoint code. I think if we ever want to maintain a copy of parsed IEs, it should be in ScanResult instead of NetworkDetail. Bug: 35888100 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I69849728c93d3e1f9b6c7bda1e5c21cfdb40689a
til/InformationElementUtilTest.java
|
699cb92ca94c3fbd883472937ab3b071cafadf77 |
08-Mar-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] link layer stats unit tests Refactor getWifiLinkLayerStats to make the conversion part more testable. Add test for the link layer stats conversion. Test: New test Bug: 33384303 Change-Id: I322d30c451769c6cbbc1ac048d48af8aaa0ce39e
ifiVendorHalTest.java
|
3a34398ff796fc39ff539394a63032da4c82e386 |
10-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Allow any app to initiate connection am: 4a5f4e08d6 am: 34f6dd1663 am: 9cc5150c36 Change-Id: I58a798955eaafcc6ae020bb7fced96ae67437f40
|
c009536b77947039fd232bb5ce70a494639b9518 |
02-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: use the updated public intent definitions While there, add unit tests for handling WNM frames. Bug: 35857805 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ic546aa2854d925a9546fcabdca92fc056c2435f4
otspot2/PasspointManagerTest.java
|
4a5f4e08d677a6da1b436e58d027de99518a97cf |
09-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Allow any app to initiate connection This brings the existing API's in parity with behaviour in N. We allow apps to initiate connection to a network even if they have no permission to modify it. Bug: 36040264 Test: Unit tests Change-Id: I3316877ea88969fe4397552fea9461acb4d52cf2
ifiStateMachineTest.java
|
75604d5cc2934b9740371f91f9b5e72e594f756b |
10-Mar-2017 |
Roshan Pius <rpius@google.com> |
Remove all legacy HAL usage from framework am: b8b3fb8228 am: 23014c56a4 am: dcb18d42a1 Change-Id: I1f68855260304b6be21e2184aeddd85fe4368542
|
441e6afc53f4335923cfcbec0b33cac7a66c1c07 |
10-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Enable P2p HIDL iface am: 96c464e935 am: 3b4f6ebd78 am: 27fdb9081b Change-Id: If8cbadb9b040b672a334f0532168073a38a9f807
|
160c5fd3f82eeed7271d0efc44b6a409c9176326 |
09-Mar-2017 |
Paul Duffin <paulduffin@google.com> |
Refactor code incompatible with Mockito 2.7.13 Bug: 32912773 Test: make checkbuild Change-Id: I78992a8c3bef98be2931d5aa5913c9c4033647cf
ificondControlTest.java
canner/WifiScanningServiceTest.java
|
b8b3fb8228a1f90106bad8c59ce006b81ef7921c |
09-Mar-2017 |
Roshan Pius <rpius@google.com> |
Remove all legacy HAL usage from framework WifiNative now just becomes a module to route calls into the appropriate native module: WifiVendorHal, WificondControl, SupplicantStaIfaceHal, SupplicantP2pIfaceHal. Changes in the CL: 1. Cleanup WifiNative to remove the legacy HAL usage. 2. Remove the |HIDL*| flags in WifiNative. 3. Remove static instance of WifiNative/WifiMonitor. 4. Remove WifiMonitor code parsing the string events from wpa_supplicant. 5. Remove all unused jni code used for legacy HAL interactions. 6. Remove dependency of libwifi-hal & libwifi-system from framework. Notes: a) We can now potentially split up WifiNative into separate chunks: WifiStaNative, WifiP2pNative, WifiRttNative, etc instead of having a monolithic WifiNative instance. b) We may have to add back the local log in WifiNative (b/36059665). Bug: 35702893 Bug: 34457880 Bug: 34884202 Bug: 35421721 Test: Compiles, existing unit tests pass. Test: Device boots up and connects to wifi networks. Test: Verified with wifi regression (b/36068282) Change-Id: I3e13522c912242af8023471e029edb1ce47fd3e9
ockWifiMonitor.java
ttServiceTest.java
upplicantStaNetworkHalTest.java
estUtil.java
ifiBackupRestoreTest.java
ifiConfigStoreLegacyTest.java
ifiDiagnosticsTest.java
ifiMonitorTest.java
ifiNativeTest.java
ifiStateMachineTest.java
ifiSupplicantControlTest.java
canner/HalWifiScannerTest.java
canner/SupplicantPnoScannerTest.java
canner/SupplicantWifiScannerTest.java
|
96c464e93515cda4326ca93ecf8a90c9ab551b7f |
08-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Enable P2p HIDL iface Also, 1. Port over Wps set methods from sta iface for P2p. 2. Add method for removing P2p network. 3. Add nfc methods. 4. Move set/get p2p client list method to WifiNative. 5. Other misc cleanups. Bug: 33383725 Test: Device boots up with P2P Change-Id: I31999222a0207bb0101961bab079f4c628137a1a
upplicantP2pIfaceHalTest.java
|
6b04563db1b9bf5cedd866e0592f4c1e77dde109 |
09-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiPermissionsUtil: add checkConfigOverride am: 835e781643 am: e1894184ac am: c9e0c9b182 Change-Id: I32118d045c3f07f3a0aaba30459dc199ddeefa31
|
5c5e8b347d32f7bf5bb1e6f40b1e350f1e9fb0f3 |
02-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: protect Settings softap config Do not allow temporary softap configs to overwrite the user specified softap config. Bug: 35809698 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: Wifi integration tests Change-Id: Id6bde08025cea8828e3106482c72ec04d01ff2cb
ifiServiceImplTest.java
|
835e781643b79c30fabbab5595770cf01b5861fb |
01-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiPermissionsUtil: add checkConfigOverride Add a helper method to allow callers to check the calling UID for the override config permission. This CL moves the call from WifiConfigManager to the util/WifiPermissionsUtil class and adds tests. Bug: 35870086 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Change-Id: I5aa1bbc82eb86408272564365d45b7ddbf7cc661
ifiConfigManagerTest.java
ifiStateMachineTest.java
til/WifiPermissionsUtilTest.java
|
68ebc5f3b76acd5e8bfe8f32da58d7c5c7ff844c |
09-Mar-2017 |
Amin Shaikh <ashaikh@google.com> |
Move adjustCandidateWithUserSelection to WifiNetworkSelector am: 235642dba4 am: 81284deb65 am: 59ee8d3242 Change-Id: I39cfc37e8597b7a52536a2868796f648d5c37d88
|
235642dba4359c1e68618f27c949e744765cbbcc |
07-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Move adjustCandidateWithUserSelection to WifiNetworkSelector WifiNetworkSelector#setUserConnectChoice contains all of the logic for favoring a user selected network over other visible networks present at the last round on network selection. However, the logic for using this data is contained in SavedNetworkEvaluator#adjustCandidateWithUserSelection. This has the side effect that RecommendedNetworkEvaluator or any new NetworkEvaluator in the future can override the user's explicit intent to choose a specific network. This change moves adjustCandidateWithUserSelection to WifiNetworkSelector, fixing this bug and bringing all user connect choice logic into the same class, WifiNetworkSelector. Set a candidate ScanResult for every WifiConfiguration in SavedNetworkEvaluator, regardless of whether it is externally scored. This ensures that the user connect choice is respected if an externally scored network is selected by a user over a secure saved network. Bug: 34971941 Test: ./runtests.sh Change-Id: I8730aee89dbee0ebb97161a56f00c026139ef5c9
avedNetworkEvaluatorTest.java
ifiNetworkSelectorTest.java
|
c016ddb04241e43d63b1bdde8a33d81f8c662d15 |
08-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge changes from topic 'raw_psk' am: 1f5fa78215 am: a528767237 am: 53ae304c75 Change-Id: Iaa9aec2860db7ac8ad64015e3bffbd22ce370984
|
b16313e509350e1fa7a150d0ed4e88fe9ff5d78d |
08-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Add support for raw psk am: f50550926a am: a2bf881173 am: 70d7247944 Change-Id: If5537a9f57764b8a76f8fa6278559d2bf0a63962
|
a2bf8811732728055f6ffcaefb93c59351d982fd |
08-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Add support for raw psk am: f50550926a Change-Id: Ia8a4418c0aa829467ebf726c19298720da0e7ca0
|
1f5fa7821525dfaa5344a58f4d1efd0eb4e8c039 |
08-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge changes from topic 'raw_psk' * changes: WifiConfigManager: Add quotes back for psk SupplicantStaNetworkHal: Add support for raw psk
|
20362ac8c0f68c6678493061c8239a145ae47f0b |
08-Mar-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Additional bg scan unit tests am: 136c7ba4dc am: fad1124cde am: 0ef46c553d Change-Id: I42be24b372a8552bac02f2920c9e080c0e016825
|
136c7ba4dc189068fb63457a60f642ca499ed63c |
06-Mar-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Additional bg scan unit tests startScan with buckets startScan when scan in-progress stopScan pauseScan and restartScan Test: More of them Bug: 33384303 Change-Id: Iaa8beb307113f8fcedbea85c71a8bb5b81c90dd3
ifiVendorHalTest.java
|
f50550926a7bddc24adf822876f35812d7d8c7be |
07-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Add support for raw psk |config.preSharedKey| can either be a quoted ascii passphrase or a raw psk hexstring. Handle these 2 scenarios and call the corresponding HIDL methods. Bug: 36013886 Test: Added Unit tests Test: Connected to networks with both raw psk and passphrase. Change-Id: Ifaf31a7ce864aa0f6e86020ec5207ea8dee09205
upplicantStaNetworkHalTest.java
ifiConfigurationTestUtil.java
|
a63ab49c1d20d7a698537b5253d172a8dffc235f |
07-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Add quotes back for psk For user's who lost the quotes around their ASCII psk passphrase, add them back to be backward compatible. Bug: 36008106 Test: Unit tests Test: Verified manually updating a device which had previously lost it's quotes around psk. Change-Id: I6ef8ea2059ff044ba9e57d46bb50aa5ee7dcad9b
ifiConfigManagerTest.java
|
dc45bf068bbe0f52495f52880211acf5c5cf0c3f |
08-Mar-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Add data-path security configuration (Passphrase)" am: df5dc451ff am: aa521d868f am: d79b1f17e6 Change-Id: I2a2cae5f6a157942edc9135ffda42df7bbbbcf14
|
df5dc451ffe849d3dc2f3d6cb6e2360690a3c9a9 |
08-Mar-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Add data-path security configuration (Passphrase)"
|
31389a22a6f12b12cca89d53b5f9f80fdcd76385 |
21-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add data-path security configuration (Passphrase) Add support for Passphrase-based security. Bug: 33552694 Test: unit tests and integration (sl4a) tests Change-Id: Id883367f79ca38501e8670097a31245f048e5d71
ware/WifiAwareDataPathStateManagerTest.java
|
bb046dce743136bc126dfa1df6556a9263c8933b |
08-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaIfaceHal: Add timedOut param in assoc reject" am: 412585c194 am: 7f27c5759c am: 066d462250 Change-Id: I496919d435353028894f1f31d560bf02d97ab4e1
|
6680c62f91f61660d47c34ae435113ca5846b79d |
07-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Add timedOut param in assoc reject Bug: 34280407 Test: Compiles Change-Id: I966da67dfd24b75ac90f63b71249df16e1cd0238
upplicantStaIfaceHalTest.java
ifiMonitorTest.java
|
391f7749a6c8d6c45a62263f4cfcd0cfd3b2baee |
08-Mar-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] Unit tests for logging" am: 5f97aaf9d5 am: e1b16332af am: 79dfb8b39b Change-Id: Ic0937953a51da7560bf6e72b5118f430a8defe95
|
644c4e1e673b69e8eaf8699334db452fe37284ed |
08-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pNetworHal: Add method to load Groups am: eed5100c0a am: d30052799e am: 70af534d01 Change-Id: I2b3fe46f6413383479bf93504b375364be061319
|
5f97aaf9d5fccda252cedcf5b7b2fc18dc05ba12 |
08-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] Unit tests for logging"
|
eed5100c0a64dc8d12651226bb9fd2fad4b2891b |
04-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pNetworHal: Add method to load Groups Bug: 35765841 Test: Add unit tests Change-Id: If6a993f9cf8318efe01e7f4eeb40b0bd2347d27d
upplicantP2pIfaceHalTest.java
|
622fa1247e4fdbc588e9ff15ea36e5f1adb50a62 |
07-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Request Pno scan via wificond and re-enable pno scan am: 04c453c2e0 am: aa4cd04469 am: d591170013 Change-Id: Ie9b5bac0c47e7dc2faee7efec73e3597aa1e7c3e
|
04c453c2e07efc30b99528926f205740226f1c7b |
17-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Request Pno scan via wificond and re-enable pno scan Bug: 32977707 Test: compile, unit tests, manual test, will do integration test Change-Id: I3b7d5020aa695120a047a2d228fc6be5760e2343
ifiNativeTest.java
ificondControlTest.java
canner/SupplicantPnoScannerTest.java
|
8dfa1a2e88781c773cb1ce79a1d4b72cc45c5c04 |
06-Mar-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Unit tests for logging - enableVerboseLogging - boolResult w/ verbose - Enter w/ verbose - RemoteException handling Also remove noteHidlError and its one remaining caller Rename mLog to mVerboseLog, mErrLog to mLog Test: These are tests Bug: 33384303 Change-Id: I9b1268905d2ffaaebbe318853f0bf2e8357b3aa7
ifiVendorHalTest.java
|
6e6ad435e4217760c41bbfc37d904189f43a1d57 |
07-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "FrameworkFacade: add helper to ease testing" am: 512a8e7d5d am: 704c2b9d82 am: 39bc608d90 Change-Id: I449ce7df69551d65595eac093616dbc7b99d1a73
|
512a8e7d5d8d924d5895ea649e0e1e8953709bfe |
07-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "FrameworkFacade: add helper to ease testing"
|
1e44a32b052ef9f4d566cadebed5fd5a8c2ef100 |
07-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Use Vendor HAL for mode change am: 3a0679d411 am: 192c3a219f am: f368fff8ac Change-Id: Ib880f2356eaafebbf4967c95eab7d061084c84a3
|
b7ed5b09e84b344c0e7ea46d079f4729675940a0 |
07-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Turn on supplicant/vendor HIDL Interface am: 3b7def108e am: ebceaa270d am: 6fcc23041f Change-Id: Ib10a3e2e16dad322369a7b83a9fbc596fa50321f
|
3a0679d411c5eb889d38ed32181446c82d5bd825 |
02-Mar-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Use Vendor HAL for mode change Restructure the WifiNative setup/teardown operations so that vendor HAL can start & configure the chip in the correct mode and then inform wificond about it. Bug: 35765841 Test: Will send for integration tests. Change-Id: I14ef0011117f83bed99c21fb459f00263a90a793
ifiNativeTest.java
ifiStateMachineTest.java
|
3b7def108eeb23b7350038f2defc966ee23e9952 |
27-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Turn on supplicant/vendor HIDL Interface While there, Fixed unit test failures in WifiNative. Bug: 35765841 Bug: 35868540 Test: Verified via the wifi integration test suite. Test: Verified the build for any power regressions. Change-Id: I7daf7c35af5a5a284e2468b3451b7f87102997bd
ifiNativeTest.java
|
2a70519406937402c761a6ce418c15e3b5598688 |
04-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
FrameworkFacade: add helper to ease testing WifiController, RecommendedNetworkEvaluator and SavedNetworkEvaluator all use ContentObservers in their implementations. The tests for these classes started failing when a change was made to include the Context object when registering ContentObservers. This changed caused the tests for these methods to fail due to a mix of mocks and actual objects. This CL adds a helper to FrameworkFacade that allow the tests to pass, and even better, updates them to use ArgumentCaptors to get a handle on the ContentObservers. This will allow the tests to be enhanced and easily call the observers to test functionality for changes related to the observers. Bug: 35908602 Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I2e4a39febf575c1335cec57b9e21e28cb3e0fffd
ecommendedNetworkEvaluatorTest.java
avedNetworkEvaluatorTest.java
ifiControllerTest.java
|
8dbb67c19ef09e0b4f063daf04990f56b0a3d2d1 |
03-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Port over link to death handling am: 60ef62896e am: ef5e354df3 am: 3893f2596a Change-Id: Ica3d7b5487681ec5a59f1ec20bfc885b4f264eac
|
0edd40b00cdffb5557cce9a217b5f439ffcdfee8 |
03-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaNetworkHal: Fix wep key handling" am: 8db1eb8b2a am: f9eae27d2d am: 6a113612f2 Change-Id: Ia2b8bae920265286c2c4bc1d45bade18ffe25537
|
60ef62896e60b41a36a73f4a58d1281084b7181a |
03-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Port over link to death handling Port over the link to death handling from StaIface. Bug: 33383725 Test: Compiles Change-Id: I6a7c60ea759d638fe315b04ba9831b9bf90bd0a6
upplicantP2pIfaceHalTest.java
|
8db1eb8b2a062d749116e7aba6c018c594f27a23 |
03-Mar-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantStaNetworkHal: Fix wep key handling"
|
e45189e28420d99165d1fa33b4b435dce40781b0 |
03-Mar-2017 |
Peter Qiu <zqiu@google.com> |
Merge changes I88feac77,I6a8f2695,Idcd85832,I565e9dce,Iab005d98 am: 36625b693e am: b8da292103 am: 36175fea35 Change-Id: Ib7ee093a4f796501a6371efe520c0c97cf5a74ed
|
6a8908d2bc0367397eb92444ac78cc8d43160ef6 |
03-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Fix wep key handling According to our public documentation, the wep keys can either be a quoted ASCII string or a hex string. Since this is similar to the SSID field, rename the helper function in NativeUtil to reuse for both. Bug: 35907939 Test: Fixed unit test input for wep networks and validated existing WEP related tests pass. Change-Id: I180b9261252dc5745fa3e30e4bc980cde054ba2a
ifiConfigurationTestUtil.java
|
dd97694345f47ba6a952c1162e7dcdd66fb72060 |
24-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: synchronize Passpoint configuration changes through WifiStateMachine This is to avoid any race conditions so that all Passpoint configuration changes and use of those configurations will be done in the WifiStateMachine thread. While there, initiate a disconnect when removing a Passpoint provider and the current connecting/connected network is provided by that provider. Bug: 33200134, 34202139 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually remove the Global Reach Passpoint profile while the phone is connected to its network, verified that the profile is removed and the WiFi connection is torn down Change-Id: I88feac77d3c1c1836d651df09d01142b73489c54
ifiStateMachineTest.java
|
040829fe448045d12cbc90f6143aca7da6b5aa80 |
23-Feb-2017 |
Peter Qiu <zqiu@google.com> |
WifiConfigManager: setup user store when loadFromStore is triggered after user unlock Instead of performing an user unlock/switch logic after reading from the store, we only need to setup the user store for the current user before performing the read. Bug: 35675098 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6a8f2695d53c8a2ea8589e64c9dd8e867ae5415e
ifiConfigManagerTest.java
|
5e4822d5dba15e45c5ff43dfba3ac7803b3f4e28 |
23-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: migrate legacy Passpoint configurations When the legacy Passpoint configuration is read from the legacy store, it will represented as WifiConfiguration and stored in the share store. When the owner of the legacy Passpoint configuration logs in, the configuration will be converted to PasspointConfiguration and added to PasspointManager, then persist to the user store in the new format. Bug: 34206769 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually upgrade a bullhead containing Boingo and Global Reach Passpoint profiles from N to O, verify configurations are maintained and still able to connect to those APs Change-Id: Idcd858326968463cea0cdc99452ba67b13d2ac77
ifiConfigManagerTest.java
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
8c22a001ebe4537fe5c0da1112e256dbd9d55ae7 |
17-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: PasspointProvider: update semantics for certificate and key alias Instead of using the full name for the installed certificate and key as the alias, use the suffix of the name (without the certificate or key type). This will make the certificate/key alias meaning consistent with the usage in WifiEnterpriseConfig. This will make it cleaner/easier for converting the legacy Passpoint configuration to the new one. Bug: 34206769 Test: frameworks/opt/net/tests/wifitests/runtests.sh Test: manual testing using a Boingo profile Change-Id: Iab005d98f83c9e217f87ab780787bdcc618b6509
otspot2/PasspointProviderTest.java
|
8006fd4fda3a4822106bf3e9f536ee2fd980d7a8 |
02-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Add null checks for WPS methods am: 913bcdf2c0 am: bcba994369 am: 93fa84add4 Change-Id: I5745b84ec2e6360dc0b213c945f454729fc51e9b
|
3ee734c61a1fe1603cd0d201fcaff853df642596 |
02-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaIfaceHal: Handle exceptions during network load" am: f7c9cd613e am: 25125a918a am: dbe5160946 Change-Id: If79b552026cdb5bf1ca4fcdbbf17f8277ae5c3fa
|
913bcdf2c0c37a04735e7401037e729496aae021 |
02-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Add null checks for WPS methods Bug: 35922006 Test: Unit tests Change-Id: I0d10e23422f45ced464ee2f3a66f6fbc59424a00
upplicantStaIfaceHalTest.java
|
f7c9cd613efb753f3dfdddfaf57bcd1f368f9730 |
02-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaIfaceHal: Handle exceptions during network load"
|
a859d834edbba90793c2ff36ce2d579cac617786 |
02-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Handle exceptions during network load To guard against the wpa_supplicant.conf having some invalid/unsupported values, handle exceptions in framework and skip such networks instead of crashing the entire system and failing the entire migration of data out of wpa_supplicant. Bug: 35915083 Test: Added unit tests Change-Id: Ic7df2f144c34814e830eb1f48ff2204890fd83ea
upplicantStaIfaceHalTest.java
|
7ddbd08cc148278b39685370b0d649e9c1e1ed00 |
02-Mar-2017 |
Mehdi Alizadeh <mett@google.com> |
WifiStateMachine: Return Succeeded when connecting to the same network am: f91a96259d am: 8de7c6005d am: e7a3a0378b Change-Id: Iddd9de7a9ecf2ba9b3d6b1be571dcf95e55c9252
|
f91a96259d1fbdfb9af907dd20cf905a8da3a119 |
21-Feb-2017 |
Mehdi Alizadeh <mett@google.com> |
WifiStateMachine: Return Succeeded when connecting to the same network If a caller sends connection request to connect to an already connected network, we reply with a CONNECT_NETWORK_SUCCEEDED message. Added one unit test in WifiStateMachineTest that creates and connects to a network, and then tries to reconnect to the same network. Bug: 35360668 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Change-Id: I00da335c50f2c98de4ea12a59e927a0af0a54728
ifiStateMachineTest.java
|
6fd6386a72bdaae0f49ba73a46d54586fa509c03 |
01-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: merge scan mode handling am: 63e847ec06 am: 06f8539687 am: 7c32655846 Change-Id: Id81b879b56032b77d502864690987dce34829c98
|
6e162efa5492e45338148c2c5937e1c61abd4e80 |
01-Mar-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Add data-path security configuration (PMK)" am: c54a84b3ae am: e174dffb4b am: e9d6941de2 Change-Id: I92a423c914870072384397e1da3597633b6ffc60
|
63e847ec063cdb7567e242104f25352745393707 |
16-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: merge scan mode handling There are two flavors of scan mode that are not handled consistently. This causes issues like wifi being reported as enabled when it is disabled. This CL merges the two scan mode options. SCAN_ONLY_MODE and SCAN_ONLY_WITH_WIFI_OFF_MODE both are now handled the same way in WifiStateMachine and will report wifi as disabled (when ScanMode is the operational state). There will not be special handling between the two modes. Full cleanup will be done with the WifiStateMachine refactor. An update to the scan mode transition to connect mode was also cleaned up. With the cleanup of the connect mode enter method, we now set wifi enabled, notify p2p and also no longer need to load the configs. These calls were removed since they are now redundant. A test was added to check the wifi disabled/enabled state for the operating modes of connect, scan, softap and disabled (not a real state, but implemented as the InitialState). A helper function was also added to advance the state machine thru SupplicantStarting and SupplicantStarted states. One test name typo was also fixed. Bug: 33367804 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: passed wifi integration tests Change-Id: I9d2c2c898a36f8029a108bda5b8a9aabef9c4762
ifiStateMachineTest.java
|
c54a84b3aeab3634c68e74d4decfb3bf106e4918 |
01-Mar-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Add data-path security configuration (PMK)"
|
e91fc23c66a61437973a07eb0a31338a53b432aa |
01-Mar-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] HIDL interface changes" am: 858611a45c am: 35bf0d6fb3 am: e29318f901 Change-Id: I91180a2c82988afcebae103bad38b9a48fc22ca1
|
6b1dfdb05b07e485cf510d3cc393cb0ca7b9d9ef |
28-Feb-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] HIDL interface changes Changes: 1. Added bucketsScanned parm for full scan results 2. Added stopLoggingToRingBuffer Bug: 34899890 Test: Unit test Change-Id: I3aa1a79bba0cb4dc675e42e46456c829a4c68a9c
ifiVendorHalTest.java
|
83cb72e2f3739c702ef3c1addb0016cbd2e09cdd |
28-Feb-2017 |
Tomasz Wiszkowski <ender@google.com> |
HIDLization of WifiDirect, stage 3: callbacks. am: d3c761e72a am: 5ec375f281 am: 797e1b7933 Change-Id: I54d1420252942cba2f46b50eb6101cbe780cc026
|
d3c761e72a5f89c81bd74889a9fec663adcc491e |
08-Feb-2017 |
Tomasz Wiszkowski <ender@google.com> |
HIDLization of WifiDirect, stage 3: callbacks. Callback class crafted to be compatible with legacy code. Several calls currently generate no action (never used before). Change-Id: I1e1d94fd23dfb069cd387bc511c979ebeb2e72cf
upplicantP2pIfaceCallbackTest.java
upplicantP2pIfaceHalTest.java
|
56a8ff2e077bdbcd1511ad48c05df99c4d8ae300 |
28-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Remove ExternalScoreEvaluator."
|
084de8d87f0c1f018faac4f518a0c5e4a92f7169 |
28-Feb-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] Handle set/reset log handler am: 1514ed2b37 am: 1fc7aa5f3c am: e5ba999c97 Change-Id: I09ff5c6431e2d142e22149bf33eb9c73e9aacc1e
|
29ba6469cbc244abefd11ba433b6ba7178d2f975 |
28-Feb-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] Bgscan callback handling am: d4c5eca00c am: d1d0e17288 am: c05fa6ed0f Change-Id: I0831178adb5c885529e1bf8de5da2ab6b6dfad86
|
1514ed2b37ca20f14990c9a605a576632300649b |
24-Feb-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] Handle set/reset log handler Bug: 34901821 Test: Unit tests. Change-Id: I4965225b78e2046c3cf0bfc1b15b4545a5e44ae0
ifiVendorHalTest.java
|
d4c5eca00c9cae55561210479ed61a977923e0da |
24-Feb-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] Bgscan callback handling To preserve current API surface exposed by WifiNative to Wifiscanner, cache the scan results received and simulate the necessary scan events to WifiScanner. We can cleanup this along with scanner later. Also, fixed a couple of other nits. Bug: 34899890 Test: Unit tests Change-Id: I9b6ce2e5e7d72be0b058de6c335bd80829f2cc78
ifiVendorHalTest.java
|
d174dec48abc57d26bd0c21a32c155fc828d3a83 |
04-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Remove ExternalScoreEvaluator. Also remove WifiNetworkScoreCache usage from the wifi framework and instead maintain a cache of requested WifiKeys. Bug: 33694078, 19948759 Test: ./runtests.sh Change-Id: Ib4ba372f0fd4802d111a4f1ab609a26a4f34c399 Merged-In: Ib4ba372f0fd4802d111a4f1ab609a26a4f34c399
xternalScoreEvaluatorTest.java
ecommendedNetworkEvaluatorTest.java
|
45ffdefa24da3b0534bd33dacdf9fa6c04abad6c |
28-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Remove ExternalScoreEvaluator."
|
3f195e55789b1277f37c4a3fb0eff96f4f64d85e |
28-Feb-2017 |
Paul Stewart <pstew@google.com> |
Merge "Provide SIM identity for PEAP/SIM configurations" am: bdfeb91af1 am: 95a3bca31b am: 3be34f9a9a Change-Id: I3a8cdac899fd301b9c78ee8fe0f126d5ee1dd1d6
|
bdfeb91af1b24703aabb72f1f33ed533e93880a9 |
28-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Provide SIM identity for PEAP/SIM configurations"
|
f7b23f5b785120d054ed44819179375f2f4ce558 |
28-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiDiagnosticsTest: stub out call to logcat" am: cb95c994c6 am: 50a8cf6480 am: 8fd4072987 Change-Id: I33cdf96f60b133a2c866feab3c106509308937db
|
cb95c994c65b05c6ad5fd63ddfb62b8d940e5bb1 |
28-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiDiagnosticsTest: stub out call to logcat"
|
69eb934f563ac0099113bf24587c729df25b15bf |
21-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add data-path security configuration (PMK) Modify the data-path configuration to use the (optional) PMK to configure security on the data-path. Remove the old 'token' usage. While that information is available from the HAL it doesn't provide any security functionality. Bug: 33552694 Test: unit tests and integration (sl4a) tests Change-Id: I0d0aedc7f00405d7325d7af016666c51669653d4
ware/WifiAwareDataPathStateManagerTest.java
|
41f7888046e6555cb684595a9730b24dba1f2331 |
27-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaNetwork: EAP sim fixes" am: a6482cf61c am: 2cc03145d9 am: 94d4413c7f Change-Id: If0c2f7dd6572e2da0fea993dd818f14a91410a3e
|
9e2819f96d87be927c628d138a955afd3681a470 |
27-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] RTT support" am: f04133525e am: ffe403491c am: b7ccefdf65 Change-Id: If120d755d0fc25c12e0b11ad6761610c6faf17a5
|
a6482cf61c32ac742e3774a2d46445ee1595b04f |
27-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantStaNetwork: EAP sim fixes"
|
f04133525e28383bd6bbb178dbb6c451198d184f |
27-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] RTT support"
|
561867c6b9827e47f133ddb260e45f92b22200bd |
04-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Remove ExternalScoreEvaluator. Also remove WifiNetworkScoreCache usage from the wifi framework and instead maintain a cache of requested WifiKeys. Bug: 33694078, 19948759 Test: ./runtests.sh Change-Id: Ib4ba372f0fd4802d111a4f1ab609a26a4f34c399
xternalScoreEvaluatorTest.java
ecommendedNetworkEvaluatorTest.java
|
692384c5a5562ff28ef8d020ca6efd40973e1448 |
27-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: do not verify against installed SIM at provider install time" am: 2c9e71ef99 am: 6443594394 am: 6b71c58aea Change-Id: I7d02d47deb8c6b05d65d20d0559c2c2e82a245f0
|
2c9e71ef9985d43f3ac85ea5fb8bea981a90036f |
27-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: do not verify against installed SIM at provider install time"
|
dd685b34596b790c76e2cc03fc825c1249c9174f |
27-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetwork: EAP sim fixes Bug fixes for EAP sim handling: 1. The network response for EAP sim sent by TelephonyUtil does not have prefixes like "ck", "ik". It's just a string of values separated by colons. 2. Umts SIM request data sent to TelephonyUtil needs to be in reverse order: Rand first and then autn. Bug: 33383725 Test: Unit tests Test: Able to connect to EAP sim networks. Change-Id: I5a5122da75412c5cf39eb660b0ba4e6059623645
upplicantStaNetworkHalTest.java
|
ea644ad9920420dbcf420602355f9f91a7266b14 |
07-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] RTT support Test: Some new unit tests Bug: 34901744 Change-Id: I2900466b3769a71b06e8151b7ea17d31f65ee929
ifiVendorHalTest.java
|
fc34ddb26c7b65bcf06d65325ec407186011a285 |
27-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: do not verify against installed SIM at provider install time The validation is only needed when attempting to match a provider to a network. This allows a Passpoint provider with SIM credential to be installed at the time when the SIM card is not installed. Bug: 35797905 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If27c7ebdedf2864757535530d9752e2b05430f1b
otspot2/PasspointManagerTest.java
|
b3c9eaca7b767aa9d5e9c550087436db4b2fa610 |
25-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Background Scans - Unit tests am: 56d2cece0c am: d26e8a8a8c am: e14272a5f0 Change-Id: I1fbd3d7de6db75f7c71ee9df4e94455671cde24a
|
56d2cece0c3cc908a875fd1d3291a1ba8882bbaf |
25-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Background Scans - Unit tests Also add the AP mode version of freq-for-band. Bug: 34899890 Test: New unit tests Change-Id: If35ab50a9fadf45d0cc0285b9b1f10396ed917e1
ifiVendorHalTest.java
|
37fdac1e5ceb2893dc91bd5118f5cb54febf7c85 |
25-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] RSSI Monitoring" am: 3089804367 am: d4f111daaf am: 7c87d4a294 Change-Id: I624d6d7bb5e9aae9b9b50a75af7fdc3a7e9ed8a1
|
8757adcc5e1f17354d09b4bacd3abda911974448 |
03-Feb-2017 |
Paul Stewart <pstew@google.com> |
Provide SIM identity for PEAP/SIM configurations Refactor the TelephonyUtil code to take a WifiConfiguration instead of an EAP method so it can evaluate both the outer and inner EAP methods. This allows TelephonyUtil to whitelist SIM authentication methods tunneled under PEAP for SIM authentication and to provide the proper SIM identity. Bug: 34835771 Test: Unit tests + manual tests: connect to a PEAP/EAP-SIM AP Change-Id: I544c58f53bd1fe27fbd34626300928382095ccda
ifiConfigurationTestUtil.java
til/TelephonyUtilTest.java
|
30898043676f0cfd8707bf18c3af0bb3c6b51fd0 |
25-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] RSSI Monitoring"
|
3401582e1b1defc1877c7c47c6a839611fa211c3 |
16-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] RSSI Monitoring Test: New unit test Bug: 34903056 Change-Id: I0246a6bb21d3d4d49854ed1c8f64f0cdf48cb839
ifiVendorHalTest.java
|
3bbf564af91515b33fcba33e7039ffe09c8c025c |
17-Feb-2017 |
mukesh agrawal <quiche@google.com> |
WifiDiagnosticsTest: stub out call to logcat WifiDiagnostics.captureBugReport() forks an external process (logcat), to read data from logd. At present, that external process is _not_ stubbed out for testing. As a consequence, the time to run WifiDiagnosticsTest depends on how busy logd happens to be. This causes problems when, e.g., running a ToT build where other subsystems are crashy. Resolve this problem, by stubbing out the external process for unit tests. Along the way: update WifiInjector, so that it hosts an instance of java.lang.Runtime. Bug: 34971969 Test: runtests.sh Test: manual Manual test: - install a build that's suffering from b/35400537 - run wifi unit tests 5 times - verify that no run takes longer than 35 seconds Change-Id: Icf2c36acc04713c5ead44b47a42fa9e80cf0a1fd
ifiDiagnosticsTest.java
|
d587b71aae496bbb6d1cd2c5e6eb416fe6b4c3af |
24-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiStateMachine: optimize and improve tests" am: ca7fd96f0c am: 6f268efb4c am: 0fa6659194 Change-Id: I56060e7a8a56c718669fbe1b0a119315b9596b66
|
ca7fd96f0c6525d11a5e442f49822b7f69348f06 |
24-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiStateMachine: optimize and improve tests"
|
1d084e2106da2b445ffa5a1c1d1dab257e1b49bb |
24-Feb-2017 |
Peter Qiu <zqiu@google.com> |
WifiConfigStoreLegacy: read legacy Passpoint configuration file am: 9432358b81 am: 297ee0b3da am: 42d5314dfa Change-Id: I343eeacac0a846ae76b9cb7c3a3bd87f95c7307d
|
ba5858ec6c95beb503f2574df6e0165388292ec9 |
24-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add config parser for legacy Passpoint configuration file am: 15eeedd83c am: c2b1c47520 am: 83b9c59af5 Change-Id: I97e9631515f26f78cad39dae43459e485d5c8100
|
9432358b816df5530aed86d4107756854e5ac4f0 |
16-Feb-2017 |
Peter Qiu <zqiu@google.com> |
WifiConfigStoreLegacy: read legacy Passpoint configuration file Read and load Passpoint configuration from the legacy Passpoint configuration file (PerProviderSubscription.conf). Copy the missing configuration fields to WifiConfiguration, so that a WifiConfiguration will contained all configuration data for Hotspot 2.0 Release 1 configuration. The WifiConfiguration for Passpoint configuration will be stored temporarily in the share store until its owner logs in. When the configuration owner logs in, the configuration will be converted to PasspointConfiguration and added to PasspointManager. Then the shared WifiConfiguration will be removed to complete the migration. This will be done in the follow-on CLs. Bug: 34206769 Test: frameworks/opt/net/tests/wifitests/runtests.sh Change-Id: I946984822599b46e7e79babdf84272290ecf2431
ifiConfigStoreLegacyTest.java
ifiConfigurationTestUtil.java
|
15eeedd83c258ae7eec5065880b0887545124456 |
16-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add config parser for legacy Passpoint configuration file For Hotspot 2.0 Release 1, most of the configuration data are already stored as part of WifiConfiguration across multiple files in N and older. There are number of fields contained in the legacy Passpoint configuration file (/data/misc/wifi/PerProviderSubscription.conf) that needed in order to complete the configuration. Mainly: - Friendly Name - Roaming Consortium OI - Realm - IMSI (for SIM credential) So add the parsing support for the legacy Passpoint configuration file to retrieve the missing configuration fields. Refer to the javadoc in LegacyPasspointConfigParser for the format of the configuration file. Bug: 34206769 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I1d1a96a2534e123fcd06e91eaa9fc18af842bea1
otspot2/LegacyPasspointConfigParserTest.java
|
4353eeded2052537b3e52f44718e36c718e1815b |
24-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiMetrics: use SoftAp return code metrics am: 44ce135519 am: 1e549db1ce am: 9d4ada7e92 Change-Id: I6b1434c256596b4e214d7d04c853b01265653a10
|
ae29f2a3f2e08c6ee1af639e313d25e6f6eea89d |
24-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: add WifiMetrics to constructor am: 80a1468c75 am: 48529051f8 am: 7468ba3ca9 Change-Id: Id300a28e81a0545c3b4beb00ed3179ebed17122c
|
44ce135519e22d8c4746abac21c14111f1ce8667 |
25-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiMetrics: use SoftAp return code metrics Add calls to populate SoftAp startup return code values to metrics. This CL also adds the handling of these metrics in WifiMetrics. The newly tracked SoftAp start return code metric is also added to the WifiMetricsTest. Bug: 30899122 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: manually verified code counts incrementing with dumpsys wifi Change-Id: I9256e08c0de6e9d4132e5aab3d604ba0ef6922c0
ifiMetricsTest.java
|
80a1468c75b0db36e58de767c74f7c15e9aa55e3 |
21-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: add WifiMetrics to constructor To prepare SoftApManager for an upgrade with WifiMetrics, add the WifiMetrics object to the constructor. This also involves updating WifiInjector and the SoftApManagerTest files. Bug: 30899122 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually started softap and verified connectivity on client Change-Id: I14d319ab51b85ab26ecba45ec534da7690caf7fe
oftApManagerTest.java
|
cacafd6c7a5fd1b7b61258c9e0b9091eb2ff8c09 |
24-Feb-2017 |
mukesh agrawal <quiche@google.com> |
WifiStateMachine: optimize and improve tests 1. Optimize the run time of a couple of tests, by makin use of the (newly added) StateMachine.getLogRecMaxSize() method. 2. Split tests into smaller pieces, to make debugging failures simpler. Bug: 35399013 Test: tests/wifitests/runtests.sh Change-Id: If95cdf5af7507f1e943e2580f2754c151ab6d337
ifiStateMachineTest.java
|
63d313df8c30da8052415cab3c02d1624bc4b466 |
24-Feb-2017 |
Tomasz Wiszkowski <ender@google.com> |
HIDLization of WifiDirect, stage 2: method calls. am: 61233efc46 am: 4a792fa05b am: 7bea72ec03 Change-Id: Ic304e071898b083bd8daafca5e28fde51da5dd08
|
61233efc46707ace6cb3a45dd84766f06df946af |
08-Feb-2017 |
Tomasz Wiszkowski <ender@google.com> |
HIDLization of WifiDirect, stage 2: method calls. BUG: 33383725 Change-Id: I82249adf59546d0e73f0eafd85b3e7e0ce51936c
upplicantP2pIfaceHalTest.java
|
0c041fe6d84ee36f139544f8d7921b8481523423 |
24-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaIface: Handle supplicant death" am: 0d25c5ecd4 am: 3ba62cb084 am: e4ee8995af Change-Id: Ifbaee2fce4fec61a0a00e6c51a2b6ce9f52d4cc4
|
0d25c5ecd48ef39f74707fba1b121037c4d85f97 |
24-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantStaIface: Handle supplicant death"
|
0f1d4a719339c70b2d3d7e3322964b1852df6cd5 |
24-Feb-2017 |
Glen Kuhne <kuh@google.com> |
Merge "Move WSM.updateWifiMetrics into WifiMetrics" am: a350867b69 am: dbcaebacde am: 2371fcccf8 Change-Id: I59029df5841939a00d9f3812753f677ac15100cd
|
a350867b698fe5302d3ed3078be2eb22996df8df |
24-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Move WSM.updateWifiMetrics into WifiMetrics"
|
a6a1bff9fff611743960ccb658e1092e5f1087b6 |
24-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Plumb through scan result/failure notification am: 70a9b25ee5 am: 5c6b81d3fc am: 2fb9549009 Change-Id: Ida978fe5e6d44942119fd15504b67bdd22d2eeba
|
b16c35b175ec49cd491c885677982db4b552e447 |
24-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Request single shot scan via wificond am: e6d7f23569 am: eeb432fd2a am: 8188e34289 Change-Id: Id0f40d9ff105bd970c7fd60bf77433ad44ca4329
|
ca919e89a95472f2785b3ee951f9779544d19f7f |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIface: Handle supplicant death Listen for death notifications from wpa_supplicant and cleanup state. Bug: 33383725 Test: Unit tests Change-Id: I5e4a594a7f347bf901ae9a33d061199fbb5d0280
upplicantStaIfaceHalTest.java
|
71ee3f628c99c5620cc286dcf791a856453653fe |
24-Feb-2017 |
Mehdi Alizadeh <mett@google.com> |
Merge "WifiNative: Override hashCode for HiddenNetwork and PnoNetwork classes" am: 15c710887d am: 176578aaba am: b8d375c225 Change-Id: I2f99026916d5de55c655dcaa9d8232cb205564b4
|
70a9b25ee5d051660b8aeb15ffa97d36a181741d |
16-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Plumb through scan result/failure notification Bug: 34715459 Bug: 33398008 Test: compile, unit tests, integration tests Change-Id: I10726aac7c186ea277c9a169b37e1900e8420b71
ifiMonitorTest.java
ificondControlTest.java
|
e6d7f23569585f8f0fb02adbef992d3f1430db44 |
15-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Request single shot scan via wificond Bug: 34715459 Bug: 33398008 Test: compile, unit tests, integration tests Change-Id: Ie44ae50d9d498bd164bd407259f013dd367e4ed2
ifiNativeTest.java
ificondControlTest.java
|
8d134c4c62cfe113e3bc56dd515c9283654f29f0 |
24-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Register for chip callback" am: 4b80aa3101 am: db448a8ebd am: eefcfc1261 Change-Id: I9c1af436357a8dfda55e939d7f37ba8f61361dd7
|
15c710887d2ea9b83df21e5d43d402bfb5506540 |
24-Feb-2017 |
Mehdi Alizadeh <mett@google.com> |
Merge "WifiNative: Override hashCode for HiddenNetwork and PnoNetwork classes"
|
4b80aa31010d18810622f28256ccdd64f9c84dbf |
24-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] Register for chip callback"
|
bc054094daf195b29bbc091b9cbd1d4a2dfb9793 |
24-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Register for sta iface callback" am: 845029db67 am: 7fa6ad717e am: b64d5d731b Change-Id: I2fe3ca3f13b8b906a654e0e3f240f522a6673115
|
3c6e92f51984ba8999d5efe622b4a52dd18bdaff |
23-Feb-2017 |
Glen Kuhne <kuh@google.com> |
Move WSM.updateWifiMetrics into WifiMetrics Made this functionality internal to WifiMetrics. WSM passes it a list of Saved Networks, and WifiMetrics does all the counting. While I was here, cleaned up an unreachable code path in WSM.dump, that gets preempted by WifiServiceImpl.dump (The part that dumps the raw proto bytes). Bug: 35675572 Test: new unit tests Change-Id: Id0a2b71d08679410931a01c3e958aa1ba5558e6a
ifiMetricsTest.java
ifiServiceImplTest.java
|
845029db6709fcf3894d847ac2a1bbb5c453fe43 |
24-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] Register for sta iface callback"
|
ef1606e936204c56ffdae305f2f423ee3503fecd |
23-Feb-2017 |
Mehdi Alizadeh <mett@google.com> |
WifiNative: Override hashCode for HiddenNetwork and PnoNetwork classes The HiddenNetwork and PnoNetwork classes in WifiNative already had the equals method, now implementation for a hashCode method added to match. Added a unit test in WifiNativeTest that creates instances of the two classes with same values and checks if they have similar hashcodes. Bug: 33626203 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Change-Id: I62bf655bf9619f4fe6186673b7da8eb294633474
ifiNativeTest.java
|
1cfe1dd431ece7c336e9f24147644bf361d989ad |
23-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge changes I15fc6862,I9f51c873 am: ac244e0918 am: 39ffaad450 am: 74b04780bc Change-Id: I5965bc38d06d293fcd5e15d44b87e27a6f55d241
|
ac244e09180ab5876a2d04d454b56dd75e9c5781 |
23-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge changes I15fc6862,I9f51c873 * changes: WifiStateMachineTest: use a real Clock WifiStateMachine: inline printTime()
|
542b204c2120a9c91324ccc86c6695012ac02ab7 |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] Register for chip callback Bug: 33384303 Test: Unit tests Change-Id: Ib3db8318e549ae862787c714832bc1b0c88d309e
ifiVendorHalTest.java
|
7e4b5bdfa88703a09f611e3ef8973ab7e286375d |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
[WifiVendorHal] Register for sta iface callback Bug: 33384303 Test: Unit tests Change-Id: If2b2da0603cb962540b9b994e326076940c2b674
ifiVendorHalTest.java
|
9310e7a88e01d9b1f9c047b0b6225aa43aecca11 |
23-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Add a disabled reason for recommendation providers"
|
61421bbcc8c44a87404f1bd2f835d921af8a37bc |
23-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Request vendor debug info am: 2f0db656f6 am: d9ef154289 am: 52b13806fe Change-Id: Iff0534fbe363dee1a5dce11756f0ce90ddfa09b2
|
2f0db656f678c8cf1ab6643739c6d0059721e6e2 |
16-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Request vendor debug info Add two calls to get vendor debug info, one for the driver and one for the firmare. Test: Two new unit tests Bug: 34901966 Change-Id: I83e9cf8000b7e7094e31847ac1724c4aec196008
ifiVendorHalTest.java
|
0d828e07d4ccf7cc554931dbfaff34c469ab6a3f |
23-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] wake reason stats" am: d53f9a8246 am: 1c589fb429 am: 818bba6a0f Change-Id: Ia9678222c1bbf9bb29d549566ae0b4026f9449a2
|
d53f9a8246a98a43f44983b1286ddf4a944d6571 |
23-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] wake reason stats"
|
c0187398b6043c1444c76665ba52e04d35e4da9e |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Neighbor Discovery Offload" am: 608c48674e am: 7878ac1ba6 am: 890c2314e4 Change-Id: I409ebf4cd94990cbb7f4c6a3c2b7a03b9adaf2ce
|
f37a2d79fac68dc84f10094582097919a51fd020 |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Packet fates" am: 7cda57b6e1 am: 110c69880f am: a5559f807c Change-Id: I933d4fe09c88414d00e38421a2ad396ebbc1f7d2
|
608c48674e1e6eca30562329a72dc66921294806 |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Neighbor Discovery Offload"
|
7cda57b6e1a343846692b228b8565fdafbfce6cf |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "[WifiVendorHal] Packet fates"
|
cbe44718452e93ef2b68974230231ff4fac99dee |
16-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] wake reason stats Test: Added unit tests Bug: 35429387 Change-Id: I12dba5e4e2fc2e714c5f04cf8ce3b51173d0b14c
ifiVendorHalTest.java
|
c298e9cc2f33b1bbe79536a290e2a3b302514996 |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes from topic 'eap_key_id' am: 4139350e99 am: 9d972b8c81 am: a2a40dcfd6 Change-Id: Ie3d523c30871e3840736626d0d2dc12b4208c9d0
|
ea66aa8c6e41552edb9f57c15a5300681eaf1f6b |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Use private "key_id" am: 1f5dee3271 am: 1428ff7495 am: cea91b72e8 Change-Id: I2fbdcc8ee3375e52e610f6ac89a3c920e2ff6a0c
|
135be5a123dd70bb4663396a28dda9d6c26956fc |
16-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Neighbor Discovery Offload Test: Added unit tests Bug: 34903058 Change-Id: I52393ef7f4a70ed58f9803f3350441ae01682653
ifiVendorHalTest.java
|
5a801ea1dd4da217cb2ea03ecfcfc02985e4f1df |
16-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Packet fates Test: Added Unit tests Bug: 34902450 Change-Id: I8df2e571a368c50540ed23bb88cfbf9193fd9431
ifiVendorHalTest.java
|
6e1cb80a9e4d78f3f0ab203ad1a00db37ce7e569 |
22-Feb-2017 |
mukesh agrawal <quiche@google.com> |
WifiStateMachineTest: use a real Clock We don't actually need a mock here, since we don't configure any interesting behavior, or verify any interaction. Moreover, the mock instance of Clock is many times slower than the real thing. This slowness accounts for about two-thirds of the running time of two tests: - disablingVerboseLoggingClearsRecordsAndDecreasesLogRecSize - enablingVerboseLoggingIncreasesLogRecSize So just use a real Clock. Bug: 35644633 Test: tests/wifitests/runtests.sh Change-Id: I15fc6862479ac7652f9469fe6b9a209e5edafa4a
ifiStateMachineTest.java
|
1f5dee32716a2709ca2e1e491cbc2f09ca35a2fa |
22-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Use private "key_id" "private_key" field is not used in Android, we instead use the "key_id" field. So, change the setter/getter to reflect that. Bug: 35663125 Test: Unit tests Change-Id: I5c22edbbc14a3de531d6dd7f3e862b680de45fec
upplicantStaNetworkHalTest.java
|
38a6c1ba5d461b8c7b11685c5dd2e98d9e106b55 |
22-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Fix network extra parsing/writing The HIDL interface doesn't need the string to have the quotes. So, refactor the helper functions so that it parses/creates an unquoted string. The existing socket interface will continue to use the quoted strings. Also, Don't attempt to read the wpa_supplicant.conf file in legacy store migration if HIDL is enabled. Bug: 35663125 Test: Unit tests Test: Migration from N to O using HIDL interface. Change-Id: I2ee9f61f6e9f393608982952986c5dd980c998f9
ifiBackupRestoreTest.java
ifiConfigStoreLegacyTest.java
|
3f7cd32878130323e2632bc2c6b8b211f6260138 |
03-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Add a disabled reason for recommendation providers When the NetworkRecommendationProvider provides a "do not connect" recommendation, mark all enabled available saved networks WifiConfiguration#mNotRecommended. This value is used in Settings/SystemUI to display a message that the network is not currently recommended. Bug: 34745259 Bug: 35671673 Test: ./runtests.sh Change-Id: Id623963c5ae88f19935fae9f38f3a1bc0a116be3 Merged-In: Id623963c5ae88f19935fae9f38f3a1bc0a116be3
ecommendedNetworkEvaluatorTest.java
ifiConfigManagerTest.java
|
2c6426abc81292f8051695a4622cc582bd87d226 |
23-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes I9c953a1c,Id082eedb,Iaf8631b5 am: 220799646e am: 1a589774bf am: cfd4a7d8fe Change-Id: I5087fcdce39e2c15e79e8faba59ab8e4f0bcf170
|
220799646ea141432488051a9fdbb61e0b2d165a |
22-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes I9c953a1c,Id082eedb,Iaf8631b5 * changes: WifiNative: Supplicant HIDL integration WifiNative: Start supplicant HIDL integration Remove unused/unwanted WifiNative methods
|
f3aae0be78cd02f5fedd7d99b73536d2c799b030 |
18-Feb-2017 |
Roshan Pius <rpius@google.com> |
Remove unused/unwanted WifiNative methods Remove a bunch of unused/not needed WifiNative methods and change method signatures in preparation for integration with HIDL interface. 1. Remove the ping command since this is no longer exposed in the public API. 2. enable/disableNetwork, blacklist, hs20 methods are no longer used. 3. saveConfig method no longer needed since wpa_supplicant is not the config store. 4. setScanInterval is no longer needed since scanning is controlled by wificond. 5. enableAutoConnect is no longer needed since auto connect is controlled by QNS. Bug: 33383725 Test: Compiles Change-Id: Iaf8631b583cd380fbcbc90c88e2734c44c65049a
ifiConfigStoreLegacyTest.java
canner/SupplicantPnoScannerTest.java
|
e420cb8580707ff2139ecc8fd0de5529201c15e7 |
22-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "LastMileLogger: make fail-safe more robust" am: f65622706c am: 712e0dd1aa am: 91d7e0a660 Change-Id: Ia950c41966e8f2aef79dd9fda44a4ea98b9931f3
|
f65622706c4709c6220d0cc759d0988fe6ff4f39 |
22-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge "LastMileLogger: make fail-safe more robust"
|
64885fbc6c27afad28c889c518eec3e011639a96 |
22-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Remove enclosing quotes from psk am: 67bbcdc2c8 am: 36e9d0f569 am: 32af49967a Change-Id: Ia169de8a546dbd592999bb88c7bdffeb467c6e12
|
67bbcdc2c81824ff671a5a1d8475a598199e342e |
22-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Remove enclosing quotes from psk The settings app seems to be quoting psk passphrase. So, remove those when we add it to wpa_supplicant. Bug: 33383725 Test: Unit tests Test: Able to connect to psk networks now. Change-Id: I68e9d377a97d7ad1393e14e6e5371ef9f9fab439
upplicantStaNetworkHalTest.java
til/NativeUtilTest.java
|
bd40752def756e3ea39d9dc3c9c1fa89d1368914 |
22-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] keep-alive packet offload" am: 127d5ed44c am: b01d7d5354 am: aec11defcc Change-Id: I610eb02bca1d78bf6d1a078a10cf4e2a012fb992
|
127d5ed44c0615041943574c70e392a2aa113f1d |
22-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] keep-alive packet offload"
|
70b995bed9674a30c56b7ae2585d5897900ff695 |
16-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] keep-alive packet offload Test: Two new unit tests Bug: 34901930 Change-Id: Ia80de5374647e7e863caa704059ab655cbf0a6fa
ifiVendorHalTest.java
|
b7b3cd16c90915f12dd76116d61ec9013f12aed3 |
21-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes Ifafb6a2f,I3e0c8082,Id0934c2b,Id9953c4a,I04afd80a, ... am: 5b769c0925 am: 9815380b6d am: 1ed18cd501 Change-Id: I7138d1f2668fc8ec382273afcdb3820fc3582272
|
8aad61408adef866a177857b79a979cf77a0a662 |
18-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIface: Expose network request methods These are required for EAP networks where the authentication params are generated by framework and sent to wpa_supplicant. Bug: 33383725 Test: Unit tests Change-Id: Id0934c2b119d1fde73b1409c8cc283a4466095ee
upplicantStaIfaceHalTest.java
|
f0c2cbd00fe77a8f2b94f3f0d7c28e3e5fdc1fc4 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Remove network on config failure When the Wificonfiguration save fails, we should remove the network from wpa_supplicant. While there, Make the RX filter addition/removal methods public. Bug: 33383725 Test: Unit tests Change-Id: Id9953c4a4b4fae60295b8f3b8769d2163ffe3d58
upplicantStaIfaceHalTest.java
|
75a7e28a90482ea51dfc147aaa7d40b7915b5bf5 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHalTest: Fixing ordering nit Move all the private methods below the tests. Bug: 33383725 Test: Compiles Change-Id: I04afd80ac2d32e78a330816be20fe50a9c19de58
upplicantStaIfaceHalTest.java
|
5317e7c11c99d5cc8417c65cc73cf548f8f52b87 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIface: Handle wpa_supplicant death Trigger the existing WifiMonitor events to indicate establishment/loss of contact with wpa_supplicant. Bug: 33383725 Test: Unit tests Change-Id: I394a3ed7dad4f201456e2aaa53ba380c7a130f33
upplicantStaIfaceHalTest.java
ifiMonitorTest.java
|
bcf35be52f93d09a3f2ac8d4272a6d66467309b9 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Handle the remaining callbacks While there, Corrected a typo in one of the WifiMonitor methods. Bug: 33383725 Test: Unit tests Change-Id: I0bb8da7d2af468a419b595688286bc42e0f3d57f
upplicantStaIfaceHalTest.java
ifiMonitorTest.java
|
82c5c5f2ee520a1066cf5d6421885bb53bbfe269 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Handle state change callbacks This should invoke associated/connected broadcasts along with the state change broadcast depending on the state. While there, Change NativeUtil to return lower case hex string since that is what is being used everywhere else. Bug: 33383725 Test: Unit tests Change-Id: I87cbd33819ec05bc529af76d17a3e1be84a304da
upplicantStaIfaceHalTest.java
til/NativeUtilTest.java
|
46ef12f06a8ea37cdc06545250f11a1f10135272 |
18-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaIfaceHal: Handle Hotspot 2.0 callbacks" am: baebd871c9 am: 4c3670eeef am: 0318948bb7 Change-Id: Ieb90eded370405ba0c1769f829c191920275d829
|
baebd871c9b92c996ed47c0c69a6e605022b696a |
18-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantStaIfaceHal: Handle Hotspot 2.0 callbacks"
|
c8dbe3cf69426865735e8926ba95e95528fee4c2 |
18-Feb-2017 |
Sohani Rao <sohanirao@google.com> |
Merge "Note WifiState in BatteryStats" am: c6925da0f9 am: 17e07547d6 am: fcb1d3f8d1 Change-Id: Ic4737955cc1ff5c7dac7e06461203bb806231720
|
5a1adfdef3025a595544b3d17e1d5d9afca7673b |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Handle Hotspot 2.0 callbacks Bug: 33383725 Test: Unit tests Change-Id: I631c2e32850183b0f20391f964bea1efee350960
upplicantStaIfaceHalTest.java
|
3c0eb618a6398926893508f9d05fa39a99cf4894 |
03-Feb-2017 |
Sohani Rao <sohanirao@google.com> |
Note WifiState in BatteryStats BatteryStats has APIs which can be used to keep it posted about the WifiStateMachine state . This can help correlate power usage with different WifiStates. A helper class WifiStateTracker will convert WifiStateMachine states to the states of interest in BatteryStats. Bug: 28908455 Test: Unit tests Change-Id: I18db4496c1d7388f57e249d7dbdc0115134c1b3b
ifiStateMachineTest.java
ifiStateTrackerTest.java
|
5a6219f2f2745c6c123de3ad3514172d4b5048c2 |
18-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] RingBufferLogging am: 53f278b6fe am: 2edb8d5832 am: c87730c15b Change-Id: Ib55ba977ba642ebcc0b430f001b9369558c80912
|
53f278b6fed422a18d763b07216a21e96d9445f9 |
15-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] RingBufferLogging Test: unit tests added Bug: 34902105 Change-Id: I6411ad720fe537bd2b97b22b180762c4c9e48145
ifiVendorHalTest.java
|
363f5e4ac9b98cd73b151a657b5091cf09b8dba4 |
17-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Remove public enableUsage/disableUsage API" am: 37a184b0fa am: 9500e82fb1 am: 43828853d3 Change-Id: I5d0f5e04f82524ef809a3c0b1bb2f974e76dafcf
|
b2bf13e1706aa73f6aa78988dee716eca7069b50 |
17-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Pipe discovery window period configuration to HAL" am: ed9f8d1f5b am: 29aaf1c32f am: 1e450121dd Change-Id: I0417cc35df0aab55bfddef3bbbae081ea9a2bf4e
|
37a184b0fa864bf599008857812eab24dd18ce56 |
17-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Remove public enableUsage/disableUsage API"
|
9951fc4c87fe3ee06ca7889e3e98f55024d49d97 |
16-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Remove public enableUsage/disableUsage API The APIs were provided to the manager to provide an indirect mechanism to enable/disable Aware. No longer needed - removing dead code. Bug: 35435032 Test: unit tests and integration (sl4a) tests. Change-Id: I7f4cca982b250ee4d270a57e9cfdf355719cf11b
ware/WifiAwareServiceImplTest.java
|
ed9f8d1f5b42392c0d98df832f92ec64ba72e264 |
17-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Pipe discovery window period configuration to HAL"
|
01fa2ef8e3c15e3e6bfd4187ca342daf85347983 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes Ie6ba8410,Ifd3374ef,I7cc92129 am: 2e6fd575d8 am: 0e5ac9f9c6 am: dec6e12336 Change-Id: I74acc272a5eb3879f9b805c3188360dc397be234
|
2e6fd575d84c12ba27e8dec50eeafd11585699fd |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes Ie6ba8410,Ifd3374ef,I7cc92129 * changes: SupplicantStaIfaceHal: Register for callbacks SupplicantStaNetworkHal: Handle callbacks SupplicantStaIface/Network: Store the iface name
|
c2c46dd3898378d9dd6be9250cbe23378618cd0b |
17-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add a disabled reason for recommendation providers"
|
cfb9a9683307b914f02179a746e846c396fd9664 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
PasspointEventHandler: Stop creating wpa_supplicant string commands am: fc83b303a3 am: e2ee82232c am: 8ec9834781 Change-Id: I8821b107e941b3d93ea17efb506a8e809387f220
|
c224fb554deca894818490c9416ff35d18a79d76 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Register for callbacks Register for callbacks on initilization of the iface. The actual callback handling will be added in a subsequent CL. Bug: 33383725 Test: Unit tests Change-Id: Ie6ba841092933cb9d4fbf9f7399ede1511d071e5
upplicantStaIfaceHalTest.java
|
c3d81dbf035c205ca1baf16b84a41b67eda9ae4a |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Handle callbacks Handle the hidl callbacks and trigger wifimonitor broadcasts. Bug: 33383725 Test: Unit tests Change-Id: Ifd3374ef1465682010dc2fe15736d3eafe707168
upplicantStaNetworkHalTest.java
|
03fea88ccab149c07391d38f3c406bb04ab0a3a9 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIface/Network: Store the iface name Retrieve and store the associated iface name during initialization. While there, Remove the calling code for the unnecessary iface name retrieval HIDL methods. Bug: 33383725 Test: Unit tests Change-Id: I7cc921299e249d516fa68c21b6bab3ce79d1afcc
upplicantStaNetworkHalTest.java
|
ea5ad12b8a7140323a0b70f982c8f8a5ac83a9ae |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIface: Expose the 2 ISupplicant methods am: cb9565f0cb am: efd93c49c7 am: cdc7dfe2ab am: acc0bb440b Change-Id: I0a9443edca77809ffe2092ba614266f1e674c70e
|
fc83b303a3382329c28d631b1e0fb2bb35969f85 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
PasspointEventHandler: Stop creating wpa_supplicant string commands Add new WifiNative API's for Anqp-query/Icon requests. This API will internally create the string commands needed for now. Will be hooked up to the HIDL interface method soon. Bug: 35393853 Test: Unit tests Change-Id: Ie93a318abd7bf5d1d94ea01d072fd6e0551d0354
ifiNativeTest.java
otspot2/PasspointEventHandlerTest.java
|
c8d71776a203bd1a515caa2e06570eab34b9c22e |
03-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Add a disabled reason for recommendation providers When the NetworkRecommendationProvider provides a "do not connect" recommendation, mark all enabled available saved networks WifiConfiguration#mNotRecommended. This value is used in Settings/SystemUI to display a message that the network is not currently recommended. Bug: 34745259 Test: ./runtests.sh Change-Id: Id623963c5ae88f19935fae9f38f3a1bc0a116be3
ecommendedNetworkEvaluatorTest.java
ifiConfigManagerTest.java
|
cb9565f0cb8fa92346549bcacdfbf91cdf8e6bd3 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIface: Expose the 2 ISupplicant methods These are 2 methods exposed in the top level ISupplicant object, which needs to be exposed to WifiNative. While there, Add the new EAP phase 2 method conversions in SupplicantStaNetworkHal. Bug: 33383725 Test: Unit tests Change-Id: I46abd77b0616e4e3da7e9bbe3d2751e0783e93fe
upplicantStaIfaceHalTest.java
upplicantStaNetworkHalTest.java
ifiConfigurationTestUtil.java
|
c5b364f8edb366dae0c8b699321ba20db95e7879 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiSupplicantControl: Remove this class (Part 1)" am: c75e7b8f0f am: 2df265a28b am: adb5dd03d2 am: d60ddecacd Change-Id: I341498514b35cb057837df048c074d016b2befdb
|
c75e7b8f0ff1a1e87c77485a08b691b76081adf0 |
17-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "WifiSupplicantControl: Remove this class (Part 1)"
|
c68528ca2d20b6fd428fa0a8cee55d4b6eed9a18 |
17-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiMonitor: Broadcast connection events" am: a32a3900eb am: ebc92ca4bb am: 79e950af59 am: 3db9ab46b2 Change-Id: I1d5ee0a69d9ae5b4cc8b23d271715794b3b0056c
|
a26a8b33616c94859ba33f33403794cf636baa54 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiSupplicantControl: Remove this class (Part 1) Make WifiSupplicantControl instance part of WifiNative and expose all the public methods of WifiSupplicantControl in WifiNative. This is a prelude to removing this class altogether. All of this methods have been exposed in SupplicantStaIface and WifiNative will use that once we switch over to HIDL. Note: Some of the existing methods in WifiSupplicantControl were just wrappers over WifiNative methods and hence removed them altogether. Bug: 35421721 Test: Existing unit tests. Test: Will send for regression tests. Change-Id: I1c90c8d13bec583ff4b2989c8d62b910c5e73e26
ifiConfigStoreLegacyTest.java
ifiStateMachineTest.java
|
f56bacdb29215639cbfe0aef82b048c246e7a215 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Broadcast connection events Add methods to broadcast connection related events. Bug: 35357251 Test: Unit tests Change-Id: I372dfcaa63ce75e9bc0e7bb2f1b68b72549abc9f
ifiMonitorTest.java
|
72930acda921a35e708db3e25dfc2fb289070264 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes from topic 'new_eap_phase2_and_nfc' am: 995a0b5430 am: 58a0b91109 am: 941a1ca5d9 am: f4bf2ced33 Change-Id: I7c322eaeb2e36abf3549a98432af1348ebec0955
|
896ee0e6df02a4b2f0fcec4053e821d0486501da |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Expose current network methods am: 0a3dcd7229 am: 7c9bdd1efa am: e641ae3ab8 am: 00f4a97df7 Change-Id: I27f35c04bb7d5895242115ac2ab76afb71151281
|
7c9bdd1efa49d48ee1955d2beeba157ec220907a |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Expose current network methods am: 0a3dcd7229 Change-Id: Id71246f1277dcb39f70a60677eccf534023eeef6
|
995a0b54303337da561026301ad172eb9e0a998f |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes from topic 'new_eap_phase2_and_nfc' * changes: SupplicantStaIfaceHal: Expose WPS public methods SupplicantStaIfaceHal: Expose current network methods SupplicantStaIfaceHal: Cleanup getter method calling code SupplicantHal: Add the calling code for remaining methods
|
225f61a54ea07c1cc63f8a6d1bc2c161b638df3a |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Methods to broadcast network requests am: 1e13813336 am: f2d6226eda am: cc343c6357 am: 89d15c4923 Change-Id: I289ffc6884b1e58b6cdd4baf3243766ddd3d477d
|
3f82be7a3efb8a0a8f70041f5acfbdc91f154c29 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
Passpoint: Change ICON response handling am: 773ef3483e am: a156de13df am: e8509445c8 am: 948fd6b0af Change-Id: I7f14b7298ca544a4f47b26ecdf38829426de85ed
|
95563700d79114a55835ccb24435947032d0a0d1 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
Passpoint: Change ANQP response handling am: 65d8ba5dd5 am: 9f5e8b295a am: 36ef5254a8 am: 7fac008457 Change-Id: I57b5cbef8a302af24979771ad061a1e06a83aabd
|
1e1381333657f0a02bf1b300d1e600f87e5aae38 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Methods to broadcast network requests These requests are sent from wpa_supplicant and needs to be handled by framework. Bug: 35357251 Test: Unit tests Change-Id: I4d5e151063ec1bc50260fe6f6f7f35b1394e2a7d
ifiMonitorTest.java
|
ff105cb59573427268e851758d1c5b934f2bc6b0 |
16-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge changes I66dbef26,Id5c1d2f2 am: d0f7cebec5 am: 418e5ae7c1 am: 0a322c80f0 am: 4092c4d91a Change-Id: Ibc06f39c14de09b96dea2da0dad11feaf8de57bf
|
773ef3483e18f1afbd9cdce1564add3d89cb21fa |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
Passpoint: Change ICON response handling Currently, the ICON done notification from WifiMonitor is used as a trigger to fetch icon data in PasspointEventHandler. In the HIDL interface, the callback itself will contain all the necessary icon data. So, change the currently handling to prepare for integration with HIDL interface. Changes in the CL: 1. Move the icon data fetching to WifiMonitor away from PasspointEventHandler. 2. Change the params of the icon done event to include the icon data. 3. Add a new public method in WifiMonitor to send the notification out from WifiMonitor, which will be used by the HIDL interface in the future. Note: There are no unit tests for any of these changes because this CL is just moving things around and most of it is going to be removed when we integrate with HIDL. Bug: 35393853 Test: Connects to passpoint networks. Test: Will send for regression tests. Change-Id: I197180c8a8ec8673e5e8fa29ba8bb51b026d44fb
ifiMonitorTest.java
|
65d8ba5dd551cd132789e8feb270dfc7998dfbdc |
15-Feb-2017 |
Roshan Pius <rpius@google.com> |
Passpoint: Change ANQP response handling Currently, the ANQP done notification from WifiMonitor is used as a trigger to fetch anqp data in PasspointEventHandler. In the HIDL interface, the callback itself will contain all the necessary ANQP data. So, change the currently handling to prepare for integration with HIDL interface. Changes in the CL: 1. Move the ANQP data fetching to WifiMonitor away from PasspointEventHandler. 2. Change the params of the ANQP done result to include a newly created struct (AnqpResult) which would contain the bssid and the ANPQ results. 3. Add a new public method in WifiMonitor to send the notification out from WifiMonitor, which will be used by the HIDL interface in the future. 4. Remove the redundant PasspointEventHandler.parsANQPLines(). Note: There are no unit tests for any of these changes because this CL is just moving things around and most of it is going to be removed when we integrate with HIDL. Bug: 35393853 Test: Connects to passpoint networks. Test: Will send for regression tests. Change-Id: I7fdf8fbdba13d267eb986db3f8a5854c606bcd4c
ifiMonitorTest.java
otspot2/PasspointEventHandlerTest.java
|
d0f7cebec538f526929376cf1b18514148678d3c |
16-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge changes I66dbef26,Id5c1d2f2 * changes: WifiStateMachine: allow config removal WifiStateMachine: add delete config helper method
|
b2e6cc549450b4260dc6dfc490ca5c8af86f1788 |
16-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Merge changes I026cd52c,Ic378bd76,I373c9a0f am: c5b7168db7 am: 9c265480f1 am: 551cee2b52 am: 3c3e6fd25f Change-Id: I0d1a4e31c0899e5d1833d1d228d6aa560ff33690
|
0a3dcd72290481cb1fcbaaec268cccf343e4ff48 |
14-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Expose current network methods Expose methods to set bssid of the currently configured network and retrieve the NFC token of the network. While there, Add unit test for the removal of all networks from wpa_supplicant. Bug: 33383725 Test: Unit tests. Change-Id: Ibfff7a3349967c851a3cde62e082aa5d6ec2ee91
upplicantStaIfaceHalTest.java
upplicantStaNetworkHalTest.java
|
5f39baacf16b55c5551574bd1d973cdb14f70c45 |
14-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Expose WPS public methods Expose public methods for performing WPS operations. Most of these public methods accept string params and perform the necessary conversions to the HIDL methods. While there, Tighten the regex'es used in SupplicantStaNetworkHal. Bug: 33383725 Test: Added Unit tests for any non trivial param conversions. Change-Id: I95ccb41f9624cc46b91b61c39bfbf0a321ea4eb2
upplicantStaIfaceHalTest.java
|
c5b7168db71c846d635986b0e55a776606dbb545 |
16-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge changes I026cd52c,Ic378bd76,I373c9a0f * changes: hotspot2: save and load Passpoint configurations to/from config store hotspot2: add config store data for Passpoint hotspot2: add utility class for XML serialization of Passpoint configurations
|
299dea3028d09f5622284630c359fdb6920fc4e4 |
16-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "New helper class BitMask" am: c7fe09b4e7 am: 940bbaa455 am: 1c54313445 am: ba8cce6366 Change-Id: Id1f69f877574d28eff93f042e1fa3b68df4c3153
|
49a847941e08faec5901d4824040a522b773ef83 |
15-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Pipe discovery window period configuration to HAL Discovery window period configuration was added to ConfigRequest. Pipe the information to the HAL (HIDL) API. Bug: 33552536 Test: integration (sl4a) tests Change-Id: I1570f98650cc5dbb51d9e722088f9f13931474cd
ware/WifiAwareStateManagerTest.java
|
c7fe09b4e7e2576188477304c8ff1550ca76b950 |
16-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "New helper class BitMask"
|
6b6c7b51d735fdd7d9b6759f8eaf535df8eaf522 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Methods to broadcast remaining Wps events am: c626bc21f7 am: 479467fd37 am: cc2836ede3 am: 02af0f75ef Change-Id: I7cb34049ddd7d5cdb1746c72930ee1ce8431ad42
|
113c235c7f892cf3b0686013b40c45d8c5d6106e |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Method to broadcast WPS fail event am: ef027b4240 am: a2153122b5 am: ed2d47767c am: 87e9fa291d Change-Id: I51b523816d729dee16cfb631cb1dc0dd1cb946a6
|
f9c69201a95062e33cf62d7bacd465e799788a8f |
11-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: allow config removal Allow FORGET_NETWORK and REMOVE_NETWORK commands to be handled in the DefaultState. This means we can now remove configs in any state. Proper handling for loaded config checks are handled by WifiConfigManager. A test was added to confirm calling removeNetwork with a random int properly returns false when no network configs are loaded. Bug: 32809235 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: All automated Sanity tests passed Change-Id: I66dbef26530e3376f00537a3f1241bfd4f8a0d8b
ifiConfigManagerTest.java
ifiStateMachineTest.java
|
3c5b13dca7ddb243da91def206c344701d699812 |
11-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: add delete config helper method In preparation for handing config remove/forget commands when WifiStateMachine is in any state (ie, not just connect mode), create a helper method to call WifiConfigManager to delete the configs and send the proper message reply. Bug: 32809235 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Change-Id: Id5c1d2f2e65b2166ff1f14183aa448c00504114f
ifiStateMachineTest.java
|
c626bc21f7ebac14daa31ca7014767970127efee |
15-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Methods to broadcast remaining Wps events Bug: 35357251 Test: Unit tests Change-Id: I27a3fb384dbb37fa6d1b8a4fd30f43be76e4e9aa
ifiMonitorTest.java
|
ef027b4240eb994976dc6173fa396fe10b45ae52 |
15-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Method to broadcast WPS fail event Bug: 35357251 Test: Unit tests Change-Id: Ieb5ea5383a80205df616f132e735bc90f40716a2
ifiMonitorTest.java
|
10c299cbdc46b743571bd3a040a34d62e8137532 |
16-Feb-2017 |
Roshan Pius <rpius@google.com> |
NetworkListStoreData: Handle runtime exceptions am: 7d100897cd am: 765cb28da3 am: 66bfed0391 am: e07f33c5cc Change-Id: Ie089b9ee0b6078d9c10f76835b01fca2f4a5c152
|
6d8d20617e742e68d9dc53380664a85dbaa3f927 |
15-Feb-2017 |
Michael Plass <mplass@google.com> |
New helper class BitMask Helpful for translating bit flags. Test: New unit test Bug: 34902105 Change-Id: Id5bdcc0b22c3171fb3111d4fd3343f74de059ea1
til/BitMaskTest.java
|
7d100897cd3ab3a05c3925da42bd25af6e3c8c4a |
15-Feb-2017 |
Roshan Pius <rpius@google.com> |
NetworkListStoreData: Handle runtime exceptions The enterprise config setters can raise Illegal argument exceptions if the data being set is incorrect. This shouldn't normally happen until someone manipulates the XML (or downgrades as in the linked bug). Handle such runtime exceptions gracefully and skip over that network block. While there made a small nit, Rename parse/writeWifiConfig to parse/writeNetwork to be symmetric with other method names in the file. Bug: 35244730 Test: Unit tests Change-Id: I168eb383090712f7c5df388a6fcc3a1ed1055fe3
etworkListStoreDataTest.java
til/XmlUtilTest.java
|
99d4b81a25df948c46cac9027eb111ee7a786742 |
14-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: save and load Passpoint configurations to/from config store Bug: 31065385 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: install Boingo Passpoint profile on an angler, verify the profile persist over boot and automatically connect after boot Change-Id: I026cd52c01702babcbe3c761437fc340260e5fe5
otspot2/PasspointManagerTest.java
|
a7f0f6e6fc75c94ab9af3cf1a6f390390c640d70 |
13-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add config store data for Passpoint Two types of Passpoint configuration will be persisted to the storage: - System wide configuration - persisted to share store - User specific configuration - persisted to user store Currently, the system wide configuration only consists of provider index, which is used for assigning unique ID to providers during provider creation. And the user specific configuration will contain information for each installed provider. Bug: 31065385 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ic378bd761af4e45f83428210dd3a493d845a786b
otspot2/PasspointConfigStoreDataTest.java
|
d501fd07f0e2ab6a320a1570e426926838a1b316 |
10-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add utility class for XML serialization of Passpoint configurations This is used for serializing/deserializing Passpoint related configurations to/from config store. Bug: 31065385 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I373c9a0f30a8ccf47f2df860f43982dc03630322
otspot2/PasspointXmlUtilsTest.java
|
f192e56ae2b5dbb6f3a24806527f357af7f9d365 |
15-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Merge "Pass enabled networks to recommendation provider" am: 97a3f7ce13 am: ed73199465 am: 1305111d22 am: e5ebe4cab2 Change-Id: Ie3a4241e7cd1d9b7e8bdbb145f3ac4e6758ca133
|
97a3f7ce13f5655f6212d06fc3e21f692473deb0 |
15-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Pass enabled networks to recommendation provider"
|
05cef46d2ae1cbc48eacdc8a71864419b9815fbc |
14-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaNetworkHal: Add FT flags" am: 8c548d6067 am: 31166c4528 am: 13b253c580 am: 9fb1b83aad Change-Id: I6f262a49be11b1e759408a34cd1604f79803b77a
|
8c548d60679e8bd82a5fe8f95f4d6c1723aaff1c |
14-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantStaNetworkHal: Add FT flags"
|
30f4d10cc70aad84ce4119ae7951b77dae937d46 |
14-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes Icd0f23c1,Ica1fd02d am: 4193eb5211 am: 7b023c932e am: b046ce8560 am: 56d58dce96 Change-Id: I493690bf1f81bc7cda412041082e84d56135ee41
|
4193eb52117c391971ab78eea5f99821f335510d |
14-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes Icd0f23c1,Ica1fd02d * changes: SupplicantStaIfaceHal: Implement connect/roam to network SupplicantStaIfaceHal: Load networks
|
c7a4b6706fa09042bb36a64036d86d88eb6e4126 |
11-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Add FT flags This is a port of the existing logic in WifiSupplicantControl. Need to add the FT flags when adding the network to wpa_supplicant when the device supports it (specified in device config.xml). Changed the input arguments to SupplicantStaNetworkHal & SupplicantStaIfaceHal so that it takes an instance of the Context and use WifiMonitor to trigger callbacks instead of directly sending events using WifiStateMachine handler. Bug: 33383725 Test: Unit tests Change-Id: Id266835ef5dc3038057cab5b8f8da3a327f39ce2
upplicantStaIfaceHalTest.java
upplicantStaNetworkHalTest.java
|
7c0ec884188660f72977c8a80366049705c48ffa |
10-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Implement connect/roam to network This is the port of the existing methods from WifiSupplicantControl. Bug: 33383725 Test: Unit tests Change-Id: Icd0f23c1239beae05769ec99c93f84a4c1db16c4
upplicantStaIfaceHalTest.java
|
5248c83abcc5cbfc67bdb511b07b6565157ff329 |
14-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Override equals() for wificond java side parceable classes" am: a0fc0940b2 am: 7dd0c6f978 am: 6c702a3478 am: 566eac9262 Change-Id: I2429c5851a1e5dd178a86cf8ac475681fbb48cc0
|
a0fc0940b2d584918073d76f448bc4705c16acbc |
14-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Override equals() for wificond java side parceable classes"
|
6a44d8afc7c7832de4fa66cbf7c9e0912247051e |
14-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] getSupportedIfaceTypes() mod to never return null" am: 254c664716 am: e53731a195 am: 6e61210072 am: be81322ee4 Change-Id: Iac765367cbf3877cba5256dcbcd0cc3015dcfa39
|
254c664716d102f2c1cecb23f6817af111271c54 |
14-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] getSupportedIfaceTypes() mod to never return null"
|
e450fe1a611e4dcf05046a6aa0df0bc8300cba61 |
14-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] getSupportedIfaceTypes() mod to never return null Change the semantics of HalDeviceManager.getSupportedIfaceTypes so that it never returns null. It now always returns a Set<IfaceType> - possibly an empty set. Cleaner than clients trying to figure out error conditions. Bug: 35101185 Test: unit tests (including new one for error) Change-Id: Icdff4192b3b7dc5901110e243a0a021a1593c01b
alDeviceManagerTest.java
|
ae53bc959ac0b401443b03f24531c4f102bc60e3 |
14-Feb-2017 |
Randy Pan <zpan@google.com> |
Add an API to reset firmware roaming configuration am: 374f78d384 am: fc39301d9c am: 0f4705b02b am: 8f4e6077e4 Change-Id: I9788e918565bf445cf7100f78736e473284cac75
|
374f78d3841f7bf74543dc4d21db66d1d3472c3a |
09-Feb-2017 |
Randy Pan <zpan@google.com> |
Add an API to reset firmware roaming configuration While there, fix an issue with parsing blacklist BSSID. The string passed in is already unquoted. Also delete the helper function that parses MAC address string to a byte array. Use the one provided by NativeUtil. Bug: 33696699 Test: manual test by exercising the relevant framework logic Change-Id: I94a0362bf8884f53d22bc53067f3347d6f97f946
ifiVendorHalTest.java
|
35f55a0fe4c3997aa9f5e238b9a82bc1d647f71d |
14-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] setCountryCodeHal" am: 982ca4b928 am: be58ab3e1f am: 66e56c6422 am: 4cf85a42fa Change-Id: I55aa98330f1f08bf6e28cee523fee581554a94d5
|
982ca4b9289697bc4e3a8922412b0535d7f1c71c |
14-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] setCountryCodeHal"
|
f180b0109b3fce79609b03ae2f7fbeff02d96b80 |
10-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaIfaceHal: Load networks Porting over the load networks from wpa_supplicant to HIDL interface. Bug: 33383725 Test: Unit tests Change-Id: Ica1fd02dd2d5fae823e17b61ffd12d9090ca8fd0
upplicantStaIfaceHalTest.java
|
861d0f41709f00a6484dfc15a89c475d50b2f860 |
13-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge changes Ib08b11b8,I849169e3 am: 65ca369420 am: 42e7a1c141 am: ca397d6a5d am: 8cd3b7340f Change-Id: I27c9e7bf9701a12ea99b276e68422e3311a50cec
|
65ca369420a66fbb44610a37e93cc1a519ac2a1c |
13-Feb-2017 |
Mukesh Agrawal <quiche@google.com> |
Merge changes Ib08b11b8,I849169e3 * changes: last mile: add timeout support (2/2) last mile: add timeout support (1/2)
|
f1423f0bc5fbda5062adb0bd465b999799571f53 |
10-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] setCountryCodeHal For setting the country code in the AP case. Test: Unit test added Bug: 34901480 Change-Id: Id7c224f4a172d2b0cd72ec32977132c2fbb8b3b3
ifiVendorHalTest.java
|
81d5fb213bb4bdede3b0a12a49eb0c7755defeae |
13-Feb-2017 |
Michael Plass <mplass@google.com> |
Fix testFeatureMaskTranslation am: 691806f65a am: e3bdacfaa9 am: f25587c456 am: e8f8403de4 Change-Id: I94e1ac92e12888a52fba6b563b859ed97ff3da60
|
82a4a88af120bfca237f63e3e6645a5f80760856 |
13-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] setScanningMacOui am: df8568a5aa am: f63e1fdf87 am: 770b3603cb am: 1ef67786ce Change-Id: I2060e00b8fb9c3344e28b44dafef42a5effabbc0
|
691806f65a5f259fd8e6b709c97d0035c418c483 |
13-Feb-2017 |
Michael Plass <mplass@google.com> |
Fix testFeatureMaskTranslation Test: all wifi unit tests pass Bug: 35101185 Change-Id: Ifab535088186393f19d6211499c15e043cecb539
ifiVendorHalTest.java
|
df8568a5aaed3c82ff7ef1ecafab85abf7a99da7 |
11-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] setScanningMacOui Test: New unit test Bug: 34901472 Change-Id: I1a6c293c52a0f1eae411a091da75a03cc8c6b4d7
ifiVendorHalTest.java
|
888d5afb49181de37d15faa0630bfc73c7e85bf8 |
11-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes I2385e29b,I308e2632,I2deb19d6 am: a2abce2c29 am: c94ca578e2 am: d27bf37f27 am: 327068e59c Change-Id: I45d7188c13c56d54bc9e8997974422abb2679bbc
|
a2abce2c29a548fd94bb96cbaf5fba8b1a59debe |
11-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge changes I2385e29b,I308e2632,I2deb19d6 * changes: SupplicantStaNetworkHal: Load network ID SupplicantStaIfaceHal: Expose public methods SupplicantHal: Use the new NativeUtil methods
|
249f3fddcadd69260c47aa36ffaca4be5dfed596 |
11-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "NativeUtil: Create utility for native modules" am: 42ac0dbf1e am: 8a8eca5d58 am: dca8a45cf1 am: 071f9cd968 Change-Id: I4b144ff95118d4698a8e728e204b2917611f455a
|
42ac0dbf1eafcb7b04548922c5cfe33a631061f2 |
11-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "NativeUtil: Create utility for native modules"
|
127d56051e0da6302d1f3f1d43f804e5e9652c26 |
11-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] API to return available interfaces" am: efb9bf2f5d am: 847871e4b3 am: 51b4f390fa am: 0fc6b5c6d9 Change-Id: Ifd7f5fe3360403fd906421c655d2b092a6632da5
|
8e68e6198e07adb7babbf6b611b4255201edd26e |
11-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Update capabilities" am: e4da9c3d13 am: 8257050a9d am: 2d7aec4682 am: 3cfe66ca60 Change-Id: Ia928c66c95530889d6b09813d7907e532893836e
|
efb9bf2f5dc149dc36edbf025b6d0eda91013a15 |
11-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] API to return available interfaces"
|
ea6cc92416db63cd94b800ccbd7dd0fa5c19f7b7 |
11-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "XmlUtil: Persist WifiConfiguration.status field" am: 4126ba3f81 am: eaedaef211 am: ecf0bd1b00 am: 3b70983f60 Change-Id: Idc7758113430a12a3f7e2ac8340b376f23331a6c
|
e4da9c3d13a2e86ad7f808b617335a9f12d8f9d3 |
11-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Update capabilities"
|
2c77fc78df8f1e3175c3cd184da1e8301aee75c8 |
10-Feb-2017 |
mukesh agrawal <quiche@google.com> |
LastMileLogger: make fail-safe more robust In order to minimize dependencies, we don't synchronize the execution of wifi-events.rc, and the start-up of WifiService. Consequently, it may be possible for LastMileLogger to be initialized before the Wifi tracing instance. Given the above, we shouldn't manipulate the Wifi tracing instance in the LastMileLogger ctor. In particular, attempting to arm the fail-safe (opening the free_buffer file) in the ctor risks never arming the fail-safe. Resolve this problem, by arming the fail-safe on calls to enableTracing(). While there: if the fail-safe cannot be armed, bail out of enableTracing(). Bug: 34683800 Test: runtests.sh Change-Id: Ibb2922609bf8e33f2a3ce087d383e59d86683b7e
astMileLoggerTest.java
|
3355eb4392aabfae9453e7d6f11d9f0620bf5dae |
01-Feb-2017 |
mukesh agrawal <quiche@google.com> |
last mile: add timeout support (2/2) - Update WifiStateMachine to report connection timeout events to LastMileLogger. - Update LastMileLogger to process timeout events, but ignore spurious timeouts. - Update LastMileLoggerTest, to be clearer about which sections of trace data are present. - Revise the requirements for connection IDs in BaseWifiDiagnostics. Bug: 34691329 Test: wifitests/runtests.sh Change-Id: Ib08b11b8907f47f8b62bfb5e38d0a8263e9d2e4a
astMileLoggerTest.java
|
3f2187fdcc3ed55c909cb4cdee589744655d3243 |
01-Feb-2017 |
mukesh agrawal <quiche@google.com> |
last mile: add timeout support (1/2) As preparation for adding timeout support, update the reportConnectionEvent() methods to take a |connectionId| parameter. This new parameter will be used to ensure that LastMileLogger ignores spurious timeouts. The actual timeout logic, as well as real values for the new parameter, will be added in the next CL. Bug: 34691329 Test: wifitests/runtests.sh Change-Id: I849169e36ca1798ebd1c5fe57d14515f374a0d71
astMileLoggerTest.java
ifiDiagnosticsTest.java
|
727ba04029935d4faee3c7fce8a5a0ba6ed0a4ea |
10-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Load network ID This is needed during migration of networks. So, populate the network ID when loading network config from wpa_supplicant. Bug: 33383725 Test: Unit tests Change-Id: I2385e29b98fd9f950cdd4f353b9d7c1429f5d7ec
upplicantStaNetworkHalTest.java
|
2104cc5eaf4ed7b9047ca1de460838a8ca6d0fe1 |
09-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantHal: Use the new NativeUtil methods Bug: 33383725 Test: Unit tests Change-Id: I2deb19d6cbdc7422c9157a2d515daaff7e17fe66
upplicantStaNetworkHalTest.java
|
99ee64591d5d0ac986b1dbd676382b8a1409a36f |
09-Feb-2017 |
Roshan Pius <rpius@google.com> |
NativeUtil: Create utility for native modules This class will contains helper functions for converting data format for modules interacting with native daemons (WifiVendorHal, SupplicantStaIfaceHal, WifiCondControl). SSID is encoded/decoded differently based on whether it represents an ASCII string or not. Bug: 35154749 Test: Unit tests Change-Id: I466ca7bc1fe14720a922715d31376a1ca7d6c988
til/NativeUtilTest.java
|
307acde0b29838b817a4fd3659a46c22be0ea314 |
10-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] API to return available interfaces Return the set of interfaces supported by the device (all chips) or a particular chip. Bug: 35101185 Test: (new) unit tests Change-Id: I02c7efd0ec1c11aa2301fe7192d202ce40053f24
alDeviceManagerTest.java
|
6296902ef69724b106973b57b268c30ea4f1ab51 |
10-Feb-2017 |
Roshan Pius <rpius@google.com> |
XmlUtil: Persist WifiConfiguration.status field Since WifiConfiguration.status field is publicly exposed we need to persist this field across reboots. We could either, a) Directly persist this field, or b) Reset the field on every load using the retrieved NetworkSelectionStatus. Going with option a) since i want to try and avoid too much logic like this in the data loading path as much as possible. We don't use this field internally and it's only used for external apps to check the status of the network. Bug: 35210874 Test: Unit test Change-Id: I80d692affe628a29c29ad2f4b66f8c1e522b114b
etworkListStoreDataTest.java
ifiConfigStoreTest.java
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
35a930cfb2f5496c638b156605ff1985164543fe |
10-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Merge "Wifi configuration store data refactor" am: 2f74844643 am: e973995a17 am: ff060237a2 am: b705a1c7e5 Change-Id: I3278210fdae8d4a7d85822864ca045df388fcb64
|
2f74844643d30a69e77436e93ad904c7701bac5e |
10-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Wifi configuration store data refactor"
|
3aab62be96ae5db2cd98ea1c1636a396e14fa06e |
10-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantStaNetworkHal: Network Response handling" am: 1b1bafd2b0 am: e4a3d3d5ce am: 8b25c8f246 am: e197d884a4 Change-Id: I57f9d61869028c4a2b0ad5988c8205e13afc5520
|
75bb2a1c3f5c513cde140a8cec417c67423465d2 |
10-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Update capabilities Add extended service specific info and remove vendor-specific attributes. Bug: 35193235 Bug: 35193423 Test: unit tests and integration (sl4a) tests Change-Id: I905c0bf4d06162fb55ff33a314634f9a2f1f8c59
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
|
445b5f46264af0a2e9c043c9badb2b4f38044f11 |
08-Feb-2017 |
Roshan Pius <rpius@google.com> |
SupplicantStaNetworkHal: Network Response handling Bug: 33383725 Test: Unit tests Change-Id: I748ade8a1b65405fb56fd0fa80611d46fe19ef6b
upplicantStaNetworkHalTest.java
|
0a0b5035ce8013ed327a0802357a1b7df3061912 |
07-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Wifi configuration store data refactor Currently, the unified config store files contained data for network list and deleted ephemeral SSID list. Since both of them are owned by WifiConfigManager, it is tightly integrated into WifiConfigManager, results in complexities when need to add new data that's not owned by WifiConfigManager (e.g. Passpoint configurations) to the store file. To reduce the complexity, an abstraction is provided for the store data to be persist to the store files. Any interested module can register its own store data to the store file. Then at read/ write time, WifiConfigStore will iterate through each registered store data to deserialize/serialize configuration data from/to a XML block, to be persist to the store file. So each StoreData is responsible for serialization/deserialization of a XML block denoted by its tag. For example, WifiNetworkListStoreData is responsible for the XML block under tag <NetworkList>. Bug: 31065385 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Manual test to verify saved networks are persisted over boots Test: Manual test to verify migration of legacy store file still works Test: Regression integration test Change-Id: I83c2eb7cd907188f392b5179405f19182ee13bb9
eletedEphemeralSsidsStoreDataTest.java
etworkListStoreDataTest.java
ifiConfigManagerTest.java
ifiConfigStoreDataTest.java
ifiConfigStoreTest.java
|
461e5fbcce032dec8cce52761c90c0c610c11a2f |
09-Feb-2017 |
Roshan Pius <rpius@google.com> |
ISupplicantStaNetwork save & load WifiEnterpriseConfigs am: 64950d46f5 am: 953bf5cacd am: 933eb3c3af am: 512d26b43a Change-Id: I724df4c6a3b49d14c83e3f350ba466f028a24d53
|
4f8df631a2e4bbfaadd8c948d281675ba6b38784 |
09-Feb-2017 |
Glen Kuhne <kuh@google.com> |
ISupplicantStaNetwork save & load WifiConfigs am: 66e9f4ab59 am: 434a307f44 am: 572edc7d8b am: 4b3a2e44fe Change-Id: I3f55fc6a4684b164d1b365d9621e92c352250b28
|
64950d46f5469e5e6ce32ccc81a1f751c40f4202 |
07-Feb-2017 |
Roshan Pius <rpius@google.com> |
ISupplicantStaNetwork save & load WifiEnterpriseConfigs Methods to set/get network variables from wpa_supplicant to WifiEnterpriseConfiguration & vice versa. Test: Unit tests Bug: 33383725 Change-Id: I82ce772db84ebdeadbd54e8ac5b11f4a4b10cb14
upplicantStaNetworkHalTest.java
ifiConfigurationTestUtil.java
|
66e9f4ab597136cbf4accadb8e009fc68ff071a7 |
03-Feb-2017 |
Glen Kuhne <kuh@google.com> |
ISupplicantStaNetwork save & load WifiConfigs Methods to set/get network variables from wpa_supplicant to WifiConfiguration & vice versa. TODO: Enterprise config params will be added in a further CL. Test: Unit tests Bug: 33383725 Change-Id: Ib002266a93b4738d0634cd1bbc925b61a86c1df7
upplicantStaNetworkHalTest.java
ifiBackupRestoreTest.java
ifiConfigurationTestUtil.java
|
bbcb3e9f69c1a4fe2698948e56379e2fd246f2bd |
09-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Move getScanResult to WificondControl" am: 7c2c343199 am: 18f5a463f7 am: dbfcbeff3e am: b332462325 Change-Id: I00be7e2f40248f4bb26c4cc452bd729a1ac06443
|
7c2c34319905b2122f124134a9f6f2064f1a2ea5 |
09-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Move getScanResult to WificondControl"
|
9015eb26753ff98a7716b2cf3764b92b2a6dd0d5 |
09-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] APF support" am: 7a408ba5e4 am: c9bd9e7a9a am: 198f357aec am: 761432f037 Change-Id: Ia56a98e802da1ec1dc6e66c4377aa2504ed74615
|
7a408ba5e446159195262a8eb5a9c9eaaffffd73 |
09-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] APF support"
|
b77ef41835180c0f427ea74f688d2ece0f7a6ea9 |
09-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Send message: error code handling" am: 9f72999627 am: 4e638767c2 am: 6118519195 am: bc622bbaf8 Change-Id: Id5d8b0f2158d48205479fa1d90acedede30d4f24
|
0675e75623e8308d32ca9a304de2062204783185 |
09-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Handle HAL failure correctly" am: ee13bbb487 am: 47bf3e1480 am: a5a2422a24 am: d896da0fc0 Change-Id: I6181f9b0467e4220ee2e1741348614cfd05e4584
|
9f729996277994d6320b046a74f75237f0f4e64c |
09-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Send message: error code handling"
|
ee13bbb487f6484b8a7d92104c0f3d2997439db3 |
09-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Handle HAL failure correctly"
|
9f74a332a61c48359e85e452cda52b6b72d92649 |
09-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Move signal poll and getPktCounters to WificondControl" am: 37892799c6 am: 3a2577c333 am: 772d2230bc am: 6e41d0767a Change-Id: I89778a6783729091a78f5f9a4c509604437f68bc
|
7a3f94814b4f960cc6e69b884c896e36f6bbc5f7 |
09-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Create new class WificondControl" am: 15413f890a am: 24aebb475c am: 5fc1edd5ef am: fc49c1754b Change-Id: Iea1cf884a5922f4157a942bf78612e1c485b271f
|
cc0a86f647320808c5d88da6e9d45c6de10b65b0 |
09-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Override equals() for wificond java side parceable classes Bug: 35155583 Test: compile, unit tests Change-Id: Icb41a9aa5318928ca4605513f27641df80830860
ificond/PnoSettingsTest.java
ificond/SingleScanSettingsTest.java
|
939ecb928e139b6d090b3264129105c542b30311 |
09-Feb-2017 |
Sohani Rao <sohanirao@google.com> |
Merge "Log API surfaces of WifiService" am: 4498a1ad78 am: 195acc79f6 am: 39f733c336 am: d66c663b09 Change-Id: I0f4152bdf32f00178640c702a978316b9108946b
|
9817b8a1d1afae8a8dda515b85358cb8a07cbb12 |
09-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] driver, firmware version getters" am: d3c7f796e7 am: 7b3db5c96e am: 9a94c90b97 am: 602188a45a Change-Id: Ic2a5c897f9057ee3f601db7dda73251728a63d0b
|
37892799c66c1de5ec1713109b12d9d9cf7459fc |
09-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Move signal poll and getPktCounters to WificondControl"
|
15413f890a31b7ba8ac9e1410a7fc44f8f695c32 |
09-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Create new class WificondControl"
|
ccac1c69ee6559b567e34b9b19e368efaa600174 |
08-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] APF support Test: Unit tests pass (2 new tests) Bug: 34901818 Change-Id: Ife9c541166ef895fd4732ddc435951ba2bd97758
ifiVendorHalTest.java
|
4498a1ad78d325a8a42358c875197cc1b7e4c517 |
09-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Log API surfaces of WifiService"
|
d3c7f796e7aadb6549993b480f31b16bb256025e |
09-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] driver, firmware version getters"
|
8631700c2c81784d8fb02d38a304cf6609f67c14 |
31-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Move getScanResult to WificondControl This allow WifiNative to fetch the latest scan results from wificond instead of supplicnat. This should not impact framework behavior because both wificond and supplicnat fetch scan results from kernel via nl80211. Bug: 34715459 Test: compile, unit tests, manual tests, integration test Change-Id: I21ab3d15399318240fba8e76dfd5afc638954bed
ificondControlTest.java
|
f2fdf411925ad172b5e0b25b0c6df880256691d4 |
20-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiService Log following ways to interact with WifiServiceImpl - AIDL methods, trace calling uid - AsyncChannel messages sent from and handled by WifiService using WifiAsyncChannel instead of AsyncChannel - AsyncChannel messages sent to WifiService using WifiHandler instead of Handler This CL changes the construction of WifiServiceImpl to use the WifiAsyncChannel object instead. Exercise WifiAsyncChannel using tests added in WifiServiceImplTest and mock logging objects. Bug: 33780715 Test: Unit tests, Sanity tests (power on and connect to AP), and verify logging Change-Id: I7a56806ea1b166d15a4c75e5e0d5bfcaf23c7b98
ifiServiceImplTest.java
|
7e7e2e3fd4da1f5ccda2f03dcdb321654e9f6ff8 |
08-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] driver, firmware version getters Test: Unit test passes Bug: 34901572 Change-Id: I31a28965a8a57a886dc5934a285e471d3fd7c429
ifiVendorHalTest.java
|
277f44f15b497a29d0d911c3b14b6d83b5895277 |
08-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Java side unit test for NativeScanResult am: de6c1aeca1 am: 107c9c3889 am: ea9e82d4be am: 456fcdaeb8 Change-Id: I337a2e4168c90c35c855399a8115fba9e3ff14a5
|
d45b46b01f8562219468291bdc19363f0540ced0 |
27-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Move signal poll and getPktCounters to WificondControl Bug: 34715459 Test: compile, unit tests, manual tests, cts test Change-Id: Idbed255d86b83c6bfb725db7af89117546ca3358
ifiNativeTest.java
ificondControlTest.java
|
70603901b67c48202ecbb1818e59d487bbcceeda |
26-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Create new class WificondControl This creates a new class WificondControl. WificondControl provides methods for WifiNative to send control commands to wificond. This also moves driver reload, disable/enable supplicant, and interface cleanup from WifiStateMachine to WifiNative and WificondControl. This also adds corresponding unit tests for changes above. Bug: 34715459 Bug: 34776808 Test: compile, unit tests, manual tests, integration test. Change-Id: I5a5436ae54e7dcd1f2f2f7c780a6f0bdce79ffc2
ifiNativeTest.java
ifiStateMachineTest.java
ificondControlTest.java
|
de6c1aeca1b431d858f6f074cb3e1b5421e46dc6 |
19-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Java side unit test for NativeScanResult Bug: 34281985 Change-Id: Id29b3ce0d3a67005b90364482bf3eb8fc069adb7 Test: compile, unit tests
ificond/NativeScanResultTest.java
ificond/PnoSettingsTest.java
ificond/SingleScanSettingsTest.java
|
26f57d4921a2390f90d4bf474cb76ec3761d6c69 |
04-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Send message: error code handling Send message operates by queueing messages to the firmware and then reacting to the status of the queue and the actual over-the-air transmission. Added: - Code to handle immediate queueing failure (need to be more concerned with transition to HIDL - likelihood of immediate errors increased, e.g. due to service failure). - Code to differentiate QUEUE FULL error code from other firmware errors. - More robust testing framework: including a model of the device and randomized responses. Bug: 29061728 Bug: 29459286 Test: unit tests + integration (sl4a) tests Change-Id: I218ec9b9107fae0efc7299341ad02e19034d2f09
ware/WifiAwareStateManagerTest.java
|
e417fbaed361beaf717764feb7a255b56b1630ab |
08-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Remove isFullScan from SingleScanSettings" am: 969f150805 am: ac593fcb0d am: 176c6e0250 am: c814db4502 Change-Id: I48d6b9948e09a836152b27c12cb6913ca25d77df
|
969f150805d1ee94038c8447fb52a7b841ce508b |
08-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Remove isFullScan from SingleScanSettings"
|
d116abb2cfebe0ec2ec2604d75acf5ba85afff95 |
08-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] getSupportedFeatureSet" am: 8dd2f05191 am: ba23bf27a0 am: a7c3139aa7 am: 174834d2be Change-Id: I077b11ba774196a67129af176342a26d559ff8b8
|
8dd2f05191af69f9d6f061e85f1937632426d240 |
08-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "[WifiVendorHal] getSupportedFeatureSet"
|
5254a256676974e9db86fcb86b2f41af7d4a59f5 |
01-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Handle HAL failure correctly HAL calls may fail asynchronously or synchronously. The frameworks finds out about async failures through notification callbacks - already handled. The synchronous failures happen immediately on HAL API calls. These are rarer and have not been handled until now. Add code to handle the sync failures - by calling appropriate failure callbacks. Add unit tests. Bug: 29061728 Test: unit tests + integration (sl4a) tests pass. Change-Id: I7ad35c989aa146f74eaad4eaa781d2e628586846
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareStateManagerTest.java
|
ad449c1f41364ea1aa3e3e862d92db12653069e5 |
07-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Remove isFullScan from SingleScanSettings Bug: 35103495 Change-Id: I54e7e58662c8ec8e67b5ed5f76155445a8db6b2d Test: compile, unit tests
ificond/SingleScanSettingsTest.java
|
cc4eec889c54fa7618aa1b8f1288f45d7754ea5f |
06-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Pass enabled networks to recommendation provider Bug: 34973057 Test: ./runtests.sh Change-Id: I1d1854e22e13224659a9e2c877b4c4fe74c1eafb
ecommendedNetworkEvaluatorTest.java
|
260f8f7ab5595c36ab5d130441cabe3dc944830c |
02-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: Passpoint API rename update Some Passpoint APIs are renamed to follow the API guideline, so update the callsite accordingly. Bug: 34862444 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Iff7b5aafac0b0062c4575e24383530f91849db36
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
1dc6d8ecde4cad66dc8cb7b97926f1120e7b0d57 |
06-Feb-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] getSupportedFeatureSet Handle the feature bits that come from the STA interface. Test: Unit test passes, manual test with HIDL HAL enabled. Bug: 34900537 Change-Id: I6abdedfe03714a23396c648c5333766b6f224c5d
ifiVendorHalTest.java
|
19447b3f8edfc752b23d89c57b09abe0ca3c581c |
04-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Clear BSSID when adding ephemeral networks. Also allow NetworkRecommendationProviders to specify "any" or null as the BSSID for a recommended WifiConfiguration. Bug: 34975077 Test: ./runtests.sh Change-Id: I5753b27f0ae58a3d32f7590097caa237bf5beef7 Merged-In: I5753b27f0ae58a3d32f7590097caa237bf5beef7
ecommendedNetworkEvaluatorTest.java
|
717cd0df9157e81dbd78f0292c6ce0ddc78e301f |
06-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Clear BSSID when adding ephemeral networks."
|
0f09e36f95316f4f9e23acfee08affb37f083ff0 |
04-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiSupplicantHal: Rename to StaSupplicantIfaceHal" am: 147adcf0d7 am: c50cfe38b0 am: bb822db22d am: c4da4d0954 Change-Id: I712a7396cc6421173dfe824dafeaf74eba48dbd8
|
147adcf0d7bbedb95be8b6a49db628e2d7003d5c |
04-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "WifiSupplicantHal: Rename to StaSupplicantIfaceHal"
|
c2e5122eff7f50ee3260462e0bc091c0422bb695 |
04-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Clear BSSID when adding ephemeral networks. Also allow NetworkRecommendationProviders to specify "any" or null as the BSSID for a recommended WifiConfiguration. Bug: 34975077 Test: ./runtests.sh Change-Id: I5753b27f0ae58a3d32f7590097caa237bf5beef7
ecommendedNetworkEvaluatorTest.java
|
b4419d876beda78c29836726e43d80203b4a656c |
04-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiSupplicantHal: Rename to StaSupplicantIfaceHal Bug: 33383725 Test: Compiles Change-Id: Icfe37705c3f053aa46f410a6c11e71fb93733a05
upplicantStaIfaceHalTest.java
ifiSupplicantHalTest.java
|
fb4745ac123a0150101d269d4e5bcaf108b62187 |
04-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] - WifiLinkLayerStats" am: 483eab074f am: b365c72883 am: 8fa590f06f am: b0fed7c626 Change-Id: I82b644d63318e277f8c87ae7a97790a0597b3e05
|
eb55cd19e61637f40e097a47ac9006ef2874944f |
03-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: Passpoint API rename update"
|
4f2049a015722cae0f0169379d499d5d4fc98e30 |
30-Jan-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] - WifiLinkLayerStats Test: Unit tests pass, manual testing Bug: 34900534 Change-Id: Ib78e292b0a5b1a3cfd10a48d47fbe8f12d734319
ifiVendorHalTest.java
|
0932396ba66987440b428de30166e9261bd2c04e |
02-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Merge "WifiConfigManager: do not delete certificates and keys for passpoint network" am: 86584ee872 am: 076d620c0b am: 30e49464aa am: 47cf373af5 Change-Id: Ibbe6a7a7a6e53297d64b3d30c06f8da917171920
|
9d32963a3ffde278ce5b74e990cfc0f4cd97e20a |
02-Feb-2017 |
Glen Kuhne <kuh@google.com> |
Merge "ISupplicant Initialization unit tests and refactor" am: e19aa4378b am: ac3a13e728 am: d6d1d369dc am: d5df46a513 Change-Id: Id7034dc32b4de87f2a44bf7cff515c4c3f18b0d1
|
86584ee872168ff7dd314674f92795e73abaf12d |
02-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "WifiConfigManager: do not delete certificates and keys for passpoint network"
|
e19aa4378b3cbe6e8348399afde16cc17461ef6b |
02-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "ISupplicant Initialization unit tests and refactor"
|
a82dc0aa4c8c326b26a36b452f5fbfe7ba92efff |
02-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: Passpoint API rename update Some Passpoint APIs are renamed to follow the API guideline, so update the callsite accordingly. Bug: 34862444 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Iff7b5aafac0b0062c4575e24383530f91849db36
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
0d1e0f4f3e85ba71fd288cdeb0d332915f1b0ec6 |
02-Feb-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Prepare for HIDL integration am: d84fd37259 am: 1f1646714b am: 32a83075d5 am: 8e3a537759 Change-Id: If4733168540caf55a4423175648b80447db6ce37
|
d7e8058288bdc5085b54fef77dbfa38597cea348 |
01-Feb-2017 |
Peter Qiu <zqiu@google.com> |
WifiConfigManager: do not delete certificates and keys for passpoint network They will be deleted when the Passpoint profile is uninstalled. While there, avoid triggering a perisistent store save when adding or removing a WifiConfiguration for a Passpoint network. Bug: 34888235 Test: Verify connecting to a Passpoint network works after is disconnected previously Change-Id: I204eaf7053d047b5f4983c6167e6e520bcf643ff
ifiConfigManagerTest.java
ifiConfigurationTestUtil.java
|
d84fd37259c6e956d0f00c261f573dfa319acb91 |
28-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Prepare for HIDL integration Changes in the CL: 1. As a precursor to plumbing through the WifiVendorHal method to WifiNative, add a |isStaMode| flag to startHal in WifiNative. WifiVendorHal.startVendorHal() uses this boolean to configure the chip in the correct mode. 2. Add a new CMD_INITIALIZE message in WifiStateMachine. This will be used to initialize the HAlDeviceManager module (via WifiVendorHal.initialize()). This needs to be done before the WifiVendorHal.startVendorHal() is invoked, so triggering this when we get notification that the system services are ready. 3. Also added error recovery in WifiVendorHal.start(), any failures will trigger a HAL stop. 4. Add a flag to enable the HIDL calls. Bug: 33384303 Test: Compiles Test: Added unit tests Test: Devices is able to boot up and configure the chip in STA mode (via HIDL using some local changes not yet ready to commit). Test: Devices is able to boot up and connect to an access point (not via HIDL, making sure nothing is broken if we check this CL without the rest of HIDL changes). Change-Id: I8350a2e120edec4941f0e070478fa7e313a01bb3
ifiStateMachineTest.java
ifiVendorHalTest.java
|
98152bd4a4e36ea2097abd474248a4c7884f55b5 |
30-Jan-2017 |
Glen Kuhne <kuh@google.com> |
ISupplicant Initialization unit tests and refactor Refactored WifiSupplicantHal to make initialization more robust and testable. Test: +4 unit tests Bug: 33383725 Change-Id: Id083b8462d68229b51eb8518e5d887052c99a12c
ifiSupplicantHalTest.java
|
33690e49cb30d4880f08098c7f04e037e2f8d10d |
01-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Wi-Fi Aware HAL: move to HIDL" am: f8759c3c73 am: 687d30af7e am: 5b2b30ff18 am: b373148c63 Change-Id: I873a7a12b9fc3f7c64eed12910e79cd39ac6c88f
|
f8759c3c7309d4905459c04e476f720045f56304 |
01-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Wi-Fi Aware HAL: move to HIDL"
|
c6e47761cbbe85404d7245bde4e0624738e24281 |
01-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: use updated PasspointConfiguration APIs" am: 25e0d91a8d am: 5abacce4a6 am: e97f99d17d am: af0ed96aa6 Change-Id: I2475b9ce10a5f032a7f7a106c059678f72c80748
|
25e0d91a8d152c7c59bf6295e1931e7450bd1d8c |
01-Feb-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: use updated PasspointConfiguration APIs"
|
d6a7bfbd924bca2b2ca8c9ff1bd455a1e72ac979 |
01-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Handle user switch after fresh install" am: 605f370795 am: 3ea006e5fc am: e9842596be am: 871a44e87c Change-Id: Id29c945cbfcf572e7007769779ccac8e4504ef8e
|
db3c9d35a7f08de03beec81e801d917a5375f63e |
30-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Wi-Fi Aware HAL: move to HIDL Transition from JNI-based HAL to HIDL-based HAL. Bug: 32315992 Test: unit tests + integration (sl4a) tests passing Change-Id: I8deeaa501b90b1b2a92c3f57a7e0251f21cc40ff
alMockUtils.java
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareHalMock.java
ware/WifiAwareHalTest.java
ware/WifiAwareNativeManagerTest.java
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
|
605f370795be014ed0816eb8cf91aa10ddace8f0 |
01-Feb-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Handle user switch after fresh install"
|
f50111bd5f2f48f0b0b6bf4c31282b19b59018d2 |
01-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] Tests for WifiVendorHal part 1" am: 4703827bdb am: d501afcab8 am: db05e72b5d am: 95f64bdb02 Change-Id: Ife1c19ac20abd1627d80b5fc5220cfc75a64c3a8
|
4703827bdbe599d907e7227e1a6113ac417581cc |
01-Feb-2017 |
Michael Plass <mplass@google.com> |
Merge "[WifiVendorHal] Tests for WifiVendorHal part 1"
|
4f4d745ca28b915ea4a7c91ec5df3ea8a2db64ad |
25-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: use updated PasspointConfiguration APIs PasspointConfiguration APIs are updated to use private variables with public accessor methods based on the API guideline. So update the callsite to use accessor methods instead of using the variables directly. While there, refactor the test a bit to reduce code duplications. Bug: 34627062 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I96ce7c3bdb3b6a6dce1715f29e5e1e019dbeeb5e
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
249f241b74b783d8c42af201d40f453ea637b32a |
31-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Handle user switch after fresh install Need to handle user switch after a fresh install. Since, there are no store files after a fresh install, we need to reset the |mPendingStoreRead| flag to allow user switch handling. Bug: 34834491 Test: Added unit test Change-Id: I097ea506c2e536413feab89182d03826829eabce
ifiConfigManagerTest.java
|
1c677f0682c21726be71674c4ab9c142379bad47 |
01-Feb-2017 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: cache ScanDetail for Passpoint network" am: 9f880cb9a5 am: 18a0ee2069 am: 5afa8b696c am: 7edd42c640 Change-Id: I533cf42e8f1d5f355b1fb85f9547e0617caf3ea7
|
ef0fa7ba7ac833aca7fc3e28a0158354e0f01ada |
31-Jan-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Don't return null" am: ec8b297e0f am: f3ff1f7f81 am: 3d50a88622 am: fc7b2ba419 Change-Id: I9e053ed7859994cc0f93448a5b077ba199283035
|
74663a838d88c4d512a881b113f80a105c9899d8 |
31-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] Minor clean-up of unit tests" am: bff11a66ec am: 152ce8e4a0 am: 448eedefc0 am: 2539ff9ba1 Change-Id: I4c2c8e871e9f74668609ba79f8e016d27703ed29
|
9f880cb9a5e208c4f5ae5ab5e1d3f2d164740458 |
31-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: cache ScanDetail for Passpoint network"
|
ec8b297e0fbf4ed94c2c8a1a7694f80010359adc |
31-Jan-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Don't return null"
|
b4659e143a1a0b27e4f4ca82e8428863b8c41324 |
31-Jan-2017 |
Michael Plass <mplass@google.com> |
[WifiVendorHal] Tests for WifiVendorHal part 1 Need to start somewhere Test: Yes Bug: 33384303 Change-Id: Ib458463facd472e590e08eee398993c8fe45423e
ifiVendorHalTest.java
|
d857cf147e21018690e12e7ae4f84c692a63b091 |
31-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] Minor clean-up of unit tests Remove duplicate in-order object initialization. Only use global in-order verifier. Bug: 34474043 Test: unit tests pass (before and after) Change-Id: If3fb10ad5ec8a59a5c8a7bf2139e686a0cced68e
alDeviceManagerTest.java
|
850116348dacd6baf16645641c3383970e4a1157 |
31-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: cache ScanDetail for Passpoint network When a new WifiConfiguration is created/added for a Passpoint network, we need to cache the initial ScanDetail for it. So that others can get more detail information about the network (e.g. NetworkDetail) when needed. Bug: 34735964 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ia8ee3fef2eab3c4bcd81c23a0adf9b805abaaf6f
ifiConfigManagerTest.java
|
c7588c6a7307e177085a4368498bf00632acb448 |
31-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Don't return null The SettingsBackupAgent doesn't handle null returns, so return an empty array if there is no data to backup. Bug: 34831550 Test: Added unit test Change-Id: Ieed471a9cc01ae58dcb70529f12974a76b2e8dbb
ifiBackupRestoreTest.java
|
934595feae83f8072c9deef2dbab0a3bc4788a10 |
31-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] Stop Wi-Fi if (re)started" am: a93c6ba03f am: a2c49d4146 am: 68dc99a952 am: b83bab0aa9 Change-Id: I3260ccf45fd234a25816da7e63e267fe4deb3650
|
a93c6ba03f196e89117507646110a6fdd6ad59ba |
31-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] Stop Wi-Fi if (re)started"
|
c631d41a08401fb916f241d7e5d53d9e3b5c5d00 |
31-Jan-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiStateMachine: Allow network list retrieval in Default state" am: b55c25ab87 am: f0fa939686 am: 7e80fe466d am: b0f5335801 Change-Id: I9eba900f1740f06f9d4170374aed86e263a8f757
|
b55c25ab87c5515ca57d73219031eebc7c7139fe |
31-Jan-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiStateMachine: Allow network list retrieval in Default state"
|
a5dc1667f752dc2446e6de12279614a4fd9e2fe2 |
30-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] Stop Wi-Fi if (re)started When getting notification that Wi-Fi service is started we don't know if this is a re-start of the service or potentially of the framework itself. If the framework is restarted then it is possible that the state of the service and framework are out-of-sync. Therefore, on every service restart make sure to reset it by stopping Wi-Fi. Bug: 34474043 Test: unit tests Change-Id: I5968598756cae3c1181659ef153b36cada7c2c16
alDeviceManagerTest.java
|
128fcfb990488b9aeb7a8bdc06705653a9500b09 |
30-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiPermissionsUtil: add WifiInjector" am: b860b8e236 am: 55e4ee4f80 am: 1c095850a5 am: 2584fcdcde Change-Id: I30b3b02a5eb7743e744fe03f7716ee6306b6db51
|
23ed63d91b8af8f1d3569371daedc4162e323cc0 |
30-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiStateMachine: Allow network list retrieval in Default state Now that we've moved the config store loading to DefaultState, we should be able to start supporting network list retrieval in DefaultState as well. This should allow apps to query the list of networks configured even when wifi is turned off. Bug: 33391502 Test: Added unit test Test: Verified that the saved networks list is visible in settings even wifi is turned off. Test: Regression tests Change-Id: I1b0716d59a2262fc269d95138cd7f90a442eb18b
ifiConfigManagerTest.java
|
f2d2a31c8c98f17545f72033abe0d281c829c055 |
27-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiPermissionsUtil: add WifiInjector Instead of calling the WifiInjector.getInstance method that is used for the makeLog command, pass the instance of WifiInjector so the unit tests can pass stand alone (or when run out of order by the automated test process). Bug: 34764965 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.util.WifiPermissionsUtilTest Change-Id: I782135fa55d1bbf760c271344a7502687a2ba591
til/WifiPermissionsUtilTest.java
|
cd079c9382dd027270265f89e0d75dff135eed25 |
27-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] Available for request API + STA/STA request bug" am: 21de76fadf am: c987ee6b1b am: 230f4d6e63 am: 707c453c4a Change-Id: I5689bf808d1fb7b4552bc8b940a9a3afca930c95
|
21de76fadfca64eaa0fd14b181e8c726d55d2daf |
27-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[HAL Device Manager] Available for request API + STA/STA request bug"
|
5bd4fa3b2872e8b339dd38ca4b2378af939835cf |
27-Jan-2017 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Cleanup the pending store read logic" am: 69dfa6e3f6 am: 11abfb6a35 am: 4236dfeb45 am: a0f2215f14 Change-Id: If5e5bb3730e2079ff6f000d0aed48bae4b041692
|
448a7b6b7b16cf39ed25729ceaf61edb30368567 |
27-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] Available for request API + STA/STA request bug Updated available for request API: - Simple register/unregister API - Will be called immediately on registration (if valid) - Will be registered until unregistered - Only a single copy is kept (duplicates detected) Fixed issue whereby the requested interface wasn't counted toward the total of required interfaces. So with only one STA allowed, a second STA would have been allowed. Bug: 34474043 Test: unit tests pass (with new unit tests added) Change-Id: Ic19731b66a609b828cda07f8065ef27ead077b2d
alDeviceManagerTest.java
ware/WifiAwareNativeManagerTest.java
|
69dfa6e3f6657d5505c881133fe1320edd066589 |
27-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "WifiConfigManager: Cleanup the pending store read logic"
|
d7e826a86f845e439715eae57d43731d1ca9a404 |
26-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Cleanup the pending store read logic I had assumed that user unlock would always come after boot completed, but it turns out that it's not always the case (especially for non encrypted devices). Couple of flags added to handle this race: 1. mPendingStoreRead: Used to indicate if we have invoked |loadFromStore| or |migrateFromStore| once. This flag is used to defer any user unlock or switching handling untill we do load from store. 2. mDeferredUserUnlockRead: Used to indicate if we deferred a user unlock handling because we had not yet loaded from store. User switching requires a UI interaction and cannot occur until the BOOT_COMPLETED broadcast is received. So, there is no need to handle that. A wtf was added to alert for out of order notifications. Bug: 34741678 Test: Added Unit tests. Change-Id: Id17d233f8da2540210b84cbd313b2a3efff90d70
ifiConfigManagerTest.java
|
a654de0cc15534aac47c9fa65ea69c0346000ea3 |
26-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Merge "Fix WifiScanningServiceImpl stand-alone unit test failure"
|
2f924aa064fbdeef4c07d52e71812ac5b42ad5a9 |
26-Jan-2017 |
mukesh agrawal <quiche@google.com> |
WifiDiagnostics: propagate events to LastMileLogger am: d3ab97d3cf am: 4c98ad96ef am: 9db62447e7 am: 972fb4919e Change-Id: I858683112a5016bbe1dda5339fc90b16cc7cb9ec
|
d3ab97d3cf26342610204b6492f082d62d3e51e3 |
07-Jan-2017 |
mukesh agrawal <quiche@google.com> |
WifiDiagnostics: propagate events to LastMileLogger In order for LastMileLogger to actually be useful, LML needs to receive notifications about connection events. Update WifiDiagnostics, to propagate events from WifiStateMachine, to LastMileLogger. While there: make the |mLog| field final. (I probably should have made that field final in the first place.) Bug: 34362951 Test: tests/wifitests/runtests.sh and manual Manual testing: - boot with new code - connect to GoogleGuest $ adb shell dumpsys > >(egrep 'rdev_connect') 2>/dev/null <...>-5220 [004] ...1 83.714720: rdev_connect: phy0, netdev:wlan0(5), bssid: 6c:f3:7f:ae:8b:f1, ssid: GoogleGuest, auth type: 0, privacy: false, wpa versions: 0, flags: 0 Change-Id: If1c6b50f866d892c4a95ac94398bfe0680e5a51a
ifiDiagnosticsTest.java
|
53b06dd52d6de7ca083fa0163cfbfbc0377d9767 |
26-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[Wi-Fi HAL Device Manager] Status callback semantics change" am: cdf8904a4e am: c01cec3edd am: af489796eb am: 67f89a37fd Change-Id: I1efb46f377c9968e799f8618ba1c208e62c8c5b8
|
cdf8904a4ef612050f56458ac0daa447dba3d39e |
26-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[Wi-Fi HAL Device Manager] Status callback semantics change"
|
4a012d169d9e98d7afe2c0e0c427458415899f6b |
26-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Restructure config store load am: 4f294fab99 am: f743a8f939 am: 452200b7e5 am: e6d139f813 Change-Id: I5d19e8d6ed5e3658449ee63f2741d4caedee8393
|
f743a8f939751fe35b49544a36021b00669b4c4e |
26-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Restructure config store load am: 4f294fab99 Change-Id: I09a5d9171fec152d3e16602dcd9421278a70f3dd
|
995d94e21324625a43ec4e437b408e09787f8951 |
26-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge changes I78c382ea,I3e4f7e21 * changes: WifiStateMachine: Allow all apps to connect to a network WifiConfigManager: Restructure config store load
|
75056bc60eeb726e855d8a8eefe729fcb7144fd9 |
26-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[Wi-Fi HAL Device Manager] Comments/nits am: 5e9a23e247 am: 440e0709b5 am: db54fea894 am: 1e2787d16c Change-Id: Iffdb43f4488383dca319801259cb81cda78138a6
|
3145bb4d3359647cccd9b4aba1734066f36bb2e6 |
26-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[Wi-Fi HAL Device Manager] Status callback semantics change Change behavior of status callback/API: - Listener provides a status change only (onStatusChange) - Triggered when Wi-Fi is started or stopped - Triggered when Wi-Fi HAL service dies or restarts - API for - isStarted(): indicates if Wi-Fi is started or stopped - isReady(): indicates if Wi-Fi HAL service is alive Bug: 34474043 Test: unit tests Change-Id: I8babb00ea8a2c8c485d1661255644434f0787d8e
alDeviceManagerTest.java
ware/WifiAwareNativeManagerTest.java
|
4f294fab991c91d629b9dfab5ed3a35a69ed3ce6 |
20-Jan-2017 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Restructure config store load Currently, we load from config store only when we start wpa_supplicant in SupplicantStartingState. However, we handle the user unlock/switch in the DefaultState. This could lead to cases where we handle the user unlock (& thus overwrite the config store file) even before we have had the opportunity to read the existing data out. Changes in the CL: 1. Decouple the migration of data out of legacy store and the load of data from new store files. 2. The new config store loading will now happen in BOOT_COMPLETED message handling. If it's a bootup after fresh install or upgrade from N, this will be a no op. 3. Whenever wpa_supplicant is started, attempt to migrate data out of the old config store. If the data has already been migrated, this will be a no op. 4. User unlock/switch before migration is performed is ignored. PS: This will also help us handle the |WifiManager#getConfiguredNetworks| API even if wifi is disabled. Bug: 33966771 Bug: 33391502 Test: Added unit tests Test: Will send for integration tests Change-Id: I3e4f7e21dc88bad5ae8581a150b29850fbac0afa
ifiConfigManagerTest.java
|
ff269d3f35876b1b330ab787cf7c0c0a0cef68ba |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL Device Manager: implement available for request logic am: d887e5c6bf am: 70fe59aafb am: fc7bd37e68 am: bd08e1f63d Change-Id: Idbecf7f20c8caf50d2f8616b2b491c57a30c7d5a
|
2c35ef2a4f508d531d570c1f97bfbf4d844cf81c |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: implement coordination logic am: a78e7cf8de am: 5210c2c40e am: 3418e0e23a am: 18967efdbe Change-Id: I00d8d486432ed01eda9a02a63b7957c2b9227d69
|
7fedc9fe96a63a578d004c4f577566172f2e3452 |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: add interface API am: 64ce9f185e am: de09d94930 am: 34223a0809 am: bee83623b0 Change-Id: Icb8d0dad68b4ffd8567b23b4ba1d38fa413e888f
|
562a7daebb04ebf9f0d0e06cbd55c557f0c9321b |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: baseline for init/start/stop am: dd4dcab629 am: 37deab4074 am: be32fa55c7 am: 549a3511e4 Change-Id: Ifd296b4207a1d19a2610e0150de87a781f71bd10
|
5e9a23e2472ac7ba67924b8a8f79dff9f6e5e186 |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[Wi-Fi HAL Device Manager] Comments/nits Update naming and comments per original CL reviews. Bug: 34474043 Test: unit tests passing Change-Id: Ie32df5e2910d1b6c6efeecf7a2134653521ced51
alDeviceManagerTest.java
|
70fe59aafbf6e9d93cb24081ca71b5a12168023c |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL Device Manager: implement available for request logic am: d887e5c6bf Change-Id: I8be2a762dd0fa6acda52cc0fe8bc3bb745d0c52f
|
5210c2c40e14635738d882b73c73b6a077d3318f |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: implement coordination logic am: a78e7cf8de Change-Id: I0d39b539ccd1041ef857876b77e4bd9862579610
|
de09d94930c425577096087d9abbab06fd0787f0 |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: add interface API am: 64ce9f185e Change-Id: Ib08f645f90816dc3a3c762e3480bff41dd53ea1b
|
37deab4074e33c2380f7d1de679e116873406f22 |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: baseline for init/start/stop am: dd4dcab629 Change-Id: I0dad48093225a533a6aad9fd38a58b1fbb7b4f36
|
2440465d07a9032f95aa37209f8931bb73568fb6 |
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge changes from topic 'hidl_device_manager' * changes: Wi-Fi HAL Device Manager: implement available for request logic Wi-Fi HAL device manager: implement coordination logic Wi-Fi HAL device manager: add interface API Wi-Fi HAL device manager: baseline for init/start/stop
|
965a9ef7aad4a24da5d370d5155fd2159f0e4db2 |
25-Jan-2017 |
mukesh agrawal <quiche@google.com> |
add LastMileLogger am: 1716aa7ad8 am: 444b3659f3 am: a6f0071793 am: d0d08a026c Change-Id: Icce25d66013a8492d55774da90b11a4df3214b2d
|
1214f9a8d91477a14bc584e1c97fb1b08d64db18 |
25-Jan-2017 |
mukesh agrawal <quiche@google.com> |
BaseWifiDiagnostics: generalize reportConnectionFailure() am: cf99aa8a53 am: d28334a509 am: 67ece1dd64 am: dfb15831cb Change-Id: I702345f623c3aebf1bcc9583abe9b136693ab246
|
d9e0e830e4b4f3c8397460cf5e197345df62c802 |
10-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Fix WifiScanningServiceImpl stand-alone unit test failure WifiAsyncChannel and WifiHandler objects use lazy intialization for the logging objects. WifiInjector.getInstance() may return a null object if the unit test is run by itself or if earlier tests have not created it. If the unit tests are able to update these instances with a logging objects that are not null, then unit test can pass stand-alone. - Add a method in FrameworkFacade to return new instances of WifiAsyncChannel - Update WifiAsyncChannel to expose setWifiLog() API for testing only - Call this method on instances of WifiAsyncChannel returned by the mock of FrameworkFacade factory to ensure mLog is not null - Add a method in WifiScanningServiceImpl, also meant for testing only to update WifiHandler with logging object - Change unit tests to call this method after starting scanning service Bug: 34127212 Test: WifiScanningServiceTest by itself and all unit tests pass Change-Id: I0bc7a55d6d6862e2360bfb20897828e84358dd39 Merged-In: I0bc7a55d6d6862e2360bfb20897828e84358dd39
canner/WifiScanningServiceTest.java
|
1716aa7ad8e00a41980c4120c2104b25fe36630e |
07-Jan-2017 |
mukesh agrawal <quiche@google.com> |
add LastMileLogger Add the LastMileLogger class, which manages the tracing of kernel wifi events. These events will include cfg80211 API calls, cfg80211 events, and data-path events on the Wifi interface. Note: - The LastMileLogger itself does _not_ control which events are logged. LML simply a) controls when logging is enabled/disabled, and b) retrieves the trace data when appropriate. - The events to be logged will be controlled by an init script. Separating the control reduces the risk that a compromised system_server captures more data than it should. - Later CLs will actually plumb all the bits together (LastMileLogger, init script, WifiStateMachine, WifiDiagnostics, etc.). As of this CL, LML isn't actually instantiated in WifiService. Bug: 34180821 Test: tests/wifitests/runtests.sh (on angler) Change-Id: I2facf70b93a0f824fbb08c1bddb415bcbdc7e504
astMileLoggerTest.java
|
cf99aa8a53e95f220fa0b627e712b4a4d87b6017 |
07-Jan-2017 |
mukesh agrawal <quiche@google.com> |
BaseWifiDiagnostics: generalize reportConnectionFailure() Rename reportConnectionFailure() to reportConnectionEvent(), and add an argument to the renamed method. Follow-on CLs will use the new argument to report additional events. Bug: 34179456 Test: tests/wifitests/runtests.sh (on angler) Change-Id: Ifc62dcaa576f4d9355509922dfdc2c3aa0f330fd
ifiDiagnosticsTest.java
|
d887e5c6bf4abf2f098ea6f087e717e29c551548 |
23-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL Device Manager: implement available for request logic Added code which dispatches the 'available for request' listeners. Bug: 34474043 Bug: 34633162 Test: (new) unit tests pass Change-Id: I77074a3dc59fafff0688c921ca8ca4156ca68d1f
alDeviceManagerTest.java
|
a78e7cf8de28fd836f7a111e39e7d7e7005bf942 |
23-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: implement coordination logic The coordination logic for the HAL device management: uses chip information and hard-coded interface priority to determine interface creation decisions: - Changes mode - Destroys interfaces (dispatches listeners) - Creates new interface Unit tests based on the current default chip configuration. TODO: dispatch interface available for request listeners. Bug: 34474043 Test: (new) unit tests pass Change-Id: I5d2e865baac7e9948aad6d8f607757b8db485952
alDeviceManagerTest.java
|
64ce9f185eb6097c1c358c44710be6e1ca7c7055 |
21-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: add interface API Added interface management API and infrastructure. The create API does not function. Bug: 34474043 Test: builds - no unit tests Change-Id: I71983d7d6c4ca941689112f0112d692e06574b3a
ware/WifiAwareNativeManagerTest.java
|
dd4dcab629d1045b08f58f699a4a09ecc8cd23e3 |
20-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: baseline for init/start/stop Wi-Fi HAL device manager. All Wi-Fi services should use this manager to start/stop and monitor status of Wi-Fi. Baseline: will be extended to coordinate interface. Bug: 34474043 Test: unit tests Change-Id: I3846cb57f301bcd91534f1b5943d996f4c84ed63
alDeviceManagerTest.java
|
8349ac8be364908df9f7813e22f7bf52e812b9ab |
25-Jan-2017 |
Jeremy Joslin <jjoslin@google.com> |
Merge "Track the potential connectable networks for the watchdog." am: 6dada2c3bc am: df8fd68097 am: 771667a94a am: 8257b828a9 Change-Id: I20c3336b49aba2aabc18aa7cddbe91714d3dacdb
|
6dada2c3bc67349ae08befd0f1fa76cf7e6ea028 |
24-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Track the potential connectable networks for the watchdog."
|
ea8704072a4406905a388ec25f6e645c2a15e879 |
24-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Java side unit test for PnoSettings am: 9c40d0310e am: a6d754e002 am: 9907f798d5 am: dec5fa99a3 Change-Id: I379f5bbbb96c8f1df95a78ee17cd8195abbfdd6f
|
35dc8b76ab42c54839ccac8b3041058f2dfd112f |
24-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Java side unit test for SingleScanSettings" am: 1d7663c13d am: 7931ccf915 am: 4e6b21fda6 am: 440f10e6bf Change-Id: I96744df2c1dfe3400fde798195cc6c470e5688c1
|
a6d754e002c2ba6ba4ee640681f2ffc9396b2149 |
24-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Java side unit test for PnoSettings am: 9c40d0310e Change-Id: I0ef32c380ea97999dde2f69852cbc77a69950cac
|
0e62cf37d128216dae128fbae0d26f98acade773 |
24-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Merge changes from topic 'wificond_parcelables' * changes: Java side unit test for PnoSettings Add java side pno scan settings parcelable classes
|
1d7663c13db1a195b29ad4d961f46a181e25140c |
24-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Java side unit test for SingleScanSettings"
|
cf97fa73a498a7254a656ff8037ad7928186c79d |
24-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Merge "Fix WifiScanningServiceImpl stand-alone unit test failure"
|
3564dd1aed7f98bff60e000ac6b1d76c58406998 |
23-Jan-2017 |
Jeremy Joslin <jjoslin@google.com> |
Track the potential connectable networks for the watchdog. Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Bug: 34520858 Change-Id: I0123d3a8a9f85c52bcb906be6651c613e8cf2b40
ecommendedNetworkEvaluatorTest.java
|
5f4a90d8625325a0f5d34784d00544ed6ef7770b |
24-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Merge "Populate selected network in RecommendationRequest" am: 00ffe9ca1c am: e941db0237 am: d0e4f9a8d2 am: fc9c5c8a88 Change-Id: I4d6116db4e38d62ea607212a9450f832b487d6d0
|
e4b4b229331da3964671606f18557b2e7f681b45 |
20-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Skip open networks in SavedNetworkEvaluator. - Only if CURATE_SAVED_OPEN_NETWORKS is enabled. Bug: 34392914 Test: ./runtests.sh Change-Id: I47b5848e21e0851d4e5e3a1b1f49aa8e8c876fcc Merged-In: I47b5848e21e0851d4e5e3a1b1f49aa8e8c876fcc
avedNetworkEvaluatorTest.java
|
d9a98660720513dc404c6ebf229f4d4f27be3c36 |
24-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Skip open networks in SavedNetworkEvaluator."
|
9c40d0310e6cb0890a3d20af3617a7fc302458e0 |
19-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Java side unit test for PnoSettings Bug: 34281985 Change-Id: Ie5f1f0dbf7726d552089e8291724f420f1246aa3 Test: compile, unit tests
ificond/PnoSettingsTest.java
|
645d9daa0ae52f52d8d7bbca1886462a65db906b |
21-Jan-2017 |
Jeremy Joslin <jjoslin@google.com> |
Populate the new RecommendationRequest fields. am: 55066b337d am: 0a90d2d990 am: 6af32f1bbd am: 515bc0f039 Change-Id: Ia43ef7018eee1746902f13f09f5b4989cec294fe
|
5eceb34aa6a940ac079fc336209e6fd981d30dd5 |
20-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Populate selected network in RecommendationRequest Bug: 34467596 Test: ./runtests.sh Change-Id: Ide0b4cbc9114bb8f79a2671103ab7f1cf0590dd0
ecommendedNetworkEvaluatorTest.java
|
706db6cddad773ab2c7aa0b89b9474901fd9af39 |
20-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Skip open networks in SavedNetworkEvaluator. - Only if CURATE_SAVED_OPEN_NETWORKS is enabled. Bug: 34392914 Test: ./runtests.sh Change-Id: I47b5848e21e0851d4e5e3a1b1f49aa8e8c876fcc
avedNetworkEvaluatorTest.java
|
55066b337d76f6e8eb1b8b7aacbcd4b2b9024b9a |
20-Jan-2017 |
Jeremy Joslin <jjoslin@google.com> |
Populate the new RecommendationRequest fields. Passing down the current network and the array of connectable WiFi configs. Also fixed a bug where the ScanResult wouldn't be marked as untrusted if the associated config was ephemeral. Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Bug: 34387385 Change-Id: I76cf80595d805e10d7297dc2de292d410f9b8e01
ecommendedNetworkEvaluatorTest.java
|
f28a486bccdfd9573f4a1c119f4cb6134bc44f27 |
19-Jan-2017 |
Ningyuan Wang <nywang@google.com> |
Java side unit test for SingleScanSettings Bug: 34281985 Change-Id: Id906fe1d86e4908238efa8d5bb5e63276543ee3a Test: compile, unit tests
ificond/SingleScanSettingsTest.java
|
e7ebc3fba71f4f996794bc5fa939674f8b4b2c5a |
10-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Fix WifiScanningServiceImpl stand-alone unit test failure WifiAsyncChannel and WifiHandler objects use lazy intialization for the logging objects. WifiInjector.getInstance() may return a null object if the unit test is run by itself or if earlier tests have not created it. If the unit tests are able to update these instances with a logging objects that are not null, then unit test can pass stand-alone. - Add a method in FrameworkFacade to return new instances of WifiAsyncChannel - Update WifiAsyncChannel to expose setWifiLog() API for testing only - Call this method on instances of WifiAsyncChannel returned by the mock of FrameworkFacade factory to ensure mLog is not null - Add a method in WifiScanningServiceImpl, also meant for testing only to update WifiHandler with logging object - Change unit tests to call this method after starting scanning service Bug: 34127212 Test: WifiScanningServiceTest by itself and all unit tests pass Change-Id: I0bc7a55d6d6862e2360bfb20897828e84358dd39
canner/WifiScanningServiceTest.java
|
c48608e5b30e5b5ae42ca92a84b6428dd2c95258 |
19-Jan-2017 |
Jeremy Joslin <jjoslin@google.com> |
Use NetworkScoreManager.isCallerActiveScorer(). am: 25f5cad21b am: 13eb1826c1 am: 3a395d6b4c am: 2c531ead6f Change-Id: I1c62fe09802d6df937f0bf9d53ee2e28de7ba97b
|
25f5cad21b4cd0ad8aa302623463c5c861a885b0 |
19-Jan-2017 |
Jeremy Joslin <jjoslin@google.com> |
Use NetworkScoreManager.isCallerActiveScorer(). The previous method from NetworkScorerAppManager has been deprecated, the new call is cheaper but otherwise the same as the old call. Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: ./frameworks/base/wifi/tests/runtests.sh Bug: 33781558 Change-Id: Ic8419a7f9b60661fb030973fde2653ea4cdfbc88
til/WifiPermissionsUtilTest.java
|
0d14dbc1da819e72054b9f168c8e3db767dd34bf |
01-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Http Proxy Profile & Device Owner permission check Adding permissions checks to ensure callers of WifiManager.SAVE_NETWORK and addOrUpdateNetwork() have either Profile Owner policy, Device Owner policy, or the System Uid. if they're setting the Http Proxy. While I was here: Fixed a bug where IpManager wasn't notified of an IP settings change when a WifiConfiguration's STATIC proxy was modified. Bug: 14669153 Bug: 32584568 Test: extended WifiConfigManagerTest Change-Id: I5bc3b1bff6628ffeea7bf6ecd0f6f25a671ab682 Merged-In: I5bc3b1bff6628ffeea7bf6ecd0f6f25a671ab682
ifiConfigManagerTest.java
ifiConfigurationTestUtil.java
|
4620013c32e885dbe78398d5e2c1d15a0353adca |
17-Jan-2017 |
Glen Kuhne <kuh@google.com> |
Merge "Http Proxy Profile & Device Owner permission check"
|
816adaf6fcfba6c8e7dc019d33cab5b6b6acf55e |
13-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiStateMachine: remove service dependence" am: aba0ba2f76 am: 3bb81cd270 am: 22446d9b0a am: 4ed61f2007 Change-Id: If782be24487c6b0b21f9e1bb53e75ad3f4757843
|
aba0ba2f764a87e0ac7708bdb13f1e1e51fd0ace |
13-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiStateMachine: remove service dependence"
|
157d8e7251bc38b338cee4b6313fcb1071463d69 |
13-Jan-2017 |
Peter Qiu <zqiu@google.com> |
Merge "util: fix parsing logic for ExtendedCapabilities IE" am: f91694ff0b am: 3b0b7b1d60 am: bfc8099d32 am: 16ef95d217 Change-Id: Id25403493796d8d50ab79a05eb1e469b9fc61f7b
|
f91694ff0b589d5b9fbe55b5da1b80642990321a |
13-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "util: fix parsing logic for ExtendedCapabilities IE"
|
b86089a48fae8878b5a27533a116c97b0be6d0e7 |
10-Jan-2017 |
Peter Qiu <zqiu@google.com> |
util: fix parsing logic for ExtendedCapabilities IE The IEEE 802.11 standard specified that Extended Capabilities IE contained a bit field of variable length. So use BitSet to represent the data instead of an integer. Bug: 34179560 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I1df2c92c475f1dbc4e7b17c243b4560d822ff129
til/InformationElementUtilTest.java
|
b40cf26e34638abeca1844a1b7de3ee1bcdb17da |
01-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Http Proxy Profile & Device Owner permission check Adding permissions checks to ensure callers of WifiManager.SAVE_NETWORK and addOrUpdateNetwork() have either Profile Owner policy, Device Owner policy, or the System Uid. if they're setting the Http Proxy. While I was here: Fixed a bug where IpManager wasn't notified of an IP settings change when a WifiConfiguration's STATIC proxy was modified. Bug: 14669153 Bug: 32584568 Test: extended WifiConfigManagerTest Change-Id: I5bc3b1bff6628ffeea7bf6ecd0f6f25a671ab682
ifiConfigManagerTest.java
ifiConfigurationTestUtil.java
|
f826a412709e7e30bd993440fa8174596cc384e7 |
07-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: remove service dependence The constructor for WifiStateMachine currently depends on other wifi related services starting in a particular order (ex, p2p starting before wifi service). This CL removes this dependence and delays retrieval of other services until after the boot complete command. Setting the local WifiApConfigStore variable is also moved to the constructor for consistency with other locally stored state. This CL additionally alters the WifiStateMachineTest to send a different message to test log rec sizes when verbose logging settings are changed (this set of tests seems out of place for WSM, but this CL is not meant to address that problem). Bug: 34137732 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: manually tested wifi connection Test: manually checked for Wifi Direct peers Change-Id: I50fcc378bbbcc98ab833a01b9dd6c044c5f85e3d
ifiStateMachineTest.java
|
bc94919d4241a499d22cb219e0e6d24f95980c87 |
11-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: integration of network evaluator for Passpoint am: 50f36ec6fe am: 36064b611a am: 97cae2b339 am: 2491e5afec Change-Id: I5f790d7bc10fb701a1cb67f1dfe2bd6c872f51ae
|
aad7e09ce84f07e72c51038a45bec0bbff5ad38c |
10-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: PasspointNetworkScore cleanup am: 49036aa383 am: a1364caddf am: 1abcec4948 am: 3030272975 Change-Id: I965db50cc6904a3d65b81622e5efa76b5374a997
|
50f36ec6fe906445db996bf3918e5cb3f170bc79 |
22-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: integration of network evaluator for Passpoint Bug: 32714185 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Manual testing with a Boingo Passpoint AP using a bullhead Change-Id: Ib71723bed332aa850485edd98ebdcbfcf8ec22c7
ifiConnectivityManagerTest.java
otspot2/PasspointNetworkEvaluatorTest.java
|
a1364caddf198b6f4563f81432a6690cec35906c |
10-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: PasspointNetworkScore cleanup am: 49036aa383 Change-Id: I315a8c12a69df9e9208ac5392fb01889ece32c78
|
6a8e5ccb593fa239d53d1be4ac6913cfeba47ab6 |
10-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge changes Ice8e6af9,Iad731d2f * changes: hotspot2: PasspointNetworkScore cleanup hotspot2: rename PasspointMatchInfo to PasspointNetworkScore
|
edf41f5b58f4bacdda5f558e8f68fc5a5675954d |
10-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Observe settings in RecommendedNetworkEvaluator. am: dfc4219e2d am: ca3c598d82 am: 41ab517ce3 am: 027c1cac0c Change-Id: I12c9e29ab141b44e30e3a16f25c42a728ca72c57
|
dfc4219e2d230cdce654c26aed3680fece04ddb5 |
07-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Observe settings in RecommendedNetworkEvaluator. If NETWORK_RECOMMENDATIONS_ENABLED is set, use RecommendedNetworkEvaluator, otherwise use ExternalScoreEvaluator. Previously, this setting was only respected at boot time, however, users can toggle this setting at runtime. This change forwards method calls on RecommendedNetworkEvaluator to ExternalScoreEvaluator when this setting is disabled. ExternalScoreEvaluator will be removed in a later change. Test: runtests.sh Bug: 33694202 Change-Id: I67e73d4e2c4cdff465d23056b59554fc9d8ab64a
ecommendedNetworkEvaluatorTest.java
ifiConnectivityManagerTest.java
|
80d08cca3132812083fb804ccc327e4f1ceee733 |
09-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiApConfigStore: randomize default soft ap SSID" am: 83418537b8 am: 306bfb79ac am: 4a3a1d746c am: 83379afafc Change-Id: Id1bd2878ff08bd069dce8b7ea44521a009cad685
|
83418537b8188242e94c11e33298a51ea2606edd |
09-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiApConfigStore: randomize default soft ap SSID"
|
49036aa383a6dfdaaf84e760e72d627638a9d86a |
04-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: PasspointNetworkScore cleanup This reduce the complexity of the scoring system by removing considerations for AP station count and link speeds. Can be added back on in the future if needed. Also added consideration for the RSSI level associated with the network and if the network is currently active. Bug: 32714185 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ice8e6af907a8ecf6e61f2b061c11f62f5e363036
otspot2/PasspointNetworkScoreTest.java
|
c5e450785699b586533095357820ee019bf13efb |
09-Jan-2017 |
Peter Qiu <zqiu@google.com> |
Fix unit tests related to EAP networks am: 9cc8b06885 am: 38fabbd54c am: b8fdee5a2f am: 32d2702bd4 Change-Id: Ib379d68804dd8458523c269d271c4c1843340b9a
|
426ed3e24848029cb6331045fc09e624fea6955f |
09-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for generating WifiConfiguration from PasspointProvider am: 79b81a96a2 am: e9a465d262 am: 76803561b7 am: ffc8c20d88 Change-Id: Ic3b8ff75c47c3ce6cf8df42a29c0af417c78f620
|
c0006bcbf69b0dbe88b8020ef02b54e44b6e579b |
09-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add ANQPRequestManager for managing ANQP requests am: 33c46cd713 am: de48cd3f42 am: e2231767fb am: 71fe3535c8 Change-Id: I22d7bdc8664a16bbdff185ff26cfc4552685054f
|
df969e4d2bf9165e8ec3f4cbc434228e0bb31d88 |
09-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for matching Passpoint provider am: 87c6f1b149 am: 6beea28d82 am: 9803b10ede am: 607721fb8f Change-Id: I233110b14a9b68364c989f6cd3c548834c61b904
|
2823af420f5d9f40c388fd672224bb585655ac6d |
08-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: Passpoint configuration APIs update am: d28cfdde23 am: e67a2fa8f7 am: 271e45bd11 am: d4a66ccfa2 Change-Id: I31580d83d0d3bbed2a2b86775c2df8d5af3767e3
|
9cc8b06885dc5889a1ed503b25faff5b83d20978 |
04-Jan-2017 |
Peter Qiu <zqiu@google.com> |
Fix unit tests related to EAP networks Currently, the tests assumes all EAP networks are Passpoint networks, which is not true. So remove this assumption and fix tests that are broken by this. Bug: 34076701 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Id340fa1162035741e7391849b274295f30a66bdb
ifiConfigManagerTest.java
ifiConfigurationTestUtil.java
|
79b81a96a2dd5ce45cb4b9206f04e4b37f7220f1 |
21-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for generating WifiConfiguration from PasspointProvider Bug: 33246489 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I3387d0bf35563bb403d55f7ed918fac0454670d6
otspot2/PasspointProviderTest.java
|
33c46cd7132df4ce72eee0ed2783e1a1e15bc007 |
19-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: add ANQPRequestManager for managing ANQP requests The main objective is to hold off ANQP requests to an AP after the previous request is unanwered or failed. This can eaisly be expanded in the future to throttle ANQP requests further by taking into consideration of the current connection status and other criteria, to reduce the impact of ANQP requests on the network performance and the power consumption. Bug: 33746564 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I906508f72832a9e461be6b2db2ceacb997765bb8
otspot2/ANQPRequestManagerTest.java
otspot2/PasspointManagerTest.java
|
87c6f1b149804685e46c18d2ad11262f611c9255 |
16-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for matching Passpoint provider Added support for matching Passpoint provider based on the content of ANQP elements. While there: - updated IMSIParameter and added unit tests for it - added utility class ANQPMatcher for providing ANQP element matching functions Bug: 33246489 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ibdd49aaf44a097c1ee523284888faace6b866485
MSIParameterTest.java
otspot2/ANQPMatcherTest.java
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
d28cfdde236d3d7c72f0c57ca7f18622b16d421a |
13-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: Passpoint configuration APIs update - renamed addPasspointConfiguration to addOrUpdatePasspointConfiguration to match the implementation of the API - updated PasspointManager to update passpoint provider using exact FQDN string matching instead of base domain matching, to avoid unnecessary complexities. - updated getPasspointConfigurations to return an empty list instead of a null when no configuration is installled - updated PasspointManager to use a 64-bit counter for assigning provider IDs instead of using the wall clock to avoid possible ID conflicts. The use of an unique provider ID is necessary to avoid leaving keys and certificates in a bad state when failing to install keys and certificates on the update operation. Bug: 33587910 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Iee304fe742085ec91d8d448e0939201d293ab7e5
otspot2/PasspointManagerTest.java
|
cef3c12987d0adc01a93d469b0f5ce8fbe5cb4dd |
07-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Remove reason from discovery session terminate callback" am: e1ea3ef20d am: 466ee1ca71 am: c7105e906f am: 66b24df7c7 Change-Id: Ie90edce9eaf3c49e47456bfe4d1086df965a1968
|
e1ea3ef20d6cd94f89e3a9ff7c5c38307dedc6f6 |
07-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Remove reason from discovery session terminate callback"
|
5c06e3b7134bcba75c9d5709c309dc18069a1983 |
07-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Simplify Wi-Fi Aware API namespace" am: 6c6396f30b am: f769667474 am: ed1e0b5e26 am: 36b4bce5d9 Change-Id: I9a6337fdcea79fbe6bce051d04e2583b8364e2a7
|
6c6396f30b0fbcbcce497c85568c36fca77deb9b |
07-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Simplify Wi-Fi Aware API namespace"
|
cecebde8ef6445860c111f252c9dbb02e15e42d7 |
24-Dec-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Remove reason from discovery session terminate callback Only valid reason is per request (destroy or timeout/count). Bug: 32670068 Test: unit tests & integration tests (sl4a) passing Change-Id: I2d773beffe590456a302b682f2861007315d1619
ware/WifiAwareHalTest.java
ware/WifiAwareStateManagerTest.java
|
66c17d08de5b28134f172317c87132d1818f30f0 |
20-Dec-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Simplify Wi-Fi Aware API namespace Simplify Wi-fi Aware API namespace. Rely on project and remove WifiAware prefix from most classes. (pure rename operation: no functional changes) Bug: 31470256 Test: unit-tests + integration (sl4a) tests. Change-Id: I2a3de693ba0945300f973ab66fec195077568d79
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareHalTest.java
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
|
ea9f4457a7c376d985876fdf4887a5e991f5b1f8 |
06-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Move WifiWakeupController to NetworkRecommendation am: 6dc7e1f070 am: 79251114ac am: 6d7a5a970f am: 4d385943f0 Change-Id: I43ca1e4b8961039337a9147856d961814001611a
|
6dc7e1f070741c44d1c322427b742e566c9c0d9b |
03-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Move WifiWakeupController to NetworkRecommendation Bug: 34054262 Test: runtests.sh Change-Id: I7eec869f5a3c74f0ac949113d08a70c7f5565052
ifiWakeupControllerTest.java
|
dc41c27a6e434bfd6f96c4df8724f57b5d1e6660 |
06-Jan-2017 |
Stephen Chen <stewchen@google.com> |
Merge "Move WifiNotificationController to NetworkRecommendation" am: ff1100de0e am: abe27d8d7c am: 10307dd70e am: 1075315dca Change-Id: Ib24ee2aa40e34d39aa0d8da298f6efe345f60451
|
ff1100de0e10f72517c93427d7231c8a7ae0307d |
06-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Move WifiNotificationController to NetworkRecommendation"
|
c4d0de0346332a43155580c28097c3bdc9976875 |
05-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: randomize default soft ap SSID Add a suffix to the default SSID for SoftAp configurations. This results in the default SSID name (currently AndroidAP) followed by and underscore and four randomized ints. The WifiApConfigStoreTest methods were also updated to reflect this change. Bug: 31076622 Test: manually tested with a newly flashed device Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If3032ff97d76cbd0bf24950aeb01a9d30568496f
ifiApConfigStoreTest.java
|
883a0bf526097a686ed4bc6db5348537f723367a |
05-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Merge "Populate fields in RecommendedNetworkEvaluator." am: 4718fa7418 am: 93cf2d9d0d am: a694b39691 am: 323a31a7e5 Change-Id: Ia18aaf0a43305b8ac7bc22b492d80fdff2c085b1
|
4718fa7418ebb57bb62e51697a6ba073e777b149 |
05-Jan-2017 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Populate fields in RecommendedNetworkEvaluator."
|
8863de7b3a61449e537a395b90ac862629c9cf97 |
05-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Clean-up HAL API am: 0e2304ddb2 am: a7bed3077d am: b4640e7baa am: 5442bfa5b6 Change-Id: I9645e46ecc9c0e9e62789c9be5e0a0544644f581
|
0e2304ddb2f516d999d63d3ec6b08a1972c978b3 |
05-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Clean-up HAL API Bug: 32207606 Test: integration (sl4a) tests passing - no regressions Change-Id: Ie0962671c094b85aeefc0c20d72d8f713d5c6fee
ware/WifiAwareHalTest.java
|
fcbdc7fdb5612e82991494832a95c73bcc898f12 |
04-Jan-2017 |
Stephen Chen <stewchen@google.com> |
Move WifiNotificationController to NetworkRecommendation Bug: 32981344 Test: runtests.sh Change-Id: If11c7b5bb9e47503e22ad8fe58b5e8f23798db7a
ifiNotificationControllerTest.java
|
3872e4cd3900c7b179371028dbe0e94d9b0a7380 |
20-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Populate fields in RecommendedNetworkEvaluator. - Find corresponding ScanResult for recommended WifiConfiguration - Set WifiConfiguration#{allowedKeyManagment,ephemeral} bits - Add new WifiConfiguration for ephemeral networks Test: runtest frameworks-wifi Bug: 33702806 Change-Id: I4aaeabe626c68b13bb7aa75b89adc4cb2663508c
ecommendedNetworkEvaluatorTest.java
|
1985d02fa70fe91f74fb5971612b8d716c5cfab3 |
23-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: cleanup ANQPParser am: 29074fe3d2 am: d976749660 am: 17c782df9f am: 49f924b420 Change-Id: Ia38be607aa31b04ec530451600a29537a0c2a8f1
|
29074fe3d2125eeb33db6b9d4425b54e72036661 |
12-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: cleanup ANQPParser Below is the list of cleanups: - removed unused function - cleaned up parsing of vendor specific element - only support Hotspot 2.0 elements, since these are the only elements that we cared about - added unit tests Bug: 33000864 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I2e492525dfa5e28c12336e2bbec2f2882e0af57c
otspot2/anqp/ANQPParserTest.java
|
292d2299c7843d40d7515d051b1ac7f7138a40e8 |
22-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 4" am: b49041a969 am: 7abc4a580f am: d3b0afdfc3 am: 0eb86a68d6 Change-Id: I25ca31893c81d32777fbc9ad7117aea94ced2481
|
b49041a96954a5724ac162f0e4bd4842073fffec |
22-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 4"
|
b4a4ef8b9dae3f0d812e5a57408a36cd0630376f |
22-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 3" am: 94203bb70f am: dcd4957d37 am: bf22e9f783 am: 300839ba16 Change-Id: Iabf2620d477c30605fe2cb54af68686474dd9a53
|
94203bb70f2afd3b2b3ac50bda8aa5900b78663b |
22-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 3"
|
05be08f5fc9994f7d301704383b6e1ed6ae6a085 |
22-Dec-2016 |
Sundeep Ghuman <sghuman@google.com> |
Merge "Fix RecommendedNetworkEvaluatorTests." am: 37151ab915 am: 0fd911812d am: 2d78129754 am: 77f498d8c1 Change-Id: Ic3ef06fd15af59cc18ea7a1e33a987c9a26c6f93
|
37151ab9156d77cc98aa4fc8c569de045e840c27 |
22-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Fix RecommendedNetworkEvaluatorTests."
|
ce012ca33b603e3f7f21262199ae0c0bd84756b0 |
22-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 2" am: 12c5e25550 am: 136ba92335 am: 03b067e6da am: 9233958f30 Change-Id: I1c9d3623d4bbe82763690f82d9d688e145ca7e58
|
12c5e255507bceb0bdc915f709dd0275705df461 |
22-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 2"
|
364535c176b4dade09f5abe4217f96deb7bbb543 |
22-Dec-2016 |
Sundeep Ghuman <sghuman@google.com> |
Fix RecommendedNetworkEvaluatorTests. Bug: 33819315 Test: Run android unit tests Change-Id: I3a8615781975f4db066ad646c34bc862c633f409
ecommendedNetworkEvaluatorTest.java
|
9616c2a15927130fc941a874fdf8a0a0a061a2ae |
22-Dec-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Use WifiInjector in WifiAware library" am: 3121bb5254 am: 214511797f am: 50df9e2bda am: 0e018e462b Change-Id: If1c1451d78a80da5e9e76aeae8a071a22b3ea1d4
|
3121bb5254ff46122939a52e9e0d54ac39199eff |
22-Dec-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Use WifiInjector in WifiAware library"
|
d8dddd9671750e6bfbcfa218db16ad096b9904ee |
09-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: ANQP elements cleanup Part 4 Cleaned up the implementation and added unit tests for NAIRealmElement and the classes used by it. While there, remove the match() function from NAIRealmElement for now. So that all ANQP elements class are purely data storages for the element. The match() function will be added to PasspointProvider for matching a NAI Realm Element against the provider's configuration. Other changes included: - removed the now unused EAP.java - removed the uses of enum for EAP Method ID and Authentication Parameter type constants. - renamed Credential to CredentialType Bug: 33000864 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I940f6d7cecb9bec405f0786845af768caf527990
otspot2/anqp/NAIRealmDataTest.java
otspot2/anqp/NAIRealmDataTestUtil.java
otspot2/anqp/NAIRealmElementTest.java
otspot2/anqp/eap/CredentialTypeTest.java
otspot2/anqp/eap/EAPMethodTest.java
otspot2/anqp/eap/ExpandedEAPMethodTest.java
otspot2/anqp/eap/InnerAuthEAPTest.java
otspot2/anqp/eap/NonEAPInnerAuthTest.java
otspot2/anqp/eap/VendorSpecificAuthTest.java
|
54481f724e41249c4e036a9f59e8cb3e6fb821d8 |
08-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: ANQP elements cleanup Part 3 This CL contained cleanups for ThreeGPPNetworkElement and CellularNetwork. Bug: 33000864 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ibba64207e0f22e3247a3cc8387eeca277bcd577b
otspot2/anqp/CellularNetworkTest.java
otspot2/anqp/CellularNetworkTestUtil.java
otspot2/anqp/ThreeGPPNetworkElementTest.java
|
1dc52f076977039a6bf112885feca6638c05cd29 |
06-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: ANQP elements cleanup Part 2 This CL contained cleanups for the following ANQP elements: - DomaniNameElement - HSConnectionCapabilityElement - HSWanMetricsElement - RawByteElement Bug: 33000864 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6c4737bdb04cc54aa5b3ea7462e44afd423f1b27
otspot2/anqp/DomainNameElementTest.java
otspot2/anqp/HSConnectionCapabilityElementTest.java
otspot2/anqp/HSWanMetricsElementTest.java
otspot2/anqp/ProtocolPortTupleTest.java
otspot2/anqp/RawByteElementTest.java
|
e8d771c2638ee06a3c06b676daf6a87fa85cdcd9 |
13-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Expose ScanResult#untrusted as a @SystemApi. - Expose ScanResult#untrusted to inform NetworkRecommendationProviders that a ScanResult does not correspond to a saved network. - Add static construction methods and assertions to RecommendationResult Test: Updated RecommendedNetworkEvaluatorTest Bug: 33490132 Change-Id: I48279b7ab88fedefeea034a5f6e07731f653e448 Merged-In: I48279b7ab88fedefeea034a5f6e07731f653e448
ecommendedNetworkEvaluatorTest.java
|
d45abba86c33bd93863fc9d8f7c84ca28deb17b2 |
14-Dec-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Use WifiInjector in WifiAware library Convert the WifiAware library to use the WifiInjector. - Reduces use of reflection to configure unit tests - Lays the ground work for merging all Wi-Fi handler threads Bug: 27924886 Test: boots & unit tests passing Change-Id: I43f1896182a64bc89249e49b6e2bbce238f68f82
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareHalTest.java
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
|
63a4b3a94ac3a0f3f211b03df4472a3ad4314849 |
21-Dec-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: allow for unit tests" am: 56924e1d3b am: f11afa777a am: 1f872290ad am: ee88665dee Change-Id: I0bcd09a81e660b9c31b2e7283969cdbf78883049
|
56924e1d3b0d360406d661f051d500e6bc16a953 |
21-Dec-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiServiceImpl: allow for unit tests"
|
5bedb364c9e2f5c1e9511748735fe02c4b86fc1a |
13-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Expose ScanResult#untrusted as a @SystemApi. - Expose ScanResult#untrusted to inform NetworkRecommendationProviders that a ScanResult does not correspond to a saved network. - Add static construction methods and assertions to RecommendationResult Test: Updated RecommendedNetworkEvaluatorTest Bug: 33490132 Change-Id: I48279b7ab88fedefeea034a5f6e07731f653e448
ecommendedNetworkEvaluatorTest.java
|
504f61f20a0c57f28a861711b4b2c44f58d8c8ed |
19-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 1" am: 1d1a1faf15 am: d2256a2562 am: b8dc14ed1f am: 62984a3ec8 Change-Id: I1f9014c35c611a11ab0738894388950743e5272a
|
1d1a1faf157dbdee628aee0919b089b10e0a7ed0 |
19-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: ANQP elements cleanup Part 1"
|
02cd4e24fbd3dcc08cd26d630c04504bdd3d7fc1 |
19-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Cleanup support for parsing various length integer and string from ByteBuffer" am: 865cdd2060 am: ccf757e9a8 am: 754c513378 am: ba796d3e92 Change-Id: I26bd4eb3e04e831c9f5278ad44508764633ed491
|
710639ecf8ff2ab929c30121e7194c0a1b20d003 |
19-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiScanningService am: 4fbaf3821b am: 993626cd83 am: 688db32a92 am: 8e3ac94e9d Change-Id: I7f6df4508e7be56abd00f2392b56f270809b3bb6
|
3f8871cd399f53fcf1c9c5caaf052e3f32783601 |
19-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Subclass Handler to log incoming messages am: 7275c974c1 am: 088dc00ac8 am: 02dae78ec2 am: 63bbb0a8ac Change-Id: Iea1ccb3cad523c4f86191787ce962a774d3d47a4
|
865cdd20600fff47cca95971f2a343fc960bb217 |
19-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Cleanup support for parsing various length integer and string from ByteBuffer"
|
993626cd83d0911c01d2c90a045fb527f8ace37c |
19-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiScanningService am: 4fbaf3821b Change-Id: I3f02dc2bc37835499a9952ed086c6fbc1913710c
|
088dc00ac8289bae49da65990cb7c1d6b7b297d2 |
19-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Subclass Handler to log incoming messages am: 7275c974c1 Change-Id: I6e8754ace2157beb0d5153e0df7b6ca07c561e18
|
f64b4f9cab2e72bea96f8243055c539fff3d19a7 |
19-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Merge changes from topic 'WifiHandler' * changes: Log API surfaces of WifiScanningService Add logging for messages sent to WifiP2pService Subclass Handler to log incoming messages
|
dd7234a74ace79c2c8b43702d8e2b0abfb9864d4 |
19-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "passpoint: initial support for matching passpoint providers" am: 3114533107 am: 0425f01e8b am: eb39381ef9 am: cd328cfca9 Change-Id: Ib0898ab857d809182b4a866deafca74f684ec65d
|
3114533107f4fb87b4f1f9cca61829d37d2c2d03 |
19-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "passpoint: initial support for matching passpoint providers"
|
4fbaf3821bd5c3056c7c4cdd1aee3e17ac7046d0 |
29-Nov-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiScanningService Add logging to trace the following API surfaces in WifiScanningService - AIDL methods calls, - Async Channel messages sent to the scanning service - Use WifiHandler instead of Handler to define the client handler to trace incoming messsages - Async Channel messages sent by the service - Use WifiAsyncChannel to trace reply messages sent by the service - Fully connected Async Channel is used here, therefore, it can send messages directly to the client's messenger without using Async channel methods. Add logging in replySucceeded() and replyFailed() to trace messages sent by the service directly to the client. Bug: 33085782 Test: Unit test suite, verify logging, sanity test (power on and connect to Wifi Access Point) Change-Id: I8df4f4077801c359e11a93fde2c1ce5ea811a0e4
canner/WifiScanningServiceTest.java
|
7275c974c1d7b9451d1e67ae8d56a9d57742303c |
18-Nov-2016 |
Sohani Rao <sohanirao@google.com> |
Subclass Handler to log incoming messages A new class WifiHandler that overrides handleMessage() method to log incoming messages and associated unit tests. In order to instantiate WifiLog, an instance of WifiInjector is required. WifiHandler is expected to be used by any service in wifi, including WifiP2pService. Since this service is started before WifiService is started, WifiInjector which is created in WifiServiceImpl would not be available to instantiate WifiHandler if is required in the constructor. For now, we use lazy initialization and invoke WifiInjector.getInstance() once to get the WifiInjector and then make a WifiLog object the first time a message is logged. In order to enable testing of this class, a hidden API is exposed only for testing to set the logging field in the class. Bug: 33085782 Test: Unit test suite, Sanity tests (power on, Wifi connection) Change-Id: I9110eacb28a5faea331a818998ef25295aa589a8
til/WifiHandlerTest.java
|
709f2f151a4c6990758297e12ec3da89952ddeef |
16-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStore: Start with no user store am: 1a2b2242a2 am: 67bdb24910 am: 1f966d53e7 am: ad3737f336 Change-Id: I45eae3cc34ce27ccb7cd10e04b4ddb988ec9ae42
|
da918df16e03ee19be62343313d954027d3eb3ab |
28-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: allow for unit tests Some structural cleanup that allows for WifiServiceImplTest development. Bug: 33167818 Test: runtests.sh Change-Id: Ic3ca545f210dfaa3277cc28166b2611b3c818408
ifiServiceImplTest.java
|
74339de52d7066f22771d914e698da503232c107 |
06-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: ANQP elements cleanup Part 1 Cleanup and add unit tests for the following ANQP elements (and the underlying classes used by those elements): - HSFriendNameElement - IPAddressTypeAvailabilityElement - RoamingConsortiumElement - VenueNameElement The cleanup included using a static #parse function for parsing raw bytes into an element object, the new ByteBufferReader APIs for reading integer and string from ByteBuffer, and documented possible runtime exceptions. Additional changes include: - remove the unnecessary setting of byte order for the ByteBuffer, since we're not using the ByteBuffer's APIs for reading integer values (all reads are either byte or byte array). - remove the unused functions in ANQPFactory More ANQP elements cleanup will be done in the upcoming CLs. Bug: 33000864 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6da918c83722d5c0ca7a2374ff5fa5f630cdea6d
otspot2/anqp/HSFriendlyNameElementTest.java
otspot2/anqp/I18NameTest.java
otspot2/anqp/IPAddressTypeAvailabilityElementTest.java
otspot2/anqp/RoamingConsortiumElementTest.java
otspot2/anqp/VenueNameElementTest.java
|
fa04a81daf829e6e5c099c9a249b8dd8dd112102 |
02-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Cleanup support for parsing various length integer and string from ByteBuffer Move and cleanup the parsing functions from com.android.server.wifi.hotspot2.anqp.Constants to the newly created ByteBufferReader, since these are generic parsing functions (not specific to ANQP). An unchecked runtime exception will be thrown when an error is encountered. The possible exceptions are documented for each API. It is the caller's responsibility to handle those exceptions appropriately (e.g. propagate the exceptions upwards with appropriate documentation or catch the exception). The handling of unchecked runtime exceptions for ANQP elements parsing will be added in the follow-on CL as part of the ANQP cleanup. b/33296974 is filed for tracking handling of unchecked runtime exceptions for parsing information elements. Bug: 33000864 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6964520e7cc86071b2096408d6cb0503e0f618ff
yteBufferReaderTest.java
|
3d42402e0d282dc75f9c65f29d0f9e0eea753100 |
30-Nov-2016 |
Peter Qiu <zqiu@google.com> |
passpoint: initial support for matching passpoint providers Bug: 33246489 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If137412dfc27548062fb4a1bfbeca9c73f575c45
otspot2/PasspointManagerTest.java
|
1a2b2242a2f30e0ad6dfa1d43265a15059db2a8a |
15-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStore: Start with no user store Since the user store file is not accessible at bootup, start WifiConfigStore with no user store file instance. When the user eventually logs in, WifiConfigManager will invoke |switchUserStoreAndRead| to set the user store. Note: WifiConfigStoreData already handles the user/shared store data being null. Bug: 33659400 Test: Added unit test, modified couple of existing ones. Test: Device boots up fine auto-connects to one of the saved networks. Change-Id: I8c3c48211ec3bd5be734568cd3cbc20fde1a1f48
ifiConfigStoreTest.java
|
b7717222501caa963b21ff9d59f6a102013a4b58 |
14-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: simplify ANQP cache management" am: 79c9eb4cfa am: 60d1489155 am: 468097bc74 am: 22682af789 Change-Id: I49b1a30645532ded45bc17dbf92e4e9ee8080d11
|
79c9eb4cfa9b7a45fc4f26ec2ed304f5b76fb9ff |
14-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: simplify ANQP cache management"
|
221019b17266c3cc751a72197fd7fd69fed5dbc5 |
14-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: cleanup DomainMatcher" am: 227865949b am: ba89c8a3a6 am: 1bebd49570 am: 44ec92e18d Change-Id: Ia9f21676cb4cd9d10ec2cbbaaf3dc486ac2fcbdc
|
227865949b847b2598867947b96e63ee6a04860c |
13-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: cleanup DomainMatcher"
|
c4ab3a215e66b9745bd8ad0b48372f090919cb7c |
13-Dec-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiScanninService: Reject bgscan requests on invalid caps" am: cb5d15ae89 am: 22be8e6da9 am: cf13c9cb33 am: c8ec943671 Change-Id: I39d0c640877baae11c3fbdffb57374e93bc06fe4
|
cb5d15ae89f519a78df0ac34db72aeed814e4402 |
13-Dec-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiScanninService: Reject bgscan requests on invalid caps"
|
1b76ca405029249b41b38424a253a8c5fa72dab1 |
13-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiScanninService: Reject bgscan requests on invalid caps Reject any bgscan requests if the HAL returns invalid capabilities at startup. Bug: 33566846 Test: Added unit test. Change-Id: I1a6a986194dd0da2ef139f13307657aafd67b4e4
canner/WifiScanningServiceTest.java
|
ae3c78445ae65f94147003120bed08b65b6d3793 |
13-Dec-2016 |
Sundeep Ghuman <sghuman@google.com> |
Remove old WifiNetworkScoreCache.java am: c8701c8ad0 am: 58c7c9c375 am: 01cd711798 am: b2389d7dd9 Change-Id: I071a2419a7b4dde2143c239582e6def5320494aa
|
c8701c8ad058ec7fa69a2e3c60495f27708bced5 |
05-Dec-2016 |
Sundeep Ghuman <sghuman@google.com> |
Remove old WifiNetworkScoreCache.java Updates references to this file to use the score cache defined in frameworks/base. Bug: 33050254 Test: Compiles successfully Change-Id: Id8b3eed40c3f0005fa289e0a2ae67297b4e4434f Topic: WifiNetworkScoreCacheMove
xternalScoreEvaluatorTest.java
ecommendedNetworkEvaluatorTest.java
ifiConnectivityManagerTest.java
ifiNetworkSelectorTestUtil.java
|
269bad0e354933a02c990209214b134aec6f79ab |
12-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Implement RecommendedNetworkEvaluator. am: d0258ee481 am: 36c16cdb08 am: bcdb7b4471 am: 500f72a1d4 Change-Id: I58d16a38b0b2acf1155c88bef975b7d0d635ab6f
|
d0258ee4816148ff4ab9ac6b854fc5c51ea53be3 |
05-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Implement RecommendedNetworkEvaluator. - Gate usage on NETWORK_RECOMMENDATIONS_ENABLED flag - Delegate WifiConfiguration selection to NetworkScoreManager - Added RecommendedNetworkEvaluatorTest Test: runtest frameworks-wifi Bug: 33158114 Change-Id: I10b870df891269fd474daa2db53d43ac5050af2c
ecommendedNetworkEvaluatorTest.java
avedNetworkEvaluatorTest.java
ifiConnectivityManagerTest.java
|
29960c67c57247b52402d8e55688a9924601fa78 |
10-Dec-2016 |
Sarah Fortune <sfortune@google.com> |
Removed unused param wifi state machine. am: 3b363f83de am: 37adeda6dc am: 5be3306d0e am: c75b0570fc Change-Id: I101e05afcd7cff1509b058f3d67900e313191350
|
3b363f83de09574fe91de54e44e56a967237f4fd |
02-Dec-2016 |
Sarah Fortune <sfortune@google.com> |
Removed unused param wifi state machine. Bug: 32981261 Test: refactoring CL. Existing unit tests still pass. Change-Id: Ifb442b90980e5bcbe8350d65b402eaf97020998a
ifiNotificationControllerTest.java
|
292c233f15684ca299aee6104ea2bf81f2ad5462 |
08-Dec-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Fix data-path unit tests"
|
796c8c1d7f2cba73ce730fa25cc01c201e5dee27 |
08-Dec-2016 |
Robin Lee <rgl@google.com> |
Send CMD_DISCONNECT after removing app/user configs am: 1fe1065da8 am: 68305c9d85 am: e43e3015d5 am: e2928d9bbf Change-Id: I1286fd98dfc8932d4cc5655002a5feca0cb44789
|
1f5ab9055d94f6d6cdc2aa2e4cf4526e6a50d276 |
07-Dec-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Fix data-path unit tests Build broken due to mismatch with aosp projects. Bug: 26562610 Test: build & unit tests pass Change-Id: I4e05562ac5d4d0b0d5018705cd162a78d608dfa2
ware/WifiAwareDataPathStateManagerTest.java
|
1fe1065da82165183fa057ddbbd2e33bc5708c1b |
01-Dec-2016 |
Robin Lee <rgl@google.com> |
Send CMD_DISCONNECT after removing app/user configs Otherwise they might linger in wpa_supplicant longer than they were supposed to. This is already done by every other callsite for removing networks which might still be in use. Test: runtest -x tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java Bug: 32660379 Change-Id: I45b0bcc87129be02bcce940f07f7c48543207bf0
ifiConfigManagerTest.java
ifiConfigurationTestUtil.java
|
4d994ad007ac426680a55f585af46a8b7f6ec980 |
08-Dec-2016 |
Michael Plass <mplass@google.com> |
Remove user-triggered disconnect counters am: 50a5e65be9 am: ce62b4f982 am: b1653c1821 am: 0bb1e431af Change-Id: I44976f54de756aa6050b98741a438039a5908ad7
|
bb8380c9a79ad58f83ed6de5cec2a92a303086a7 |
07-Dec-2016 |
Randy Pan <zpan@google.com> |
Blacklist AP immediately if its capacity is full am: 805966beca am: 751d00144e am: d986cc527d am: 067d0defc6 Change-Id: Ie9d1736237b40e9534b9fd667b219777d021d39d
|
50a5e65be9656e369b65cdeea8739ca993d349af |
21-Nov-2016 |
Michael Plass <mplass@google.com> |
Remove user-triggered disconnect counters Bug: 33013630 Test: unit tests pass Change-Id: I3f6eb83334805aa7009780512dca8415b88a6c6f
ifiScoreReportTest.java
|
805966beca772f5755be73ac1fe0819142ec294b |
06-Dec-2016 |
Randy Pan <zpan@google.com> |
Blacklist AP immediately if its capacity is full Blacklist a BSSID immediately when the association to it was rejected because the AP cannot handle new stations. Previously we treat all the association rejection the same and blacklist the AP after 3 times of rejection. Bug: 32745407 Test: Wifi framework unit tests Change-Id: Ie64e7b2c659ee27d4cfa109b879d36fe836ee65b
ifiNetworkSelectorTest.java
|
1affbf49a887c464d69f09a31cac11120a77c68a |
07-Dec-2016 |
Stephen Chen <stewchen@google.com> |
Merge "Refactor WifiNetworkScoreCache in ExternalScoreEvaluator to WifiInjector." am: da7751c15b am: 4efaf39fe7 am: ae877b30c6 am: 3240e68142 Change-Id: I890908bd841049ae5174157499aad0bfdbf7f14e
|
da7751c15bf4715eeb178b556fcb2a012dd160f7 |
07-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Refactor WifiNetworkScoreCache in ExternalScoreEvaluator to WifiInjector."
|
0b9616e0e126221238edf5843a01b0cd3ec4daee |
06-Dec-2016 |
Stephen Chen <stewchen@google.com> |
Refactor WifiNetworkScoreCache in ExternalScoreEvaluator to WifiInjector. This allows us to share the cache in WifiNotificationController Bug: 33355924 Test: runtest --path frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java runtest --path frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ExternalScoreEvaluatorTest.java Change-Id: I934b29fb5287180610355588ed7fa43018ccd4aa
xternalScoreEvaluatorTest.java
ifiConnectivityManagerTest.java
|
f1b7517b04fedc6fd81f34a8cb84ce583b8ea63e |
30-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: simplify ANQP cache management This makes the AnqpCache just a simple data cache, all the logic related to the ANQP query (e.g. pending query, backoff timeout) will be handled elsewhere (e.g. PasspointManager). Also simplify the cache entry expiration timeout (entries with ANQP domain ID vs entries without ANQP domain ID) by using one timeout for all entries, since this is already factored in the ANQP entry key. Entries without ANQP domain ID will be keyed per AP (SSID + BSSID) and entries with ANQP domain ID will be keyed per ESS (either SSID or HESSID). TODO: update unit tests once the cleanup for ANQP elements are completed, so that we can easily construct an ANQPElement objects (without constructing a raw byte buffer). Bug: 31348912 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6d85f69181755afa7845f9f742c2dfb762c3194c
otspot2/ANQPDataTest.java
otspot2/ANQPNetworkKeyTest.java
otspot2/AnqpCacheTest.java
|
b40ba9e6ef82ac6c82869d1b562701483b8f1fc2 |
22-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: cleanup DomainMatcher - Cleanup the implementation - Add documentation - Add unit tests Bug: 33050774 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I694ab0fc24ed9e8bcd9cd24a4d22208e123dcc5f
otspot2/DomainMatcherTest.java
|
d74b2ec6d15b7a14ac865ff6957f84ae0063c029 |
05-Dec-2016 |
Stephen Chen <stewchen@google.com> |
Create an empty implementation of WifiWakeupController. am: f09b6de086 am: cf6d5cb018 am: c3eb58141d am: 191fe2dc6a Change-Id: I7dfcec238cf5f08208fa066ca79672cc041907b4
|
cf6d5cb0182cd9ed7f5c5955eb3b7e931ba761d8 |
05-Dec-2016 |
Stephen Chen <stewchen@google.com> |
Create an empty implementation of WifiWakeupController. am: f09b6de086 Change-Id: I6ba4b4dfd4cdd719250c4add323c467acf73fec3
|
f09b6de086d5a00417613886aa43402285d2a8ab |
17-Nov-2016 |
Stephen Chen <stewchen@google.com> |
Create an empty implementation of WifiWakeupController. Bug: 32918599 Test: runtest --path frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiWakeupControllerTest.java Change-Id: Ib3926ff77be29e5e8364791dc68d8c22a2c6fa1d
ifiWakeupControllerTest.java
|
509da42e69f5802ac855e50a9bcdd3b7462aa12a |
02-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: anqp: update package name to reflect the updated location am: 8ca4ac971a am: c95194176b am: 53afc80147 am: 661d9901c6 Change-Id: I15725e96131f9e8ee78927e84439c6baf974cd09
|
e0f7834ae53bbab50af17ea7937439efc0b31b52 |
02-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: move anqp related code to under hotspot2 am: 450a34955b am: d75467ac47 am: acf776a71e am: e79c194140 Change-Id: Iadf38633a667566d93ffb45ae4c72a466f32ece5
|
c95194176bcc03c4a8f13fcf8aff13d07f9a6108 |
02-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: anqp: update package name to reflect the updated location am: 8ca4ac971a Change-Id: I77031d9462bc16780a06afbafca8ae90b12d037e
|
d75467ac478d2cbc5b5af6e7da51d7c60d080d24 |
02-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: move anqp related code to under hotspot2 am: 450a34955b Change-Id: I89a4c0c09b316a16ca4ef6df8f5cd07be0caa92e
|
b8da1eaf580f53fec4c744fc2dc1c5822c105caf |
02-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge changes from topic 'anqp rename' * changes: hotspot2: anqp: update package name to reflect the updated location hotspot2: move anqp related code to under hotspot2
|
be4579469f51b0eed4dca9ceeb608da7c98ddaf4 |
02-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: install Passpoint certificates and keys in keystore" am: 81bbe4d0cf am: ea90a101f6 am: 2461823b9e am: 7f01ce14cf Change-Id: Idc0cf35cf31aefdd1181eb8d2f7dcce6a0cdf1e9
|
ea90a101f6ce45fe97764ec25ca59ef0cee1380d |
02-Dec-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: install Passpoint certificates and keys in keystore" am: 81bbe4d0cf Change-Id: I6317a195623e7f241e9e153d7ffd17fcff59631f
|
81bbe4d0cff298e51faad18262a8699791815207 |
02-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: install Passpoint certificates and keys in keystore"
|
4495383322279ec3a58e29c4ba08c3ee337a2714 |
01-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Disconnect from private network on user switch am: 1cb361461f am: 9560d5358a am: 476320b581 am: 78096e6753 Change-Id: I58eb760379d4c5d2fdeb166ef4f09348d0d112f7
|
7945effaf6a9d320941c22e79ca9b14131578543 |
01-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Don't load shared networks on user unlock/switch am: 2ce074c7df am: 506ef7c018 am: c2bd6f3403 am: c9747908a5 Change-Id: Id51df4f28f56b785116447a44071516fa2c3efa5
|
05dd8aa08f383920825f177f51ece15052bf6ac6 |
01-Dec-2016 |
Etan Cohen <etancohen@google.com> |
Merge "AWARE: update tests with new match filter API" am: 818b30de68 am: 80904da934 am: a928f20900 am: 696377afbc Change-Id: I490f12cf50056cddbb04fbea130fc77e057d70c9
|
9560d5358a62b46482725ad62a4b94267e4a9893 |
01-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Disconnect from private network on user switch am: 1cb361461f Change-Id: I655871a43cf36fcd3d372bd5e63427bca8a67ad8
|
506ef7c01800526c9654965532648c048bbc2e86 |
01-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Don't load shared networks on user unlock/switch am: 2ce074c7df Change-Id: I13d963e56a680ac3098aec5ac6daeea965e3c766
|
420386fb15194adec45aa8d7b511ccdda649a241 |
01-Dec-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ibe1523fc,I84f6f011 * changes: WifiConfigManager: Disconnect from private network on user switch WifiConfigManager: Don't load shared networks on user unlock/switch
|
80904da93450af7f00f5891c6fd37aff6f5cd8e7 |
01-Dec-2016 |
Etan Cohen <etancohen@google.com> |
Merge "AWARE: update tests with new match filter API" am: 818b30de68 Change-Id: Iad6192e985b7b1f8870bbead5e20f244c161b520
|
8ca4ac971a9b862fbd69c57af3a3c0029a6b9f4d |
18-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: anqp: update package name to reflect the updated location Bug: 33000864 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If842197a027a2c8381aacf5b256191f81bcbd1bb
otspot2/AnqpCacheTest.java
otspot2/PasspointEventHandlerTest.java
otspot2/anqp/I18NameTest.java
otspot2/anqp/VenueNameElementTest.java
|
450a34955b855f0d813400013a9dbeead9d84c7b |
18-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: move anqp related code to under hotspot2 ANQP is specific to Hotspot 2.0, so move all related code to under hotspot2/. This CL is a purely rename operation. Bug: 33000864 Test: None Change-Id: I17c3eb5bce37290a13c2e0720b62c82450daae9b
nqpCacheTest.java
nqp/I18NameTest.java
nqp/VenueNameElementTest.java
otspot2/AnqpCacheTest.java
otspot2/anqp/I18NameTest.java
otspot2/anqp/VenueNameElementTest.java
|
ae791278c9032a8b10cf818b98b571c0396add4a |
18-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: install Passpoint certificates and keys in keystore When adding a Passpoint provider, install the certificates and keys specified in the configuration to the keystore. While there, move the object creation for Passpoint related objects out of the WifiInjector and into newly created PasspointObjectFactory. Bug: 32619189 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I42ee22a31d30e2c9fa05ece8713b95ebea71256e
akeKeys.java
otspot2/PasspointManagerTest.java
otspot2/PasspointProviderTest.java
|
818b30de68475ac6a4f55c84f2f279714d915911 |
01-Dec-2016 |
Etan Cohen <etancohen@google.com> |
Merge "AWARE: update tests with new match filter API"
|
72afac62750be26bcdd32a15c8bb58dc65421eec |
01-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Merge "Refactor NetworkScoreAppManager for testing." am: 9333b67ffd am: adfcb42a90 am: ae4ad40fef am: f858119c28 Change-Id: Idf4621610f21a7a985a725cf00a30ed6234a8be5
|
adfcb42a9088564cb2afdc12c40bafb6d209e16b |
01-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Merge "Refactor NetworkScoreAppManager for testing." am: 9333b67ffd Change-Id: Ib1cca73dce31490448882a33162e1042fce4542e
|
375f9ff558c5298f107fd7c6a16a5aeade41cec3 |
29-Nov-2016 |
Etan Cohen <etancohen@google.com> |
AWARE: update tests with new match filter API (cherry-pick of commit d0b5d0d587ccbc19533fa33200d0b125e6ff3623) Bug: 32840891 Test: unit tests pass Change-Id: Ifc7eb82790bd667fbb6ba36a5f10725306a96398
ware/WifiAwareHalTest.java
ware/WifiAwareServiceImplTest.java
|
92e5de9c1991e2d992ee8668147662aeac6b422b |
30-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiInjector: add WifiConnectivityManager" am: 585cd77a9c am: 671a6d626d am: 4727b32723 am: ad47a70d42 Change-Id: I094ad8d7c331cba1eb09294f1861592ef4918e4f
|
cb46b737eaf8f59f07270e57b37bfddcfc121fdb |
22-Nov-2016 |
Amin Shaikh <ashaikh@google.com> |
Refactor NetworkScoreAppManager for testing. Bug: 32913019 Test: runtest frameworks-wifi Change-Id: If4bef94b6a275215ce47c8e77edb1af8cf4df3c0
til/WifiPermissionsUtilTest.java
|
671a6d626dc3297f0de822fb45aedea8a1e4d43a |
30-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiInjector: add WifiConnectivityManager" am: 585cd77a9c Change-Id: I7666adfdcf01c55bb470267e96c61a7efdbf0e5c
|
1cb361461f6ecc684761fc3940c1db622192cad1 |
29-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Disconnect from private network on user switch If the device is connected to the old user's private network when switching to a new user, trigger a disconnect. Bug: 32802464 Test: Unit tests. Test: Will send for regression testing. Change-Id: Ibe1523fcf9e88a05dd7e8ee34b0a0decab1235f0
ifiConfigManagerTest.java
|
2ce074c7dfa6f99812f67cad3c1a98a6edd36028 |
28-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Don't load shared networks on user unlock/switch Currently, we reload all the store data (private + shared) on user switching/first unlock. Loading of shared store data is unnecessary and causes undesired side effect of the shared networks changing it's ID after the reload. Instead, add a new method in WifiConfigStore to only read the user's store file (holding private network configurations). Changes in the CL: 1. Modify the |WifiConfigStore.switchUser| method to switch the user store and also read out the data from the user store file. 2. When handling user switches/unlocks, delete only the private networks of the old user from memory and then load the new user's private networks. TODO: This CL will handle the case where the device was connected to a shared network when the user unlocked or switched. Still need to initiate disconnect if we're connected to one of the old user's private networks. This will be added in a follow up CL. Bug: 32802464 Test: Added Unit tests. Test: Will send for regression testing. Change-Id: I84f6f011bbd851f986e4294262af7a47e525524b
ifiConfigManagerTest.java
|
585cd77a9c472af47ecd67ccd47e119b6a26bc38 |
30-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiInjector: add WifiConnectivityManager"
|
fc89f368e4fe25e2cff7410da959cda1d7ca7d74 |
30-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Data-path creation roles hard-coded for discovery sessions am: c2d0f22f7b am: 21eb696336 am: da707aeee5 am: 9dde820f9c Change-Id: I5500167bdeafd3fe0991ee788cf111f958f4bd1c
|
21eb6963363f96064964b33dd7fbc0616b712cd1 |
30-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Data-path creation roles hard-coded for discovery sessions am: c2d0f22f7b Change-Id: Ia654e647ef9b5548cc5d71c0601d9c0d7f1ddc8a
|
c2d0f22f7b29507d29e517c329d82a0d30342f44 |
16-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Data-path creation roles hard-coded for discovery sessions Data-path roles (initiator & responder) are hard-coded for discovery session participants by the spec: subscriber <-> initiator and publisher <-> responder. Added checks for role to session type mismatch. Added unit-tests to validate negative condition: i.e. no data-path setup on such mismatched requests. (cherry-pick of commit 80a2a2558b3b64918a20434422a5307b03b68799) Bug: 32883026 Test: unit-tests and integration (sl4a) tests passing. Change-Id: Iad0727e5ad522e67222a6053918ce99fda1260b4
ware/WifiAwareDataPathStateManagerTest.java
|
38cb359b8bf091159e212120b3b6bc8bc35403a8 |
24-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Move manager tests from service to manager directory am: 04e60c403c am: 835a232186 am: 5e62f6bcb6 am: 5363385583 Change-Id: I94358a0c7d71c69a2cc37023ecc4d458c0bf6780
|
835a2321864372382cc63a93193cb7415ba93d28 |
24-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Move manager tests from service to manager directory am: 04e60c403c Change-Id: Ia97b97e72ccee58952d90f2e5686238b0fce0ae1
|
04e60c403cfdb750fdaf8b418d63b4386d971fe6 |
17-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Move manager tests from service to manager directory (cherry-pick of commi 5d79c6e0ea3194688e800a4ad9e43cbaa3b0bba9) Bug: 32954930 Test: unit-tests pass Change-Id: I16a2fd84fa8b4c277b9bffac63f8d5839b831614
ware/TlvBufferUtilsTest.java
ware/WifiAwareManagerTest.java
|
b4de842310ca698d59ed5b9117d38362e2945947 |
22-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiInjector: add WifiConnectivityManager Add call to create a WifiConnectivityManager instance to WifiInjector and remove the direct call from WifiStateMachine. Bug: 33052869 Test: runtests.sh Test: verified connection to network after toggling wifi Change-Id: Ic7a11a3696a24274a178ddedec18e62ca42d3a2d
ifiConnectivityManagerTest.java
ifiStateMachineTest.java
|
2f5f0395e707c3d5e1b8c08c3e70edfac8b331fc |
22-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: maintain a copy of PasspointConfiguration in PasspointProvider am: dc6361c58a am: 32a9f2518e am: 59cb51df32 am: eba14dffa9 Change-Id: Iec5ab05c851a9e88f25649700d80a8a7698ae623
|
32a9f2518eb96779832707567eae1bb456891c3f |
22-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: maintain a copy of PasspointConfiguration in PasspointProvider am: dc6361c58a Change-Id: I93699bd3c87d6be691d29f097b8c5312701975a0
|
dc6361c58a4eb2e7dd931ffe1cc0fb5129f004c9 |
15-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: maintain a copy of PasspointConfiguration in PasspointProvider This avoids the Passpoint configuration maintained in PasspointProvider from being updated by others. Bug: 32714562 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I7101ae0c1bcf70585343e6da5608d7fe1267e689
otspot2/PasspointProviderTest.java
|
bb1279ed2e06bab67225af56a718aad148ff6138 |
22-Nov-2016 |
Peter Qiu <zqiu@google.com> |
resolve merge conflicts of 5cee8f8 to stage-aosp-master Change-Id: Ifa47dab6071ef021fad70377cf728c5937f752e7
|
5cee8f82a0845ecf28a8543ed3e169f44646bd4b |
22-Nov-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: add support for managing Passpoint configurations"
|
1fae1fe53684249e16ca01f5dbf3d791513d5fbb |
22-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Update API per review" am: 0aa9b277c7 am: ec6fa73df0 am: 7672ae672d am: 633a6ba965 Change-Id: Ide3bd49da679478395385169f28b6f90b59526aa
|
c04479601696f56c9cc240d4c7fc49fa99f51825 |
02-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for managing Passpoint configurations Add the initial support to PasspointManager for managing Passpoint configurations. More todos: - add support to WifiKeyStore for installing/removing keys and certificates in the Passpoint configurations - add support to WifiConfigStore for loading/storing Passpoint configurations from/to the persistent storage Bug: 32618351 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: download/install Boingo passpoint profile and verify configure is installed using log messages Merged-In: Id394bcf7514157bfaa3038b3f9f4d1003671d11f Change-Id: Id394bcf7514157bfaa3038b3f9f4d1003671d11f
otspot2/PasspointManagerTest.java
|
ec6fa73df07e3c738be9853115ccb807580ba27a |
21-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Update API per review" am: 0aa9b277c7 Change-Id: I4e7edbfd4c4b1fe6ffedc99901fcd36448a607f8
|
0aa9b277c770511708fc31571c4007a30e40e425 |
21-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Update API per review"
|
4781e9e2904824ef1fbf8a0cf75e89fa957d6a92 |
02-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for managing Passpoint configurations Add the initial support to PasspointManager for managing Passpoint configurations. More todos: - add support to WifiKeyStore for installing/removing keys and certificates in the Passpoint configurations - add support to WifiConfigStore for loading/storing Passpoint configurations from/to the persistent storage Bug: 32618351 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: download/install Boingo passpoint profile and verify configure is installed using log messages Change-Id: Id394bcf7514157bfaa3038b3f9f4d1003671d11f
otspot2/PasspointManagerTest.java
|
f16f0eaa84adea07ae98bad60e17962b80ee79ab |
21-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachinePrime: allow for configs in softap am: fa528234cf am: 8cc7a77953 am: 7b736a8db5 am: 648f488c8d Change-Id: I654b02274906916912dc4d5d104927dcaa43e7ec
|
620e64b73a6ce8d8c76caabdad25218ad58c2c99 |
21-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachinePrime: Implement SoftApMode path am: bfc30bd4c2 am: 9dee6afa78 am: 27a04fe2a5 am: 48376967cc Change-Id: I7f18fc2d1a848a10ae24163b526c78f904754c46
|
8cc7a77953dca3ec2d6c8bdc62ca789c508b1efb |
21-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachinePrime: allow for configs in softap am: fa528234cf Change-Id: I5c44ca0c80956d65a8c35429c9b4aa5a57927645
|
9dee6afa78e114fb6405746d3f40502a34978002 |
21-Nov-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachinePrime: Implement SoftApMode path am: bfc30bd4c2 Change-Id: I6ec7a1f7270387ba2faeee033b4464ba7169f757
|
85baadc5db1d54179ce45a240fb01aa2c54f2a9d |
16-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Update API per review - Move Handler to last position - Peer ID changed from 'Object' -> opaque class - Rename onMessageSent -> onMessageSendSucceeded (cherry pick of commit 7553a5069c45c1540fab6c166805ba574bbd9645) Bug: 31470256 Test: unit tests and integration (sl4a) tests pass Change-Id: I14958f3da8e86c54a08cb7f8aebe58be956e5920
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareManagerTest.java
|
fa528234cf518fda63435cf9c4956576d64e8860 |
30-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachinePrime: allow for configs in softap WifiConfigurations need to be passed to SoftApManager. Add this path to SoftApMode and SoftApModeActiveState along with tests. Bug: 31846822 Test: runtests.sh Change-Id: Ied383499f699619e55d4b05ba93260bf7a8440f5
ifiStateMachinePrimeTest.java
|
bfc30bd4c2ff0c62d6cfff22088a935878966a46 |
22-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachinePrime: Implement SoftApMode path Implement the logic to start, stop and maintain softap mode in WifiStateMachinePrime. This CL covers the implementation and tests, but does not include the call from WifiController to start softap with the new code. Bug: 31831721 Test: runtests.sh Change-Id: Ib3250eb804b5b6a8e2b3b7218145a422205b2b45
ifiStateMachinePrimeTest.java
|
768c0af58a5f3c0d89cd17e67675915f3fa3d75c |
18-Nov-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConnectivityManager: Disable PNO scans" am: c6e5fba1ef am: 44a2888f8d am: e28c3e8aa3 am: 8a1e62e670 Change-Id: I216659597cd67b05640a5433dd8d5a360b719920
|
44a2888f8d4d213c013c9976fb4df1c9b9a99ff6 |
18-Nov-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConnectivityManager: Disable PNO scans" am: c6e5fba1ef Change-Id: I070299f16171b871fd1e572be6785c00c619f983
|
2bf8cc9cabe26484345f416136495a767b453e01 |
17-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConnectivityManager: Disable PNO scans Will enable this back once wificond is ready to accept PNO scan requests from WifiScanningService. For now, we'll perform periodic single scans instead of PNO when screen if off & disconnected. Bug: 32907581 Test: Will send for regression tests Change-Id: I6a4ade71626524fadbe515720f07fed3c28aa967
ifiConnectivityManagerTest.java
|
4e6ce9734302393b1a61c7ee28bcd7a5ca71799a |
17-Nov-2016 |
Peter Qiu <zqiu@google.com> |
Merge "hotspot2: remove OMADM and PPS code" am: 4365d22b77 Change-Id: I01c4e273ddc0a8d44bfba1c7535e2eebcde0b4f5
|
b378283f8783e0e20e70a3cbbcdcb3e07b434493 |
01-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: remove OMADM and PPS code Now that we are switching over to use PasspointConfiguration parcelable object for data exchange between the app and the framework, the existing OMADM parser and the PPS code is no longer needed. So remove them. Bug: 32512868 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Merged-In: I5efb2f39e40488c25720efb5db8534e3bbfdd651 Change-Id: I5efb2f39e40488c25720efb5db8534e3bbfdd651
asspointManagementObjectManagerTest.java
|
963c4f2e6a192e1822c259e96202021c66b3f7f4 |
01-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: remove OMADM and PPS code Now that we are switching over to use PasspointConfiguration parcelable object for data exchange between the app and the framework, the existing OMADM parser and the PPS code is no longer needed. So remove them. Bug: 32512868 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I5efb2f39e40488c25720efb5db8534e3bbfdd651
asspointManagementObjectManagerTest.java
|
1c551baa319f1d81024ad452113d1cf4325aec51 |
15-Nov-2016 |
Randy Pan <zpan@google.com> |
Merge "WifiConfigManager: partial scan channel list" am: 2c698ca1d1 am: 7fc0608153 am: 5a5acf265a am: 3e95d9d308 Change-Id: I4d6062dcba76bddaf6b772b191fad05ff33a864d
|
7fc06081539bbfdc51aee58698e73bf8cb933a5a |
15-Nov-2016 |
Randy Pan <zpan@google.com> |
Merge "WifiConfigManager: partial scan channel list" am: 2c698ca1d1 Change-Id: I895d5a9bdf013122d1f4e750067b58672c86a20d
|
2c698ca1d1b0460f61c84373a5a1f96e07e6a28b |
15-Nov-2016 |
Randy Pan <zpan@google.com> |
Merge "WifiConfigManager: partial scan channel list"
|
37f51664e08bbaa15b168b328da357840eee8bff |
15-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Update framework code for simplified HAL error codes" am: 6b25452574 am: b98623f849 am: 865b69d45c am: 5cabb50485 Change-Id: I8ac409b3acd7b8cfa56cef945a6401e060251d98
|
b98623f8491bc0690f8f7ea723b8df78e50dc499 |
15-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Update framework code for simplified HAL error codes" am: 6b25452574 Change-Id: I13049886fc3137986df87241a8c7b2b342a5f602
|
69689c0657d0b6c7a2616ff9a55ecae15d1f084d |
10-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Update framework code for simplified HAL error codes HAL error codes have been simplified (fewer) and a description string (vendor-specific) added. Update framework code to use the new error codes and log the description string. (cherry-pick of commit 53007ea43c28fb700e37ba1fa74dc51953d5be71) Bug: 27914592 Test: unit tests + integration tests passing Change-Id: Ifb8d1c694e4ca72ecc0c4fe60c180b8a189f43d7
ware/WifiAwareHalTest.java
ware/WifiAwareRttStateManagerTest.java
ware/WifiAwareStateManagerTest.java
|
60ecc292c27e34df1a9414da0d6482cce718efbc |
11-Nov-2016 |
Randy Pan <zpan@google.com> |
WifiConfigManager: partial scan channel list Always include the channel of the currently connected network in the channel set returned by fetchChannelSetForNetworkForPartialScan(). Bug: 32745312 Test: Wifi unit tests. Change-Id: I94a653a2e15222c7f615e9f2c1c3234ba0f1bb09
ifiConfigManagerTest.java
ifiConnectivityManagerTest.java
|
6fd0346c73ca08c6ceab758fec31a9b937688dd8 |
12-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove legacy store files am: b2c8d28046 am: cc441d0d50 am: 27fb2ae865 am: 92b6fc5c15 Change-Id: Ie0117f32489b9741447b407f7b0f7d23f0fe4aac
|
62638a75bce0dc07f66c82b6d68d8c599aec0c50 |
12-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Don't trigger store writes for ephemeral networks am: bbf3b21e42 am: 5df1c07e16 am: a908b685d8 am: 15e23ec00a Change-Id: I87b30c981850ed97bef16b952fa3c6f9b14a45f9
|
cc441d0d50cf3c1c6deeb7b143c1c58cb761c14d |
12-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove legacy store files am: b2c8d28046 Change-Id: Id1a07c13940d33d41d7c07bea4c336f7ee9db15e
|
5df1c07e161cfa6176c3b1f5a708562cd35e2c58 |
12-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Don't trigger store writes for ephemeral networks am: bbf3b21e42 Change-Id: I7d2fa862620e32c72d33fa13c1e78cf46bbab513
|
b2c8d28046e96c4506482e030c6320cda6db8f30 |
11-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove legacy store files This was commented out in the initial submission. Ensure that the old config store files (networkHistory.txt, ipconfig.txt) are removed after migration. Bug: 31273501 Test: Unit tests Test: Will send for integration testing. Change-Id: I5fbdd53372f720fcdcbd43d4ced388a2aee3c01c
ifiConfigManagerTest.java
|
bbf3b21e42e6f13bddd1c30e4266b5be0d1404be |
11-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Don't trigger store writes for ephemeral networks Don't trigger store writes for ephemeral network additon/removal. The ephemeral network is anyway removed from the list to persist in |saveToStore|. So, this write is redundant. Bug: 32809494 Test: Added unit tests. Change-Id: I547ae5aa3b5361a4320d2611f2571e3a379b410a
ifiConfigManagerTest.java
|
7b0962e7d07142fc68e3a5cb49be166ba035d224 |
11-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove unnecessary loads from store am: b3706e8c20 am: 19dc032ab0 am: 033936cd4b am: 4585b6d5b4 Change-Id: I1d2bccea4ce7819a25a256b4fba7446b7aee7c88
|
19dc032ab0cfe0eba8cec9fe9ed5f530905eb206 |
11-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove unnecessary loads from store am: b3706e8c20 Change-Id: I72a6689e9e2d04011ffbf68f3523f571828b9c67
|
b3706e8c20fdf0a0e2b4ec15355ae6f98588b732 |
10-Nov-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove unnecessary loads from store We are currently loading from store for every user unlock. This is unnecessary. We want to load from store only in the following scenario: 1. First unlock after device bootup. 2. First unlock after user switch if user was locked during switch. This should fix the crash in the associated bug where the networkID changed because of a user unlock (and hence caused an unnecessary store load previously). Bug: 32777050 Test: Unit tests Change-Id: Ie7731900a790e1ecfaf0ad6d7b42addb461b6d40
ifiConfigManagerTest.java
|
7f8476aaa3fe8af8d23987683f461e39a76e91a4 |
10-Nov-2016 |
Randy Pan <zpan@google.com> |
WNS: less agressive roaming am: 6491dffa52 am: 504b3fe457 am: 87835e11fc am: 66ef7c5806 Change-Id: Ieb4d9f5f7b248b83b19c0cfd67af3bcabf03d72e
|
504b3fe45783e37a921554d609abfa0d58aac463 |
10-Nov-2016 |
Randy Pan <zpan@google.com> |
WNS: less agressive roaming am: 6491dffa52 Change-Id: I160aeb5c7831a7e1aa06677292783540fff97346
|
6491dffa5242829ccafa59a9a7243d56beafe7e6 |
10-Nov-2016 |
Randy Pan <zpan@google.com> |
WNS: less agressive roaming When connected, WNS no longer triggers network switching if the current network didn't show up in the scan results. While there, fixed the comments of WifiNetworkSelectorTest#filterOutBlacklistedBssid. Bug: 31707128 Test: Wifi Unit Tests Change-Id: Ieebc71151396608cd63e0b834e3f1c572e4cb557
ifiNetworkSelectorTest.java
|
94cd70823b2ec76d4ceb2a5b2cc7273362527378 |
10-Nov-2016 |
Randy Pan <zpan@google.com> |
Merge "WNS: feed filtered scan results to network evaluators" am: 836fdd6fdf am: 7767bd5078 am: 1a8b4ccb0e am: 293c90bbd1 Change-Id: Ib6c5f898028e38adbc26362a2c542b48ca505ad4
|
7767bd5078d33afd4cfed9ab4c161ed89ab92c5f |
10-Nov-2016 |
Randy Pan <zpan@google.com> |
Merge "WNS: feed filtered scan results to network evaluators" am: 836fdd6fdf Change-Id: I798d8072503c293b3c4431f318e083a474567026
|
bab1104d9cdce66688e45aa04f49d36966bc49e0 |
09-Nov-2016 |
Randy Pan <zpan@google.com> |
WNS: feed filtered scan results to network evaluators Bug: 32745148 Test: Wifi unit tests Change-Id: I32a3e8e2698f2ab7aa58123c0606872e762e151d
ifiNetworkSelectorTest.java
|
da94688198c864bb29be2e9603ebbe9ae6492a87 |
01-Nov-2016 |
Tamas Berghammer <tberghammer@google.com> |
Update package names to work with the proto3 compiler Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
ifiMetricsTest.java
canner/WifiScanningServiceTest.java
|
a59f7d1ab2b9e912a9918eef96a29676c1725824 |
06-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[NAN-AWARE] Rename NAN to Aware am: c29acea6ce Change-Id: I83892bc745ae27e0b9d5dcee5799d4aa0baab968
|
c29acea6ceda3aa4ee537c05ce7d05dac2655cf9 |
26-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN-AWARE] Rename NAN to Aware Rename only (and any reformatting needed to pass lint) - no functional changes! (cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3) Bug: 32263750 Test: All unit tests and integration (sl4a) tests pass. Merged-In: Idd8d0ad8d1fa1058c1bcd0de169a02e1fad9d070 Change-Id: I761b8f5b588d74eea66d7150a2f9a1e1ac5c1dfd
ifiStateMachineTest.java
ware/TlvBufferUtilsTest.java
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareHalMock.java
ware/WifiAwareHalTest.java
ware/WifiAwareManagerTest.java
ware/WifiAwareRttStateManagerTest.java
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
an/TlvBufferUtilsTest.java
an/WifiNanDataPathStateManagerTest.java
an/WifiNanHalMock.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanRttStateManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
4b13f1b486440044f27de0418e13afb8bd24f35c |
26-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN-AWARE] Rename NAN to Aware Rename only (and any reformatting needed to pass lint) - no functional changes! (cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3) (cherry-pick of commit 78f9a8e00349e151341dac063e959cb3cf81e42e) Bug: 32263750 Test: All unit tests and integration (sl4a) tests pass. Change-Id: Idd8d0ad8d1fa1058c1bcd0de169a02e1fad9d070
ifiStateMachineTest.java
ware/TlvBufferUtilsTest.java
ware/WifiAwareDataPathStateManagerTest.java
ware/WifiAwareHalMock.java
ware/WifiAwareHalTest.java
ware/WifiAwareManagerTest.java
ware/WifiAwareRttStateManagerTest.java
ware/WifiAwareServiceImplTest.java
ware/WifiAwareStateManagerTest.java
an/TlvBufferUtilsTest.java
an/WifiNanDataPathStateManagerTest.java
an/WifiNanHalMock.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanRttStateManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
da642bf7baa1a1a6df7223e7244803dcb1cd08f5 |
03-Nov-2016 |
Michael Plass <mplass@google.com> |
Merge "WifiScoreReportTest: Add unit tests" am: df8865d584 am: 77e0758660 am: 20ae0efd90 am: 6030ae7e9b Change-Id: Iac6eec12d05861dbddc7b79c85e5511776bac299
|
77e075866038566cb76ee2217f7ef461a7d4ae1f |
03-Nov-2016 |
Michael Plass <mplass@google.com> |
Merge "WifiScoreReportTest: Add unit tests" am: df8865d584 Change-Id: I58d2c6556d177470d5c84df08c511bb5d97f23e7
|
147bc3f1df89a8655ac118d4dffcea160ef8f08b |
24-Oct-2016 |
Michael Plass <mplass@google.com> |
WifiScoreReportTest: Add unit tests Tests for WifiScoreReport Test that the score is passed to the networkAgent, and to the wifiMetrics. Make sure the bad linkspeed counter is updated. Check for saved last report. Check that the score in the report string matches what was sent out. Check that the tx and rx rates have influence. Test: runtests, checkstyle Bug: 27324715 Change-Id: I9e40f75418af6930260b978c9b6568793e73760b
ifiScoreReportTest.java
|
7ed659dfe00c43008f76ea2b054007fb3e205bdd |
01-Nov-2016 |
Peter Qiu <zqiu@google.com> |
Merge "passpoint: initial support for PasspointManager" am: b4de659a6d Change-Id: I1d7d6e5b7244365a523c62593ff9a971306726d0
|
b4de659a6d54c1633cf95fc9763e9a9d81a46916 |
01-Nov-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "passpoint: initial support for PasspointManager"
|
eaa6ff2e246151fe8f42d7111541225ee0e3f346 |
12-Sep-2016 |
Peter Qiu <zqiu@google.com> |
passpoint: initial support for PasspointManager Added handling for passpoint icon responses and Wireless Network Management (WNM) frames. Bug: 31430212 Test: runtest frameworks-wifi Change-Id: I21c606f122b22dded37e8faf7bcdea8cd910e2e0 Merged-In: I21c606f122b22dded37e8faf7bcdea8cd910e2e0
otspot2/PasspointManagerTest.java
|
ab35652bdb1369b057711ae37b483a01bac542e6 |
31-Oct-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "passpoint: initial support for PasspointManager"
|
ee55ff8403954af0dc320fa5780861d0da61d3bb |
31-Oct-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Add group and pairwise cipher suite info to Capabilities object" am: fd413331c8 am: 327737eaf4 am: fa5d81a03f am: d04309bc2f Change-Id: Ibfad61c837c3273b4071c80f332035495b6bca3d
|
298ffd7660854e562ccc32a98de6b3d6833fc588 |
12-Sep-2016 |
Peter Qiu <zqiu@google.com> |
passpoint: initial support for PasspointManager Added handling for passpoint icon responses and Wireless Network Management (WNM) frames. Bug: 31430212 Test: runtest frameworks-wifi Change-Id: I21c606f122b22dded37e8faf7bcdea8cd910e2e0
otspot2/PasspointManagerTest.java
|
327737eaf4e5834f440964be9fcd65e8ab56c320 |
31-Oct-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Add group and pairwise cipher suite info to Capabilities object" am: fd413331c8 Change-Id: I6b2f588e92e9016c21f211f3d131622a3a4665ec
|
fd413331c84f7fade11830efb3d9ed3dddc4e98f |
31-Oct-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Add group and pairwise cipher suite info to Capabilities object"
|
7cfe9dcd2275e6c1dd1f56c6b27325655777ec88 |
31-Oct-2016 |
Sohani Rao <sohanirao@google.com> |
Merge "WifiPermissionsUtil: Resolve refactoring bug" am: 77b8a3f928 Change-Id: I4fc27d520cb9f77b4a158480800380f50d133465
|
63a4c8e9abc4f75f7885331360e67e8ac8c4f7dd |
25-Oct-2016 |
Sohani Rao <sohanirao@google.com> |
WifiPermissionsUtil: Resolve refactoring bug The function canAccessScanResults() changes the semantics of the permissions check. Specifically, it enforces INTERACT_ACROSS_USERS_FULL permission on all callers. The original code only enforces this when the user or profile is not current. Update WifiPermissionsUtil and WifiPermissionsUtilTest to ensure this functionality. Also, ensure there's no logical change in the permissions check needed. Bug: 32400436 Test: Unit test, cherry-pick to master and verify SetupWizard can access scan results even though it may not have the INTERACT_ACROSS_USERS_FULL permission Change-Id: I84565946f1a62258b84af0a7b817bcff248d2eda Merged-In: I84565946f1a62258b84af0a7b817bcff248d2eda
til/WifiPermissionsUtilTest.java
|
4d11585ede6636fee294ffb89e832e2f7f271c12 |
28-Oct-2016 |
Ningyuan Wang <nywang@google.com> |
Add group and pairwise cipher suite info to Capabilities object This parses the group and pairwise cipher suite from IEs, and stores them in InformationElementUtil.Capabilities object. This repaces buildCapabilities() with from() and generateCpabilities String(). This decouples security capabilities information from the capabilities string, which is exposed to API and need to match supplicant format. This add the pairwise cipher to capabilities string to match the supplicant format. This also fixes the WPA IE structure in comments. Bug: 32481849 Change-Id: Iaf9ec222886375ed4e5ba66b1d8e0e408acd0a20 Test: compile, manual test, unit tests
til/InformationElementUtilTest.java
|
868b692e6faa9ec3c8dd0cd42d4302082e28b992 |
01-Sep-2016 |
Sohani Rao <sohanirao@google.com> |
Wifi Permissions Utility to check scan permissions Abstracted permissions check for returning scan results into a central module - WifiPermissionsUtil - provides a method that validates the calling uid's permissions to access scan results - fix permission bug by ensuring the calling uid is used instead of uid of the system server - ensures backward compatilibity for legacy apps and enforces location permissions on apps of a certian version or later - Ensure that INTERACT_ACROSS_USERS_FULL permission is only required if the User or profile is not current. Fixed build breakage. Added a class WifiPermissionsWrapper to wrap static methods and dependencies to enable testing Test: Unit tests, Added unit tests, Tested manually Ensure Setup Wizard and Settings UI can access scan results Bug: 32400436 Change-Id: I84565946f1a62258b84af0a7b817bcff248d2eda
til/WifiPermissionsUtilTest.java
|
85a2569ce42ae4a733c2f20a48cffc3dc8956021 |
24-Oct-2016 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: move config argument to constructor am: 79d069c370 am: 7dec8b6b64 am: 96a9f4b7ad am: 53bf07d4f8 Change-Id: I48ff5fda20f160e5c98bdadc44a84be118cdb3e4
|
7dec8b6b64b5cbd82f07ac3688dd812780ce5763 |
24-Oct-2016 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: move config argument to constructor am: 79d069c370 Change-Id: I70895e1a12dd17668302b97950cd29ab30c3f7c7
|
79d069c37009c62f4f9e1dd0fc623fcf50aab919 |
06-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: move config argument to constructor This CL moves the softap configuration argument from the start command to the constructor. This allows a generic start() method to be used instead of sending the config with the CMD_START message. Additionally, the default config will be used if a config is not provided. An error will be triggered if the default config is not loaded properly. Existing unit tests were updated to reflect the changes above and additional tests were added to cover a failure loading the default config. The tests were also modified to check the SSID name from the config when start is called. This allows the test to distinguish the default from provided configs in the constructor. Bug: 31631674 Test: manual testing and runtests.sh Change-Id: I3be2ee36eb8119647fc42623785e1bbd4c7ad9b1
oftApManagerTest.java
|
862ef3b0f4433dee7fbcd78aa34d0c71bb2d4c2c |
21-Oct-2016 |
Sohani Rao <sohanirao@google.com> |
Merge "Revert "Wifi Permissions Utility to check scan permissions""
|
86c849795d49fd407f6b68443c246550a0efd62c |
21-Oct-2016 |
Sohani Rao <sohanirao@google.com> |
Revert "Wifi Permissions Utility to check scan permissions" This reverts commit 5bb7281f66dd79fb8c818f3b5594a69a339cb299. Change-Id: I584141157a3c531b9ae7f2a737468060462f8972
til/WifiPermissionsUtilTest.java
|
ef64f56d8c4d242a01ad4b6c3d5319cbb57872a2 |
20-Oct-2016 |
Sohani Rao <sohanirao@google.com> |
Wifi Permissions Utility to check scan permissions am: 92f4d52b14 Change-Id: Ide9ebe636b68dc9777b3ca3f1a1cfe4ef743f5f8
|
92f4d52b14d8847f6f81712bf3bbfa0f1203eef5 |
01-Sep-2016 |
Sohani Rao <sohanirao@google.com> |
Wifi Permissions Utility to check scan permissions Abstracted permissions check for returning scan results into a central module - WifiPermissionsUtil - provides a method that validates the calling uid's permissions to access scan results - fix permission bug by ensuring the calling uid is used instead of uid of the system server - ensures backward compatilibity for legacy apps and enforces location permissions on apps of a certian version or later Added a class WifiPermissionsWrapper to wrap static methods and dependencies to enable testing Bug: 30761439 Test: Unit tests, Added unit tests, Tested manually Merged-In: Ic212821830a67a3799bd99ae9cd09fcaeae1d0e1 Change-Id: Ic212821830a67a3799bd99ae9cd09fcaeae1d0e1
til/WifiPermissionsUtilTest.java
|
ad65970ae7990451ddf08949a92b0d07ffe0c332 |
19-Oct-2016 |
Sohani Rao <sohanirao@google.com> |
Merge "Wifi Permissions Utility to check scan permissions"
|
5bb7281f66dd79fb8c818f3b5594a69a339cb299 |
01-Sep-2016 |
Sohani Rao <sohanirao@google.com> |
Wifi Permissions Utility to check scan permissions Abstracted permissions check for returning scan results into a central module - WifiPermissionsUtil - provides a method that validates the calling uid's permissions to access scan results - fix permission bug by ensuring the calling uid is used instead of uid of the system server - ensures backward compatilibity for legacy apps and enforces location permissions on apps of a certian version or later Added a class WifiPermissionsWrapper to wrap static methods and dependencies to enable testing Bug: 30761439 Test: Unit tests, Added unit tests, Tested manually Change-Id: Ic212821830a67a3799bd99ae9cd09fcaeae1d0e1
til/WifiPermissionsUtilTest.java
|
519056861a467ae64e142ff07d53891514ef9c70 |
20-Sep-2016 |
Peter Qiu <zqiu@google.com> |
OMAParser: throw IOException when parsing a null XML string This avoids a NullPointerException when parsing a null XML string. OMAParser.parse is only used by PasspointManagementObjectManager for adding/building/modifying a HomeSP from a XML string. It is fine to use IOException since it is already being handled gracefully by its upstream callers. Bug: 31497435 Test: unit tests Test: Verify system server crashes when executing the command below without the fix and doesn't crash with the fix: "adb shell service call wifi 8 i32 0" Change-Id: If2ad13b8573d49ba0ccbea2427f3c63d841f866d
asspointManagementObjectManagerTest.java
|
13b546495d3e54ae8a7e025cbe850e1103f01856 |
17-Oct-2016 |
Christopher Wiley <wiley@google.com> |
Merge "SoftApManager should listen for interface up/down" am: 7f4785d575 am: faaf6ba27c am: 62b1804762 Change-Id: I8b7d5c2449f6b9c84799a2cb3db5ceb4aa178f8e
|
faaf6ba27cf55bf6429b635380ce0ffea8128ace |
17-Oct-2016 |
Christopher Wiley <wiley@google.com> |
Merge "SoftApManager should listen for interface up/down" am: 7f4785d575 Change-Id: Id08cbc87e9c0a411c8cd9725b7f5c4c580195347
|
fe3e7f39c4acf1517b31d6ff7123d075c1e6de25 |
27-Sep-2016 |
Christopher Wiley <wiley@google.com> |
SoftApManager should listen for interface up/down Defer reporting AP bring up as complete until we see the interface going up. Since wificond takes down the interface at each tear down, the interface should always be initially down, so we should always see this event. Bug: 31337216 Test: unittests pass Change-Id: If5d5e3908887df33f7da9a61af1bd648d8b8cc5a
oftApManagerTest.java
|
5f6250083ef98c8008ee852c400b12304aafa699 |
11-Oct-2016 |
Randy Pan <zpan@google.com> |
ExternalScoreEvaluator: factor in active network am: 0b9b32c53a am: 818ebf5894 am: 67075d5538 am: c6bb020ed7 Change-Id: I913930c60f31de67c3541a2ae15aa1df98994854
|
c6bb020ed7716acea6d143caef04ff082c4005ec |
11-Oct-2016 |
Randy Pan <zpan@google.com> |
ExternalScoreEvaluator: factor in active network am: 0b9b32c53a am: 818ebf5894 am: 67075d5538 Change-Id: I3bb9a70a537cd9c564c9e7b253a72a18ae146e08
|
818ebf58946a7235aa5d54e9afce9e9d22b945e3 |
10-Oct-2016 |
Randy Pan <zpan@google.com> |
ExternalScoreEvaluator: factor in active network am: 0b9b32c53a Change-Id: I9cdaad1221048b6494ffef562d80eb8b68068b24
|
0b9b32c53a83dea56417bda7bc9ddc1dc1e4222e |
05-Oct-2016 |
Randy Pan <zpan@google.com> |
ExternalScoreEvaluator: factor in active network When obtaining the score for an externally scored network, indicate whether the network is the currently connected one, which is favored by the external scorer. This helps avoid unnecessary roaming caused by RSSI fluctuation. Bug: 31928897 Test: Wifi framework unit tests Change-Id: I4a0657de58f4dab3fc5e004082dcf5d7c4a02e31
xternalScoreEvaluatorTest.java
ifiNetworkSelectorTestUtil.java
|
6a5e90ea3e9054ad67f74483215d37cd6d712675 |
15-Aug-2016 |
Sohani Rao <sohanirao@google.com> |
Define and track Wifi scores to report Wifi metrics Add a proto definition to track counts corresponding to wifi scores Scores are calculated in WifiScoreReport and metrics are updated in calculateAndReportScore. Wifi scores are limited in a range [0, 60] where the max score is the base score assigned by Network Agent. To ensure the size of the map is limited, any scores out of this range will be dropped. Updated test framework to validate score tracking and check out of bound values are dropped. The unit tests also ensure the base score is within reasonable limits. BUG=29418013 TEST=Wifi Unit tests, Walk tests and log scores via dumpsys (cherry picked from commit 24b18e8d3e9ec4c5a1ac9d4c6968663ef65bc453) Change-Id: I574d6b26ac5a558bb1eb071a9b6604335872de07
ifiMetricsTest.java
|
4ebe061b49a61501987c42f19451d108a32ef6db |
06-Oct-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WiFi Metrics: Add RSSI delta metric (poll v scan)"
|
407b67dabe82aa6aa2b7ea56d4b2708af8cd31de |
06-Oct-2016 |
Randy Pan <zpan@google.com> |
Move WifiNetworkSelector to WifiInjector am: 2dfadf313b am: c168540bd2 Change-Id: I084ad68ef855de68a614fef435faa1b9894bb9e1
|
2dfadf313b3e5194d56d2fa24b9270086cda165a |
03-Oct-2016 |
Randy Pan <zpan@google.com> |
Move WifiNetworkSelector to WifiInjector While there, move WifiInfo to be an input parameter of WifiNetworkSelector#selectNetwork and make WifiInfo the sole source for obtaining information of the currently connected network. Bug: 31383992 Test: Wifi framework unit tests Change-Id: I107ba600165b008079cebf230865f8b2082740a8
ifiConnectivityManagerTest.java
ifiNetworkSelectorTest.java
ifiStateMachineTest.java
|
c99f344e111308961090154f0705b16c7695b2a3 |
06-Oct-2016 |
Glen Kuhne <kuh@google.com> |
WiFi Metrics: Add RSSI delta metric (poll v scan) am: 5cab82f2e7 Change-Id: I27eee0a732b02abee35226e512da761f8e6d7156
|
e08a4eb91d8fdc9da6de3e490fa2bd12273f8486 |
06-Oct-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WiFi Metrics: Add RSSI delta metric (poll v scan)" into nyc-mr1-dev-plus-aosp
|
44666b4e5ba02d0cee16513f40e78bc3983ab58a |
06-Oct-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of a99eaf2 to nyc-mr1-dev-plus-aosp am: f44e4d233e Change-Id: Ib68b1f797f44953bd9a046dd130e306aa11bf583
|
f44e4d233e847e3a197c8c85e320e8fd761981ec |
06-Oct-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of a99eaf2 to nyc-mr1-dev-plus-aosp Change-Id: I2047023d049c801038d18f93d4a2f8638f4a6c35
|
a99eaf256db19e33209da1ff77c62cc865f494fd |
06-Oct-2016 |
Randy Pan <zpan@google.com> |
WifiNetworkSelector unit tests. am: 42f602b9ac Change-Id: I3f55d872720685cc6021726457ec28084dbe3cff
|
0dc93bd75db059a5ca57a9b430a577c3a5a28ded |
06-Oct-2016 |
Randy Pan <zpan@google.com> |
WCM: unit tests am: b9705ab138 Change-Id: I38888e7e79f743abc7cd8fb2f3481779653549fb
|
2e4c946e15dff5a207816ea21c0c3e8d5de01f08 |
06-Oct-2016 |
Randy Pan <zpan@google.com> |
Merge changes from topic 'WifiNetworkSelector' into stage-aosp-master * changes: Unit tests for ExternalScoreEvaluator Unit tests for SavedNetworkEvaluator WifiNetworkSelector unit tests. WCM: unit tests Wifi Network Selector
|
e2b3915ca8abad6914c081eec05c41fdb60dbf09 |
06-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Expose NAN characteristics as an API am: 002ae45918 am: 387fb1854f am: 8e9270f11f am: 407eeab2b7 Change-Id: Ic450f706cbbad2449d127899067459374f75d7f4
|
407eeab2b7ff2f06b970e36537965facf5bd98d3 |
06-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Expose NAN characteristics as an API am: 002ae45918 am: 387fb1854f am: 8e9270f11f Change-Id: Ia4c2c889b918114ce33d9bf2a8c86faec5eabcda
|
387fb1854fb66e878ac655939e767c336e0c380d |
06-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Expose NAN characteristics as an API am: 002ae45918 Change-Id: I56f53ec55f226bb21f5dce8d0e3638a1dfb780bd
|
002ae45918d75c5d42c2f1ba90a99b5848f5d75e |
04-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Expose NAN characteristics as an API Service API to provide NAN characteristics (capabilities). (cherry-pick of commit ad58e1b0145c799f0d2fd4b620ddc45a224eba4a) Bug: 31912101 Test: build and validate API updates Change-Id: I0a1e628828e4b8d969bf10e29e83396ecf4ecf27
an/WifiNanManagerTest.java
|
60cf847709fd2c853882a804c7d2e8206cc90371 |
21-Sep-2016 |
Glen Kuhne <kuh@google.com> |
WiFi Metrics: Add RSSI delta metric (poll v scan) Created a new metric that logs the difference in RSSI values between a ScanResult and the first RSSI poll received after attempting to connect to the AP in that ScanResult. RSSI poll must come within 3 seconds of framework's connections attempt, and is not counted if the connection attempt fails. The value logged is: delta = poll.rssi - scanResult.rssi While I was here: Updated wifi.proto to match downstream placeholder metrics. Test: Added unit tests Bug: 31239324 Merged-In: Ice3768df3e8b5c05ff74e7d75e205748403430dc Change-Id: Ice3768df3e8b5c05ff74e7d75e205748403430dc
ifiMetricsTest.java
|
5cab82f2e70c360de79e6ca50da25c7657ed345d |
21-Sep-2016 |
Glen Kuhne <kuh@google.com> |
WiFi Metrics: Add RSSI delta metric (poll v scan) Created a new metric that logs the difference in RSSI values between a ScanResult and the first RSSI poll received after attempting to connect to the AP in that ScanResult. RSSI poll must come within 3 seconds of framework's connections attempt, and is not counted if the connection attempt fails. The value logged is: delta = poll.rssi - scanResult.rssi While I was here: Updated wifi.proto to match downstream placeholder metrics. Test: Added unit tests Bug: 31239324 Change-Id: Ice3768df3e8b5c05ff74e7d75e205748403430dc
ifiMetricsTest.java
|
eb88120909432145ada2e318486ab00901b4e0c7 |
06-Oct-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Remove test files for frameworks/base/wifi (android.net.wifi.*)" am: fe6fbe3b65 am: b3b54a85a7 am: 3149084b90 am: 5d55d6996a Change-Id: I4110a40850c3c686532d1e22f2bb86fcee040614
|
b68b891ef2d3cb516fe70a3e016eaf99b2e3baf5 |
06-Oct-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use NAN capability information to validate configurations" am: 8acd9c88b0 am: ed67732404 am: 3e4395fe4c am: cd9718e4be Change-Id: Iba3a209c88adfa05dd2c67cf1e2f2f53b0734b66
|
5d55d6996a5200ecd6ebf9b65155195233976149 |
06-Oct-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Remove test files for frameworks/base/wifi (android.net.wifi.*)" am: fe6fbe3b65 am: b3b54a85a7 am: 3149084b90 Change-Id: Iea90f792a931a8f5ba182184fa6fcfb337661f50
|
b3b54a85a7ad80d370eff218d4faddc0bf430210 |
06-Oct-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Remove test files for frameworks/base/wifi (android.net.wifi.*)" am: fe6fbe3b65 Change-Id: I713f0b64ad6d582a4f8fe91e44b2c4770c0d2193
|
fe6fbe3b6522e57325cdb19f9e52c42e57166c78 |
06-Oct-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Remove test files for frameworks/base/wifi (android.net.wifi.*)"
|
dc4d8eafda8e61d2fad8e26feaf0358841d3760d |
19-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for ExternalScoreEvaluator While there, add a few null checks. Updated SavedNetowrkEvaluatorTest accordingly. Bug: 31273721 Test: Unit tests passed. Change-Id: I32b0a92239968c0fdfd9f81934b3da33f85721f5
xternalScoreEvaluatorTest.java
avedNetworkEvaluatorTest.java
ifiNetworkSelectorTestUtil.java
|
8819fd94ddf2f8cc8f8b7187cc7fcc2fb0f942df |
16-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for SavedNetworkEvaluator Bug: 31273721 Test: unit tests passed. Change-Id: I69411213c1b96b8a4b35927ab582902ebad50b1b
avedNetworkEvaluatorTest.java
|
42f602b9ace875b5bf25640fc4f8c708bb8a9c0e |
13-Sep-2016 |
Randy Pan <zpan@google.com> |
WifiNetworkSelector unit tests. Created a WifiNetworkSelectorTestUtil class. Added unit tests for WifiNetworkSelector. Bug: 31469319 Test: unit tests passed. Change-Id: I2fff00bf258a26275f124931000635ab2cdba69f
ifiNetworkSelectorTest.java
ifiNetworkSelectorTestUtil.java
ifiQualifiedNetworkSelectorTest.java
|
b9705ab138923ebd4724ed9b428c706339d93af6 |
09-Sep-2016 |
Randy Pan <zpan@google.com> |
WCM: unit tests Brought up the WCM unit tests with the new Wifi Network Selector. While there, fixed checkstyle issues. Bug: 31380721 Test: unit tests passed. Change-Id: Id6c658cf9287cfad97f37e2d89fbf92fee58a49b
ifiConnectivityManagerTest.java
|
2911c010f39f8925907df2a50c61a2542b601d5a |
05-Oct-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Wifi Metrics: dumpsys arg for clean output" am: a96abb03c7 Change-Id: I512c12480686e45a09425d795f7659735e9f4663
|
a96abb03c7e31ffae1e19faa24b12e55d270fa03 |
05-Oct-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Wifi Metrics: dumpsys arg for clean output"
|
cd9718e4bebe7a375ee53e491a249c8f854e3d6b |
05-Oct-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use NAN capability information to validate configurations" am: 8acd9c88b0 am: ed67732404 am: 3e4395fe4c Change-Id: I1b72c87c70e9bc74d5f72e8a0146fbf3ddb8c0be
|
ed67732404cca8272a09d78f046871176483fbed |
05-Oct-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use NAN capability information to validate configurations" am: 8acd9c88b0 Change-Id: Ife22029d1c035efa7da95c9b79111ee9bba82e66
|
8acd9c88b0e2e408e685eac3964135f40a783756 |
05-Oct-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use NAN capability information to validate configurations"
|
4c172f57fbad84033ef1ef0638f360d33ec7ccf5 |
03-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Use NAN capability information to validate configurations Validate publish and subscribe configurations and message length using the NAN configuration retrieved from the firmware. (cherry-pick of commit b7383caf0cabd676ca3994d401a5ab7227d1a97c) Bug: 31912101 Test: unit tests Change-Id: I864876c91bf7157fff0c73d5095e78e9b2a6e3c8
an/WifiNanDataPathStateManagerTest.java
an/WifiNanServiceImplTest.java
|
da247f42ad1ee4071e15f0115ef57e73e1143ef1 |
17-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output Modify the way dumpsys works in wifi so that 'dumpsys wifi wifiMetricsProto clean' outputs only serialized base64 encoded wifi metrics proto bytes. Bug: 31556602 Test: Created new unit test Change-Id: I7aa5e8b944c155a10ebebd913359818fcd82d14e
ifiMetricsTest.java
|
13ce6f9eda34d9ee88e5430c92932e1ac12705cb |
03-Oct-2016 |
Randy Pan <zpan@google.com> |
Move WifiNetworkSelector to WifiInjector While there, move WifiInfo to be an input parameter of WifiNetworkSelector#selectNetwork and make WifiInfo the sole source for obtaining information of the currently connected network. Bug: 31383992 Test: Wifi framework unit tests Change-Id: I107ba600165b008079cebf230865f8b2082740a8
ifiConnectivityManagerTest.java
ifiNetworkSelectorTest.java
ifiStateMachineTest.java
|
6c90568a19e32a1825e06a608e59d3f36daff9ca |
03-Oct-2016 |
Randy Pan <zpan@google.com> |
Move WifiNetworkSelector to WifiInjector While there, move WifiInfo to be an input parameter of WifiNetworkSelector#selectNetwork and make WifiInfo the sole source for obtaining information of the currently connected network. Bug: 31383992 Test: Wifi framework unit tests Change-Id: I107ba600165b008079cebf230865f8b2082740a8
ifiConnectivityManagerTest.java
ifiNetworkSelectorTest.java
ifiStateMachineTest.java
|
a639a65417af01038484555cf8e16d23764645bd |
04-Oct-2016 |
Erik Kline <ek@google.com> |
Add more capable Settings abstractions to accomodate IpManager am: 458d8dceed Change-Id: Iaec8c9cca8e43a0ccc477b520c89952d291a96ef
|
458d8dceedd28a99084d17a5d3118f2c03b3c2d9 |
04-Oct-2016 |
Erik Kline <ek@google.com> |
Add more capable Settings abstractions to accomodate IpManager IpManager contains an AvoidBadWifiTracker which makes various settings checks. Add a MockContentProvider with noop implementation. Test: treehugger Bug: 31827713 Change-Id: I9c03c379d2f94fa6f751e2f97a68a5ba1a8eea8b
ifiStateMachineTest.java
|
1d2f0e099f5a561cec7b9f459af4f2c00d69fc7e |
01-Oct-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Add unit tests to validate that null or empty messages are supported" am: 3f08dd9bfa am: f7e221d872 am: 199d8bb128 am: 2e1a7c6f86 Change-Id: If525dfb1e2b607f89408db3c5e74c681d619a960
|
b367278a44c79f8b8cfd803f657281f89426e97c |
01-Oct-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Add wificond to RttService" am: f13fd2d666 am: 9c3856b850 am: 3f9aacb676 am: 55d10ee9ca Change-Id: I9afdcd66a2e7ca7e92d1cda715442e5bfb95bc52
|
9eba9df34d6235da16f2b08be81ac79ae2367f08 |
30-Sep-2016 |
Peter Qiu <zqiu@google.com> |
Remove test files for frameworks/base/wifi (android.net.wifi.*) Those test files had already been copied over to frameworks/base/wifi/tests. Bug: 31745421 Test: frameworks/opt/net/wifi/tests/wifitests/runtest.sh Change-Id: I2fe972e57e11951a9fffbf1cbba854e2a67a56f2
akeKeys.java
ifiConfigurationTestUtil.java
ifiConfigurationUtilTest.java
|
2e1a7c6f86ac0b79a3c2d932de71d99a2fd64138 |
30-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Add unit tests to validate that null or empty messages are supported" am: 3f08dd9bfa am: f7e221d872 am: 199d8bb128 Change-Id: Ic96ca9532daf87450ae712c45184273094a86cd3
|
f7e221d87293022104d87d3d31b24ea5e71e26ae |
30-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Add unit tests to validate that null or empty messages are supported" am: 3f08dd9bfa Change-Id: Ia446253620828a18d2481a7ce16b0f22aa63bd4b
|
3f08dd9bfa0e2a9431ebc0c970759349f4f05239 |
30-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Add unit tests to validate that null or empty messages are supported"
|
55d10ee9ca5d7a498e91c69a14836899257e5cd9 |
30-Sep-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Add wificond to RttService" am: f13fd2d666 am: 9c3856b850 am: 3f9aacb676 Change-Id: I504a1638df49b9cb843a383ac7dfab20d2f92d2e
|
9c3856b8502a986ed411ef4f3d7471e6fdf840c4 |
30-Sep-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Add wificond to RttService" am: f13fd2d666 Change-Id: Ic9711ac4e12806c046d093097dfee0c52a479332
|
f13fd2d6660d50e60c41a3e4eada4a21a6298851 |
30-Sep-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Add wificond to RttService"
|
3796e636715ec00ac4548c4c09b0290ed09c8ba7 |
29-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add unit tests to validate that null or empty messages are supported The code already supports null or empty array (byte[0]) messages. Add unit tests to validate framework support. (cherry-pick of commit 1a3d53d159020b248140dce100c241054c10c75f) Bug: 31676513 Test: unit-tests pass Change-Id: I23aa29861b1446176d13157ad682b3290ebaacb3
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
435236f48f94a8373fa71251a3223e642f446e77 |
22-Sep-2016 |
Ningyuan Wang <nywang@google.com> |
Add wificond to RttService Wificond is a new wifi daemon handling the communicaton between java framework and lower level implementation, such as HAL, wpa_supplicant, and NL80211. This adds wificond binder objects to RttService, allowing all the rtt request to go through wificond instead of WifiNative in the future. Bug: 30633278 Test: compile, manual tests, unit tests Change-Id: Ic8b910f24d1a269579d79efcf7a4bd0a11be70a7
ttServiceTest.java
|
f1d93db17c1baa81fa8bce5a2fdd38430f2089ab |
28-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove builder API using String to translate to byte[] am: 8098201f73 am: 836c87bb9a am: 52f1f52d24 am: cf286c5980 Change-Id: I8e94a771ff09078feef38958881997ecd746dd4f
|
cf286c598032bfdb4fa90902a7e6d63b81bfd1cc |
28-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove builder API using String to translate to byte[] am: 8098201f73 am: 836c87bb9a am: 52f1f52d24 Change-Id: I953f2b4bff1552a809bf0414703799c7e15dff7a
|
836c87bb9ad8be41d8fde3d19bf90c353d49ad71 |
28-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove builder API using String to translate to byte[] am: 8098201f73 Change-Id: Iceecc9022a8badb3555971f43943c34d69063ca4
|
8098201f7351a41f55524fbe09fb4332d34f7094 |
27-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove builder API using String to translate to byte[] Per API review: String accessor was not needed (duplicate, semantics not accurate, trivial use-case). (cherry-pick of commit dd15824b61a8b0378eb9a8c74fefc97c9f0cebd9) Bug: 31470256 Test: unit tests Change-Id: Icbd922cbfd40e01280cd988ab80c695af77eb787
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
2542e1a80ecbff1ded5ab6d213f4895d6d2427ed |
28-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use a hidden class for peer ID opaque handle: updated unit tests" am: d5a1b60f23 am: 70dae5b49a am: c1a5cf8125 am: ce856cbe48 Change-Id: I993d531fa2ff3d160b5172de817c17ba78c2945e
|
ce856cbe4819cde395a395117fb06780a8d84417 |
28-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use a hidden class for peer ID opaque handle: updated unit tests" am: d5a1b60f23 am: 70dae5b49a am: c1a5cf8125 Change-Id: I2b44beb3ad8ce6f068f8e282e2c0afe4dd7a9ae4
|
70dae5b49a44bf2d610758a1ba2340def890406c |
28-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use a hidden class for peer ID opaque handle: updated unit tests" am: d5a1b60f23 Change-Id: Iad7d9d052b15d3a06f3ef7530bb6e2c6349be7d7
|
d5a1b60f238596381bc69a2f0987aee59bdd6078 |
28-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Use a hidden class for peer ID opaque handle: updated unit tests"
|
0c9a3591240a5d9f7ee74437bee7b0a16c8d49ff |
27-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Use a hidden class for peer ID opaque handle: updated unit tests Results in clearer run-time exception (relatively to using Integer). (cherry-pick of commit 1012e64f5bc3e4ba66a00099e12ba69023e6fe6a) Bug: 31689166 Test: unit-tests Change-Id: I020fd7f518ba65f164c6ec7b798ed3262b39a960
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
|
cf69e50f5344898a0a89f838f63322a2df01bf5d |
21-Sep-2016 |
Randy Pan <zpan@google.com> |
WCM: forced connectivity scan WCM starts a full band single scan when user forces a connectivity scan and wait for the full band scan results to make network selection. Bug: 30897947 Test: unit tests and manual test Merged-In: Ie220c25dd60a0534afbf33f62691f32515f7062b Change-Id: Ie220c25dd60a0534afbf33f62691f32515f7062b
ifiConnectivityManagerTest.java
|
8ef24fce3bac0c107324d6f8592a1215772ab397 |
27-Sep-2016 |
Randy Pan <zpan@google.com> |
Merge changes from topic 'WifiNetworkSelector' * changes: Unit tests for ExternalScoreEvaluator Unit tests for SavedNetworkEvaluator WifiNetworkSelector unit tests. WCM: unit tests Wifi Network Selector
|
50d87f93b0c0248cc35ba37422852dd85309145f |
27-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Rename setTerminateNotificationEnabled per API review am: e1103ae704 am: 36ae14d294 am: d416746218 am: 4e95a4aa85 Change-Id: I7175c961fcc0ae6de0038336d72e16bc46ee6522
|
4e95a4aa858f325298c3a5ca648b990efa2d380d |
27-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Rename setTerminateNotificationEnabled per API review am: e1103ae704 am: 36ae14d294 am: d416746218 Change-Id: I36be3d30bcbe9e620d408a7cc8c393cc5d062db5
|
36ae14d294f0013dc7b81bb463a7f42f3a8b238b |
27-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Rename setTerminateNotificationEnabled per API review am: e1103ae704 Change-Id: I5a86e93ec53d82366955ccddf0bf82a0a5f459c0
|
a17387a770ac567fa6b0f1185e7ada65f0013457 |
27-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for ExternalScoreEvaluator am: 55d639b26a Change-Id: Iaeb2287970814eadb222450fdb8a7e2a8ed77058
|
718745fe1927a022121d995d09d26e1e8f64f627 |
27-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for SavedNetworkEvaluator am: e48f426a5a Change-Id: I79617741b37f838c04fdabb79682f140bc5ed4d2
|
fa6cb33093f84b97c841625c99833e68742772b7 |
27-Sep-2016 |
Randy Pan <zpan@google.com> |
WifiNetworkSelector unit tests. am: 86b7323db0 Change-Id: Ib7b1d42ffa967baf710aa1751364322e87c6b2a5
|
4139b24c008d1913b1305fc924f97c0044f81833 |
27-Sep-2016 |
Randy Pan <zpan@google.com> |
WCM: unit tests am: 7af9cb4f55 Change-Id: I4e37f5c089fd18cef55522f46a9da291277fa45d
|
57c8c1165d5ea5c10cd96ea51652c11db7635302 |
19-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for ExternalScoreEvaluator While there, add a few null checks. Updated SavedNetowrkEvaluatorTest accordingly. Bug: 31273721 Test: Unit tests passed. Merged-In: I32b0a92239968c0fdfd9f81934b3da33f85721f5 Change-Id: I32b0a92239968c0fdfd9f81934b3da33f85721f5
xternalScoreEvaluatorTest.java
avedNetworkEvaluatorTest.java
ifiNetworkSelectorTestUtil.java
|
f29fccdff5b026796d27d6ea2bb96efa70810402 |
16-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for SavedNetworkEvaluator Bug: 31273721 Test: unit tests passed. Merged-In: I69411213c1b96b8a4b35927ab582902ebad50b1b Change-Id: I69411213c1b96b8a4b35927ab582902ebad50b1b
avedNetworkEvaluatorTest.java
|
0e3cc5f112670c455029e89c93c1f122b897f6e2 |
13-Sep-2016 |
Randy Pan <zpan@google.com> |
WifiNetworkSelector unit tests. Created a WifiNetworkSelectorTestUtil class. Added unit tests for WifiNetworkSelector. Bug: 31469319 Test: unit tests passed. Merged-In: I2fff00bf258a26275f124931000635ab2cdba69f Change-Id: I2fff00bf258a26275f124931000635ab2cdba69f
ifiNetworkSelectorTest.java
ifiNetworkSelectorTestUtil.java
ifiQualifiedNetworkSelectorTest.java
|
220d198691d07506137b6af0bae810ed47ac4ed6 |
09-Sep-2016 |
Randy Pan <zpan@google.com> |
WCM: unit tests Brought up the WCM unit tests with the new Wifi Network Selector. While there, fixed checkstyle issues. Bug: 31380721 Test: unit tests passed. Merged-In: Id6c658cf9287cfad97f37e2d89fbf92fee58a49b Change-Id: Id6c658cf9287cfad97f37e2d89fbf92fee58a49b
ifiConnectivityManagerTest.java
|
e1103ae70435f0aac61d167aeada6f1862d5b907 |
27-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Rename setTerminateNotificationEnabled per API review (cherry-pick of commit 2fb3a0a5f4f5c50f52bd187579102e627ff5646d) Bug: 31470256 Test: unit tests Change-Id: I3da51a5b3b3611804dd3a4cc1f0b56e67867f80b
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
|
55d639b26a6d44b73befdd76e52c3b1a87825b88 |
19-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for ExternalScoreEvaluator While there, add a few null checks. Updated SavedNetowrkEvaluatorTest accordingly. Bug: 31273721 Test: Unit tests passed. Change-Id: I32b0a92239968c0fdfd9f81934b3da33f85721f5
xternalScoreEvaluatorTest.java
avedNetworkEvaluatorTest.java
ifiNetworkSelectorTestUtil.java
|
e48f426a5a30319f215e3285687049bcc898812e |
16-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for SavedNetworkEvaluator Bug: 31273721 Test: unit tests passed. Change-Id: I69411213c1b96b8a4b35927ab582902ebad50b1b
avedNetworkEvaluatorTest.java
|
86b7323db0d7216a3649c4a304b9f24b337b64da |
13-Sep-2016 |
Randy Pan <zpan@google.com> |
WifiNetworkSelector unit tests. Created a WifiNetworkSelectorTestUtil class. Added unit tests for WifiNetworkSelector. Bug: 31469319 Test: unit tests passed. Change-Id: I2fff00bf258a26275f124931000635ab2cdba69f
ifiNetworkSelectorTest.java
ifiNetworkSelectorTestUtil.java
ifiQualifiedNetworkSelectorTest.java
|
7af9cb4f557fbc9aa721aacc3e13a7b89ffa96be |
09-Sep-2016 |
Randy Pan <zpan@google.com> |
WCM: unit tests Brought up the WCM unit tests with the new Wifi Network Selector. While there, fixed checkstyle issues. Bug: 31380721 Test: unit tests passed. Change-Id: Id6c658cf9287cfad97f37e2d89fbf92fee58a49b
ifiConnectivityManagerTest.java
|
9932c5d44016f0566ac6749b917e325e841c201e |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Replace int peerId with more opaqure Object peerHandle per API review" am: cf01af1873 am: abba7f2079 am: 4bec3cd643 am: c4b844bce2 Change-Id: I59554c0b8074ba889a2f92c6f43db6a81e0bf604
|
c4b844bce20e281b81bc96f9bfc722efbf781f45 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Replace int peerId with more opaqure Object peerHandle per API review" am: cf01af1873 am: abba7f2079 am: 4bec3cd643 Change-Id: I5147a0701e465079780c7809dd6fce0a0fa3879e
|
abba7f20798be8beb4d6b6e8c0a0a193a540efe0 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Replace int peerId with more opaqure Object peerHandle per API review" am: cf01af1873 Change-Id: Ic26bc5e45195b3d148e6886f91c198166db1b828
|
b4f331fc1e503fef3e9b49e807a4d46e83a0790d |
22-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Replace int peerId with more opaqure Object peerHandle per API review (cherry-pick of commit 3d68183aad5d85cc096355bd3e5d8c5d91fe9bde) Bug: 31470256 Test: unit tests & integration (sl4a) tests. Change-Id: I3c70cf526414fa5a9ba483b0c6889bcd6959fd52
an/WifiNanDataPathStateManagerTest.java
|
99328360c248e9233fbf81b648545cd5294f78aa |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Change Broadcast for NAN status change to notification only" am: 85b7d80902 am: d2ff3e269d am: 0b3586bbae am: 364a6e47d7 Change-Id: Ib82f4aa35fab8dab5ab2df642c761cc0d81d2292
|
364a6e47d717019a25b9fa612a2d7b5d423c0180 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Change Broadcast for NAN status change to notification only" am: 85b7d80902 am: d2ff3e269d am: 0b3586bbae Change-Id: I3030c717238b7683b832e9f718ec3b3902375db8
|
d2ff3e269d7964f3f5f0d935862e0628e5eb00f0 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Change Broadcast for NAN status change to notification only" am: 85b7d80902 Change-Id: I772937e2ce7d8a3a219390eeb5e79df512086258
|
3c6c29b3e38a039958d80107f90c7a1711205366 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove failure reason codes from API per API review am: 4a3de13483 am: 89845c4eb2 am: e5c34c613e am: 99a53787d0 Change-Id: Ia0e7de8af366134f9b63d8a45a6b68df9cd11b53
|
99a53787d0284c8560de39cdbb5014c6c42277fa |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove failure reason codes from API per API review am: 4a3de13483 am: 89845c4eb2 am: e5c34c613e Change-Id: Icf5e135764335e925070b39d1270e87a60820e55
|
89845c4eb293eeb36aa54a1829a05fd0836bf0b5 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove failure reason codes from API per API review am: 4a3de13483 Change-Id: I73ab4dcf1de2a19c0229d84c2568d4e99c8a291c
|
9fd1ebd50a95fdee9ef9409c39c40dda9bb09815 |
22-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Change Broadcast for NAN status change to notification only Remove information about current status of NAN. Receiver will have to query that information explicitly. New pattern (per API council review) - helps reduce window for having old information. (cherry-pick of commit 2704d666f07ca2e37de89c2ee8d829134d168872) Bug: 31470256 Test: unit tests & integration (sl4a) tests. Change-Id: I6f4d9b05f403ab520e9d45f358ffadcb30d72a32
an/WifiNanStateManagerTest.java
|
0c02294e1ea516f9fdc125a8931f3b9a6ecf492d |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Reorder parameters of send message method(s) per API review am: 7ecd8f806a am: 615156b75f am: 9758c35eae am: 6aa653fe87 Change-Id: I1abbb15cec0bef6e058732e94c1c80df785550cb
|
6aa653fe87e1b65e0ead86c119b259176652190b |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Reorder parameters of send message method(s) per API review am: 7ecd8f806a am: 615156b75f am: 9758c35eae Change-Id: I395a61db65b5d9961e0a5975cd69f0b4308bbf17
|
615156b75f677f1b9d38e4878261223e5c1e0519 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Reorder parameters of send message method(s) per API review am: 7ecd8f806a Change-Id: I3e22447a647bfddf9366789518c894dd3f58950e
|
4a3de13483a29b6e25fc0357a28b9cff7879d03f |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Remove failure reason codes from API per API review Not all codes are actionable. Will add back if/as needed. (cherry-pick of commit 945a03af7ce119cd0c9c999f700dddd8609f4785) Bug: 31470256 Test: unit tests & integration (sl4a) tests. Change-Id: I5b5cb44a205c32ed0d27a54467df89b0e1361f57
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
2fcc9be65561a2e64d0cc3651e701721423217a4 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add Handler to publish/subscribe per API review am: ad55e3de4d am: a42a8ba3a8 am: b64fc1aefe am: 6be35e9630 Change-Id: I84f4047d194a201e49b1aeb2e6fac962f79a6449
|
7ecd8f806a35f7d6349cc91df4b914412a682791 |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Reorder parameters of send message method(s) per API review Move messageId before message in the argument list. (cherry-pick of commit ca6e767204147d02b08a6201709fa0677f7be7cf) Bug: 31470256 Test: unit tests & integration (sl4a) tests. Change-Id: I71417bc22f621c751efe0acdf26da64d16dad769
an/WifiNanManagerTest.java
|
6be35e9630f7bb100931d24ab743a28f90a68606 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add Handler to publish/subscribe per API review am: ad55e3de4d am: a42a8ba3a8 am: b64fc1aefe Change-Id: I5023c7ae7b01cc4b05c36db6c83ba97f662ff0ca
|
a42a8ba3a8dda0818c6ddb2d4320eab9f1cf8671 |
26-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add Handler to publish/subscribe per API review am: ad55e3de4d Change-Id: I14d84bfa701856f7432c33bf1afb83fe5a9069f5
|
cb001f39f5e3c2d050755bf52e276a2826fe4e70 |
25-Sep-2016 |
Randy Pan <zpan@google.com> |
Fix WCM unit test build. am: dbb53f8482 Change-Id: Ie721163fe280d70f681a00a372e5614c34b320e6
|
2bee9f3cc7ecae5802ed0fbc36bd870967f782b9 |
25-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Separate ATTACH from IDENTITY_CHANGE callbacks." am: f5e05ebd61 am: 7763f13d7b am: d768b28f01 am: d0f8408592 Change-Id: I8e96aa79bae6eaf1e1e6ccd7adb80d2a68e490b1
|
9ab5b8c089f34e1dd0762611c1cab1f530eb6055 |
24-Sep-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of 2b151f2 to nyc-mr1-dev-plus-aosp am: bd69256a87 Change-Id: Icef840ba5211eb2089d36707800f8186d2549ace
|
d2334ed60c0b016cb1d8f7d3468f4594765383f3 |
24-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Remove implementation of user selected WiFi bands am: 026cb51837 am: 4b867c0b86 am: 7b3423c97e am: 37adabc792 Change-Id: I81c389801d67562f8d2bc687cfc7bce1c8756521
|
ad55e3de4d66eb8776ab1c25058c0156d68c79ef |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add Handler to publish/subscribe per API review All callback registrations must have handlers. (cherry-pick of commit 3828d34ca6d9c95f1d2587f1184abdae72051dca) Bug: 31470256 Test: unit tests & integration (sl4a) tests. Change-Id: I2d103693371ee7d791ec35b1f6a2d058c762bc26
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
|
dbb53f84826ccfae95b70c985f5d3436026bd559 |
23-Sep-2016 |
Randy Pan <zpan@google.com> |
Fix WCM unit test build. Change-Id: I36c296b4fcf67fa369e8a6c218e41c591b8562b2
ifiConnectivityManagerTest.java
|
d0f84085920a4f7df0c9f3061d5374a88d73589f |
23-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Separate ATTACH from IDENTITY_CHANGE callbacks." am: f5e05ebd61 am: 7763f13d7b am: d768b28f01 Change-Id: I6183fe67e10456a3675ab5ae68bdf396cd772ac3
|
7763f13d7b24fd4de1702dfedf2698255836f510 |
23-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Separate ATTACH from IDENTITY_CHANGE callbacks." am: f5e05ebd61 Change-Id: I5e6be7bf4800a4daa02a9fc207b41dd0bb617a03
|
f5e05ebd619e8dade24bee9e5ab6176694ef62bd |
23-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Separate ATTACH from IDENTITY_CHANGE callbacks."
|
bd69256a872ed36c6371b882b13419150f5516d6 |
23-Sep-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of 2b151f2 to nyc-mr1-dev-plus-aosp Change-Id: I33c1f2addd4faf6829e17d8ac1b9076bca04477f
|
00af5a62e82f77b31044fd06c72b7e1959d44d5a |
23-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiNotificationController: use WifiScanner am: 22f57da33e am: 291f8f8bf9 am: 4c4172d582 am: 19e7d15471 Change-Id: I44321424e69708a98f06f4eff7de856c946d34a8
|
445a6a1690349c58bf4a6741942652a95dd8efcc |
23-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: move scan results dump to scanner am: a049f83a30 am: 97bb7de2ed am: 0885e66bb6 am: 195dab0106 Change-Id: I73efef9aa6b6d0b9a06407d7e3f7b510da0b9eef
|
37adabc792b511474dd6fe98f0b6c71c1b18c67e |
23-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Remove implementation of user selected WiFi bands am: 026cb51837 am: 4b867c0b86 am: 7b3423c97e Change-Id: I0d5e194abb7fba5f65c38b0c264533a0fba830c3
|
4b867c0b86a4b14951d1dc0de3c5ef7dcb869b3e |
23-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Remove implementation of user selected WiFi bands am: 026cb51837 Change-Id: I8ce32dffbf06d19a92e09d150375c10b2704d8f1
|
2b151f29936ffd04cb203013ba24fea8099cc5d3 |
23-Sep-2016 |
Randy Pan <zpan@google.com> |
WCM: forced connectivity scan am: 8cf5bfbee9 Change-Id: I013b1c16f6f8785def56fe2e074adec7238ee43b
|
19e7d15471831fc55a7392ca1c6fb0b2e1e45e2c |
23-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiNotificationController: use WifiScanner am: 22f57da33e am: 291f8f8bf9 am: 4c4172d582 Change-Id: I02d4b4612075e44981a53a842af166f71d841e78
|
195dab01064ffa5274e75df1942154073f18a527 |
23-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: move scan results dump to scanner am: a049f83a30 am: 97bb7de2ed am: 0885e66bb6 Change-Id: Id900f73ca5319ebf2a88071805092d0b6ee09e4e
|
d96385f32a0a092fa49bf0594a5bb13f1d8e2633 |
23-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Method renames based on API council feedback" am: 215daae519 am: f246bb5fc3 am: d75bdca5f3 am: d7582a0636 Change-Id: Ide87652c0c4140c0b9584b4df9c1a775edbf0c91
|
026cb51837e4cf3aea30b903320b992a3f5d0d7b |
20-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Remove implementation of user selected WiFi bands This functionality artificially limits WiFi's ability to connect to WiFi networks and establish connectivity. We already prefer 5Ghz networks to 2.4Ghz networks, and offer knobs to scan on a particular band. The UI that exposed this feature has been removed since M. Bug: 31148223 Test: builds, unit tests pass Change-Id: I8ae1f9d2b7217d404557fb69eccb2dd42799d4df
ifiConnectivityManagerTest.java
ifiQualifiedNetworkSelectorTest.java
ifiStateMachineTest.java
|
d7582a0636e43865fd903cad61a38ebb66de621c |
22-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Method renames based on API council feedback" am: 215daae519 am: f246bb5fc3 am: d75bdca5f3 Change-Id: I2596e94baf1099ed449fd6763e5aec217aa9eae7
|
291f8f8bf99e3348eb7d21f66868cbe9e6e3081f |
22-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiNotificationController: use WifiScanner am: 22f57da33e Change-Id: Ife764786d099ca09ed67e1446ed5869d9c28378d
|
97bb7de2edb9e6d1fa5098739d8f51222366ed86 |
22-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: move scan results dump to scanner am: a049f83a30 Change-Id: Id80eb4021afcf2ba691230c970109c28720f8895
|
45b585a229623387a0576c12f04c53f1a63ec975 |
22-Sep-2016 |
Wei Liu <luciferleo@google.com> |
Merge "Merge "WifiStateMachine: Mask RTT capabilities against System Properties" am: a78a579804 am: 21b6b83067 am: 8c0d84239a am: dd25b8603d" into cw-f-dev
|
22f57da33e6b132a0e7e4bd6d986f74b53d19527 |
19-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiNotificationController: use WifiScanner Update WifiNotificiationController to use WifiScanner.getSingleScanResults() instead of WifiStateMachine. This involves plumbing WifiInjector to retrieve WifiScanner. Also updated the test to mock the getSingleScanResults call instead of the WifiStateMachine.syncGetScanResultsAsList call. BUG: 31504903 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manual testing looking for notification and reported dump values Change-Id: I6449e953c4fd35941096586383252e7c24c504db
ifiNotificationControllerTest.java
|
a049f83a308e7753b68c1a5036ab67d9806807ec |
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: move scan results dump to scanner The dump command includes the most recent scan results. This information should be dumped directly from WifiScanningServiceImpl instead of WifiServiceImpl. The output was also updated to better reflect the age of the entries. Invalid scan result timestamps are output with "___?___". Values that are older than the allotted characters are displayed as ">1000.0". Valid ages were not changed. The character representing isAutoJoinCandidate was removed from the output. SSID names that are longer than 32 characters are truncated. BUG: 31523862 Test: manual check of bugreport output Test: manual check of adb shell dumpsys wifi output Test: manual check of adb shell dumpsys wifiscanner output Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6529fa7b125a6d7d283fd7dc5f8938632ae4e93f
canner/WifiScanningServiceTest.java
|
f246bb5fc319b743acf17c559d18d563127fee3f |
22-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Method renames based on API council feedback" am: 215daae519 Change-Id: I14227bc6d0d262c195c3b073514660591a3dd7d1
|
f7237ad859aa94bbb0ed4f5cb94ee4b9bfed4045 |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Separate ATTACH from IDENTITY_CHANGE callbacks. Provide separate mechanism to attach with a request for identity change listener. (cherry-pick of commit 2023a4a9f8b3621d972c85969c609e5dc96728f1) Bug: 31470256 Test: unit tests & integration (sl4a) tests. Change-Id: Idf8fcb8029ce7e81596b378416a8483074ecaadc
an/WifiNanDataPathStateManagerTest.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
215daae519cda269bf999b6e83a20be9aa86d1e2 |
22-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Method renames based on API council feedback"
|
dc0b0445b042e3bfcdae778c585f92741337937b |
22-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Ignore disconnect messages that don't indicate the channel is dead" am: 12d334fb48 Change-Id: I8c713b8967e01db086cb7f041878e059eb5a071c
|
12d334fb48ba34885f3da198cfa45c6f138967ef |
22-Sep-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Ignore disconnect messages that don't indicate the channel is dead"
|
02565aaa3ac0bc66acbf3a8ca17905a027d11606 |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Refactor WifiNanManager to create separate sessions per connect. am: b42d3c062d am: 7fa17a8507 am: 998275e7f8 am: f672db0622 Change-Id: Icafa4a51d8662d66fdbd5ec3550eb3710c3a0d3e
|
fdeacc01783ec1feaddf1ee116e71f9fcfc5ee52 |
20-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Method renames based on API council feedback - Fix tenses throughout - connect -> attach - disconnect/terminate -> destroy - IsUsable -> IsAvailable Note: pure rename operation - no functional changes (cherry-pick of commit f43b495b0711a04eeca6ae5964d1cb0d73d179a0) Bug: 31470256 Test: unit tests + integration (sl4a) test Change-Id: I5cfef5bbe4658829bed882de5cf9aa2e810be8cc
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
|
f672db0622aac42cf8ae4c63e39447b02bb1a790 |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Refactor WifiNanManager to create separate sessions per connect. am: b42d3c062d am: 7fa17a8507 am: 998275e7f8 Change-Id: I7fd1a06da526f4d216eca52bf341c59c42e6bf5e
|
7fa17a850763118e477b812829a36b393081c32f |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Refactor WifiNanManager to create separate sessions per connect. am: b42d3c062d Change-Id: I20b092b8032b009eaf82c097ce48b3a28632666e
|
56b0f5613e6a1515c9ef6f74b476e0bfe8a63139 |
21-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Fix build broken due to renamed methods downstream Change-Id: Ic65246e4154a6327e78a711e8108f1a5a8eaad93 (cherry picked from commit ca0add40bb7138b361c8a86e42aa5facc4fa5f2d)
canner/WifiScanningServiceTest.java
|
c9c91fd93350151a33d87fca768921520c256256 |
20-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Ignore disconnect messages that don't indicate the channel is dead Bug: 29368784 Test: mmma frameworks/opt/net/wifi/tests && runtest frameworks-wifi Change-Id: I5ae3665898565379b101c4ac0c5570c9debb1228 (cherry picked from commit d76a14997a969ea44daa47756dcc8f83aee96935) (also includes cherry picked from commit ca0add40bb7138b361c8a86e42aa5facc4fa5f2d)
canner/WifiScanningServiceTest.java
|
ca0add40bb7138b361c8a86e42aa5facc4fa5f2d |
21-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Fix build broken due to renamed methods downstream Change-Id: Ic65246e4154a6327e78a711e8108f1a5a8eaad93
canner/WifiScanningServiceTest.java
|
092f6414addc4611623276741b13445ca8bfc974 |
21-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Ignore disconnect messages that don't indicate the channel is dead am: d76a14997a am: 76f5ec1e8d am: 69f463aee8 Change-Id: I7e62abf7e063ca58990aec1db44cd65491159e82
|
b42d3c062d8c542798f631c29275506c82e3bde3 |
19-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Refactor WifiNanManager to create separate sessions per connect. Separate session enables separate namespace for functions which depend on a connection to exist. (cherry-pick of commit 471025fa5ecbb3eaedd22e249f16e91fecaf3494) Bug: 31470256 Test: unit tests Change-Id: I9d043f53adbba4044db4ffb1f7045ae78d75fb8b
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
8cf5bfbee9d70dac8c83729a979bd7208a47d44d |
21-Sep-2016 |
Randy Pan <zpan@google.com> |
WCM: forced connectivity scan WCM starts a full band single scan when user forces a connectivity scan and wait for the full band scan results to make network selection. Bug: 30897947 Test: unit tests and manual test Change-Id: Ie220c25dd60a0534afbf33f62691f32515f7062b
ifiConnectivityManagerTest.java
|
69f463aee83c117e297e2380a8f6f30be0258a3e |
21-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Ignore disconnect messages that don't indicate the channel is dead am: d76a14997a am: 76f5ec1e8d Change-Id: I26cacd1ee8346d47b4f8af1581d0b99f655a95fd
|
612db20f6eb02bc55acaea65e98c38a9e47f70a9 |
21-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Fix Build breakage caused by ag/1460044 am: eec380c6da Change-Id: Ie81d71c2f03e58e9b1a8167bddfbe44e1fd0522d
|
26d98c77415e2ff58b8d560b4ef41c2f21584340 |
21-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Rename to make discovery explicit" am: 646b2bb6b2 am: 11fc5c7160 am: a8b101f905 am: 8303a09ca9 Change-Id: I8909e61572e2f406ee2679b033c75b993d969d61
|
5cc95b0c3ceae76858994ffe3b251535db05b8bc |
21-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output am: 9ff7dea01b am: f23ded8ccf am: 2c535417a5 Change-Id: Ic36b8942abd0eb85cf3bd05dcd87e68b55ce8d67
|
4ce0961ca85d50aa3a02db93fae953bcc9134a6c |
21-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiService: get scan results from WifiScanner" am: 47d45048b5 am: e69c048bc2 am: 1f4e0d7e64 am: 9283b5f78f Change-Id: I9cb49ad909d2a95b61c5b30b3a306b442e96921c
|
eec380c6da5edae23582bdc85aa4317891c22cc0 |
20-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Fix Build breakage caused by ag/1460044 This fixes a build breakage caused by the automerger bringing ag/1460044 over from goog/nyc-mr1-dev Bug: 31556602 Test: Not testing for build breakage fix Change-Id: Idf84f17f70f833c85be57f597e7dd8ee4a3b0b7b
ifiMetricsTest.java
|
d76a14997a969ea44daa47756dcc8f83aee96935 |
20-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Ignore disconnect messages that don't indicate the channel is dead Bug: 29368784 Test: mmma frameworks/opt/net/wifi/tests && runtest frameworks-wifi Change-Id: I5ae3665898565379b101c4ac0c5570c9debb1228
canner/WifiScanningServiceTest.java
|
168a9ff770b90983aaa14b9a7e21419dfb7b0917 |
20-Sep-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiStateMachine: Mask RTT capabilities against System Properties" am: a78a579804 am: 21b6b83067 am: 8c0d84239a am: dd25b8603d Change-Id: Ic0a06fdcb8536389682c0da0ac877e73a109bc1b (cherry picked from commit 0703e1b30fbe529fe7d015802a4c9f2f56885cf9)
ifiStateMachineTest.java
|
8303a09ca9400c995cf3f82e77cbe25bda0ddd10 |
20-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Rename to make discovery explicit" am: 646b2bb6b2 am: 11fc5c7160 am: a8b101f905 Change-Id: I58a7aa9a3116b4912316372566310f82bda92cf1
|
11fc5c7160416c20e14057505d437a1ca5cda380 |
20-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Rename to make discovery explicit" am: 646b2bb6b2 Change-Id: Ib4be3a7e73380109743fa6c0c78d59b763f93614
|
646b2bb6b2e47e721ca9e21fbb03046b34150457 |
20-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Rename to make discovery explicit"
|
2c535417a5a1b039b8ebb2492a84b08ac0c5a7db |
20-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output am: 9ff7dea01b am: f23ded8ccf Change-Id: Ica8f3a5ecfcf8d112aad6e92709f4f2d1e87e5d6
|
f23ded8ccfb2b248dd6bfac02b296d3c53c2ffd1 |
20-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output am: 9ff7dea01b Change-Id: I0f70d997c1db1f13a4907e9701ad9adf55c25bd7
|
5e816a8c6f96076f69dd8bbb0110203d92940c4e |
20-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Wifi Metrics: dumpsys arg for clean output" into nyc-mr1-dev
|
9283b5f78f7e591916e994aeb79812b3e86d15ee |
20-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiService: get scan results from WifiScanner" am: 47d45048b5 am: e69c048bc2 am: 1f4e0d7e64 Change-Id: Ic88440cd83713315ed7bc586dc0894c31352144d
|
e69c048bc2767d568987a9a15869c20403718c3a |
20-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiService: get scan results from WifiScanner" am: 47d45048b5 Change-Id: I2c3d0d8d43b6c5c05ca2221c04f8ee9178c25a08
|
47d45048b5309a8a31ae55761df13366a9b9995d |
20-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiService: get scan results from WifiScanner"
|
0703e1b30fbe529fe7d015802a4c9f2f56885cf9 |
20-Sep-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiStateMachine: Mask RTT capabilities against System Properties" am: a78a579804 am: 21b6b83067 am: 8c0d84239a am: dd25b8603d Change-Id: Ic0a06fdcb8536389682c0da0ac877e73a109bc1b
|
f1bf4a7b40a21708d3648a9a2a62b7863e289600 |
20-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Update API: replace looper with handler" am: bcdea9a876 am: 52e1102720 am: 28d0cf844d am: 3a896db90e Change-Id: I3186f2d69989272a2028f416f9a51fdfcc181f2e
|
dd25b8603da3207e6e1cc1b89045d420dd441c1a |
20-Sep-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiStateMachine: Mask RTT capabilities against System Properties" am: a78a579804 am: 21b6b83067 am: 8c0d84239a Change-Id: If669b18f07c9b31b6c8a368b3fd75c026f6304b7
|
21b6b83067ceb38877f9916c09bbecf47ab1207d |
20-Sep-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiStateMachine: Mask RTT capabilities against System Properties" am: a78a579804 Change-Id: I12d4a1375a269061643ef0e38f5de88e584f9061
|
3a896db90e6318c79d4175d020e7e6344fd79f28 |
20-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Update API: replace looper with handler" am: bcdea9a876 am: 52e1102720 am: 28d0cf844d Change-Id: Ib3f035d12168e8b7e8f612cbe08c03d7b4ccedfd
|
e18d6159cfdfa9416386836d7b18249c82df0750 |
13-Sep-2016 |
Paul Stewart <pstew@google.com> |
WifiStateMachine: Mask RTT capabilities against System Properties Report support for RTT features only if the system supports it. If SystemProperties disabled RTT, remove the RTT capability flags from the returned bitset. Change-Id: Iac888af289649596ff2fcc3ccba5f01a13bf5fc7 BUG: 31437934
ifiStateMachineTest.java
|
52e110272021a0b3eb1d1d246db6c5b1fe9ba9c2 |
20-Sep-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Update API: replace looper with handler" am: bcdea9a876 Change-Id: Ica6a002f81a8092d06afb807ac35d4f901ef7171
|
9cf4a36a02bf894569d05b9fdc6dbe27993c69e1 |
14-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Rename to make discovery explicit Pure rename operation - no other functional changes. (cherry-pick of commit 6c6abae6a6d6b1033a409140c1156766ed352bd3) Bug: 31470256 Test: unit-tests, integrated (sl4a) tests Change-Id: Ia788c5cecfea7fe710105efcac95dfa803f28931
an/WifiNanDataPathStateManagerTest.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
9ff7dea01b09f658492b7b8fa122695e56d28cdc |
17-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output Modify the way dumpsys works in wifi so that 'dumpsys wifi wifiMetricsProto clean' outputs only serialized base64 encoded wifi metrics proto bytes. BUG=31556602 Test: Created new unit test Change-Id: Id1aa319a03a5e2bcffb1276057cb770679015abd
ifiMetricsTest.java
|
b382e4e15f0b292eb627a598e7421131813a43e7 |
09-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Update API: replace looper with handler Per API council guidelines. (cherry-pick of commit ff855f6b0c7011937117ce0af4e8098be8af28f9) Bug: 31377060 Test: unit tests, integrated (sl4a) tests Change-Id: I557d5bcce668e03d95a86b9f394b72a87718051a
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
|
d94a62ffdf0e7f282948109d05d96e682eb32eef |
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiService: get scan results from WifiScanner Retrieve scan results in WifiServiceImpl from WifiScanner instead of WifiStateMachine. This utilizes a new method and message type in WifiScanner. Tests are added to verify the scan results are returned, updated and cleared properly. This CL additionally fixes a few typos in tests. Removal of cached scan results from WifiStateMachine will be included in a separate CL. BUG: 31444878 Test: manually tested from settings UI Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: ran GTS CtsNetTestCases Change-Id: I02c4e24030d2801eb195a84177d908574de0596e
canner/WifiScanningServiceTest.java
|
949a8adf83ad103624cd8c43bcfa66cec805b069 |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Handle duplicate network adds am: 5c96fb2af0 am: 0c6c35f0b9 am: 54f94828e7 am: b641abd969 Change-Id: I8dd08bfe2cb8ed419ab2b77df3dbff1958d5ca94
|
f7a4cff953db3d0d0574efd1f73758985c0a5f79 |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Change hidden/PNO scan params am: 6259b630dd am: 76879eb60d am: 9c96ce2d55 am: 1d94f073ca Change-Id: If0157fbca3bf8d352a3f17e91ed43d7554855d17
|
ae7f83337e60986e1b2a37ac3b217038b840ab5d |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Hidden network list retrieval am: 5c6da02cf7 am: c551cf5075 am: 979802ac8f am: ed9d93fa21 Change-Id: I65bf313e728098c70f8c33747c8b00ce67a108b8
|
b641abd9690216dc2a2f773cad584c583a80ef53 |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Handle duplicate network adds am: 5c96fb2af0 am: 0c6c35f0b9 am: 54f94828e7 Change-Id: Ia9eab40c012b5f419af3a62d325080aa8aa8971f
|
1d94f073ca965a56cd0c1901275c57fa0f1a4282 |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Change hidden/PNO scan params am: 6259b630dd am: 76879eb60d am: 9c96ce2d55 Change-Id: I81bfd2c18582968051c8f632de176a9d38250b46
|
ed9d93fa216c9b49a2c8fb2559fea010f0e961d9 |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Hidden network list retrieval am: 5c6da02cf7 am: c551cf5075 am: 979802ac8f Change-Id: Ib5437e89cf7c0c13ecf65fdb3b41479e5d294ff2
|
0c6c35f0b98e4de3947f396654dec139cf32de35 |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Handle duplicate network adds am: 5c96fb2af0 Change-Id: Ica0eb068bc03d7780a61a7ebfe15096912b1cdc3
|
76879eb60d08d8e0af014f863839a78855e7928b |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Change hidden/PNO scan params am: 6259b630dd Change-Id: I758877bf94c15b04556644703deb775387feeefa
|
c551cf50753e2a23e211f219cd0679e955181eab |
17-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Hidden network list retrieval am: 5c6da02cf7 Change-Id: Ib5e49bd86191ccb9f5e8ce0ca26cf631aa45d880
|
5c96fb2af01e2db3060aab970891355fa63542fd |
14-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Handle duplicate network adds When apps add multiple networks with an empty |allowedKeyMgmt| & same |SSID| field, we end up adding multiple networks with the same config key currently. This is because the configKey (SSID + allowedKeyMgmt) changes once the defaults for the network configuration are set (when the respective fields are empty in the provided config). Changes in the CL: 1. When a new config is added, first check if we already have a network with the same configKey in our internal records. 2. If no, create a new network with the defaults set and fields merged from the external config. 3. Then check again if we have a duplicate network with the same configKey as the new internal config. 4. If yes, treat this as a network update instead of add. Refactored existing methods for the above changes. BUG: 31473411 TEST: Added Unit test fails without the fix. Change-Id: I2044503d5d14e46412713e9309ae77b018421cf1
ifiConfigManagerTest.java
|
6259b630ddb59b642729a2d2113d81ed8e33a0e3 |
12-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Change hidden/PNO scan params Since networks are no longer configured in wpa_supplicant, network IDs/priorities being passed around for hidden/PNO scanning does not make any sense. Changing the wifi scanner interface to remove all network ID/priority references. For hidden networks, we'll now send a sorted array of <ssid> for each network (similar to PNO). This should help wificond prioritize networks when the size exceed the max supported by driver. Also, since wpa_supplicant already supports sending a list of ssids for scanning, plumb it all the way through. NOTE: 1. The backend for all these scans will eventually be replaced by wificond. 2. Hidden networks are no longer considered in bgscan requests. This was anyway not workin in HalWifiScanner's gscan backed bgscan. BUG: 29503772 TEST: Existing unit tests. TEST: Successfully connected to a hidden network on device Change-Id: Ie7783353d2eb87c2fd7b9a10f44e3e5df4cbc218
canTestUtil.java
ifiConfigurationUtilTest.java
ifiStateMachineTest.java
canner/BaseWifiScannerImplTest.java
canner/SupplicantPnoScannerTest.java
canner/SupplicantWifiScannerTest.java
canner/WifiScanningServiceTest.java
|
5c6da02cf7736d4ba9fc388151177f5277464c89 |
12-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Hidden network list retrieval Add a method to retrieve the hidden saved networks and sort this list similar to PNO scans. We want to prioritize recently/most often connected hidden networks over the others since the driver supports limited number of such networks per scan. BUG: 29503772 TEST: Added unit test. Change-Id: I86d55501edf23501552453cb3bed25654b31756a
ifiConfigManagerTest.java
|
d53475c8aba567d2d0fec38aa204c1142d3708dd |
17-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix build break by updating to new NetworkRequest API Change-Id: I5d5aeb65faa12f4b8c29b3dd5b28cdd05f88446b
an/WifiNanDataPathStateManagerTest.java
|
711d1f598aeae5716693e840c11ebba0889f4142 |
16-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix unit test builds - Connectivity API am: bb37cd000c am: ffa343d267 Change-Id: I18f6e77790feb27d0e547255d0c5f98f4789f211
|
bb37cd000c6f53c4d388a24e56fe2373f2e1c09c |
07-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix unit test builds - Connectivity API Reverts master-driven changes since Connectivity is not fully merged to partner. (cherry-pick of commit a10e4f6e2204aaf77b0b0e830592584ad91f043a) Change-Id: Ie61236aae03ca2f3aba6bf14722248cf23a9da33
an/WifiNanDataPathStateManagerTest.java
|
24b18e8d3e9ec4c5a1ac9d4c6968663ef65bc453 |
15-Aug-2016 |
Sohani Rao <sohanirao@google.com> |
Define and track Wifi scores to report Wifi metrics Add a proto definition to track counts corresponding to wifi scores Scores are calculated in WifiScoreReport and metrics are updated in calculateAndReportScore. Wifi scores are limited in a range [0, 60] where the max score is the base score assigned by Network Agent. To ensure the size of the map is limited, any scores out of this range will be dropped. Updated test framework to validate score tracking and check out of bound values are dropped. The unit tests also ensure the base score is within reasonable limits. BUG=29418013 Change-Id: Iaf22ed7dc7fb73413739507406ec88d7719b362e TEST=Wifi Unit tests, Walk tests and log scores via dumpsys Merged-In: Iaf22ed7dc7fb73413739507406ec88d7719b362e
ifiMetricsTest.java
|
fd7de292a6d1dc79c35976dcd8b42ae1f9e68899 |
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiScanningService: Move scan results bcast" am: 7bf5276316 am: b34913b66e am: 2fce9df0a2 Change-Id: Ib70109eeee8096fbcbcbb3a1e295b4f9115e52b1
|
b34913b66e74f82838f01411cc277fed50a7b668 |
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiScanningService: Move scan results bcast" am: 7bf5276316 Change-Id: I567ca9da6cc8ecbd07b6a9ea8dd02ebd35669ae5
|
6c11cd5d6ff04afdf1bbbc99a850025d46c7bdc9 |
12-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiScanningService: Move scan results bcast A WifiManager.SCAN_RESULTS_AVIALABLE_ACTION broadcast is sent when scan results are returned for an app/user initiated scan. This broadcast is now located in the WifiScanningService instead of WifiStateMachine. Further cleanup will move retrieval of the scan results from WifiStateMachine to WifiScanningService. Tests were added to WifiScanningServiceTest to verify the broadcast is sent in both scanning success and failure cases. BUG: 31347837 TEST: frameworks/opt/net/wifi/tests/wifitests/runtests.sh on angler Change-Id: I7c11d571552090057593539b0ed736bc2cedeb00
canner/WifiScanningServiceTest.java
|
d552e7b28c852124f93e09bd64f84220aa099302 |
14-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Trigger buffered store writes am: cdd9c486c7 am: 11c5e66cf2 am: 9537f33b38 Change-Id: I143c8e22b674a89f483215aec434a4d5338194bf
|
88b34aefd686ef131f31f13da65d58cb778ac734 |
14-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Enhance the dump method am: 42ed8f87e7 am: 48f1b446f7 am: 8cacd64bee Change-Id: I7745af466b5928a2c8d5c8fb06cf750950f6be3c
|
11c5e66cf2293a4a1464a7f6df4c78d2edbda840 |
14-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Trigger buffered store writes am: cdd9c486c7 Change-Id: I934935f070e59147217b317ba4ad18f558a9f73f
|
48f1b446f76e486340f60b00a6a73d2638c1265d |
14-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Enhance the dump method am: 42ed8f87e7 Change-Id: I076d6b0a3dbb8c1115b29ee830b382ab2cd72a89
|
cdd9c486c7c3282ba95f4b52c68457b4ff12e93f |
09-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Trigger buffered store writes Trigger buffered store writes for frequently occuring internal configuration updates. The buffered write API of WifiConfigStore batches together all writes in a 10 second window. While there, Convert the scan detail cache to a normal hash map. This was a concurrent hash map in the old config manager. But, there are no multithreading concerns in the wifi stack now. BUG: 31380765 TEST: Unit tests Change-Id: I537af4f02e9bf3a50de1883598118077d8eab583
ifiConfigManagerTest.java
|
42ed8f87e72cdf7780dc3cc87da751253a6d74ed |
08-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Enhance the dump method Dump method should print out the list of saved networks along with other internal state of the network. While there, rename couple of internal variable names to better reflect what they're representing: 1. Rename |mLastSelectedNetwork| to |mLastSelectedNetworkId|. 2. Rename |mLastNetworkId| to |mNextNetworkId|. BUG: 31375675 Change-Id: Id51133bd6942e71f800026b24f05f34eede79bc9
ifiConfigManagerTest.java
|
00b3049b477728d3fb2424b9ffaac67b19dea348 |
13-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Fix bad merge: d8a7a2109fa17949e48da1144b8c2a0d5dcfd678 Change-Id: I331dcb71c64c41c4ebd4cc143a9f477f52372344
canner/BaseWifiScannerImplTest.java
|
d8a7a2109fa17949e48da1144b8c2a0d5dcfd678 |
12-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Add a flag to indicate if a ScanData is for a scan for all channels am: 4e1f32efce am: c6499c03ff Change-Id: I95a5be895366f7f049b757ac52569411bcc9a862
|
6e03ee3853ed74749f418163d0e623e32cf3064e |
12-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add a flag to indicate if a ScanData is for a scan for all channels" am: f74f751c4d am: ea41f77d21 am: 80262c0003 Change-Id: I1abbdaec4a4f6644d41dd675615086c2d31abe98
|
c6499c03ffeddecb4cda5df79c69e0d0a7677f9a |
12-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Add a flag to indicate if a ScanData is for a scan for all channels am: 4e1f32efce Change-Id: I2bf308cfd12827d268913954da139e7ed0bac288
|
ea41f77d21604d6cf31d4f5cc3a835454b463340 |
12-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add a flag to indicate if a ScanData is for a scan for all channels" am: f74f751c4d Change-Id: Ic995524cffb8880fd8408227762a5ba4161b06d0
|
3219e97566a093ed10b2a9d6fe77ed9089084d63 |
07-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Add a flag to indicate if a ScanData is for a scan for all channels BUG=30897947 Change-Id: I989a25dd3df3f473090b76b4e3cb798a2d513490 (cherry picked from commit 4e1f32efceee1db37bfb1e2624b434dbfb055686)
canResults.java
canTestUtil.java
canner/BaseWifiScannerImplTest.java
canner/KnownBandsChannelHelperTest.java
canner/NoBandChannelHelperTest.java
canner/SupplicantPnoScannerTest.java
canner/WifiScanningServiceTest.java
|
891bba121efd35038a2b17744779acc01ead8ad0 |
12-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add a flag to indicate if a ScanData is for a scan for all channels" into nyc-mr1-dev
|
4e1f32efceee1db37bfb1e2624b434dbfb055686 |
07-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Add a flag to indicate if a ScanData is for a scan for all channels BUG=30897947 Change-Id: I989a25dd3df3f473090b76b4e3cb798a2d513490
canResults.java
canTestUtil.java
canner/BaseWifiScannerImplTest.java
canner/KnownBandsChannelHelperTest.java
canner/NoBandChannelHelperTest.java
canner/SupplicantPnoScannerTest.java
canner/WifiScanningServiceTest.java
|
46c088fd078ed70c436450592aedc6902d208ad8 |
09-Sep-2016 |
Randy Pan <zpan@google.com> |
Fix WiFi QNS unit test build. Change-Id: I31ba033aca8608117a02a3c62640277f4b28a05b
ifiQualifiedNetworkSelectorTest.java
|
d119325c401126d31d65a0561c2a68847e166b8f |
09-Sep-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of 7ded02e to nyc-mr1-dev-plus-aosp Change-Id: I0552655b500c9829809e6f3f52497335e5b6bd31
|
d44d2917e7f176cce9d7fe10005bc6326e2ed805 |
09-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiInjector: Move WifiScanner to WifiInjector" am: 90e57d9537 am: 6e43a2b358 am: 7bb6fbd17a Change-Id: Id9e46f9b3387fbfdb05c6aefb8ad236552212616
|
6e43a2b358c8eb317ff196854534e00f2bde0f94 |
09-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiInjector: Move WifiScanner to WifiInjector" am: 90e57d9537 Change-Id: I82aa8f42b34c2afb6abeba52e642e0f85d3dbea6
|
90e57d9537773f86e76cde86b2bee875521a03aa |
09-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiInjector: Move WifiScanner to WifiInjector"
|
7cb583b2edb4106c3376f8b7101ac6704e857d47 |
08-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Ensure new networks are disabled am: 0ce3ad57f3 am: 8abed9608d am: e8664c4d66 Change-Id: Ib1227b215fbeddfbeeaaf80c9125895d7c858b53
|
8abed9608de63d66608e2ac0f5fc330eb091f9c9 |
08-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Ensure new networks are disabled am: 0ce3ad57f3 Change-Id: If3d4840ee915aacaf0f440bf40394b6ccbd4801a
|
dc93140010ce36189b29fd58bc8f25d7636101f5 |
08-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiInjector: Move WifiScanner to WifiInjector WifiStateMachine currently obtains an instance of WifiScanner from FrameworkFacade and this is now relocated to WifiInjector. This CL also fixes a few style issues. BUG: 31366047 TEST: frameworks/opt/net/wifi/tests/wifitests/runtests.sh on angler TEST: manually tested that angler could scan and connect to wifi. Change-Id: I223fa6dbe8661d46cef3da4d2a072629c9bf6534
ifiStateMachineTest.java
|
0ce3ad57f3ce7fcfab17930e8cd48e6da57006fb |
08-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Ensure new networks are disabled According to WifiManager.addNetwork documentation, all newly added networks start out disabled and need to be enabled explicitly later. So, ensure that the status field of newly added networks are always disabled. BUG: 31364809 TEST: Unit tests Change-Id: I816789f3d95b1a25b0d628be7d9d556352106b9d
ifiConfigManagerTest.java
|
fbc0f388aacac432f5abfadfd25e212d5e4b159b |
08-Sep-2016 |
Randy Pan <zpan@google.com> |
QNS: currently connected network BSSID Always get the currently conntect network BSSID from WifiInfo in case that firmware roaming switched the device to a different BSSID than the one previously chosen by QNS. Bug: 31317902 Change-Id: I6f69144e2a386481d127dbd1ba997e2879c6e000 Tests: unit tests and manual test
ifiQualifiedNetworkSelectorTest.java
|
7ff2191502142f6e6f377738743a2ffeed48a483 |
08-Sep-2016 |
Peter Qiu <zqiu@google.com> |
passpoint: refactor PasspointEventHandler am: 09044adabb am: 63976f2f46 am: 1241b8e9be Change-Id: Ie10e97ebd5088d49b9af19ea425bdec9d7ce8e6e
|
63976f2f4668e508097bbbed54851ad377a38794 |
08-Sep-2016 |
Peter Qiu <zqiu@google.com> |
passpoint: refactor PasspointEventHandler am: 09044adabb Change-Id: I6860f9b3b1e3ef10f395bfbc8de8ff1dad41006b
|
00b04a54ec9f07dbca88b4400539418735ae9616 |
08-Sep-2016 |
Roshan Pius <rpius@google.com> |
WSM: Handle external connection requests am: fa25be15a3 am: bc39a43ae8 am: 8e60e3c706 Change-Id: Id9a7e9cd619059d4f5976b9f480b72e70ce2d1fc
|
02018f9bf4b3d73578a72d50c24f676e6a5a5690 |
08-Sep-2016 |
Roshan Pius <rpius@google.com> |
ConfigurationMap: Remove unused code am: 7ed63f101d am: ba3fa52acd am: 5adf0352ed Change-Id: Iee21207a052bdc1eef8a51b98523637a81ef8410
|
09044adabba28c56b48922d105994d30e7ab015e |
02-Sep-2016 |
Peter Qiu <zqiu@google.com> |
passpoint: refactor PasspointEventHandler Changes include: - cleanup the callback interface - remove dependency for ScanDetail - remove unused code - add unit tests BUG: 31264540 TEST: build and run unit tests Change-Id: Idab62a6e12bef7807e2ef8bc5aec4e46fbf965dc
otspot2/PasspointEventHandlerTest.java
|
bc39a43ae879d03dfe94009e3adf3fc365802fa1 |
07-Sep-2016 |
Roshan Pius <rpius@google.com> |
WSM: Handle external connection requests am: fa25be15a3 Change-Id: I7beccc486bcd67e6b3c7356fee6356499b985ee0
|
ba3fa52acd9b778128c3352c0e072d459949abba |
07-Sep-2016 |
Roshan Pius <rpius@google.com> |
ConfigurationMap: Remove unused code am: 7ed63f101d Change-Id: I79187fa9e7848887506a969905ea586122a9af4b
|
fa25be15a3dab0fda8d041798c4cac531d0d0866 |
07-Sep-2016 |
Roshan Pius <rpius@google.com> |
WSM: Handle external connection requests The current implementation of enableNetwork() with disableOthers flag set to true returns failure if the app does not hold the OVERRIDE_WIFI_CONFIG permission. This is not backward compatible. Instead, handle any external connect requests (using enableNetwork, connect or save_network) using the following logic: 1. If the app holds the OVERRIDE_WIFI_CONFIG permission, immediately trigger a connection to the requested network. 2, If not, force a connectivity manager scan and let QNS pick the best network to connect to. While there, Remove the persist flag from QNS & WCM and rename the network select method. The new name better reflects that we're just setting a connect choice and not actually initiaing a connection. BUG: 31272462 BUG: 31275240 BUG: 31216628 TEST: Unit tests TEST: The WifiUtil.apk app used for smoke test verification now can call enableNetwork successfully and ensure that we connect to the required network. TEST: android.net.wifi.cts.WifiManagerTest#testWifiManagerNetWork passes now. Change-Id: I540143e46dae55cd114711350b3676cd071f9930
ifiConnectivityManagerTest.java
ifiQualifiedNetworkSelectorTest.java
|
474a802ceae1ea6f861cd3d2fc60599905458770 |
07-Sep-2016 |
Roshan Pius <rpius@google.com> |
XmlUtil: Add couple of missing elements in WifiConfiguration am: 241605aebc am: 3682e25b31 am: 6fc6c02c36 Change-Id: Iec4ad5a7fdb3145ab1769e1f56d68273a4d268de
|
3c44178de440c10db0c7303abf425f811cb70a3b |
07-Sep-2016 |
Roshan Pius <rpius@google.com> |
Changes in tests for the WifiEnterpriseConfig refactor am: d83ef7d8c4 am: 9546a7a7f0 am: 177a95cc0b Change-Id: Iccc02020f19e1295ee936ce130dbe998c07cfffe
|
7ed63f101d79aa942eb17541fd61fe5d5bd468d8 |
06-Sep-2016 |
Roshan Pius <rpius@google.com> |
ConfigurationMap: Remove unused code Remove the unused methods from configuration map: 1. handleUserSwitch() is no longer handled in this class. ConfigManager always clears the list and adds back the new user's network on user switch. 2. Remove the flaky config key hashcode to WifiConfiguration map. This was used for looking up data from ipConfigStore before. 3. Set of hidden networks. This interface will need to be redone since we longer have all the networks in wpa_supplicant. Modified unit tests to reflect the new behaviour. BUG: 31195095 TEST: Unit tests Change-Id: I43a3d619365aec70c4d54f115c437cbb998887fa
onfigurationMapTest.java
|
539cb96aba723b1f63649ae6cc7344ca2359d15e |
07-Sep-2016 |
Roshan Pius <rpius@google.com> |
Merge changes from topic 'wifi_enterprise_config' * changes: XmlUtil: Add couple of missing elements in WifiConfiguration Changes in tests for the WifiEnterpriseConfig refactor
|
a10e4f6e2204aaf77b0b0e830592584ad91f043a |
07-Sep-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix unit test builds - Connectivity API [DO NOT MERGE] Reverts master-driven changes since Connectivity is not fully merged to partner. Change-Id: Ie61236aae03ca2f3aba6bf14722248cf23a9da33
an/WifiNanDataPathStateManagerTest.java
|
0d052be4fd5249e89e5fc55491364f7d95852bb1 |
06-Sep-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigStoreData: Check WifiEntepriseConfig validity" am: 3ea7596a91 am: 36bccc38c3 am: c37e21b676 Change-Id: I04df915750c81a4b6cf709d4df64233f98a4cfae
|
241605aebc6a8f55624026e8b72246bceb1c2ac2 |
03-Sep-2016 |
Roshan Pius <rpius@google.com> |
XmlUtil: Add couple of missing elements in WifiConfiguration Add the cipher elements missing in the serialization/deserialization of WifiConfiguration data. These fields generally have a default value set in wpa_supplicant and so it wasn't detected earlier. Also, add the missing requirePMF field. BUG: 31246524 TEST: Unit tests TEST: Verified that we can still connect to an EAP TLS network after reboot. Change-Id: I7bf1850738f15ec9d25b32521312db0b678c1e19
ifiConfigStoreDataTest.java
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
d83ef7d8c4948afc328d8ef0e746b32c195f271e |
02-Sep-2016 |
Roshan Pius <rpius@google.com> |
Changes in tests for the WifiEnterpriseConfig refactor The |getFieldValue| with prefix has been made private now. So, change to the public version of it everywhere. BUG: 31246524 TEST: Unit tests TEST: Integrated with config store and verified that a previous TLS EAP connection failure is no longer seen. Change-Id: Ib23a384088ad17bcd928c7b5c1ac997e5e289c94
ifiConfigurationTestUtil.java
|
19445ad39f8eb6229d3a08ec9b713534ed5a759e |
03-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStoreData: Check WifiEntepriseConfig validity Ensure that that the enterprise config data is valid using the eap method. This is initialized to -1 (NONE). Using the the existing |WifiConfiguration.isEnterprise()| leaves us in the mercy of apps providing a valid enterpiseConfig field. BUG: 31275240 TEST: Added Unit test. The test reproduces the exception reported in the bug without the fix. Change-Id: Ie9c5ee17315798b175bac23e03fc600c9e4a1d7b
ifiConfigStoreDataTest.java
|
8e78c2fca2794f85b5aeb81fd1940203b1fdb8fb |
03-Sep-2016 |
Sohani Rao <sohanirao@google.com> |
DO NOT MERGE ANYWHERE: resolve merge conflicts of 275e60e to nyc-mr1-dev-plus-aosp Change-Id: If2a00151eadc7b7e6b1aa3202f204a4f3393f3ee
|
0f166e9103c4ef46eaa49ad20359ce0db2ef9791 |
01-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Fix a bug in key updation Pass in the new internal WifiConfiguration object to WifiKeyStore for enterprise networks. While there, Cleanup logging in WifiSupplicantControl. Few error logs are wrongly under the verbose logging flag. BUG: 31185953 TEST: Sending for ACTS sanity retest. TEST: Added unit test. Change-Id: Ie5c0b8224c003a3b782ccf9425664352cb4716a4
ifiConfigManagerTest.java
|
fe993ca46449a8aab3f7f55e2132456064bcee94 |
30-Aug-2016 |
Roshan Pius <rpius@google.com> |
WSM: Integrate new config manager Changes in the CL: 1. Separated out the config management control path from wpa_supplicant interactions. 2. All configuration updates are fully handled in WifiConfigManager and hence remove all redundant code from WSM. 3. All connection requests are now handled from |CMD_AUTO_CONNECT|. Any user/app selections will be routed to |CMD_AUTO_CONNECT|. This message will now mark all wpa_supplicant interations for new connection attempt. This ensures that we have a single control path for all connection attempts going forward. 4. Similarly |CMD_AUTO_ROAM| will be used for all roam requests. 5. Replaced all the exiting WifiConfigManager methods with equivalent ones from the new WifiConfigManager class. 6. All networkId's recieved via WifiMonitor events needs to be translated to internal networkId using |lookupNetworkId| method. 7. Removed all passpoint config management code and added TODO's for zqiu to tackle later. BUG: 31009287 TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity. Change-Id: Id9e209a3cb1b3fef47ba7469c1de020210e3ca60
ifiConnectivityManagerTest.java
ifiStateMachineTest.java
|
22fcd83c560e45deaadb22795dd2683ebd923914 |
15-Aug-2016 |
Sohani Rao <sohanirao@google.com> |
Define and track Wifi scores to report Wifi metrics Add a proto definition to track counts corresponding to wifi scores Scores are calculated in WifiScoreReport and metrics are updated in calculateAndReportScore. Wifi scores are limited in a range [0, 60] where the max score is the base score assigned by Network Agent. To ensure the size of the map is limited, any scores out of this range will be dropped. Updated test framework to validate score tracking and check out of bound values are dropped. The unit tests also ensure the base score is within reasonable limits. Merge details: This is a merge from CL 1326502 on master. Merge conflicts were mainly due to code placement and only major difference was the call to calculateScore as it has different arguments on the branches. BUG=29418013 Change-Id: Iaf22ed7dc7fb73413739507406ec88d7719b362e TEST=Wifi Unit tests, Walk tests and log scores via dumpsys DEVICE=angler
ifiMetricsTest.java
|
009ba55ea70190ab6f98d72698d6ee426bcefd9e |
30-Aug-2016 |
Roshan Pius <rpius@google.com> |
QNS: Integrate new config manager Changes in the CL: 1. Replaced all old WifiConfigManager methods with equivalent ones in the new WifiConfigManager class. 2. Use setters for updating any configuration. The new WifiConfigManager class provides copies of network configuration, so any local updates will not take effect in the central store. 3. Modified all tests to reflect the same. 4. Modified the "currentNetworkNotQualifiedDueToOpenNetwork" test because |isOpenNetwork| is moved to the |WifiConfigurationUtil| now and hence cannot be mocked. 5. Read all device configs and cache it locally. BUG: 31009287 TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity. Change-Id: I10c12fa5a229f1ae4fc2457a064c6d09ee5f9a94
ifiConfigurationTestUtil.java
ifiQualifiedNetworkSelectorTest.java
|
94eec4ff65e7e4c1c06c3e817655842b46c02b0a |
30-Aug-2016 |
Roshan Pius <rpius@google.com> |
WCM: Integrate new config manager Most of the changes in the CL are just replacing the old config manager methods with equivalent ones from the new config manager. Other than that, all device config values are read directly by WCM and cached instead of reading it from WifiConfigManager. BUG: 31009287 TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity. Change-Id: I51b08b817eb884dc1d5186b0e929872db495878a
ifiConnectivityManagerTest.java
|
a6eb5e6da171c5426a96a8d0f97c75d1b8a46db0 |
29-Aug-2016 |
Roshan Pius <rpius@google.com> |
Rename new WifiConfigManager/Store class and tests Replace the old WifiConfigManager/Store clas with the new ones. BUG: 31009287 TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity. Change-Id: Ieadf85d6f2f2852e643b45d29661aa8cfc193dd8
ifiConfigManagerNewTest.java
ifiConfigManagerTest.java
ifiConfigStoreNewTest.java
ifiConfigStoreTest.java
|
01d42ec8106d27cd6ff47101dd6020c4a39e5226 |
29-Aug-2016 |
Roshan Pius <rpius@google.com> |
Remove old WifiConfigManager class and tests This will be replaced with the new class in following CL's. BUG: 31009287 TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity. Change-Id: I58b9ad84ec989af305f5ce9a4e42b9dc2e61e890
ifiConfigManagerTest.java
|
e3159200aaf7b5d760e7dac4d36cb9a549b76d85 |
27-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Integrate to WSM (Part 4) Changes in CL: 1. Ignore masked value sent in by apps when updating network params. 2. Migrate over method from old WifiConfigManager to update scan detail cache using the updated RSSI values in WifiInfo. 3. Migrate over the DTIM parameter setting in network to WifiConfigManagerNew from state machine. This is to remove the duplicate scan result handling in WifiStateMachine. 4. Some logging/javadoc description cleanups. BUG: 31009287 BUG: 31120106 Change-Id: Ife876fabcbfb375a695b7b0f6e9f54f28ba5e99a TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity.
ifiConfigManagerNewTest.java
|
b44c61bbdad7d973af94566172c99eb4ec502783 |
27-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Integrate to WSM (Part 3) Changes in the CL: 1. Update the external status of the network as CURRENT after connection to it. 2. Reset the external status of the network as ENABLED after disconnection from it. 3. Remove connect choices from all networks when the network is removed. BUG: 31009287 Change-Id: I4fbaf0326302f4d2a1b60fd0f5bc1de26bfbf6a6 TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity.
ifiConfigManagerNewTest.java
|
65245230dda9f9892af4d9b6afe82ae2e46aeb96 |
27-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Integrate to WSM (Part 2) Add methods to remove all networks for a specific user/app to be used when the either the user or app is deleted. While there, Add a bunch of setters to set various WifiConfiguration parameters in the internal configuration objects. BUG: 31009287 Change-Id: I6e159b9dd5bdcf6a18ee76db23603f42bcb7acb6 TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity.
ifiConfigManagerNewTest.java
|
96241bee619ff7073635f680a36869f61a11a225 |
27-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Integrate to WSM (Part 1) Changes in WifiConfigManagerNew to integrate with WifiStateMachine. When the device boots up for the first time, the user's CE directory is not accessible until the user unlocks. So, move the user store switching to |loadFromStoreAndMigrateAfterUserSwitch|. This will ensure that we set the user store file after unlock. Remove the |pendingRead| flag since we will always use |onUserUnlock| to load from store. The changes also include the following methods migrated from existing ConfigManager: 1. Add Telephony manager a dependency to WifiConfigManagerNew so that it can be used for resetting sim networks state. 2. Method to add a network to the deleted ephemeral list. 3. Method to check if we need an unlocked keystore. 4. Reorder the initialization of WifiConfigManagerNew in WifiInjector. Config manager needs to initialized before state machine. BUG: 31009287 Change-Id: I4fd2f4b20a3c6ba1e810267797617ce0479a743f TEST: Unit tests TEST: Integrated with WSM and verified wifi connectivity.
ifiConfigManagerNewTest.java
|
7a36be372edfa3f7fe0e37320b9b21a5fbadf277 |
01-Aug-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Count hidden & passpoint networks 1. Extended the WiFiMetrics proto to include counts for hidden and passpoint networks, counting these for all saved networks, connections and scan results. 2. Extended the counting of Open, Personal and Enterprise network to include scans. 3. Extended ConnectionEvent logging to detect and flag passpoint network connections. 4. Implemented the checks that detect if a scan Result is a hidden network. While I was here: Cleaned up a couple old WifiMetrics <TODO>s, which we will not be doing. BUG=28634987 Change-Id: I2e22bf8d79ccbda84ead700272ff0f1b0f13d2e7 Test: Extended unit tests, executed manually
ifiMetricsTest.java
|
1c50de232acb3d6148c454941a6b9a79e0663b81 |
26-Jul-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Add LastResortWatchdog success metric Added a metric that tracks how often WifiLastResortWatchdog triggers successfully fix wifi, allowing wifi to connect to a network after triggering. It does not count a success, if the connection occurs after a new network becomes available. BUG=30407550 TEST=Unit Tests Change-Id: I68d1f003fee9eb8074c04db141bd7b5c3089d57b
ifiLastResortWatchdogTest.java
ifiMetricsTest.java
|
a284841edf33e4070748816a034c47f996bfeb81 |
12-Aug-2016 |
mukesh agrawal <quiche@google.com> |
WifiMetrics: add metric for alert reasons Add metric to track the number of alerts triggered by Wifi driver/firmware. This will give us a concrete measurement of stability in the field. BUG=29158746 TEST=tests/wifitests/runtests.sh Change-Id: I435e5d792a97c197fe685e5b2c05d7b8efda62f0
ifiMetricsTest.java
|
59f9a74676831ba4634b35d56a1e2bbe9bf4e322 |
01-Aug-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Count hidden & passpoint networks 1. Extended the WiFiMetrics proto to include counts for hidden and passpoint networks, counting these for all saved networks, connections and scan results. 2. Extended the counting of Open, Personal and Enterprise network to include scans. 3. Extended ConnectionEvent logging to detect and flag passpoint network connections. 4. Implemented the checks that detect if a scan Result is a hidden network. While I was here: Cleaned up a couple old WifiMetrics <TODO>s, which we will not be doing. BUG=28634987 Change-Id: I2e22bf8d79ccbda84ead700272ff0f1b0f13d2e7 Test: Extended unit tests, executed manually
ifiMetricsTest.java
|
bb820957bbce91b24af6a2889039d4c77ab1cb30 |
26-Aug-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ibf88ba16,Id7fe3439,Ia279a95a,I6e757ec2 * changes: ScanResultUtil: Add a method to create ephemeral networks WifiConfigManagerNew: Add couple of missing methods WifiScoreReport: Refactor calculateScore WifiInjector: Add WifiConfigManagerNew and dependencies.
|
55b645ab4d044fbe7e0aa1c8cbb9bfdb5c17ff1d |
25-Aug-2016 |
Roshan Pius <rpius@google.com> |
ScanResultUtil: Add a method to create ephemeral networks Add a method to create ephemeral network configuration from provided scan result. While there, Move the scan result matching to network matching logic entirely to ScanResultUtil. Change-Id: Ibf88ba1640ff71f864b1eec1c25d89404f33cd38 TEST: Added unit tests. BUG: 31009287
til/ScanResultUtilTest.java
|
674b332946074bba7fae1bb4d0d6d2c72d70f3a8 |
24-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Add couple of missing methods Add a couple of methods missing in the new WifiConfigManager to start integrating it with QNS/ConnectivityManager. The methods added are: 1. A method to fetch a configured network using configKey. 2. Methods to set/clear the QNS connect choice in networks. 3. Method to check if the provided ssid was in the deletedEphemeralSSID list. While there, 1. Refactored the creation of copy of WifiConfiguration objects to be passed to external modules into a common method. 2. Default |allowedAuthAlgorithms| should be set to OPEN. BUG: 31009287 TEST: Modified existing unit test for [3]. Didn't add any new tests for [1] & [2] because they're trivial setters/getters. Change-Id: Id7fe34393737b2faa3de7d301a62e23d85053fe2
ifiConfigManagerNewTest.java
|
1ecbde12cbde58696b784df5d41e486ea5d51026 |
25-Aug-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of 3f6f755 to master Change-Id: I4af48aba54c674cad8147e67daf162a068b03fa6
|
c13a0778c3d9e081bb328bcea0bc64914de9b02e |
25-Aug-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ia69acca0,Ib2ebe427,I35d626ed,I143a4271 * changes: WifiConfigStoreNew: Change location of user store files WifiConfigManagerNew: Keep track of user selected network WifiConfigManagerNew: Migration from legacy stores WifiConfigStoreLegacy: Migration from legacy store
|
35a7bf94dc19d7b9569a4618520d0960d0d1d9ec |
24-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Update HAL testing to reflect new constant value am: 892e86d8bb Change-Id: Id1088cd997be0fe47f36cb4de3a79d874b5c9320
|
e445510f55e09d4c63ad08d725395563038cee76 |
23-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiInjector: Add WifiConfigManagerNew and dependencies. Add the WifiConfigManagerNew object instantiation and all it's dependencies. Only the WifiConfigManagerNew & WifiSupplicantControl objects need to be exposed through getters. Refactored WifiStateMachine object instantiation to add WifiNative instance in the contructor and modified unit tests. BUG: 31009287 Change-Id: I6e757ec2a80813a8cc453cd0293cae679e5683ce TEST: Unit tests. TEST: Successfully tested Connection to a network on the device.
ifiStateMachineTest.java
|
a95a5d9dfc327f165d4e254f1b11a9204974037d |
22-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Keep track of user selected network The only way an app can request connection to a specific network today using the WifiManager API's is by specifying |disableOthers| flag in WifiManager.enableNetwork() method. So, pass that flag onto WifiConfigManagerNew and use that to set a variable which can be queried by network selector to determine the last app/user selected network. This will only be cleared when either the set network is disabled/removed. While there, Add some verbose logsfor enable/disableNetwork. BUG: 31013636 Change-Id: Ib2ebe427deef76d1a749ded000ae53967dea6fc3 TEST: Added unit test
ifiConfigManagerNewTest.java
|
3a738a26918230b2469d917dbf14323234edd39b |
22-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Migration from legacy stores Integrated the new |WifiConfigStoreLegacy| into the new WifiConfigManager. Every invocation of |loadFromStore| will check if there is any data to be migrated from legacy store files if the new store files are not present. If legacy store data is present, it will migrate all of the data from those stores and delete them permanently. The deletion of legacy stores is commented out in the first roll out of the new config store changes. This will be re-enabled once things are stable so that we can revert to this data if needed. BUG: 29337176 Change-Id: I35d626ed8bae70c676cb10b307cb116ed837a529 TEST: Existing unit tests.
ifiConfigManagerNewTest.java
|
892e86d8bb28e601eab066194be6abee88ebf890 |
24-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Update HAL testing to reflect new constant value Bug: 30898004 Change-Id: I5138ff6c59bac56f56d39d74482ee0ea7e600207
an/WifiNanHalTest.java
|
3f6f7553a75bdb6936e3677d416c6dadaea61d68 |
27-Jul-2016 |
Randy Pan <zpan@google.com> |
Fix WiFiNetworkAgent#unwanted 1) No longer blacklist a network when it's unwanted by NetworkAgent. 2) Deprecate the network disable reason BAD_LINK. 3) Stop WiFi Auto_Connect attempt if neither saved Wifi network nor untrusted WiFi network is requested. Bug: 28558417 Tests: Unit Tests and manual tests Change-Id: I2b245cfb357b92ed925d89603e0fefded9d6865a
ifiConnectivityManagerTest.java
|
ee7bdc30d102e05df8d275ebc133afed21808e34 |
19-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStoreLegacy: Migration from legacy store Add a new module |WifiConfigStoreLegacy| to perform the necessary migration of data from the legacy store files: 1. wpa_supplicant.conf (indirectly via wpa_supplicant ctrl iface) 2. networkHistory.txt 3. ipconfig.txt The new module exposes 3 methods to help in migration: 1. isStoresPresent() - to indicate the need for migration. 2. read() - to read data from all the store files. 3. removeStores() - to delete all the store files after migration. This is using the existing store read methods in WifiNetworkHistory, WifiSupplicantControl & IpconfigStore. TODO: Migrate passpoint info later. BUG: 29337176 TEST: Added a unit test. TEST: Manual tests using some hacks in WifiConfigManager. Change-Id: I143a4271cc63573a69a3008396d1396c1f36721b
ifiConfigManagerNewTest.java
ifiConfigStoreLegacyTest.java
|
c410715d5686f72ae9c41eb85a93b48a81fa8b64 |
23-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] API changes/fixes addressing apilint issues am: 58d41e915a Change-Id: Id5cc355d4b356a1272b7a5388e4c4960684efb0c
|
58d41e915aac9f1f4bab51ca1fc1dec604b6a522 |
22-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] API changes/fixes addressing apilint issues Bug: 30983968 Change-Id: Ie48e1d36f51d59e4f32e7b71c622dd42469820a4
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
d792e1b8cf0d53c9e892f9e99bf88f7385bea6f1 |
22-Aug-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiMetrics: add metric for alert reasons"
|
8bc512d77b002fdd4a4a920ab8737e70f74a4f0d |
22-Aug-2016 |
Randy Pan <zpan@google.com> |
Merge "Fix WiFiNetworkAgent#unwanted" into nyc-mr1-dev
|
503d588975085552863f781d38e2d77aae10c75b |
20-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Restart PNO on settings change am: 1bf983a421 am: 1a21f2a41d am: b486a6e4a6 Change-Id: I2045dbda093b03f05e41e17479bc2bef10168803
|
9e8137eeb25049792c66e8dc63092dd03804cac2 |
20-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "resolve merge conflicts of e78bb65 to master"
|
7af19f18a11f465e158d77916e75a63349d6ef5f |
20-Aug-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ia03490c9,I4269b27a,If0507bdd * changes: WifiConfigManagerNew: Check UID belongs to foreground user WifiConfigManagerNew: handle User Switches WifiConfigManagerNew: Migration from old store (Part 1)
|
6975c33e8abbeedcb1b5f64a94f008b3c35b9d88 |
20-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Simplify publish/subscribe configuration - merge match filters am: 65e89d2063 Change-Id: I18018e236686cfd87fb8d9ebda420cfcd0cd1c07
|
6d9904fdafe96b09babe5b2ec2b90557e75ce94c |
17-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Check UID belongs to foreground user Add a utility method to check if the provided UID belongs to either the current foreground user or if the SysUI. This is used to check the UID of the app in all the methods invoked from public WifiManager API's. This utility method is used to validate the following methods: 1. addOrUpdateNetwork 2. removeNetwork 3. enableNetwork 4. disableNetwork 5. checkAndUpdateLastConnectUid While there, a. Add the missing |uid| parameter in |removeNetwork| & |removeNetworkInternal|. We need to check both if the the uid belongs to the current user and that the uid has enough permission to delete the network. b. Setup the user profiles for the default user in the setup for each test. BUG: 30891063 Change-Id: Ia03490c9dce7722b8d046a324004448e911257b6 TEST: Added a Unit test.
ifiConfigManagerNewTest.java
|
c381d005c60603aadd30581ce675e979b3fec3fe |
11-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: handle User Switches On user switch WifiConfigManager needs to 1. Switch the user store file in WifiConfigStore. 2. Check if the user is already unlocked. 3. If user is already unlocked, reload all the configurations from the store files. This would ensure that the old user's private networks are hidden. 4. If user is not unlocked, wait for the user to unlock to reload all the configurations from the store files. 5. Write the store files again to write any private networks of the new user that were in the shared store perviously to the user's store file. Since we no longer have a single store file for all users, we don't need the |ConfigurationMap.handleUserSwitch| method which was essentially doing the same thing as above (but all user's networks were always loaded in memory). So mark the method deprecated and remove it once the old WifiConfigManager is removed. BUG: 30783976 TEST: Added unit test Change-Id: I4269b27ab5534b2e4ed4dfed1abd8327d354c66a
ifiConfigManagerNewTest.java
|
f11073c03746f1c79e6a316884bc59574b562a8b |
12-Aug-2016 |
mukesh agrawal <quiche@google.com> |
WifiMetrics: add metric for alert reasons Add metric to track the number of alerts triggered by Wifi driver/firmware. This will give us a concrete measurement of stability in the field. BUG=29158746 TEST=tests/wifitests/runtests.sh Change-Id: I435e5d792a97c197fe685e5b2c05d7b8efda62f0
ifiMetricsTest.java
|
21b5a23a28006e1e5bb446100d135c5bacee9b85 |
10-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Migration from old store (Part 1) In the new config store design, none of the other users private networks should even be in memory because the other user's store files are not accessible to the current user. However as we load networks from the old store (all networks were in a single file) and migrate to the new store, we might have a bunch of private networks from other users in memory. We cannot write these private networks to the respective store file until the corresponding user logs in to the device after upgrade. So, move all such networks to the shared store file. When the corresponding user logs in, their private networks will be sent from the shared store file to the specific user store file and eventually the shared store file will not contain any user private networks. Changes in the CL: 1. Don't split the configurations to be sent for shared vs user store file inside |WifiConfigStoreData|. This is now accepted as 2 separate lists in the constructor. 2. Hide the members of |WifiConfigStoreData| and add getters to retrieve the necessaty data. 3. |WifiConfigManagerNew| will send all private networks in memory not visible to the current user along with any shared networks to the shared store file. 4. Changes to the existing tests to account for #1 & #2 above. BUG: 29337176 TEST: Ran existing tests. Will add unit tests for the specific scenario in the next CL. Change-Id: If0507bdd5df4296cfe94e0ff5492c4f6b354021d
ifiConfigManagerNewTest.java
ifiConfigStoreDataTest.java
ifiConfigStoreNewTest.java
|
274cb7b17018d86ea71e97fdcf7e9a8e12a3ec57 |
19-Aug-2016 |
Roshan Pius <rpius@google.com> |
resolve merge conflicts of e78bb65 to master Change-Id: Ieab0520573b62ed35480af80620f2e5e3aa8b12c
|
b486a6e4a6a1a38449222973fb91ca59d7c00d61 |
19-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Restart PNO on settings change am: 1bf983a421 am: 1a21f2a41d Change-Id: I13fc81d9d03df86dbf8c22fef203da95a4e396c4
|
e78bb65416985cecbcba31b31a5565b54ed0a5c7 |
19-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Ignore PNO stop failure am: e483fd4a31 am: b14b43c87c Change-Id: Ic5f298beb849e6ededbdd73d4c81602853935317
|
1a21f2a41de42a32f5660b2ecc2ada87621378e1 |
19-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Restart PNO on settings change am: 1bf983a421 Change-Id: Id7eeeeaa7bc6ac1b735cef7d1c8ca01cc7c21aad
|
b14b43c87ce64dab8860df230d20bf4fcde38ce5 |
19-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Ignore PNO stop failure am: e483fd4a31 Change-Id: I09dbe09d9aff3475ec32e0d25153fd07c9181c34
|
65e89d2063f6ee50d00a2579b809deb0a98b5d8b |
19-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Simplify publish/subscribe configuration - merge match filters Merge Tx/Rx match filters into single Match filter configuration. Only a single filter can be used at a time (either Tx or Rx). Bug: 30948496 Change-Id: I863b642ca1f1d4790fcedcea07eaa91b7ff8ea17
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
|
f0c2934a3c1fae411e41f8a700a38bacaa706454 |
19-Aug-2016 |
Etan Cohen <etancohen@google.com> |
resolve merge conflicts of 87aa822 to master Change-Id: I7755b30e80965db360998b5554b2860e36273c75
|
ce98615677a3f99d8fec8826ea1e0f1eeedb0692 |
18-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Rely on wificond to start/stop supplicant"
|
154d4e305ba742bcf6955881b77ff008ee550969 |
18-Aug-2016 |
Mitchell Wills <mwills@google.com> |
Fix WifiNativeTest after change to HashMap implementation FIXED=30940664 Change-Id: I047044ac38426ef0d5183b1953fd1fda5329f829
ifiNativeTest.java
|
1bf983a4211f547593a60523e43112ecdb5c8997 |
15-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Restart PNO on settings change When a new network is added, ConnectivityManager will stop/restart PNO scans. However because of the 5 second debounce logic in HwPnoDebouncer, this toggle will not be sent to wpa_supplicant. So, force restart PNO in SupplicantWifiScannerImpl whenever there is a change in the network list . PS: wpa_supplicant already has some internal logic to handle network additions when PNO scans are running. But, not sure if this is working as intended. BUG: 30833790 Change-Id: Ib328abd866298a8a672a2f19fc863ee515dcbe74 TEST: Added unit tests
canner/SupplicantPnoScannerTest.java
|
8249dec7f00e21218bcff6e16cf584ef37d87686 |
10-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Rely on wificond to start/stop supplicant Bug: 30666540 Test: Still able to connect via WiFi Change-Id: Ia8a706db70be18b2d4b4687400d9a06d0819690e
ifiStateMachineTest.java
|
8812ab2ce5def57a6abe55719ee69892d27c70d7 |
12-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Always start/stop wpa_supplicant service on request For a given product, P2P is either supported or not supported, depending on the product configuration and hardware support. Because of this, on a given product, we do not need to determine which wpa_supplicant configuration to run, we can just use "whatever the given product supports." We've changed init files to define a single service "wpa_supplicant". In places where there were both p2p_supplicant and wpa_supplicant services defined, we have removed the wpa_supplicant service, and replaced it with the definition of p2p_supplicant. Above the supplicant we choose for a given platform, we still keep the hooks that allow optional P2P support in the framework, since the framework needs to support hardware with P2P support, and hardware without. Bug: 30816535 Test: unit tests pass on bullhead Test: cts-tradefed run cts-dev \ --module=CtsNetTestCases \ --test=android.net.wifi.cts.ConcurrencyTest passes Change-Id: I6ea65fde1707f65e70b41c94ca823bb2318d81f0
ifiStateMachineTest.java
|
ae719e944792a5bc36ec26230bee16f1415ce141 |
02-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Gate local identity information (MAC) based on LOCATIONING permission Gate providing MAC address of NAN discovery interface to app by LOCATIONING permission. Bug: 30000323 Change-Id: I2cfb224413a900a88f4e6504d2bf9edfa96f6a4c
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
6fc0ba1e06093f943e9eadf4a3139fa49f8f9845 |
11-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Don't manipulate driver state from WifiController"
|
a4fbb5f3e68204a07939a8b544693d6899beb3ed |
06-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Don't manipulate driver state from WifiController After this change, all states related to driver state are noops in the WifiStateMachine. They will be removed in the following change. Bug: 30764863 Test: unittests pass on bullhead and upcoming devices Test: WiFi continues to be able to connect/disconnect on bullhead Change-Id: Ife8bb2d57a300350749d920ff89dee12ad86d310
ifiControllerTest.java
ifiStateMachineTest.java
|
f2df22160313e49138d34dd7b6774921c0ed7d42 |
10-Aug-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes I5d55b287,I3d39c193,If60282ad,I132fd395,I09a7f6f5 * changes: WifiLog: add CheckReturnValue annotation logging: add convenience APIs for literal messages WifiDiagnostics: migrate to chained logging API logging: add chained logging API WifiDiagnostics: remove getAllRingBufferData()
|
f5d90be206db98bbd5894afc8d757dd32360b2d9 |
05-Aug-2016 |
mukesh agrawal <quiche@google.com> |
logging: add convenience APIs for literal messages Literal messages are reasonably common, so we should make them easy to log. Add APIs for that purpose, and migrate WifiDiagnostics to use them. Note that, functionally speaking, the LogcatLog implementations of these APIs behave the same their corresponding legacy APIs. However, we add these APIs for two reasons: - To track which log messages have been audited, to determine whether or not they contain parameters. - So that the WifiLog implementation for the new backend can inform the backend that these messages are clean (free of any sensitive data). Finally, we note that these convenience APIs may also provide a performance benefit. (Because the message is parameter-less, there's no need to create a LogMessage.) While there: change the level of some WifiDiagnostics log messages, to fit our new logging guidelines. BUG=30737889 TEST=wifitests/runtests.sh Change-Id: I3d39c1932800af6a818c59b6497c868f8399f8fa
ifiDiagnosticsTest.java
|
f46c533931224296b11d98798344c049f88db9a1 |
06-Aug-2016 |
mukesh agrawal <quiche@google.com> |
WifiDiagnostics: migrate to chained logging API Migrate parameterized log messages in WifiDiagnostics to the new chained logging API. Along the way: add DummyLogMessage and FakeLog, to facilitate testing. (Alternatively, we could bake their behavior into WifiDiagnosticsTest. But it seems likely that other tests will want the same behavior.) While there: - fix ordering of imports (WifiDiagnostics, WifiDiagnosticsTest) - remove unused imports (WifiDiagnostics) - change the level of some WifiDiagnostics log message, to fit our new guidelines BUG=30736898 TEST=wifitests/runtests.sh Change-Id: If60282adf40d58e80cdaa0d7e1e7008c490d545b
ifiDiagnosticsTest.java
|
573de1504ea684a2a647613659d4771c2a315eea |
06-Aug-2016 |
mukesh agrawal <quiche@google.com> |
logging: add chained logging API Add a new logging API, which uses call-chaining to generate log messages. The chaining approach will reduce the cost of disabled log messages, as such messages won't need to be formatted. While there: add some missing @override annotations. BUG=30736748 TEST=wifitests/runtests.sh Change-Id: I132fd3955426b8528208a21f4f1ecd402962ffd0
ogcatLogTest.java
|
e483fd4a3151e59b3d0a596572b4d9f035fa8424 |
09-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Ignore PNO stop failure Ignore PNO stop failures when resetting the |mCurrentPnoState| flag. The stop PNO command failure indicates that wpa_supplicant has already stopped PNO scan internally. So, we should reset our flag to reflect that. Otherwise, the next attempt to turn on PNO scans will be silently ignored by |SupplicantWifiScannerImpl|. BUG: 30764879 Change-Id: If75993ebe3bfc853628a96a698bb5806f0da5962 TEST: Unit tests TEST: `act.py -c connectivity_basic.config -tb basic_wifi_tethering -tc TelLiveDataTest:test_lte_wifi_switching`
canner/SupplicantPnoScannerTest.java
|
645e1d7ec0289b3ab827ee6ce39b80a615f6ebc7 |
09-Aug-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I22798f4e,I3e2a18ba,I84f9949f * changes: WiifConfigManagerNew: Fixing some nits WifiConfigManagerNew: Implement channel set creation WifiConfigManagerNew: Implement linking of networks
|
2dac6c1d0a510eca1ae2a178fd3423b947196e79 |
06-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Implement channel set creation Implement the channel list creation for the currently connected network for partial scans. The channel list is created using the scan detail cache for that network and any linked networks. Scan results which are stale beyond the provided the age are ignored during channel list creation. While there, 1. Set the |ScanResult.seen| parameter when ScanDetail is created. This was a pending todo from b/29877741 (See comment#3) which we wanted to do in master branch. 2. Truncate the length of the SSID base used to create SSID's in |WifiConfigurationTestUtil|. This was exceeding the max size of SSID (32) when the number of networks created during tests exceed 99. BUG: 30156343 TEST: Added Unit tests Change-Id: I3e2a18ba72c9c244235971fc29e0711526510295
ifiConfigManagerNewTest.java
|
8600bb5b23872d2f67cf7a12c3d8c40c5f990e84 |
06-Aug-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Implement linking of networks Implement the linking of networks for QNS roaming decisions. Networks are considered linked if: 1. Share the same GW MAC address. 2. Scan results for the networks have AP's with MAC address which differ only in the last nibble. BUG: 30156343 TEST: Added Unit tests Change-Id: I84f9949f07d6f6739a9270a8d047441648416f03
ifiConfigManagerNewTest.java
ifiConfigurationTestUtil.java
|
22538d9b292581859bb6d21415527521218b89db |
06-Aug-2016 |
Mitchell Wills <mwills@google.com> |
Fix downstream breakage by 173dae04272c1b40488292f6392a922b4c4b2949 loadDriver was removed in master Change-Id: I2ecb78baadd20644a1cb1656e86f54c4c0c2607e
ifiStateMachineTest.java
|
e92ef5d5cbdfed45cb3a818499a7eafb63d34b01 |
05-Aug-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: update new mode in initial state am: 173dae0427 am: 5870db3561 am: 673719204b Change-Id: I7bdebc4a09cdeb8050696c715ee0892bf9f5bfac
|
673719204b0e689be876a4fa8e753609a1eef868 |
05-Aug-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: update new mode in initial state am: 173dae0427 am: 5870db3561 Change-Id: I8c5003b86d30d4a0297cff2df46f3d2960ba239d
|
5870db356197f38fbf5f2e9d344d4312090a0b46 |
05-Aug-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: update new mode in initial state am: 173dae0427 Change-Id: I914335d6ade8f7e8cc9b98a62492f4d91c36a190
|
173dae04272c1b40488292f6392a922b4c4b2949 |
05-Aug-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: update new mode in initial state When WifiController calls setOperationalMode a CMD_SET_OPERATIONAL_MODE message is sent to WifiStateMachine. When this message is received in the InitialState, it is not handled where it is then dropped in the default state. Dropping this message causes WifiController and WifiStateMachine to get out of sync on the operating mode. BUG:29938263 Change-Id: I8481af8d6826f3da18f5762833a7b145d81b74dd TEST:runtest frameworks-wifi
ifiStateMachineTest.java
|
2efcaa62b92a20fed7c370a18b948ea1fcdd7e51 |
27-Jul-2016 |
Randy Pan <zpan@google.com> |
DO NOT MERGE ANYWHERE: Fix WiFiNetworkAgent#unwanted 1) No longer blacklist a network when it's unwanted by NetworkAgent. 2) Deprecate the network disable reason BAD_LINK. 3) Stop WiFi Auto_Connect attempt if neither saved Wifi network nor untrusted WiFi network is requested. Note: this CL is a cherry-pick of ag/1261693, as that CL cannot be submitted until after N DR cutoff date (expect submission on 8/18). Bug: 28558417 Tests: Unit Tests and manual tests Change-Id: I2b245cfb357b92ed925d89603e0fefded9d6865a (cherry pick from commit c4d044acc589188f25b8dcd962db52e1fc08fe8d)
ifiConnectivityManagerTest.java
|
d3c8b9e63ef211c523199b8676e5c8911ae6e900 |
04-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Use wificond to setup client interfaces"
|
a598d61dcfdbd14c42c36241e3c148eb661867be |
02-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Use wificond to setup client interfaces Bug: 30041062 Test: Can connect to open networks before and after restarting wificond. unittests pass Change-Id: I4f76cef3b4960a6c0601519019e1d3a4fa8acc4d
ifiStateMachineTest.java
|
259fb5a5265e0a2aa8a851d5e694d28afe9a87f2 |
28-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Move some of the SIM network code out of WifiStateMachine Also add unit tests TEST: Unit tests, boots and connects to open network Bug: 29776729 Change-Id: I79161f87cee55abce464fb1bdbc643a92c069ffb
ifiStateMachineTest.java
ifiSupplicantControlTest.java
til/TelephonyUtilTest.java
|
01ff84d15bce1eccdf585657c3f56ba834f94114 |
03-Aug-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiController: correct active state after ap mode am: 24750cd1f8 am: c2a5d4f9e8 am: 947bc70db1 Change-Id: Icdc9fba30c0a4abf8841c8c58f03376eb006518c
|
c4d044acc589188f25b8dcd962db52e1fc08fe8d |
27-Jul-2016 |
Randy Pan <zpan@google.com> |
Fix WiFiNetworkAgent#unwanted 1) No longer blacklist a network when it's unwanted by NetworkAgent. 2) Deprecate the network disable reason BAD_LINK. 3) Stop WiFi Auto_Connect attempt if neither saved Wifi network nor untrusted WiFi network is requested. Bug: 28558417 Tests: Unit Tests and manual tests Change-Id: I2b245cfb357b92ed925d89603e0fefded9d6865a
ifiConnectivityManagerTest.java
|
a2a129cf524e3363d871cd1f4fbda19064af17b4 |
03-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes I46ebd8e7,Iee374b9e,I9e32eff0,Idd907c4b * changes: WifiDiagnostics: test a log call move WifiDiagnostics creation from facade to injector WifiDiagnostics: move to WifiLog API WifiService: add WifiLog interface
|
a078645184af3f8f2729df676b60c7b13b6b1b14 |
03-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiLogger: rename to WifiDiagnostics"
|
63fad8b4722c94ce9107690b647cdbe7e8a1c4f9 |
29-Jul-2016 |
mukesh agrawal <quiche@google.com> |
WifiDiagnostics: test a log call Use WifiDiagnosticss to add an example of how to test logging calls. And to facilitate this: add a makeLog() method to WifiInjector. BUG=30566702 TEST=wifitests/runtests.sh Change-Id: I46ebd8e79c90bce4bb75c077a6e6cc2b0aa9d3ee
ifiDiagnosticsTest.java
|
d68fa5a0cb9715a20cc06010b40ccbe6ba8cb64c |
29-Jul-2016 |
mukesh agrawal <quiche@google.com> |
move WifiDiagnostics creation from facade to injector We're about to change the WifiDiagnostics ctor, to take an extra argument. As long as we're going to be mucking with the WifiDiagnostics ctor, let's move the WifiDiagnostics construction call over to WifiInjector. (WifiInjector is where kuh@ and all the cool kids hang out these days). Additional benefits of this change: - The change slightly simplifes the WifiStateMachine constructor. - The change makes the behavior of WifiStateMachineTest more uniform. Previously, the test would sometimes use a mock BaseWifiDiagnostics, and sometimes use a (real) WifiDiagnostics. Which path we took would depend on board-specific resource settings. BUG=30566652 TEST=wifitests/runtests.sh Change-Id: Iee374b9ef49db9264c544e666de5d4621defdfc7
ifiStateMachineTest.java
|
019fda2109ea79daee3fb4442080b1b83be2e7b3 |
28-Jul-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: rename to WifiDiagnostics WifiLogger is a bit of a misnomer, as the module is really about gathering diagnostics generally, and not just logs in the strict sense. Moreover, using "log" in the name might lead to confusion with the logging code we're going to add to the wifi service. Rename WifiLogger, to minimize confusion. BUG=30566052 TEST=wifitests/runtest.sh Change-Id: I2c2e0a1c250e48f4ffcbf14b59b30ae0e3c6a68e
ifiDiagnosticsTest.java
ifiLoggerTest.java
ifiStateMachineTest.java
|
24750cd1f8148d6a935bda96f3b17f22b0c1d8bd |
03-Aug-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiController: correct active state after ap mode When a device is in AP mode and wifi is toggled, the device should end the wifi hotspot and enter the connect mode for wifi. When wifi was toggled in ApEnabledState, a wifi toggle would trigger a switch to StaEnabledState. This state's enter method would trigger WifiStateMachine to start supplicant, but would not indicate it should be in connect mode. This is done by DeviceActiveState. This CL switches the mPendingState in ApEnabledState from StaEnabledState to DeviceActiveState. Added a test to WifiControllerTest to cover this situation. BUG: 30042498 Change-Id: I0792c06521e82e07a8c36648ebbd62c8babceaff TEST: runtest frameworks-wifi
ifiControllerTest.java
|
7386aac1f563a4091e1efef1069824cfded95ddb |
02-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Merge "Use wificond to configure and start hostapd"
|
974f4ecb02b4560f18bfdaed3f6a2c78e5d42ee0 |
19-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Use wificond to configure and start hostapd Bug: 30292103 Test: Can toggle tethering on/off on angler/bullhead/upcoming hardware Test: unittests pass Change-Id: If15658bf9b236ff4572f436077f2ac307c87728e
oftApManagerTest.java
|
f10cc08a130184356aa34dbf5f5a48848fc35823 |
30-Jul-2016 |
Roshan Pius <rpius@google.com> |
Merge "XmlUtil: Store NetworkSelectionStatus strings"
|
c76a06097e2f32acac48578dd6215b579b7ab2ee |
28-Jul-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WiFiMetrics: Add LastResortWatchdog success metric"
|
0e2540a1c1ba3c541a229b039a90789f93c41ee7 |
28-Jul-2016 |
Roshan Pius <rpius@google.com> |
XmlUtil: Store NetworkSelectionStatus strings Storing direct enum values in the XML file makes it difficult to deprecate these enums later. So, instead store the string associated with these status/disable reason in the XML file. If any of the status/disable reason is deprecated, the reverse lookup of the index from the corresponding string array will fail. Such networks are restored as enabled (along with any temp disabled networks). Also, moved the existing logic to re-enable temporarily disabled networks to the |parseFromXml| method since we anyway need to perform the above checks there. BUG: 30448209 Change-Id: Ib8b8b1ab2b730853dddb7a1d716a2150b1a0f491 TEST: Unit tests
ifiConfigStoreDataTest.java
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
4f0efb22287beeb0510df934a38d97103526660a |
28-Jul-2016 |
Samuel Tan <samueltan@google.com> |
Merge changes I5b2c3dae,I2519ed8b * changes: Remove unused ANQP parsing code Add VenueNameElement and I18Name tests
|
a063576ca089dcc6341372c30dd1bf0a7ca82efa |
27-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Ignore non system created networks Changes in the CL: 1. For new backup data, ignore networks non system app networks during backup data generation. 2. For older wpa_supplicant.conf backup data, ignore non system app networks during backup data restoration. BUG: 29201888 Change-Id: Ie22a8f6d5eae03b01edf1420e2b8d3db5979449a TEST: Unit tests
ifiBackupRestoreTest.java
|
d40b710d29893b89212f2bb4bddaff00ab9742b4 |
25-Jul-2016 |
Samuel Tan <samueltan@google.com> |
Add VenueNameElement and I18Name tests Add tests for parsing these two ANQP elements/fields. BUG: 30360769 Change-Id: I2519ed8bd7a0d3cd6fb8a4ad0a26ab703a64f484 TEST: Unit tests pass.
nqp/I18NameTest.java
nqp/VenueNameElementTest.java
|
1d780915a0f00d23a81e19b2157d1b16463e09b6 |
27-Jul-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManagerNew: PNO network list generation"
|
432214f7b1643c25ace740e12f9e24793d018d2e |
27-Jul-2016 |
Nathan Harold <nharold@google.com> |
solve merge conflicts of 66b5e76 to master Change-Id: I0a9ed024caaab1d1df6687882491e40896e647e7
|
66b5e76660cd6dcede847c39af3e8dcd33f27361 |
27-Jul-2016 |
Ningyuan Wang <nywang@google.com> |
Fix tethering failure when wifi is not started am: 37b06cd7aa Change-Id: Ib6bfbf4affb36e1258947099b592878169b52a4d
|
83fc97d72a76fc522b774e79ad871b951560d33a |
27-Jul-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix tethering failure when wifi is not started" into nyc-mr1-dev
|
fb93fa366b9e705ff014bec41dbd1d709e29e44c |
25-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: PNO network list generation Migrate over the PNO network list generation logic from old WifiConfigManager. We're not going to have 2 separate sorting logic for connected/disconnected PNO now. The general sorting algo is as follows: Place the enabled networks first, followed by temporarily disabled ones, followed by permanently disabled ones. Among the networks with the same status, sort them according to the number of times the network was associated. If they'r still the same, prefer networks that were last seen in the scan results. Also, add methods to set/clear the |ScanResultCandidate| parameter for the provided network via QNS. BUG: 30156343 TEST: Unit tests Change-Id: Ic398feee01a99141a545b363801873d52b36f221
ifiConfigManagerNewTest.java
ifiConfigurationUtilTest.java
|
da22e3d28b62005dce5fddd75207bd3d7a1745e1 |
26-Jul-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Add LastResortWatchdog success metric Added a metric that tracks how often WifiLastResortWatchdog triggers successfully fix wifi, allowing wifi to connect to a network after triggering. It does not count a success, if the connection occurs after a new network becomes available. BUG=30407550 TEST=Unit Tests Change-Id: I68d1f003fee9eb8074c04db141bd7b5c3089d57b
ifiLastResortWatchdogTest.java
ifiMetricsTest.java
|
1451967f9ea5328451e9cd536135245f9f9421b4 |
26-Jul-2016 |
Randy Pan <zpan@google.com> |
Fix QNS unit test compilation error. Bug: 30184472 Change-Id: Ib00170e39198722aaf98525301ece94c61cf2737
ifiQualifiedNetworkSelectorTest.java
|
ab5ceccc0b0eb1351f5b71659cc9203ba52ddc4e |
25-Jul-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of 8382101 to master Change-Id: I8e372466f169562db5d24740c0055655196cb7fb
|
828b94eca5e0ffa67448f67a9dfb4d7eb492312a |
23-Jul-2016 |
Randy Pan <zpan@google.com> |
QNS: candidate network BSSID QNS recommends a network for WCM to connect or roam to by returning that network's configuration with the BSSID stored in the 'candidate' field. In a corner case that if 1) two APs are within the same network (SSID), 2) the two APs get exactly the same QNS score (one AP has higher RSSI value but 2.4GHz, and the other is 5GHz but lower RSSI), and 3) the 5GHz AP shows up in the scan results before the 2.4GHz AP, QNS sets the wrong BSSID value. This change fixes that problem. Bug: 30184472 Change-Id: I8c67ab194571ba17b853eae617fb659017f72969 Test: WiFi Framework Unit Tests & manual tests
ifiQualifiedNetworkSelectorTest.java
|
038e768eaa10301cf6299587e089fc75ab90cfe9 |
25-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix unit tests due to changes in WifiNanNative init/deinit am: b8cc48f2a8 Change-Id: I34189aaf525b308d46e7ae7bc0d27b2ced240847
|
b8cc48f2a8c700a3405b742b9fb3bbcfd37d6de0 |
23-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix unit tests due to changes in WifiNanNative init/deinit Fix failures caused by pag/631043 Bug: 30312069 Change-Id: Ida3204f332bf0b18cf0ff2b7c42c1d93733bcf6e
an/WifiNanDataPathStateManagerTest.java
an/WifiNanStateManagerTest.java
|
a8b352811243e5e91af7faca3f427089d3b4a4f9 |
22-Jul-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I1fed945c,If22de02b,I543ee5ba * changes: WifiConfigManagerNew: Unit tests for |hasEverConnected| WifiConfigManagerNew: Set |hasEverConnected| flag WifiConfigManagerNew: Create copy of internal config for update
|
6cf4fc876d153f633055745ab3d319b0dc60fe16 |
22-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add LV utilities (TLV with T size of 0). am: bfaff8a3bc Change-Id: Id55ac7d4bb97d9c3fdd01edff16a1c19fd21fb6b
|
37b06cd7aae7fe27cfaf1d95cc9901548765406b |
20-Jul-2016 |
Ningyuan Wang <nywang@google.com> |
Fix tethering failure when wifi is not started getCurrentCountryCode() returns the country code which we already sent to driver. However, sometimes when wifi and location scan are not started, we have a valid country code but we didn't set it. In this case getCurrentCountryCode() returns null. This will confuse SoftApManager and break tethering. This also causes WifiApDialog not to show 5GHz option in the UI when user creates a new wifi hotspot config. In this CL we fix the incorrectly reported country code by adding a function getCountryCode() which returns a valid country code regardless of was it sent to driver or not. SoftApManager and WifiApDialog will use this function to make decisions. In addition, we also rename getCurrentCountryCode() to getCountryCode SentToDriver() for better readability. BUG=30200338 TEST=compile TEST=unit tests TEST=manual tests Change-Id: I5ba576509f9f401f4d57a4628a147ac8871552c0
ifiCountryCodeTest.java
|
bfaff8a3bc1e802183e7b2cfb75cd1ab224f629c |
18-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add LV utilities (TLV with T size of 0). NAN uses LV (not TLV). Expose an LV variant of TLV to make API cleaner. Bug: 30096512 Change-Id: I9bd23708c952d14bf604022ec48b2d7b19decd53
an/TlvBufferUtilsTest.java
|
928ad7236e02a7d63f4ebffb4362eb3bca9eb449 |
22-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix TlvElement member names - reflect public access. am: d2a31b786b Change-Id: I979325ebfa280e9e18d9e431c66b8372d57a910a
|
6d02f49e05363e96776062d6979240472d0e6701 |
22-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Modify arguments from \"array, length\" to \"array\" am: 80a6988b53 Change-Id: Ife00dd5e7f2e10ceb849ac52740081147b529793
|
635e01902944c3367ccca28611a5b0b718f98bfd |
21-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningServiceImpl: Add ClientInfo null checks am: 5382acb5eb am: 0df9502510 Change-Id: Ibd4c01c4a32935d2a1d72ef179dbca9d8b3ff2c7
|
5382acb5eb3a0448a32651dcc7fe9fd634ce0e38 |
20-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningServiceImpl: Add ClientInfo null checks Add missing null checks for |ClientInfo| in a few places. ClientInfo could end up being null if there was a pending cleanup of the client before processing of the request in the appropriate state machine. Also, add a unit test to simulate the scenario in the bug specified. BUG: 30241457 Change-Id: Ic4412ae03b5176764b10cba357d19086c0c09e6e TEST: Unit tests
canner/WifiScanningServiceTest.java
|
2d327a58a4d39c7b1b700bf06d2fbbe7fb68c7c4 |
16-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Unit tests for |hasEverConnected| Changes in the CL: 1. Migrated the existing unit test scenarios for |hasEverConnected| flag setting to WifiConfigManagerNew. 2. Moved the enterprise config change detection tests to |WifiConfigurationUtilTest|. BUG: 30156343 Change-Id: I1fed945c4d5b0e65841718bfa38ca50610a90393 TEST: Unit tests
ifiConfigManagerNewTest.java
ifiConfigurationUtilTest.java
|
1230dec4f7c696a08b71785bf1b92d0ba541eccc |
18-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Create copy of internal config for update Create copy of the internal config when updating networks. This will ensure that the network updates are atomic (i.e any errors in |installKeys|, etc after the merge will not modify the original configuation). While there, Make clones of all externally provided config when merging them over. BUG: 30156343 Change-Id: I543ee5ba14e2451ef77d7d511465cd8c62585491 TEST: Unit tests.
ifiConfigManagerNewTest.java
|
d2a31b786b9c7d134926db748e9948b7e31c5fa6 |
18-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix TlvElement member names - reflect public access. Bug: 30096512 Change-Id: I46af36948658b088dbc4099e283ed750c6c92f2d
an/TlvBufferUtilsTest.java
|
80a6988b532a1a63a164a6ff7f63ac88762bd633 |
16-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Modify arguments from "array, length" to "array" Arrays carry their own lengths. There's no need to provide mechanism to 'shave' the array - could be done explicitly by caller if needed. Bug: 29617160 Change-Id: I98ca3298b104c9ad4bc9933694d0aea55b7d633d
an/TlvBufferUtilsTest.java
an/WifiNanDataPathStateManagerTest.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
3efd47ff5e926cc1fa042e288e129df10fa4ec83 |
18-Jul-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Split off Multicast Lock handling"
|
d32db337f500fb25ca0e4b7bc470521d333d2fcc |
14-Jul-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I281ddcd6,Ic98147a9,I2c907ba1,I341276ec * changes: WifiConfigManagerNew: Scan results to config lookup WifiConfigManagerNew: Change the config merge logic WifiConfigManagerNew: Implement enable/disableNetwork WifiConfigManagerNew: Implement network status update
|
61312e14a088a9487d4db64f08285162476e870f |
09-Jul-2016 |
Paul Stewart <pstew@google.com> |
Split off Multicast Lock handling Delegate multicast lock handling in WifiServiceImpl to a separate module named WifiMulticastLockManager. Have this delegate as an injectable, so we can later test WifiServiceImpl. Fixes: 30095185 Change-Id: I6201939cd089df9f6fc0aa3b0061f611ca24b4d7
ifiMulticastLockManagerTest.java
|
22b5eca14a99c2bbeeae8361c665923ce71e1603 |
28-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Scan results to config lookup Add methods to perform: 1. Scan results to saved network lookup. 2. Cache the scan results for each saved network. Also, need to maintain this list so that it doesn't grow uncontrolled. 3. Rename ScanDetailUtil to ScanResultUtil to accomodate scan result helper classes for encryption type lookup. 4. Change ScanDetailCache to always trim the cache to the provided fixed size. While there, Fix couple of checkstyle errors in the test. BUG:29822168 TEST: Unit tests Change-Id: I281ddcd606d73b8d04d6c9b33b9fc2d4f408f173
canTestUtil.java
ifiConfigManagerNewTest.java
ifiConfigurationTestUtil.java
til/ScanDetailUtilTest.java
til/ScanResultUtilTest.java
|
1fa858ae90e82658e2d5332f66c62c671e736bfb |
27-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Change the config merge logic Modify the merging logic from using |TextUtils.isEmpty()| to determine if the field has a value to be merged or not to a simple null check. The older check would prevent apps from resetting some fields later if needed. While there, 1. Add a unit test for |WifiEnterpriseConfig| object updates. 2. Add null checks for all publicly exposed fields in |WifiConfiguration|. PS: |WifiEnterpriseConfig| copy constructor already merges the provided configuration by checking if the value is set or not. So, we don't need to add any special merging logic in WifiConfigManagerNew. BUG: 29641570 Change-Id: Ic98147a9c07d2d3a878f103a9b2ea4988f96924f TEST: Unit tests
ifiConfigManagerNewTest.java
ifiConfigurationTestUtil.java
|
a44a020c95ad74b585c63e1d739942d20d009d23 |
24-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Implement enable/disableNetwork Implement the |enableNetwork| & |disableNetwork| public methods used to modify the network status from WifiManager API's. Added unit-tests for verifying the new public methods. While there, 1. Fixed a permission check bug in |updateLastConnectUid| and added a unit test. 2. Handle invalid networkId's in all the public methods and add unit tests for verification. BUG: 29606491 Change-Id: I2c907ba19e50d7684befa3e24fbb4e232cd89ae7 TEST: Unit tests
ifiConfigManagerNewTest.java
|
fc789b2227e92372b2489ca54691310800835a50 |
24-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Implement network status update Implement the |updateNetworkSelectionStatus| & |tryEnableNEtwork| public methods used to modify the network status. Added unit-tests for verifying the new public methods. BUG: 29606491 Change-Id: I341276ece387ce86c4ae77c097c9b8237c3f996d TEST: Unit tests
ifiConfigManagerNewTest.java
|
53d0cfeff22da1edaf94e02029355a78f789e38e |
14-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Expose NAN discovery interface MAC address to app. am: d2683c76cb Change-Id: I7eb2e62d2832b997563edd0a3055429a15b0022e
|
40165256a09d6c8193bde2daed04139f5c9914aa |
14-Jul-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Tear down AP when wificond's IApInterface dies"
|
21c5ae9262479daf8d7112c87b2a519c17c16a54 |
14-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add tests for (T)LV validity. am: 45f5eed307 Change-Id: Ie7b8b0f62e4753fc29e88b9517f3c3fc416bf76f
|
a2008c5029ef1099794d72dac8a2382dd1b28c47 |
13-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Service name usage: add validity check call & use byte[] am: 91a3f00bea Change-Id: I6c4416ea3cef39d7ff7b739d38d4f4ba3cc1c1f4
|
d2683c76cbe9a518b8e9e8b1c1a725c77c1858e5 |
08-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Expose NAN discovery interface MAC address to app. Feedback NAN discovery interface MAC address to app. Make sure that callback (onIdentityChanged) is called whenever a connection is successful - whether or not underlying HAL called it. Bug: 30000035 Change-Id: Ibaa332992c4bb1078a72856a8ae7ca8dfebce05c
an/WifiNanStateManagerTest.java
|
45f5eed3076800077caa15c5d4ccb96950734301 |
07-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add tests for (T)LV validity. Add tests to check for (T)LV validity. Bug: 30007730 Change-Id: Id61a0133802289993b7e20e96cd314b6b096dbff
an/TlvBufferUtilsTest.java
|
91a3f00bea170ed5a37566c12608b66755ddfa99 |
07-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Service name usage: add validity check call & use byte[] Validates service name per spec (see bug for details). Propagate through to HAL as a byte[] rather than a string. Bug: 30000106 Change-Id: I5af8dd10c65edac1aa5e742ca9fd152989e322e0
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
|
4cc3fa49712907e97dbdc4fc72a7f7e2ee523386 |
13-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Replace SparseArray<Integer> with SparseIntArray am: 0e54c6d97f Change-Id: I3138105ef372448bfa4a2546b87ff676e06ff9f6
|
736132bc7bc92bf17cbeeea26f0bf44d498e46e0 |
07-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Tear down AP when wificond's IApInterface dies Test: Can start/stop wificond with the AP on/off see the AP torn down. Test: Added unittests Test: Unittests pass Bug: 29607308 Change-Id: I84f35e2240c6cd51d5deedb4042b270116078a4f
oftApManagerTest.java
|
c55347e2366cdd29784d1f41dba3d4abc270639e |
13-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add test case to validate non-ASCII TLV usage am: ff05c54c70 Change-Id: I8657d5f75f6ab530c5cfd07b93f3fc96b104f3f3
|
38b756e46f913cdbe07f81d38cbb05303f135493 |
13-Jul-2016 |
Etan Cohen <etancohen@google.com> |
resolve merge conflicts of e27021e to master Change-Id: Iebb3cdb6d210dbaf2905eafa5ce1b69ba428f0dc
|
5efa985cf2821e2b33e8bf4d40c76c154c1cd0d3 |
13-Jul-2016 |
Etan Cohen <etancohen@google.com> |
resolve merge conflicts of 7124382 to master Change-Id: Ibf0fb0b4488459a2e9b31735e7d10ef8c7dc7177
|
20d76f6f2f264cc27a8821e46ad1bd1dc50700e7 |
23-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiConfigManager: move dumping of LocalLog The dump() method of WifiConfigManager dumps the LocalLog that's used by WCM. That would make sense, except that the LocalLog that WCM uses isn't actually owned by WCM. Instead, the LocalLog is allocated by WifiNative, and shared by multiple objects. (The sharing is safe, because LocalLog's methods are synchronized.) Since the LocalLog in question is a shared facility, let's move dumping of the LocalLog to WifiLogger. BUG=29424414 TEST=unit tests TEST=manual Manual test $ adb bugreport foo.zip $ unzip foo.zip $ grep 'WifiNative LocalLog' bugreport*.txt -> expect a match Change-Id: I291ac29385472fd0e56fcb522d818dcffcedfe36 (cherry picked from commit 6b42d03b9d92d6167a0629b042b2a3c2e2489a1b)
ifiLoggerTest.java
|
0e54c6d97f9d1292fcbce53f4fab29600ecb45e2 |
28-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Replace SparseArray<Integer> with SparseIntArray Code clean-up. Change-Id: I3b0b916e87e4b17b47bf6f4ffa4efc3b5e60de60
an/WifiNanServiceImplTest.java
|
ff05c54c703ed68f53d0ea3276228a6ded990647 |
28-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add test case to validate non-ASCII TLV usage Test with non-ASCII strings. Change-Id: I5f7109cee5ef3ffe2b9353909acfd87c1102e628
an/TlvBufferUtilsTest.java
|
e27021e4c8c369554880ab522a1e27942b15687b |
23-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Queue all sent messages (follow-up Tx) irrespective of firmware capability Firmware queues a limited number of messages for transmission (provides that limit in capabilities). Add a queue on the framework side which maintains all send message requests in a queue and forwards requests to the firmware as it becomes available. Does not add memory since simply queues the command objects which would be queued in any case. Bug: 28690415 Change-Id: I9bf1c59f7e0a6b79dcb0d3b8a4dd9548811c48e3
an/WifiNanDataPathStateManagerTest.java
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
7124382d477741945bdd3af7fec99b702fd1fc23 |
20-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] NAN data-path factory - create a network. Create a NAN data-path link: integrates with ConnectivityService and utilitize the NAN HAL to build the L2 link. Bug: 26562610 Change-Id: Ibd627816df9a52fa44fbb01ac7fd0eaa1afa57e3
an/WifiNanDataPathStateManagerTest.java
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
6fa554aba5cb16163af42a2241b19651cfa6ceb8 |
08-Jul-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I89184fa3,I55f1ac4f * changes: WifiConfigManagerNew: Add remove network unit tests WifiConfigManagerNew: Send broadcasts & write store
|
21d43031a1141caae823977a1e1015b596f47895 |
29-Jun-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiLogger: use R for ring buffer sizing" into nyc-mr1-dev
|
9a53ff620c9281be423227bc48378d9aad3f37e0 |
29-Jun-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge changes from topic 'cherrypickWifiWatchdogResetOnTrigger' into nyc-mr1-dev * changes: DO NOT MERGE WifiLastResortWatchdog: reset wifi on trigger DO NOT MERGE WifiController: Add CMD_RESET_WIFI command DO NOT MERGE WifiLockManager: create class to manage WifiLocks
|
eb378fcdad02760bef70552a33061f43db42ab12 |
29-Jun-2016 |
Paul Stewart <pstew@google.com> |
WifiStateMachineTest: Use CountDownLatch to await startup This avoids possible test flake if sync.wait() returns early due to spurious wakeups before mP2PThread completes setup. Change-Id: I77fd6da45af76cc92a46e2706a899cd9fd9d626b Fixes: 29831467
ifiStateMachineTest.java
|
e1db4e04054d8cc302fb96c4f78370845650504e |
23-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: use R for ring buffer sizing Use Resources to determine ring-buffer sizing. This is to support board-specific ring-buffer sizes. BUG=29225988 TEST=unit tests TEST=manual Manual test (bullhead): Added some Log.e() statements, and verified that RING_BUFFER_BYTE_LIMIT_SMALL and RING_BUFFER_BYTE_LIMIT_LARGE were 32KB and 1024KB, respectively. Change-Id: I25ee7d871609c4ebe186424bfdd324a8283f43e3 (cherry picked from commit eacd212af097fada70bdb49da3ed06e8d172237b)
ifiLoggerTest.java
|
08b0d15630a098c6da46bd32387e58804a7f26db |
29-Jun-2016 |
Randy Pan <zpan@google.com> |
WCM: Listen to all single scan results am: cb26f07ae9 am: 620da8a80e Change-Id: Ibf033101ca901f2ccee04d19fe07e53196bc9886
|
969de309e3edc1795d6df24415e586d1a1587cb6 |
27-May-2016 |
Rebecca Silberstein <silberst@google.com> |
DO NOT MERGE WifiLastResortWatchdog: reset wifi on trigger ( cherry-pick of Icb7c3a211afcd234cfcd25a42665aed03c33f5e1 from master ) Added wifi reset on WifiLastResortTrigger. The reset is implemented by sending the CMD_RESTART_WIFI message to WifiController. BUG: 27856267 Change-Id: Icb7c3a211afcd234cfcd25a42665aed03c33f5e1
ifiLastResortWatchdogTest.java
|
5f0238c0d7b4b037dcb1c397217eb65dcfbf53ce |
26-May-2016 |
Rebecca Silberstein <silberst@google.com> |
DO NOT MERGE WifiController: Add CMD_RESET_WIFI command (cherry-pick from master) Allow WifiController to safely restart the WiFi stack. This will initially be used by the WifiLastResortWatchdog. The CMD_RESET_WIFI message is only handled in the StaEnabledState where it would have been attempting to connect. The process of bringing the wifi back up is handled through the use of the new CMD_RESET_WIFI_CONTINUE command. Tests are also added to verify that the new CMD_RESET_WIFI command is ignored in other states (explicitly tests Emergency mode and AP enabled). BUG: 27856267 Change-Id: I778ccd6f7d555f6ee6abb195c1c16c106c2e66b7
ifiControllerTest.java
|
9563500603c158373e2ee512c4d451783c104660 |
20-May-2016 |
Rebecca Silberstein <silberst@google.com> |
DO NOT MERGE WifiLockManager: create class to manage WifiLocks ( cherry-pick of Ib055078eb0a8555e9a7715d7ce10de1103e73130 from master) Create new class to maintain WifiLocks requested by applications. WifiLock management was closely tied to the WifiServiceImpl and made it very difficult to write tests using different WifiLock modes in DeviceIdle states. This CL moves the lock management to a new class, WifiLockManager, and adds tests to check the behavior. Bug: 28669096 Change-Id: Ib055078eb0a8555e9a7715d7ce10de1103e73130 Test: runtest frameworks-wifi
ifiControllerTest.java
ifiLockManagerTest.java
|
dabb3898053f7059a231851eb6b98fc18ff13ed6 |
29-Jun-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiConfigManager: move dumping of LocalLog"
|
cb26f07ae9c558f8c6136c951a7f633d0ccfe79f |
24-Jun-2016 |
Randy Pan <zpan@google.com> |
WCM: Listen to all single scan results In addition to single scan results initiated by WCM itself, it listens to the single scans requested by other modules as well. This gives us more opportunities to connect to a network. We don't check if a single scan is scheduled by WCM watchdog any more since we now listen to all single scan results. Bug: 29606099 Tests: Wifi Framework Unit Test & manual tests Change-Id: I2a1df0337005878f415eccc425600267434c2e54
ifiConnectivityManagerTest.java
|
cb2802ed836c1d4d7d08be4bc8a35ba2b7efc4d4 |
28-Jun-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiInjector: add WifiServiceImpl objects"
|
ca4ab9488538bde6cf74be604fc8ebf9724caa8c |
28-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManagerNew: Implement add/update & remove"
|
fca64fc16ec43befde2e7ac7c3bfd84ced1f7778 |
16-Jun-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiInjector: add WifiServiceImpl objects Move objects created in WifiServiceImpl into WifiInjector to facilitate unittests. The first call should be to create an instance of WifiInjector. This call takes the Context as a parameter and is used to initialize the instance. This instance is also stored in the class and subsequent calls should use the WifiInjector.getInstance() call. Exceptions are thrown if the constructor is called multiple times or will a null Context parameter. An exception is also thrown if getInstance is called before the WifiInjector constructor has been called. This change also allows the setWifiController method of WifiLastResortWatchdog to be removed. This change also removes the local variable for the WifiLastResortWatchdog instance in WifiStateMachine. Instead of holding the LastResortWatchdog, calls from WifiStateMachine will get the instance from WifiInjector when they are needed. This is due to the dependence triangle between WifiStateMachine, WifiController and WifiLastResortWatchdog. BUG: 28845563 Change-Id: Iad99cd9c03672b07d2d2eb67eb1f9821e402055f TEST: runtest frameworks-wifi TEST: manually checked connection to wifi, tethering and wifi reconnect
ifiInjectorTest.java
ifiLastResortWatchdogTest.java
|
c7c6121f6d864aeb4cec065a586229d3be352b43 |
24-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Add remove network unit tests Add couple of remove networks unit tests. BUG: 29606878 Change-Id: I89184fa34a15dd3c26f4f6168bf826f941c3a901 TEST: Unit tests
ifiConfigManagerNewTest.java
|
6e2780943dc04aae2e6b0fc7890d660f25e7e5fc |
23-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Send broadcasts & write store Send the expected WifiManager broadcasts on network addition/updation/removal. Also trigger config store writes for these network modifications. Resturctured the unit tests to verify the broadcast sending and store writes. While there, Cleaned up the existing log style. All local logs will be prefixed by the method name in which they're in. All logcat logs will not have the method names prefixed. BUG: 29606878 Change-Id: I55f1ac4f8b061d3ce1c8eb7d518ee1f91db90a6b TEST: Unit tests
ifiConfigManagerNewTest.java
|
50eed92fe9556fdd9934683690181fea77ce4eac |
22-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManagerNew: Implement add/update & remove Implement the network addition/updation & remove methods. This doesn't yet include passpoint/ephemeral network handling and other stuff like sending broadcasts, etc. For network additions, we need to: 1. Set defaults for the network. 2. Merge parameters set in the provided configuration. For network updates, we need to: 1. Ensure that the UID has the necessary permission for updates. 2. Merge parameters set in the provided configuration. BUG: 29606878 Change-Id: I14eac8d34ff8004ae0edd06063423e0bf29e979a TEST: Unit tests.
ifiConfigManagerNewTest.java
ifiConfigStoreNewTest.java
ifiConfigurationTestUtil.java
|
251a38bb7fcac510ad8b0264a0346573e724519d |
27-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Add a WifiScanner API to listen for ongoing scans\\" into nyc-mr1-dev am: 450fee26a2 am: f12262368a Change-Id: I159d7a82a9cf965b90284174c635090ee8704c26
|
450fee26a21eb56d536df147d3e88d3549f807c0 |
27-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add a WifiScanner API to listen for ongoing scans" into nyc-mr1-dev
|
bef58daefbccf81df1a6b7a9a2d103cee7819d69 |
27-Jun-2016 |
Mitchell Wills <mwills@google.com> |
resolve merge conflicts of cebad71 to master Change-Id: I9d7656a52838045aa770bb47c2b72076057e5045
|
1ba04405f98489f0fbd66b6566c64324be11111a |
23-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Add a WifiScanner API to listen for ongoing scans Bug: 29412469 Change-Id: I1b8c6f3524e937cbc902af0be391b5e6b23e8ee2
canner/WifiScanningServiceTest.java
|
3c8094ab45f3320dbe45e6460c5d62dcc24ce7ae |
04-May-2016 |
Mitchell Wills <mwills@google.com> |
Clear auth identity if sim removed while the device is off TEST: Validated that changing a SIM both when the device is on and when it is off results in the correct identity being used when trying to authenticate with an EAP-SIM network. Fixes: 28163651 Change-Id: I3dda95308a527be225a9f70636c727c9826ac939
ifiConfigStoreTest.java
|
6b42d03b9d92d6167a0629b042b2a3c2e2489a1b |
23-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiConfigManager: move dumping of LocalLog The dump() method of WifiConfigManager dumps the LocalLog that's used by WCM. That would make sense, except that the LocalLog that WCM uses isn't actually owned by WCM. Instead, the LocalLog is allocated by WifiNative, and shared by multiple objects. (The sharing is safe, because LocalLog's methods are synchronized.) Since the LocalLog in question is a shared facility, let's move dumping of the LocalLog to WifiLogger. BUG=29424414 TEST=unit tests TEST=manual Manual test $ adb bugreport foo.zip $ unzip foo.zip $ grep 'WifiNative LocalLog' bugreport*.txt -> expect a match Change-Id: I291ac29385472fd0e56fcb522d818dcffcedfe36
ifiLoggerTest.java
|
4dcf7a8d2b9253e5a58328a9cd954c524c76c7af |
25-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Reuse single scan results if a request comes in during an ongoing scan\\" into nyc-mr1-dev am: 55b1b58e72 am: b5dcbf476f Change-Id: I341a4d5523ef20e0e44558ee12d448fd7324e0e4
|
55b1b58e72df2362888c7a1c60ad76a43523bfcf |
25-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Reuse single scan results if a request comes in during an ongoing scan" into nyc-mr1-dev
|
79863408e206698dd5d23e5e1f01714494b9b9be |
24-Jun-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiLogger: use R for ring buffer sizing"
|
0d24d99ba447062e5fe9c094830ffeb2a3314b2f |
23-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigurationTestUtil: Add helper methods"
|
f03d366f869da748d97706dbcfbd30b989186f4e |
22-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigurationTestUtil: Add helper methods Move all the network configuration creation methods for different types of networks (open, psk, wep, etc) to a common place. These tests don't really care for the params like SSID, etc being set in the configuration. So, there is no need for them to live in individual test. While there, Add the missing |updateTime| assertion in the comparator method. BUG: 29577220 Change-Id: I1606773ad865b4766a84da6fdc8994cab072e808 TEST: Uni tests
ifiBackupRestoreTest.java
ifiConfigStoreDataTest.java
ifiConfigStoreNewTest.java
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
5751e82f645ab5b4366c63e0fbc561534c1cb3b8 |
22-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Reuse single scan results if a request comes in during an ongoing scan Change-Id: I590c64a4718385214e4ba803112ed7283f69b3be Fixes: 28936380
canner/WifiScanningServiceTest.java
|
74b0945cc025e050d17fce33130e50983d73f8a2 |
23-Jun-2016 |
Glen Kuhne <kuh@google.com> |
Merge "resolve merge conflicts of 87d6438 to master"
|
eacd212af097fada70bdb49da3ed06e8d172237b |
23-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: use R for ring buffer sizing Use Resources to determine ring-buffer sizing. This is to support board-specific ring-buffer sizes. BUG=29225988 TEST=unit tests TEST=manual Manual test (bullhead): Added some Log.e() statements, and verified that RING_BUFFER_BYTE_LIMIT_SMALL and RING_BUFFER_BYTE_LIMIT_LARGE were 32KB and 1024KB, respectively. Change-Id: I25ee7d871609c4ebe186424bfdd324a8283f43e3
ifiLoggerTest.java
|
6203f7e8a94eccb791dfe570c95e5004008aabc9 |
23-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Propagate UID into client data. am: 7cde468702 Change-Id: I4c902d95258eb82ac9c7ce15b2533da1165b9e54
|
e5d2acc0bc7835724aa2cc8ba45c8076003afeac |
23-Jun-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of 87d6438 to master Change-Id: Ifbadd9f6d58e208f32efb1bcce350796b84d8a82
|
993051ed1919a0d4b68b091f40b911ef8f3b2793 |
22-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I5ac66f61,Ic3d3f9eb,I9ed59c80,I0c6d79cd,I0fca8036, ... * changes: WifiConfigStoreData: Remove unwanted elements WifiConfigStore: Remove class WifiConfigManager: Move blacklist to WifiConfigManager WifiConfigStoreNew: Handle file not found WifiConfigStoreData: Add unit tests WifiConfigStoreData: Implement |parseRawData|
|
8e5132674ca2fe8e94f62b3083376ca5739f8640 |
17-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStoreData: Remove unwanted elements Changes in the CL: 1. There is no need for us to persist the last network ID allocated. This should be a simple counter which is recreated on every startup. 2. Don't persist bssid blacklist. This is deprecated and will soon be removed altogether from WifiConfigManager. BUG: 29435647 BUG: 29449615 Change-Id: I5ac66f616d1d00ec5a2f9fa722ae23f6c8bed4aa TEST: Unit tests
ifiConfigStoreDataTest.java
ifiConfigStoreNewTest.java
|
1a731d9b8078e156b99dd281b814d93ab025e363 |
16-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStore: Remove class Remove the existing WifiConfigStore class. Move all the existing functionality to two separate classes: 1. WifiSupplicantControl: For any wpa_supplicant operations. 2. WifiKeyStore: For any key management operations. This CL doesn't change any functionality, it's only a refactor. BUG: 29394274 BUG: 29396499 Change-Id: Ic3d3f9eb3c241f34f2fddcfa67374c9a98277e0a TEST: Unit tests TEST: Successfully associated the device with GoogleGuest.
ifiBackupRestoreTest.java
ifiConfigManagerTest.java
ifiConfigStoreTest.java
ifiSupplicantControlTest.java
|
af2c07c305e33b759b3b0e707fdc264b193626c4 |
22-Jun-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Wifi Metrics: Log RSSI polls" into nyc-mr1-dev
|
3b3013efaefa13147c8e3f5d38bc7cfada06469e |
22-Jun-2016 |
Randy Pan <zpan@google.com> |
Merge \\"WCM: reset connectivity scan retry counter\\" into nyc-mr1-dev am: a780a159b7 am: 133804e905 Change-Id: I024e759fd1c720215ad9cd5443cc052498b15e6a
|
7a0b9ffe794113c4a5ed528d8aadeb3303d1b089 |
10-Jun-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: Log RSSI polls Added logging of the periodic RSSI polls into wifi metrics, as a key-value histogram (count per rssi level). BUG=29247576 Change-Id: I9aa19dbf0891b87d1d12a375aeb3771ba7ef6308
ifiMetricsTest.java
|
8b92cc22dfeb11898b105150efdc3dd5ec3a6773 |
14-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStoreNew: Handle file not found Since we might have genuine cases where the config store file is not found (on a fresh install, user switch), handle the file not found exception in |StoreFile.readRawData|. |WifiConfigStoreData.parseRawData| can already handle null bytes passed into it. BUG: 29179579 TEST: Unit-tests Change-Id: I0c6d79cd9752e6662d499b877879b8858e018dbd
ifiConfigStoreDataTest.java
ifiConfigStoreNewTest.java
|
f918b154ddceb58c3d214d75ad02180d1907429a |
13-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStoreData: Add unit tests Add unit tests for serialization/deserialization of config store data. BUG: 29251019 Change-Id: I0fca803670f72f729c5003802ad196775dc3717e TEST: Unit tests
ifiBackupRestoreTest.java
ifiConfigStoreDataTest.java
ifiConfigStoreNewTest.java
ifiConfigurationTestUtil.java
|
de5fadf2e5c7bb769705c830efb04133b1e0219d |
21-Jun-2016 |
Randy Pan <zpan@google.com> |
WCM: reset connectivity scan retry counter Move the scan retry count reset to where scan results are received. This is to deal with the case that WifiScanner reports success when a scan request is queued but later fails to be executed. Add a unit test case to verify the retry behavior. Bug: 29523369 Change-Id: Ibcd7c771a8efa78612a84021a4511db621f4451e Tests: Wifi Framework Unit Tests & manual tests
ifiConnectivityManagerTest.java
|
7cde468702a73a2eafdb2b3aa08340a1cfbc749b |
20-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Propagate UID into client data. Propagate UID into the core client data class. Originally was only stored on the surface - at the ServiceImpl: used to check client/uid mapping on incoming calls to validate that apps are not faking client numbers. Other interfaces (e.g. ConnectivityManager) will access NAN state manager directly (not through ServiceImpl). They will need to check credentials (client/uid mappings) as well. Bug: 26562610 Change-Id: Iacbe4f0df73d30138001242bedbc023287a1740a
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
a2f9a80b25772edfa6a8b4cb679202fc8e9154cd |
16-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Better distinguish between WifiScanner clients in logs\\" into nyc-mr1-dev am: b271c249de am: 8b35350228 Change-Id: I8f827d683a15c285194b7e4a773368dd02e9d85e
|
9e7f5e0a47a9a4aa519a50d9a0959547c1c604f1 |
15-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Better distinguish between WifiScanner clients in logs Change-Id: I15327935f4b9ccdf3d3244087c508f19fd275c1f Fixes: 29385784
canner/WifiScanningServiceTest.java
|
642b0bb43ed856bac0503d3169d67026de2c1b02 |
13-Jun-2016 |
Roshan Pius <rpius@google.com> |
XmlUtil: Add WifiEnterpriseConfigXmlUtil Add a utility for |WifiEnterpriseConfig| class serialization/ deserialization. While there, Add missing java doc on the |writeToXml| methods. BUG: 29318473 Change-Id: I83266631e17f42f55ce1b1a4fc263c975f414419 TEST: Unit tests
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
c00a9331ab2a51babc3c3acd69f44be3d341c4b9 |
13-Jun-2016 |
Roshan Pius <rpius@google.com> |
XmlUtil: Report all parsing errors Detect all XML parsing errors in XmlUtil and raise exceptions for them. Changes in the CL: 1. Add new |gotoNextSection|* methods to raise exception when it does not find a section with the expected tag name. 2. Raise exceptions for all errors in |WifiConfigurationXmlUtil|, etc. 3. |IpConfiguration| can never be null in WifiConfiguratin object, so remove the conditional check in WifiBackupRestore. While there, Shorten the method names in |WifiConfigurationXmlUtil|, etc to parseFromXml/writeToXml. BUG: 29312911 Change-Id: I5bb152e9757f039410dd81afebaad009644e1414 TEST: Unit tests
til/XmlUtilTest.java
|
f39d95892d1e0bf456f210ed496189bc07be3433 |
09-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStoreNew: Implement file write/read Implement the file write/read for config store files. The read/write uses the |AtomicFile| API's to perform the necessary operations. The write is split into 2 steps to help buffering non-critical writes: 1. Serialize the data into raw bytes first. 2. Write the raw bytes to file. Any non-critical write (indicated by |forceWrite| flag set to false) will set an alarm to buffer all writes within the interval into a single file write. This will also help if we want to move the actual file writing to a separate thread later. BUG: 29179579 Change-Id: Ib793a3967c327e13ce88acfa912c21cfa5f25865 TEST: Unit-tests
ifiConfigStoreNewTest.java
|
cbfc6a05c171b8a441abad28afdef54f54f9c2cd |
09-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStoreNew: Create skeletal class Create the skeletal class for the new WifiConfigStore. The new persistent store is composed from 2 separate files: 1. Shared store file to store all shared configurations/global data. 2. User specific store file to store all private configurations/user data. |StoreFile| sub class is a wrapper over the atomic files used to write/read the raw data to/from the files. |wifiConfigStoreData| class is used to pass the data to be written/read from the config store files. This object is used to serialize/deserialize the data to be stored in the store files. Also, create a skeletal test class to redirect the read/write data from the ConfigStore to an internal buffer for testing. BUG: 29179278 Change-Id: I38dad84c0b2444e2f4ffe30658c8f3eea0127143 TEST: Unit tests
ifiConfigStoreNewTest.java
|
e1b848bb11cc44060328bf53162cb776e3dd54dc |
13-Jun-2016 |
Glen Kuhne <kuh@google.com> |
Merge \"DO NOT MERGE WifiMetrics: Record capture duration\" into nyc-dev am: 622e9ff387 Change-Id: Ie7de4f9173a815abe88f91efc5a46893be5270d1
|
622e9ff3874251022ae3c27548bc5a2f77bdc8bc |
13-Jun-2016 |
Glen Kuhne <kuh@google.com> |
Merge "DO NOT MERGE WifiMetrics: Record capture duration" into nyc-dev
|
ae467ed55e50c179102f5d12505886c4e1ce274d |
13-Jun-2016 |
Etan Cohen <etancohen@google.com> |
Fix build break in master - moved some loopers to test library Change-Id: Ife9c605392004881665f2dc0c1e4348884924535
an/WifiNanDataPathStateManagerTest.java
|
59397a8d7f834a43506ef9855da04cf522f3ce24 |
13-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge changes from topic 'network_selection_status_xml' * changes: NetworkSelectionStatusXmlUtil: Add utility WifiConfigurationXmlUtil: Serialize all data for store
|
8ada9efaa0de343b8ebafd3091a27b7d70d6ebef |
13-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Handle network UIDs"
|
026d5858db721494c3f2e91582847a8096df97ff |
13-Jun-2016 |
Etan Cohen <etancohen@google.com> |
resolve merge conflicts of b9f574e to master Change-Id: I5a48d9f15e8d0b52d08a1e51a5a59f2172372135
|
301dbcf1b3229ec5c3d0e7dffbf9318268927539 |
13-Jun-2016 |
Etan Cohen <etancohen@google.com> |
resolve merge conflicts of f5a9cc0 to master Change-Id: Ib30c045a31108d095635e7ff4c093ef0ccf9431c
|
5d3609b1931180c37d7292619146ad7d33df9a21 |
10-Jun-2016 |
Roshan Pius <rpius@google.com> |
NetworkSelectionStatusXmlUtil: Add utility Add a utility for |NetworkSelectionStatus| class serialization/ deserialization. While there, Fix the doc strings in the existing utils to add links to the original object they're trying to serialize deserialize. PS: Will add a follow up CL to shorten the method names of all these utils: NetworkSelectionStatusXmlUtil.parseFromXml/writeToXml. The current names are unnecessarily long. BUG: 29273147 Change-Id: I59f056a2b99e8583930b716707284d4ccf14392a TEST: Added Unit tests
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
7684d94aa98d82c82e060ff48326181669184f35 |
11-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when cleaning up WifiScanner client before Wifi enabled am: 3040b86393 am: 82f4aada1c am: cecab03d5d Change-Id: I1378659fc87d0b419a8f96e4fec779e4251db158
|
cecab03d5d0ebeaf7876b2e93fd10006114fa21d |
11-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when cleaning up WifiScanner client before Wifi enabled am: 3040b86393 am: 82f4aada1c Change-Id: Ia9ac0c45307ba6c52ae7192b37c56bc9f68ac0b1
|
e8f7d4ab151251991982329f7274f866bb03b3da |
11-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when cleaning up WifiScanner client before Wifi enabled am: 3040b86393 Change-Id: Ied0c5e048cceba8f4935e8dd9bdc104db6b64366
|
030c5debfefddf0512cd53fec48b269c08d9972e |
10-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigurationXmlUtil: Serialize all data for store Add the remaining elements of WifiConfiguration that needs to be persisted in config store and add unit-tests for verification. PS: These elements are not serialized for backup/restore. Backup/Restore only stores a selected subset of elements from WifiConfiguration. While there, Add the missing EAP configuration serialization unit tests. BUG: 29251622 Change-Id: Ic1f22191ed1d7e654190fde5e70bfdf3545eb5d4 TEST: Unit-tests
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
3040b86393a04bc939a5a94cda4169b0293dfac7 |
10-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when cleaning up WifiScanner client before Wifi enabled Change-Id: Ia212840fcf781740d5e185d3e3c2e30a477e25f0 Fixes: 29250616
canner/WifiScanningServiceTest.java
|
49410c13ba2284fb7c836fd3527dc526ea5681a0 |
07-Jun-2016 |
Glen Kuhne <kuh@google.com> |
DO NOT MERGE WifiMetrics: Record capture duration Adds a wifi metric that records the capture duration period represented by the WifiLog proto. This is to improve the way wifiLogs are weighted when aggregated. Modified WifiMetrics to use the Clock wrapper of SystemClock to facilitate unit tests. BUG=29185886 Change-Id: I61dd2b481c26f0ea21bcb280ce1d40f3d73b7625
ifiMetricsTest.java
canner/WifiScanningServiceTest.java
|
2fafcc56fda54b1adf8b6743beaac59dbb84dfec |
08-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Handle network UIDs Don't save creatorUID element for backup/restore. All networks will be restored with the System UID set as the creatorUID. The creator UID is hard to preserve across backup/restore. Also, since the creatorUID is not being backed, there are genuine cases where the configKey mismatch might occur. So, move the |configKey| mismatch check out of |XmlUtil| and let backup/restore & config store handle it differently as needed. PS: Need to also figure out if we should stop backing up all networks not saved by settings agent (creatorUid != SYSTEM_UD). Will wait for discussions in b/29201888 to decide on that. BUG: 29201888 TEST: Unit-tests Change-Id: I668281893de9260a803872c04646b5af28ee45e5
ifiBackupRestoreTest.java
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
373093ae826a68f0dd902309678c230ab3e078cd |
09-Jun-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiMetrics: Record capture duration"
|
1cc9dcf00e9131f168fa1929df1f5ff8253cd9ee |
09-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: revert large ringbuffers for userdebug/eng am: 9a865ec91c am: 518a427cd4 am: 67be829ac8 Change-Id: Ic884ee3a17f796952abbda2237cd39236357874b
|
67be829ac82ab10304bda5976a30e1b38db5ce9d |
09-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: revert large ringbuffers for userdebug/eng am: 9a865ec91c am: 518a427cd4 Change-Id: I0a029abf683e041ac8e73c674a3baaa0292635d4
|
497b04c439e7dd2b61a796e6a4da04452c46e69a |
09-Jun-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: revert large ringbuffers for userdebug/eng am: 9a865ec91c Change-Id: I727e2175df055a2485dd7071e568f676afa0f40c
|
2622233bd264f9bfbde164b6c62bd9d785da935b |
08-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Handle backups with no ipconfig data Handle restore of old backups with no corresponding ipconfig data. According to ctate@, this is a possibility on certain older devices. Also, add unit-tests to validate the restore behavior. BUG: 28967335 Change-Id: Id9d7be22132b3da560a7ec72aa5509392177bafe TEST: Unit tests.
ifiBackupRestoreTest.java
|
06a2281303248446bacc87a00ab66ea1fdf0392d |
08-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Handle single WEP key configs Handle backup/restore of partial WEP key configs. |XmlUtils| cannot handle arrays with different types (string & null). So, need to convert all null keys to empty strings while backing up and restore it accordingly. BUG: 28967335 Change-Id: I6133e3e5744f64c7b55a45462efe092d597e2f8b TEST: Unit tests
ifiBackupRestoreTest.java
|
76d591d5abba138d5104cbadd5c30c6e7c567194 |
08-Jun-2016 |
Christopher Wiley <wiley@google.com> |
Merge "Remove all knowledge of tethering from SoftApManager" into nyc-mr1-dev
|
9a865ec91cf32d41496a28d800279cd86832b027 |
18-May-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: revert large ringbuffers for userdebug/eng When the WiFi code is sufficiently mature, we'll use this patch to return to using small ring buffers on all builds. Note that this patch is not a literal/full revert of CL:1048267. The reason for the more focused change is to minimize merge conflicts, in case other code changes by the time this CL lands. BUG=28822174 TEST=unit tests Change-Id: I9facadf8aaf779e0627b15815a426b86bde692a1
ifiLoggerTest.java
|
9e3eb23ebd21b93625914e77ec86d4034d915160 |
08-Jun-2016 |
Randy Pan <zpan@google.com> |
Merge \\"WCM: No connectivity scan if auto roaming is off\\" into nyc-mr1-dev am: 0ef8048dbb am: b80be3eb81 Change-Id: Ia9356ea492452c2c55b9076678e20ff1442ea476
|
a68f3e359ac27285b10332ea2461469e5e03bfd4 |
08-Jun-2016 |
Randy Pan <zpan@google.com> |
WCM: No connectivity scan if auto roaming is off When WiFi is already connected, WCM initiates connectivity scan for roaming only if config 'EnableAutoJoinWhenAssociated" is turned on. This config option is turned on by default. More power sensitive devices can turn the config off to save battery. Note, when this config option is turned off, only the WCM initiated auto roaming is disabled. Wifi chipset firmware may still perform a roaming on its own. Bug: 29157340 Change-Id: I9a8f0df65d39412f242c064db5b3d6654d23634c Test: Framework Unit Tests and manual tests
ifiConnectivityManagerTest.java
|
107f6ce4a5f6017ce336d9b60650ddbe28bee965 |
07-Jun-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetrics: Record capture duration Adds a wifi metric that records the capture duration period represented by the WifiLog proto. This is to improve the way wifiLogs are weighted when aggregated. Modified WifiMetrics to use the Clock wrapper of SystemClock to facilitate unit tests. BUG=29185886 Change-Id: I61dd2b481c26f0ea21bcb280ce1d40f3d73b7625
ifiMetricsTest.java
canner/WifiScanningServiceTest.java
|
08015f5d7f37f731fe14711bb2667e998a667e28 |
08-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifibackupRestore: Mask out wep keys Mask out WEP keys in backup data dump and add unit tests to verify that the WEP keys are never dumped out. Since there are different patterns to match & replace, step through each line in the dump string and perform a search & replace. This isn't ideal, but there isn't any simple regex to mask both the 'psk' & 'wep keys' info. BUG: 29051876 Change-Id: I563bc8c9a0ace349851714f92aca817fb4f83717 TEST: Unit tests
ifiBackupRestoreTest.java
|
d09a68e978eafe26ff100fd1c34c5051293d8373 |
08-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge "XmlUtil: Move Wifi/IP-Configuration serialization"
|
37233d107bf402d4683e09d30e16e00c75eadcc6 |
07-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I6b581360,I60c8acea * changes: WifiBackupRestore: Logging changes WifiBackupRestore: Set hidden flag from old backup
|
0b476346f4bfa5879d7287d7b215e0c351d9a6ab |
07-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Parse older backup data"
|
e33a4bb414892435c016486585c26022cafdab68 |
06-Jun-2016 |
Roshan Pius <rpius@google.com> |
XmlUtil: Move Wifi/IP-Configuration serialization Move the serialization/deserialization of WifiConfiguration & IpConfiguration objects to XmlUtil. This helps us to share this logic between WifiBackupRestore & WifiConfigStore. Changes in the CL: 1. Create |WifiConfigurationXmlUtil| for WifiConfiguration serialization. 2. Create |IpConfigurationXmlUtil| for IpConfiguration serialization. 3. Change the XML structure of backup data to remove nesting of objects. Nesting of objects makes it difficult to deserialize especially when we start adding elements in future revisions. So, move |IpConfiguration| object outside the |WifiConfiguration| object. BUG: 29071904 Change-Id: Id08040bf11e4914638ec9f8d9d27d7983e27e42a TEST: Unit-tests TEST: Manual verification of backup/restore using bmgr commands.
ifiBackupRestoreTest.java
ifiConfigurationTestUtil.java
til/XmlUtilTest.java
|
d9c55738e1bb2ff3faee24c5434453352a9e6611 |
31-May-2016 |
Christopher Wiley <wiley@google.com> |
Remove all knowledge of tethering from SoftApManager ( dirty cherry-pick from f502d3e20409d81cfefd762b3b44f46dead09a92 ) This logic has moved into Tethering and TetherInterfaceStatemachine, where it probably always belonged. Bug: 29054780 Test: WiFi tethering continues to work on angler `runtest frameworks-wifi` passes. Change-Id: Ifff78ea540929fde4abea65716e1f659da2ecfec
oftApManagerTest.java
|
b42a86825e82d806743af1441c073ab016cf18da |
07-Jun-2016 |
Ningyuan Wang <nywang@google.com> |
resolve merge conflicts of da56856 to master This fixes the merge conflict of CL: ag/1108739/ Change-Id: I6a26ab0b8d03519172b1ba852291254521aa6c2c
|
ff6f1149718d709ce4799883af4d77251c2652dc |
07-Jun-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Continue supporting persisting country code" into nyc-dev
|
5967a15d36c76ba1aaeb89ce8bd66bb4bccfe998 |
07-Jun-2016 |
Paul Stewart <pstew@google.com> |
resolve merge conflicts of 9fd75a2 to master Change-Id: I5ac96f6035e3412e0dedba3a4869e9568047752d
|
0091305175e8c6fe7fc6d01efb9d405961db4ac7 |
03-Jun-2016 |
Ningyuan Wang <nywang@google.com> |
Continue supporting persisting country code Some devices rely on Setup Wizard to set a persistent country code. This CL honors the persistent option, fixing corresponding 5GHz AP problem. This also includes addtional unit tests for this change. BUG=28127280 TEST=compile TEST=runtest frameworks-wifi Change-Id: I2f36216e143d0ac4959f26a9965def061a06aabf
ifiCountryCodeTest.java
|
3204fb9682242a7b5a749489076c66d448c42577 |
03-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Logging changes Changes in CL: 1. To reduce log spamming, dump out the raw backup data only in bugreports if verbose logging is enabled. 2. Mask out the passwords from the backup data dump. 3. Move WifiBackupRestore module initialization to |WifiInjector| so that |WifiStateMachine| can set the verbose loging level. 4. Cleanup some unused variables in |SupplicantNework| class. BUG: 29051876 Change-Id: I6b58136057549ba1eb8a2845341be9fa072572b4 TEST: Manual tests
ifiBackupRestoreTest.java
ifiStateMachineTest.java
|
f196106f971d9e91dfcd14132a0fc2ce3d2cfc6c |
02-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Set hidden flag from old backup Add the missing |hiddenSSID| element parsing from old backups and add unit-tests to validate hidden network backup/restore. While there, Add input parameter validation in all the public methods. BUG: 29075035 Change-Id: I60c8acea17a532e7d5810d1096fbefc647614027 TEST: Unit tests
ifiBackupRestoreTest.java
|
e3831b70d4a8a967fe8df5496d542a432692c434 |
02-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Parse older backup data Add a new API to restore the old backups containing the raw data from wpa_supplicant.conf & ipconfig.txt files. Changes in CL: 1. Migrate all the wpa_supplicant.conf parsing logic in |SettingsBackupAgent| into |WifiBackupRestore|. 2. Create WifiConfiguration objects from the wpa_supplicant.conf. 3. Parse the ipconfig data using |IpConfigStore| into IpConfiguration objects. 4. These retrieved networks are added back using addOrUpdateNetwork(). While there, 1. Make the "id_str" parsing/writing methods in WifiNative static so that it can be used for restoring the data from wpa_supplicant.conf. 2. Make all the configurations enabled & shared in the test WifiConfiguration objects. BUG: 29075035 TEST: Compiles & unit-test passes Change-Id: If099af59811aa80f63eb5fd20ddf234e8089fd27
ifiBackupRestoreTest.java
|
b9f574e46be8c535525c35dff5b8f987df5d5ed6 |
19-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Create/delete all NAN data-path interfaces on Wi-Fi up/down Creates (deletes) all NAN data-path interfaces when Wi-Fi comes up (down). All NAN data-path is determined by the capabilities of the device. The interfaces are created but are not up. They are only brought up when an actual data-path is created. Rationale for not creating on demand: latency will be too long - especially for responder (which has an OTA response expectation). Bug: 26562610 Change-Id: I090af999e0f251a062f216b6d39d29cda7635882
an/WifiNanDataPathStateManagerTest.java
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
2315fbc9a600181e828de7096385c6b677b6986f |
04-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix unit tests: fail due to new method/renamed var am: caf8c19a7a * commit 'caf8c19a7a196af6064773b9a64396a5c425456e': [NAN] Fix unit tests: fail due to new method/renamed var Change-Id: I7b43fdd0f7991dd371e45d27a6ee7be8d21fd7a6
|
f5a9cc0ca383ea1763f9d3014fd68d5455fab8f6 |
31-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] NAN data-path HAL wrapper Add wrappers to the NAN data-path APIs. Covers: - JNI - WifiNanNative calls - WifiNanStateManager commands, responses, notifications Effectively all the code which pipes information through - none of the code which actually does something with the information. Includes unit tests for above code. Bug: 26562610 Change-Id: I69a47ae84b92bd69ddc9f70bed69c0b06bacde7d
an/WifiNanHalMock.java
an/WifiNanHalTest.java
|
caf8c19a7a196af6064773b9a64396a5c425456e |
04-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix unit tests: fail due to new method/renamed var 1. New interaction added with a mock which wasn't validated. 2. Unit tests depend on internal variable name (reflection) to fool the underlying HAL implementation to think that it is initialized. Test: validated that test failures eliminated. Bug: 27880727 Change-Id: I5c49ff7a532bd5a702ef5ed8173798bb4b47d94b
an/WifiNanHalMock.java
an/WifiNanStateManagerTest.java
|
297790d3b64914b6350d6bb4bbc01589c98be9f4 |
04-Jun-2016 |
Randy Pan <zpan@google.com> |
Merge "QNS: user band prefrence handling"
|
2434556fd83399af71ea9f6b2e9a1c89a81ba4df |
03-Jun-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Remove all knowledge of tethering from SoftApManager"
|
14f8e2bdd97ad7d44c00b6ef788b339023d41e7c |
01-Jun-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Add IpConfiguration to backup data Add the IpConfiguration object associated with each WifiConfiguration object to the backup data. Currently, this ip configuration information is being backed up separately via IpConfigStore class in the ipconfig.txt file. While there, 1. Rename write/parse-WepKeys methods. 2. Prefix the existing write/parse-Configuration methods with |Wifi| to differentiate from the new IpConfiguration methods. 3. Prefix the existing depth variables with |tag|. BUG: 28967335 BUG: 29063894 Change-Id: Ie8ebb119e2b22e78e825aee2aa2f1bb992f0c149 TEST: Compiles & unit-test passes
ifiBackupRestoreTest.java
|
1aabeb345f1c199bc2fca5cee582fc45b14d7e25 |
23-Apr-2016 |
Randy Pan <zpan@google.com> |
QNS: user band prefrence handling Fixed the criteria on determining if the current network is qualified for user band preference. Also added a check to filter out ScanResults that don't match the user band preference. Added a few unit tests. Fixed a unit test bug by setting the appropriate user band preference value. While there, addressed a couple of checkstyle issues. Bug: 27932378 Bug: 27589146 Tests: Wifi Framework Unit Tests Change-Id: Ibbf9ffa5a4d9b5a5596a91d14ddb247b9d9fab5b
ifiQualifiedNetworkSelectorTest.java
|
016ca1ae5e33eb9529ae10c2510a56fa5c7fec4d |
03-Jun-2016 |
Randy Pan <zpan@google.com> |
WCM: Periodic scan interval policy adjustment Allow immediate single scan for scenarios such as user allows untrusted networks, user forces a connectivity scan, and etc. The minimum scan interval is enforced only for the screen state change and connection state change cases. Also removed the scan started by WCM for user selected network. We connect to the user selected network by directly invoking the wpa_supplicant select_network. Now WCM always sets the 'forceSelectNetwork' parameter to false when calling into WifiQualifiedNetworkSelector.selectQualifiedNetwork(). So deleted the unused variable mForceSelectNetwork. Bug: 29103349 Change-Id: I1dd77af0cf7de85a96afac63de1344daab192968
ifiConnectivityManagerTest.java
|
ef9e66e6dfe56ecb2015538afa3b8a4d10fa546e |
19-Apr-2016 |
Randy Pan <zpan@google.com> |
Wifi QNS clean up Cleaned up QNS comments and log messages. Bug: 27932378 Bug: 27297354 Tests: Wifi Framework Unit Tests Change-Id: I4e40c9ddb6329bbadeea724286f94585ff1d5a5d
ifiConnectivityManagerTest.java
ifiQualifiedNetworkSelectorTest.java
|
5de29ec72c54cb73fdc1b59072f66a2627b8764c |
25-May-2016 |
Ningyuan Wang <nywang@google.com> |
Migrating existing code to Clock abstraction part 1 This CL includes the following changes: Refactor Clock.java for better readability Use Clock abstraction for classes which already have a reference of Clock obejct. BUG=28701686 TEST=compile TEST=runtest frameworks-wifi Change-Id: I49e896a91a63cf4519368a9de259046c21c94ddb
nqpCacheTest.java
ifiConnectivityManagerTest.java
ifiQualifiedNetworkSelectorTest.java
canner/BaseWifiScannerImplTest.java
canner/SupplicantPnoScannerTest.java
|
44a31240adc22efa847d2cecec9de5b94a1b3920 |
01-Jun-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiBackupRestore: Add new module for backup/restore"
|
7d6cf72a1fe1f61efd87e94af7c5b6d36d17ee8f |
01-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Treat GetCapabilities() as a regular command/response pair. am: b5ff110bcd * commit 'b5ff110bcdf4a178e712184c06ff7c8b200e125d': [NAN] Treat GetCapabilities() as a regular command/response pair. Change-Id: I5eecf2d52a37ee3976cc54c3b616d1ee32c709a2
|
ff9686aec5b6ee21e01556899fb13ab55915f3c0 |
31-May-2016 |
Roshan Pius <rpius@google.com> |
WifiBackupRestore: Add new module for backup/restore The new module provides symmetric API's to format the provided configurations into a XML byte stream. WifiService retrieves the current list of saved configurations and provides the list to the |WifiBackupRestore| module to generate the backup data. Similarly, WifiService provides the backup data to|WifiBackupRestore| to generate the list of saved networks. It then adds/enables these networks using the public API's. The XML data is versioned to ease migration across future revisions. BUG: 28967335 TEST: Compiles & unit-test passes TEST: Integrated these changes with SettingsBAckupAgent to verify that saved networks are being backed up/restored correctly. Change-Id: I0a8a7d722e627fc606019a4148fb2be998ce25c9
ifiBackupRestoreTest.java
|
d9f8cb60f67b2ad01a20c2e12425adb7a1bf3740 |
01-Jun-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Move ByteArrayRingBufferTest to correct package"
|
b5ff110bcdf4a178e712184c06ff7c8b200e125d |
01-Jun-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Treat GetCapabilities() as a regular command/response pair. Original design treated GetCapabilities() as a notification which was triggered whenever the HAL was initialized (even though under the hood it was still a command/response). This can result in a race condition if an "early" command needs the capabilities information. Converting to a standard command/response will queue all other commands until the capabilities are returned. Specifically needed for NAN data-path which creates all interfaces (based on capabilities) when it is first enabled. Triggered whenever NAN is enabled - e.g. when Wi-Fi is enabled. Bug: 26562610 Change-Id: I86375b318720b46cc92291484b7aa1d83928617b
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
9e7410547e64d9af2dbbdc48ec5dcd81f6c4833e |
31-May-2016 |
Christopher Wiley <wiley@google.com> |
Move ByteArrayRingBufferTest to correct package Change-Id: I049abc3f310f13bf1754b2d2c3f522b45c147f44 Test: Compiles
yteArrayRingBufferTest.java
til/ByteArrayRingBufferTest.java
|
f502d3e20409d81cfefd762b3b44f46dead09a92 |
31-May-2016 |
Christopher Wiley <wiley@google.com> |
Remove all knowledge of tethering from SoftApManager This logic has moved into Tethering and TetherInterfaceStatemachine, where it probably always belonged. Bug: 29054780 Test: WiFi tethering continues to work on angler `runtest frameworks-wifi` passes. Change-Id: Ifff78ea540929fde4abea65716e1f659da2ecfec
oftApManagerTest.java
|
11ad3437e833ead2c7c235f173824db16ee4ea02 |
27-May-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiLastResortWatchdog: reset wifi on trigger Added wifi reset on WifiLastResortTrigger. The reset is implemented by sending the CMD_RESTART_WIFI message to WifiController. BUG: 27856267 Change-Id: Icb7c3a211afcd234cfcd25a42665aed03c33f5e1
ifiLastResortWatchdogTest.java
|
ddd09bbe798f9fb257bb9c73649bee3bd77fb469 |
26-May-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiController: Add CMD_RESET_WIFI command Allow WifiController to safely restart the WiFi stack. This will initially be used by the WifiLastResortWatchdog. The CMD_RESET_WIFI message is only handled in the StaEnabledState where it would have been attempting to connect. The process of bringing the wifi back up is handled through the use of the new CMD_RESET_WIFI_CONTINUE command. Tests are also added to verify that the new CMD_RESET_WIFI command is ignored in other states (explicitly tests Emergency mode and AP enabled). BUG: 27856267 Change-Id: I778ccd6f7d555f6ee6abb195c1c16c106c2e66b7
ifiControllerTest.java
|
75423e87095b6c0353af053cb446dbc9a444fcfa |
27-May-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiLockManager: create class to manage WifiLocks"
|
4c683072aec815aa7762750c55bd65fa40fb6bb2 |
27-May-2016 |
Mitchell Wills <mwills@google.com> |
Fix WifiScanner tests after parameter adjustment am: e733ddab52 am: f44e8186c8 am: 7b960e4c68 * commit '7b960e4c682b8ea2faf5a4611d30f3d97eacda32': Fix WifiScanner tests after parameter adjustment Change-Id: Ic848f977201fc233c42002d1cf346b74aca57e21
|
2a7c2bec5d307a9e52de429c6303b7df9de900dc |
20-May-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiLockManager: create class to manage WifiLocks Create new class to maintain WifiLocks requested by applications. WifiLock management was closely tied to the WifiServiceImpl and made it very difficult to write tests using different WifiLock modes in DeviceIdle states. This CL moves the lock management to a new class, WifiLockManager, and adds tests to check the behavior. Bug: 28669096 Change-Id: Ib055078eb0a8555e9a7715d7ce10de1103e73130 Test: runtest frameworks-wifi
ifiControllerTest.java
ifiLockManagerTest.java
|
e733ddab5260b153ad76ed73a672de928d0f4b37 |
26-May-2016 |
Mitchell Wills <mwills@google.com> |
Fix WifiScanner tests after parameter adjustment Change-Id: Ia18913aed38ff5fa7655878340b99e15132a32d1 Fixes: 28970259
canner/BackgroundScanSchedulerTest.java
canner/WifiScanningServiceTest.java
|
240fdc87ad51f0449c92f1c3981c93ea022729bb |
25-May-2016 |
Randy Pan <zpan@google.com> |
WifiConnectivityManager: enforce minimum single scan interval am: c2963eb076 am: 28eb5a8fe0 am: b7c99688e3 * commit 'b7c99688e3f7e4049f8a3c079894c3a054e10254': WifiConnectivityManager: enforce minimum single scan interval Change-Id: I0fc5b77fba2bf7795b41c330f70f6ecad4efd0a9
|
c2963eb07660a06592c60224279685166390217d |
23-May-2016 |
Randy Pan <zpan@google.com> |
WifiConnectivityManager: enforce minimum single scan interval Instead of always starting a single scan when the device enters screen on state, we now keep track of how long it has been since last periodic single scan and defer the new scan request. Bug: 28887789 Tests: Wifi Unit Tests, manual tests Change-Id: Iba5b5b7db897d3227d87f8d989246a1942525b9c
ifiConnectivityManagerTest.java
|
0335f0ea1200804fda18df512c7872af3df253f3 |
24-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add retry count to send message am: 1da4332949 * commit '1da4332949ad1053078053097bfc59a72653f477': [NAN] Add retry count to send message Change-Id: I09bc800c43a509249cc6ecfa047df5596217ef9e
|
33bb803038be043f8853159bf7381d3b4854b318 |
24-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Update send message flow to be (more) asynchronous am: 1bf97ad103 * commit '1bf97ad103217a2e18370c382fe30abd88716d53': [NAN] Update send message flow to be (more) asynchronous Change-Id: I8babf1b70e2046a914235da06d470cf4a91e993c
|
1da4332949ad1053078053097bfc59a72653f477 |
10-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add retry count to send message Retransmit when no ACK received. Bug: 28690414 Change-Id: I67f1a443319fb17d81ed55c2f071bdb480141844
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
1bf97ad103217a2e18370c382fe30abd88716d53 |
04-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Update send message flow to be (more) asynchronous Bug: 27916698 Change-Id: Ie9741b73190e733e42dae63386557e6feb01eb54
an/WifiNanHalMock.java
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
c08e5f08975e6a504b6f8e5b04d66e0a0c18416b |
23-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure that all ways a scan can fail get logged" into nyc-dev am: 1f9f7c109c am: 7a56e2720d am: 96a9d6f315 * commit '96a9d6f31570331a127aa1f5cf271f899bcf638a': Make sure that all ways a scan can fail get logged Change-Id: I6cdd08add801a472359cab21a77f31b03e9486be
|
1f9f7c109ca952884fb7bff7271669d879ce9b97 |
23-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure that all ways a scan can fail get logged" into nyc-dev
|
256ee9e914f0e7470a4a0f804d2d5ce7f1a9697d |
21-May-2016 |
Roshan Pius <rpius@google.com> |
resolve merge conflicts of cbb193c to master Change-Id: I8ba39ea770cef1f5163452fd322631356de80d15
|
9d6a7a1b5f9e9ea194fc6b15044c9d14d6aefabf |
21-May-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ie64c11f3,I91272aa5 into nyc-dev * changes: WifiNetworHistory: Don't persist QNS blacklist Change clock for time interval/elapsed measurments
|
8a7b2c7cdb729887535aba20d2663a4cf133f983 |
21-May-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConnectivityManager: Fall back to full band scan" into nyc-dev am: a2cc709215 am: db2730060d am: 395cf5eb40 * commit '395cf5eb4072edf27d8ef7e411ffcdde61076e57': WifiConnectivityManager: Fall back to full band scan Change-Id: I0326981f8e44f719584eb552efd93851e1146ec9
|
a2cc7092156cb3280fa4b9c1d832e5d1ed2855a4 |
21-May-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConnectivityManager: Fall back to full band scan" into nyc-dev
|
56820e92fd4b1a0cee83f552905fc76fc8290146 |
20-May-2016 |
Mitchell Wills <mwills@google.com> |
Make sure that all ways a scan can fail get logged Bug: 28682351 Change-Id: If9296d862adbd479e8600699f06f4684d377ae6a
canner/WifiScanningServiceTest.java
|
79ceb468ea245b8a9303ece0ee5946d5e4d7a45b |
20-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add tests to verify single scan blame behavior" into nyc-dev am: 61d025c1d7 am: cd14b5dfbc am: 9077ef4db7 * commit '9077ef4db7b832d98a6a73f84b3ffddb3b4a8e09': Add tests to verify single scan blame behavior Change-Id: I9a30b85c9792ef8bd8197c799100862095bf921a
|
61d025c1d760de811fd62e3b2d376b47d61d10a1 |
20-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add tests to verify single scan blame behavior" into nyc-dev
|
fb196453c07daad5e525520cecad84cec5d89fb7 |
20-May-2016 |
Roshan Pius <rpius@google.com> |
WifiConnectivityManager: Fall back to full band scan Fall back to full band scan when the currently connected network is not present in scan result cache. This could be a transient problem, but we don't want to cause an error by sending an invalid scan request. Changes needed for unit-testing this change: 1. Make WifiInfo a real instance so that we can set the values for the public members directly accessed like tx/rx success rate. 2. Make |getCurrentWifiConfiguration| public so that it can be stubbed out. BUG: 28845855 TEST: Compiles & unit-test passes Change-Id: I6cb2b7ad762b3f8f2ab36d66c4b1fcc39fafffed
ifiConnectivityManagerTest.java
|
ee0ab818341d44614ffe56ae73ecc08b974c2cbb |
20-May-2016 |
Roshan Pius <rpius@google.com> |
Change clock for time interval/elapsed measurments 1. Use the clock retrieved from WifiInjector in more modules: QNS, Scanner, WifiConfigManager. 2. Use |elapsedRealtime| for time interval/elapsed measurments. Things like scan results, config elements still continue to use |currentTimeMillis| Also, 1. Had to make |tryEnableQualifiedNetwork| public to prevent mockito from calling the real method in WifiConfigManager. 2. Move keystore also into WifiInjector. BUG: 28299258 BUG: 28824635 Change-Id: I91272aa5665abb741da7530d8920d09c8c5ea41f TEST: Compiles & unit-test passes
ifiConfigManagerTest.java
ifiConnectivityManagerTest.java
ifiQualifiedNetworkSelectorTest.java
ifiStateMachineTest.java
canner/BaseWifiScannerImplTest.java
canner/HalWifiScannerTest.java
canner/SupplicantPnoScannerTest.java
canner/SupplicantWifiScannerTest.java
canner/WifiScanningServiceTest.java
|
f4267b6840dbc7f430638c35c5448187b6e83846 |
19-May-2016 |
Christopher Wiley <wiley@google.com> |
Move test components into its own static library This allows us to share the class with networking code in frameworks/base/services. Moved: - MockLooper - BidirectionalAsyncChannel* - MockAlarmManager - MockAnswerUtil Bug: 28848133 Test: These tests continue to pass Change-Id: I97bba188da1eb07aa8f6fccf6f051c48b197d5f1
idirectionalAsyncChannel.java
idirectionalAsyncChannelServer.java
onfigurationMapTest.java
ockAlarmManager.java
ockAnswerUtil.java
ockLooper.java
ockLooperTest.java
ockWifiMonitor.java
ttServiceTest.java
oftApManagerTest.java
ifiConfigManagerTest.java
ifiConnectivityManagerTest.java
ifiControllerTest.java
ifiLoggerTest.java
ifiNotificationControllerTest.java
ifiQualifiedNetworkSelectorTest.java
ifiStateMachineTest.java
an/WifiNanManagerTest.java
an/WifiNanRttStateManagerTest.java
an/WifiNanStateManagerTest.java
canner/BaseWifiScannerImplTest.java
canner/SupplicantPnoScannerTest.java
canner/WifiScanningServiceTest.java
|
79b831242b4022e7f81b88e995d793fd2cec8f8a |
19-May-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: fetch packet fate on dump() am: 1bf155710a am: d31bca6687 am: 109f71c878 * commit '109f71c87868a77aac6c20a2a7942342f7b0971e': WifiLogger: fetch packet fate on dump() Change-Id: Ic40fd34ef1aa363bed2bae32df914493ca7ff402
|
1bf155710ada7a6ee27453a120690d2c91a0fec5 |
19-May-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: fetch packet fate on dump() We've observed that it's tricky to detect when a connection fails. Consequently, even if the user is careful to generate a bugreport while the device is in the failed state, the bugreport will not include packet fate data for the most recent connection. Improve the utility of packet fate, by fetching the most recent fate on the call to dump(). With this change in place, we'll get packet fates for the most recent connection attempt (even if it's still in progress). BUG=28849396 TEST=unit tests, manual Manual test - configure bullhead for open network - configure bullhead for wpa-2 network, wrong password - let bullhead fail connecting to wpa-2 network - let bullhead succeed connecting to open network $ adb dumpsys > /tmp/dumpsys $ grep 'fates ---' /tmp/dumpsys --------------------- Last failed connection fates ---------------------- --------------------- Latest fates ---------------------- Change-Id: Iaeb2584020f70ac5d2f3139bac72ea07a7ddce81
ifiLoggerTest.java
|
568ee6fd8718c327a9099489a1eed4058bafc3b1 |
19-May-2016 |
mukesh agrawal <quiche@google.com> |
Merge "WifiNative: add wallclock timestamps for packet fate" into nyc-dev am: 30c88d6ec0 am: fb030b8ce7 am: 2f4a2da863 * commit '2f4a2da8639559e523c8e617f88db3ff4c830ee6': WifiNative: add wallclock timestamps for packet fate Change-Id: Ic0d26814196dce450dfef78ee8bc7e29697caab5
|
30c88d6ec01c9f871ac62c6c7038bc99c2a6f7d8 |
19-May-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiNative: add wallclock timestamps for packet fate" into nyc-dev
|
9fbc1b5d1a8ac54cc6a5ba87eeca434521419ea0 |
19-May-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] NAN RTT service implementation" into mm-wireless-dev am: 714584fb9b * commit '714584fb9b7ccc1d1be199c3edce318cc9b347b1': [NAN] NAN RTT service implementation Change-Id: I9a63dcb0b41da462c4cd5c6989f4654658c429bb
|
714584fb9b7ccc1d1be199c3edce318cc9b347b1 |
19-May-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] NAN RTT service implementation" into mm-wireless-dev
|
b4cf1c90ec3a5940fb1bed391c1b2e3cad53e830 |
19-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix crash when scanner gets results that don\'t match the request" into nyc-dev am: bf984686a3 am: a426c873a4 am: 5a09481c2e * commit '5a09481c2e7c9519ad0dc882b4be0ea2e7e5fcda': Fix crash when scanner gets results that don't match the request Change-Id: Ic1d01560bc6f6cc4c385da9450ab709e91431d0a
|
eaf6303a081b4a7f2231b5053099da7a1c16b7bd |
18-May-2016 |
mukesh agrawal <quiche@google.com> |
WifiNative: add wallclock timestamps for packet fate Packet fate reports are timestampped in a different format than logcat messages. This makes it hard to correlate packet fate summaries with other system activity. Resolve this, by adding wall-clock timestamps to packet fate summaries. BUG=28701632 TEST=manual test Manual test: - set bullhead to non-GMT timezone - install build on bullhead - trigger connection failure - verify that walltime column is in the right ballpark, relative to logcat messages Change-Id: I3aed8d9acca42f0ef0cc4f2f2fbdabdde33ce4c8
ifiLoggerTest.java
ifiNativeTest.java
|
bf984686a38b0574c18f728a21dfadf620d5e427 |
19-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix crash when scanner gets results that don't match the request" into nyc-dev
|
7335b7c3db2656c8379296593c7880ae56ccf9ea |
10-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] NAN RTT service implementation Pipe NAN RTT through NAN service - filling in peer MAC address and RTT configuration parameters. Bug: 26564277 Change-Id: I9c69768a0d9c2ae399c272fd7ff962984c517065
an/WifiNanManagerTest.java
an/WifiNanRttStateManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
7ecbed66dd268a915c0f6756d404d3918bfab88f |
18-May-2016 |
mukesh agrawal <quiche@google.com> |
Merge changes I5884dee0,I6f4cb00c into nyc-dev am: 43d1480fe5 am: aaf84fee3b am: 3d20066a1b * commit '3d20066a1bf32ee86e6bfabb9ede6580ab088b35': WifiLogger: use large ringbuffers on eng/userdebug WifiService: add build properties abstraction Change-Id: Ib43a3e30a5e85d1b28403024cc082dc604031d9a
|
26d622799dcb4e20f05c0f297c898eb24156070c |
18-May-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Add send message queue depth to capabilities" into mm-wireless-dev am: b46f7f1944 * commit 'b46f7f1944bd92404f3e874aafc08cd99d0d1dbe': [NAN] Add send message queue depth to capabilities Change-Id: Idae0ee20d23c8ec5ab1fecbaed988242699f8ec7
|
43d1480fe5ec04f3dec53cbe9d6c46186ddc8d44 |
18-May-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes I5884dee0,I6f4cb00c into nyc-dev * changes: WifiLogger: use large ringbuffers on eng/userdebug WifiService: add build properties abstraction
|
1345d63ec537cc75b8daf9cafbb8b1fd78338ec5 |
18-May-2016 |
Mitchell Wills <mwills@google.com> |
Add tests to verify single scan blame behavior Bug: 28320003 Change-Id: I4cfdedb1d5c3c29608208bb1c3bda42f4759fb7f
canner/WifiScanningServiceTest.java
|
8df302f5b9c647f69acee24e09fa20d8b5c54c4a |
18-May-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: use large ringbuffers on eng/userdebug We're having trouble resolving some field reports, due to insufficient time coverage in the HAL ring buffers. Increase the ringbuffer size of eng/userdebug builds, to make it easier to debug issues reported by dogfooders. This change will be reverted closer to launch. (b/28822174 has been filed for the reversion.) BUG=28729317 TEST=unit tests Change-Id: I5884dee05db79245d211a457ff44b5e7b96ddbcb
ifiLoggerTest.java
|
b6d6e31dc6ed9a9a0178990a0cec8edb9ad36c77 |
18-May-2016 |
mukesh agrawal <quiche@google.com> |
WifiService: add build properties abstraction As it turns out, WifiStateMachine isn't the only thing that wants to change its logging behavior depending on Build.TYPE. 1) Add an abstraction of Build.TYPE, so that we can a) check build type in a common way, and b) test the logging behavior across build types 2) Migrate WifiStateMachine to use this new abstraction. BUG=28822027 TEST=unit tests Change-Id: I6f4cb00ccb5f3a4b9a5b67e69f8365aab7fd429c
ifiStateMachineTest.java
|
f898b69c79a5e27481f42d734fea71d4b423f54e |
18-May-2016 |
Randy Pan <zpan@google.com> |
resolve merge conflicts of 0fb2fe0 to master Change-Id: I08b8ea3e3085cff81286b295f3bd4ee04b86e2b7
|
ac90f832cc7efcbe0a7a2ec24d8d45192e3ecc66 |
18-May-2016 |
Randy Pan <zpan@google.com> |
Merge changes from topic 'exponential backoff periodic scan' into nyc-dev * changes: WifiConfigManager: clean up makeChannelList() WifiStateMachine: clean up dead code WifiConnectivityManagerTest: exponential backoff periodic scan Restrict connectivty periodic scan
|
f5cdd8e7a6b7d4c0b5f77134273c7e894d8c087b |
16-May-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when scanner gets results that don't match the request Before this, when WifiScanningService processed single scan results from supplicant that only contained results that did not match a request the filter code would return null indicating that the results should not be delivered, causing a NPE later. This change updates the meaning of the bucket index that the single scan code provides to the filtering code to instead force it to always include scan results. Change-Id: I65cd57b14abacec3f407991188c570601d05ac77 Fixes: 28794598
canResults.java
canner/ScanScheduleUtilFilterTest.java
canner/WifiScanningServiceTest.java
|
45224b0dd2aa45cbc44c13734e5d5e5827edd73f |
17-May-2016 |
mukesh agrawal <quiche@google.com> |
Merge "packet fate: include status code for auth+associate" into nyc-dev am: c7d77be3ba am: 063a8fc03a am: e8ca9b9453 * commit 'e8ca9b94534da21110287bdd12e1230a15058e08': packet fate: include status code for auth+associate Change-Id: I3ccb635bf20606e6153911698d9a58755333fe30
|
c7d77be3baa194e67f676594ae8f958156e27cbb |
17-May-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "packet fate: include status code for auth+associate" into nyc-dev
|
b32b649c815b0b50fd0127d9d4a4563c54a536fb |
16-May-2016 |
Randy Pan <zpan@google.com> |
WifiConnectivityManagerTest: exponential backoff periodic scan Add a couple of unit tests to cover the periodic scan exponential backoff feature. Extended MockAlarmManager class such that users can query a pending alarm's trigger time. Bug: 28750989 Change-Id: I9520477180786fce2937e5fa87f790f60f12a3da
ockAlarmManager.java
ifiConnectivityManagerTest.java
|
5e550bdccf8aaace892366fbbaf90bd0a7c456af |
14-May-2016 |
mukesh agrawal <quiche@google.com> |
packet fate: include status code for auth+associate During 802.11 authentication, we've seen wpa_supplicant report error information that is at odds with over-the-air traffic. For systems that provide packet fate for these early frames, we can gather better information about the auth process from the frames themselves. Specifically: we can include the status code in the packet fate summary. Make it so. While there: - fix a whitespace issue in parseIeee80211FrameCtrlType() - rename frameControlField, since it didn't really hold all of the frame control info. (frameControlField omitted the frame control flags.) - modify some packet fate tests to be less specific about expected whitespace; it's too hard to maintain the tests when exact whitespace matching is required BUG=28717266 TEST=unit tests TEST=manual Manual test - configure hostapd to allow zero connections - configure bullhead to connect to hostapd $ adb shell dumpsys > /tmp/dumpsys - verify that packet fate summary shows auth frame with status 17 Change-Id: Ib8742091d0a9acc7fdde0423229d150bf4c1c6d8
ifiNativeTest.java
til/FrameParserTest.java
|
7c04e256944b1841502637d8f0b42b575a1a543b |
16-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add send message queue depth to capabilities Bug: 27916698 Change-Id: I2b97bd81d861b1b4009d5f82e70d86a5dc861864
an/WifiNanHalTest.java
|
075245926f727fffb8df7377b5a7013cfce1fbb6 |
10-May-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge changes Ie19e66b9,Idfcc51e2,Ie2b6f031 into nyc-dev am: c2c27ff4aa am: abc76581bb am: 290ce93151 * commit '290ce9315114dfcb8f36dddf6f4c525fe9b7cf68': WifiController: set to proper state after SoftAP WifiControllerTest: cleanup style issues WifiSettingsStore: add methods for WifiSavedState Change-Id: I29f19e7d50a8270736e352fc536aa715deecc9bb
|
c2c27ff4aa6dfd4449612d61afd62d89b9652618 |
10-May-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge changes Ie19e66b9,Idfcc51e2,Ie2b6f031 into nyc-dev * changes: WifiController: set to proper state after SoftAP WifiControllerTest: cleanup style issues WifiSettingsStore: add methods for WifiSavedState
|
7956af67aa56b2e5c00a31621d9298d88dbb5bc5 |
10-May-2016 |
Ningyuan Wang <nywang@google.com> |
Fix WifiApConfigStoreTests am: 51a0661e2f am: 5de39d09c7 am: c5d24afc1b * commit 'c5d24afc1b11af606945e9336a4eeda3a2af3164': Fix WifiApConfigStoreTests Change-Id: I9b13c0cf0cef5add749aa859e09b45061fb7640d
|
51a0661e2f4554eb0103046d1ddc95afb158ad88 |
10-May-2016 |
Ningyuan Wang <nywang@google.com> |
Fix WifiApConfigStoreTests Now that writeApConfiguration has no return type, so we should also ignore the value in the tests. BUG=28692504 TEST=compile TEST=runtest frameworks-wifi Change-Id: Ia4a562335de2c1dcadb5f41dcb3dc9f96a926680
ifiApConfigStoreTest.java
|
c82078b9c01842ff2d7b6b63958d9bcf13a2f8cb |
10-May-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Do not reset state machine after OnNanDown" into mm-wireless-dev am: 6f9a6eed4c * commit '6f9a6eed4c2c786b645ab3fb80ff9283593eed36': [NAN] Do not reset state machine after OnNanDown Change-Id: I24f283a4281563a4330c7749d0a5727ed76b479b
|
191fa5b445e8cfd0fa2c4aa7458776ab7a3972f7 |
09-May-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiController: set to proper state after SoftAP After receiving a CMD_AP_STOPPED message, WifiController should return to the DeviceActive state or the appropriate Idle state. This CL sets the correct pending state and also adds a check for the idle state. A test is also added to confirm the DeviceActive state is entered after the SoftAp state is completed. Note: An additional test for the DeviceIdle path will be added at a later point after some code refactoring (bug 28669096) BUG: 28434530 Change-Id: Ie19e66b9c84ff545a622119890bc7705ebd74c46
ifiControllerTest.java
|
8ec7811cb6db1d605ed95060f3f792f2221cee88 |
07-May-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiControllerTest: cleanup style issues Clean up some style issues for WifiControllerTest. This is in preparation for additional tests being added for the bug fix. BUG: 28434530 Change-Id: Idfcc51e2d30753051b9d8e2ec066035f771f0339
ifiControllerTest.java
|
78b9b40b7a14bdabd3fa4b4200b2d9bb40552794 |
10-May-2016 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantScanner: Truncate hidden network list" into nyc-dev am: b53cd9aa26 am: c3664512a8 am: f2b409c76c * commit 'f2b409c76caa03c27820157b8de92c6fc6bd41cb': SupplicantScanner: Truncate hidden network list Change-Id: I0f5bd8ccb51305f3eeed7649ea0c2e522e3edf57
|
b53cd9aa2625ec2a1c2e69c609d8a9dda3569a36 |
10-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "SupplicantScanner: Truncate hidden network list" into nyc-dev
|
f1aa2b3fddc1b3e261ea54635f148fdc120ae7cb |
04-May-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Do not reset state machine after OnNanDown Refactor OnNanDown behavior to clean-up local state - manager no longer needs to have state. Bug: 28197388 Change-Id: Ib6618f9ab6c23677fd2efadf6d3c88ec083fb284
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
362fad8eddd674d7cf19ffcc1fec38d2d2ee2f53 |
06-May-2016 |
Roshan Pius <rpius@google.com> |
SupplicantScanner: Truncate hidden network list Truncate the hidden network id list if it goes beyond wpa_supplicant's max value. wpa_supplicant has a hard coded value of 16 for the max number of networks that can be specified for each scan. There is currently no way to query this value from wpa_supplicant, so hardcoding this value in SupplicantScanner. BUG: 28632556 Change-Id: I31a338b91c221c1686437b738894e13abb897474 TEST: Compiles & unit-test passes
canner/BaseWifiScannerImplTest.java
|
6f8487ee699b417eb4bb98ec2a97b6e46bb1f00d |
06-May-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I1424053c,I96e35e06 into nyc-dev am: a4da0a81a0 am: ca99af1cb4 am: 8a5f4cf37d * commit '8a5f4cf37d963099658626ec1be6fc656c0d5965': WifiConnectivityManager: Unit tests for metrics WifiConnectivityManager: Increment metrics Change-Id: Ie97c409946125dc57d2be0d9caf9ac22b8bb3f82
|
a4da0a81a0a93faac3a8d9ef8d83b1a35c500073 |
06-May-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I1424053c,I96e35e06 into nyc-dev * changes: WifiConnectivityManager: Unit tests for metrics WifiConnectivityManager: Increment metrics
|
1d7d62393181cc36b6f87c3cf2151adc54275f9c |
04-May-2016 |
Roshan Pius <rpius@google.com> |
WifiConnectivityManager: Unit tests for metrics Add couple of unit-tests for metrics. Had to migrate the unit-tests to use mock alarm manager. BUG: 27479439 BUG: 27704599 BUG: 28480516 Change-Id: I1424053c35799905612b37edeb679e7556568ca5 TEST: Compiles & unit-test passes
ifiConnectivityManagerTest.java
|
7bf44345134e2cc269c3dafc0c036b26151d23f8 |
04-May-2016 |
mukesh agrawal <quiche@google.com> |
Merge changes Icaa91d9d,Ic930337a into nyc-dev am: 855b32875a am: 8614fa4c8e am: fdccb5f8ed * commit 'fdccb5f8edc6baea1c396ead0b2cf6bea7462f2e': WifiStateMachine: dynamically configure WifiHAL log level wifi service: abstract away access to SystemProperties Change-Id: I2160192bad59a0298c862f0463aff51c2076a033
|
855b32875a1ab89aa073f772790bdf71a42d08f9 |
04-May-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes Icaa91d9d,Ic930337a into nyc-dev * changes: WifiStateMachine: dynamically configure WifiHAL log level wifi service: abstract away access to SystemProperties
|
90764c2d1c0002c723727a7d1c755bdbc00da41b |
04-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add more details about what scan results were delivered to clients" into nyc-dev am: 576cda1bc1 am: b7dfac73be am: e6a0f801af * commit 'e6a0f801afb86c1df33c360356a7476f4c4a4194': Add more details about what scan results were delivered to clients Change-Id: Id5b539150e34ceea0acc75e3eecc90a1b328fd14
|
59298c7cfffdf856e32879ec967fe27c7e977a49 |
04-May-2016 |
Mitchell Wills <mwills@google.com> |
Add more details about what scan results were delivered to clients Fixes: 28563549 Change-Id: I445054af4b176c69a26af6fe340a6eb88cf06452
canner/WifiScanningServiceTest.java
|
f74a1cfd50d7b44aa7e4b598eb229cd464983dfe |
03-May-2016 |
mukesh agrawal <quiche@google.com> |
wifi service: abstract away access to SystemProperties We want the ability to modify the value of a system property, so that we can dynamically change the logging level for WifiHAL. This ability depends on permissions that are not available to the test runner. For example, the process that is running the wifi service code needs the ability to connect to the |property_service| socket. To resolve the problem, we do the following: - add a PropertyService interface, which abstracts away access to SystemProperties - add PropertyService to the dependencies managed by WifiInjector - add SystemPropertyService, which routes property requests to android.os.SystemProperties - update WifiStateMachine, to access properties via PropertyService - update WifiStateMachineTest, to use a mock implementation of PropertyService BUG=27857554 TEST=unit tests Change-Id: Ic930337a6a8f6a600ae7b4da2ca2eaf5c9e6c2cb
ifiStateMachineTest.java
|
e70ba4d25583efb1528f5e7bb32e0fea39a7ab41 |
22-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Modify meaning of config.status Change |config.status| field to track the status of a network within the android framework rather than the status of network within wpa_supplicant. |config.status| is enabled/disabled from only within updateNetworkSelectionStatus now and will only change when |enableNetwork| & |disableNetwork| public API's are invoked. config.status is set to ENABLED when: We set the status as enabled whenever network selection is set to enabled. config.status is set to DISABLED when: (a) We set the status as disabled whenever network selection permanently disables it. This is usually done when the app/user explicitly disables the network or the current logged-in user changes. Newly created networks are also DISABLED by default. (b) We also need to mark all networks disabled when we start WPS. (c) enableNetwork() public API with |disableOthers| flag set to true disables all other saved networks. While there, 1. Refactor the |updateNetworkStatus| method. BUG: 28219928 TEST: Compiles & unit-test passes TEST: Ran CTS tests Change-Id: Id3cac801fa92e28984e451300f21f6f5b76de87a
ifiConfigManagerTest.java
|
52f0e60f5e55d85ed482cd64eed2816dd2c26470 |
02-May-2016 |
Randy Pan <zpan@google.com> |
Merge "WifiConnectivityManager: PNO retry for low RSSI network" into nyc-dev am: 00f5ad8baf am: d7229f3fdb am: 332ba5e463 * commit '332ba5e463b7c78379805c790c28317783cd31c9': WifiConnectivityManager: PNO retry for low RSSI network Change-Id: Id86902b1b65d635e6c7a83f0cace9179e4276e1f
|
00f5ad8bafa58232b799e5195783a444fa9168fe |
02-May-2016 |
Randy Pan <zpan@google.com> |
Merge "WifiConnectivityManager: PNO retry for low RSSI network" into nyc-dev
|
075216ed6e733193efa5046859759374bf63942b |
02-May-2016 |
Randy Pan <zpan@google.com> |
Merge "Fix check on current connected/connecting network" into nyc-dev am: 12cf770141 am: 24912eb492 am: 62114d9b9a * commit '62114d9b9a836ff00bb09c4961813182367ee834': Fix check on current connected/connecting network Change-Id: Ia5c3072bbd135c3b591d25a9975284f04747fa08
|
12cf770141cd8223809fbb69223dafb631ca4352 |
02-May-2016 |
Randy Pan <zpan@google.com> |
Merge "Fix check on current connected/connecting network" into nyc-dev
|
3d09b9117df33608a43c1fbe0135123e2de9aea2 |
27-Apr-2016 |
Randy Pan <zpan@google.com> |
WifiConnectivityManager: PNO retry for low RSSI network Added an exponential back off retry mechanism for networks found by PNO scan but rejected by QNS due to their low RSSI values. Bug: 28402107 Change-Id: I8a69afb3d22fbd2f479073e6087893c24e5a5d39
ifiConnectivityManagerTest.java
|
2fc71b9d1958129e7694559edfe582662c5e794d |
30-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiLastResortWatchdog: update config if not null am: 91a8893f04 am: 89b847b4f7 am: ae42ed9f88 * commit 'ae42ed9f884acb7c20e4939f7084a619163c2d0d': WifiLastResortWatchdog: update config if not null Change-Id: I8a7405f1f3b436173c6a94c2c34781189104bf2d
|
91a8893f047b8a193e4516ab772b6f43882777f5 |
30-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiLastResortWatchdog: update config if not null When new scan results are processed, networks already stored as the available networks may have updated configs passed in, but they may also have null configs. The null configs should not be used to update the stored config. Added a check to determine if the passed in config is not null before the update. In addition, debugging output also reported the value of HasEverConnected as false for networks with a null config. This was updated to report null_config instead. Added tests covering config updates. Added tests for debugging output. BUG: 28451079 Change-Id: Iff9888ab87c61619b2f865516eca22d87eb4f4b8
ifiLastResortWatchdogTest.java
|
50abba06efa7834b5309df561375e4a2e2df630d |
29-Apr-2016 |
Randy Pan <zpan@google.com> |
Fix check on current connected/connecting network Keep track of the network BSSID of the last connection attempt. This BSSID is checked in case the phone is still in the process of connecting to that network. mWifiInfo is checked for the currently connected network. This is for the case that firmware performed roaming automatically. While there, addressed a checkstyle issue. Bug: 28462151 Change-Id: Ia9316048e0549036de1c20bf1f3099cfcda9a75e Test: WiFi unit tests
ifiConnectivityManagerTest.java
|
633bd71417e07ec466fac6354c8dfa4f50054cda |
28-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiLastResortWatchdog metrics" into nyc-dev am: ddf3afe am: 30a230f am: fb36ac0 * commit 'fb36ac06682b3771cba167f0e98e783d6f7032ad': WifiLastResortWatchdog metrics Change-Id: I9556fbb9602af6ab7288724ade68bd6d9433d91d
|
d9e3ab1bd8197d52d0cd8676a6ade5ffab160ff1 |
28-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge changes I91ad6127,I416bfd0e into nyc-dev am: 7883cf5 am: 9b6ca25 am: 8c9e301 * commit '8c9e301965aa473a4dd54d2b3a29de059534cb7b': WifiLastResortWatchdog trigger logic WifiLastResortWatchdog failure counting Change-Id: I486b0493535270f8dddf42110450a95d0a0b60ae
|
ddf3afe31f5e2174643e41943e9e9b881033981a |
28-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiLastResortWatchdog metrics" into nyc-dev
|
7883cf595742b2c9b1ccba223b45a5fcb6978ec9 |
27-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes I91ad6127,I416bfd0e into nyc-dev * changes: WifiLastResortWatchdog trigger logic WifiLastResortWatchdog failure counting
|
5f001750a0ce82a8b3a47ac566117d4de27f3e23 |
22-Apr-2016 |
Glen Kuhne <kuh@google.com> |
WifiLastResortWatchdog metrics Added logging of various metrics to the WifiLastResortWatchdog. These metrics count the number of times the Watchdog triggers, and stats counting the number of networks present at failure time for different failure types. BUG=27856474 Change-Id: If43836b1c33791fefb8000196b231c312161feef
ifiLastResortWatchdogTest.java
ifiMetricsTest.java
|
977bed8ae4ac3d69d190ead0470d58cd46f3a6a5 |
27-Apr-2016 |
Randy Pan <zpan@google.com> |
WifiConnectivityManager: Run AlarmManager on WifiStateMachine thread am: c8a21e4 am: fbd81b3 am: 72f0a16 * commit '72f0a165e03f4150577b658737bee5ead748c9c5': WifiConnectivityManager: Run AlarmManager on WifiStateMachine thread Change-Id: Ic2a0d85e96f17e722c54768caecd0ead7aafc145
|
83f2b8087178705445e4d1618eaac832f9c633f4 |
20-Apr-2016 |
Glen Kuhne <kuh@google.com> |
WifiLastResortWatchdog trigger logic Implemented trigger condition logic that is checked after a failure is counted. The condition takes into account: failure counts, wifi connected state, past connections to saved networks and whether the watchdog has fired since the wifi environment changed. Please note: This change only implements the logic for deciding when to trigger, not the trigger itself. BUG=27856709 Change-Id: I91ad6127a72ca24c72a5520348c4fff83f16b559
ifiLastResortWatchdogTest.java
|
c8a21e495dfaa5c44e87fda330621a1ed6c8aace |
26-Apr-2016 |
Randy Pan <zpan@google.com> |
WifiConnectivityManager: Run AlarmManager on WifiStateMachine thread With WifiScanner also running on the WifiStateMachine thread, WifiConnectivityManager is now exectued on a single thread context. While there, fixed a few checkstyle issues. Bug: 28369823 Change-Id: Ibf2b65be42d243deb61a68380a9011f4acc663b4
ifiConnectivityManagerTest.java
|
8fe3e3497daf08b71ffc8c33cb7b139df6667448 |
14-Apr-2016 |
Glen Kuhne <kuh@google.com> |
WifiLastResortWatchdog failure counting Implemented watchdog methods and calls to them from WifiStateMachine to count association rejection, authentication failure & dhcp failures. This will allow the watchdog to determine when all available networks are failing, and Wifi Framework has no other options, however this Cl does not implement that logic. BUG=27855690 BUG=27856523 Change-Id: I416bfd0e0340823de5ca04f2d040bff7a751b677
ifiLastResortWatchdogTest.java
ifiStateMachineTest.java
|
585b29d14b5cb9f9cf77b9896fc4261b928c1a48 |
26-Apr-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Do not use ANQP when Wifi is connecting or connected" into nyc-dev am: 9a65085 am: 363f869 am: 31a9e64 * commit '31a9e643eb89f6796564322c3aefeb42171244e2': Do not use ANQP when Wifi is connecting or connected Change-Id: I430215362b8e25a529d2bc89923af13b85a127dd
|
9a65085cf054575bdb7fbd6bce672bd902b633fc |
26-Apr-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Do not use ANQP when Wifi is connecting or connected" into nyc-dev
|
175087aa3f55685c040b8a9a82e3d2ce5d8c4a98 |
26-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix another potential crash when dumping WifiScanningService" into nyc-dev am: c7c241f am: 66dfb3b am: db25bc1 * commit 'db25bc1d5e40885c842d81cf04e2af8bae819d41': Fix another potential crash when dumping WifiScanningService Change-Id: Id87db295a92454abb06ec1f88860f2c4ff79cb0d
|
c7c241f0e59329c7c50101926fb9bde7ef6cca6f |
26-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix another potential crash when dumping WifiScanningService" into nyc-dev
|
1e5f0667515826cdc9c85a63a82c4c48cad446c2 |
22-Apr-2016 |
Ningyuan Wang <nywang@google.com> |
Do not use ANQP when Wifi is connecting or connected Sending ANQP request when wifi is connecting or connected may fail the connection. This CL fixes it by adding a parameter to WifiConfigManager ::updateSavedNetworkWithNewScanDetail(). This boolean value can indicate that we are connecting or connected. Link debouncing is also considered as connecting in this case. BUG=26494190 TEST=runtest frameworks-wifi Change-Id: Ic4dfd0c0ba0392da68b6705d18fb82d92f44e508
ifiQualifiedNetworkSelectorTest.java
|
d36b93b07ee7a3f6116cc7ae7a1a1e6b687a9d3c |
25-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Fix another potential crash when dumping WifiScanningService Also make logging in WifiScanningService not static and add some tests to verify some logging behavior. Fixes: 28274869 Change-Id: I879200778dcadb4e67d5a85d42442baf3ceef6c9
canner/WifiScanningServiceTest.java
|
ed7ffebbfd5475337ff99492d17b4786f2cc4d33 |
22-Apr-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I2bfae3a9,I3e247667 into nyc-dev am: c733860 am: 3c1b440 am: 5a36eb5 * commit '5a36eb543f973d5940eff6822cf73b79892bf648': WifiConnectivityManager: Unit tests for rate limit WifiConnectivityManager: Connection rate limit Change-Id: Ie4a167bac0d439a4c88989f218a36eef4697c96f
|
c7338605251ff62f6e21737b1cfca865ce6f3dd9 |
22-Apr-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I2bfae3a9,I3e247667 into nyc-dev * changes: WifiConnectivityManager: Unit tests for rate limit WifiConnectivityManager: Connection rate limit
|
1f6d70d4be8c60995932fd6134aed5dac1d099d1 |
22-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigStoreTest: fix comments Fix grammar and lack of punctuation in the comment describing TEST_WPA_SUPPLICANT_CONF. BUG: None Change-Id: Ic5cff6cd0be09412e569ebeb6a0e73519b29958b TEST: N/A
ifiConfigStoreTest.java
|
09b56b73458874ee0a3a9dad014f84ebf94bbfb5 |
22-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Remove mShowNetworks from WifiConfigManager and WifiConfigStore This static variable, which is set at compile-time for WifiConfigManager and WifiConfigStore, essentially does the same thing as sVDBG, which is to determine whether extra logging should be performed. Remove this field, and use sVDBG in its place. BUG: 28276051 Change-Id: If8ebf879453e278353aa4ecde7709e74a202ff5a TEST: 'runtest frameworks-wifi' passes.
ifiConfigStoreTest.java
|
fa2ac2743307559e8dcc5aaf54873536315fbe62 |
19-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiConnectivityManager: Unit tests for rate limit Adding unit tests to verify the connection attempt rate limiting functionality. Had to change the way system time is being fetched in WifiConnectivityManager to achieve this. BUG: 28242396 Change-Id: I2bfae3a9ea60cba1c3c1405dd5eb58208f12c2db TEST: Compiles & unit-test passes
ifiConnectivityManagerTest.java
ifiStateMachineTest.java
|
bf8d6c656a46c1be69a8879753434325e1aea27c |
21-Apr-2016 |
mukesh agrawal <quiche@google.com> |
Merge "WifiLogger: fix bug in HAL callback registration" into nyc-dev am: 0b775f0888 am: 03fcb9ea8c am: 3dc96a71c1 * commit '3dc96a71c1d227c4b208d3e9851873b9bbfd87fd': WifiLogger: fix bug in HAL callback registration Change-Id: Iaa2346ed1b7be5bef5e3675e62f053511448b2a4
|
0b775f08887d4d52e57a06c6a8680aa10a1c7bb8 |
21-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiLogger: fix bug in HAL callback registration" into nyc-dev
|
d2604bdc56148b6d4c00ba59ce35b9afabdca48b |
21-Apr-2016 |
Jeremy Joslin <jjoslin@google.com> |
Merge "Use external scores on saved networks if requested." into nyc-dev am: de68b30 am: 3f73c1c am: 1dc33e22be * commit '1dc33e22bea2ee4d3f7c6a013e7ec386c09219fa': Use external scores on saved networks if requested. Change-Id: I39e257728fc8bcb28344cf653567464178340bf5
|
03db1f27de6b3526d08d6aa64d459b5cf14e23ef |
21-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge changes Id4cc9c3c,Ice7dad5a into nyc-dev am: af8c59a am: 37eacf6 am: 7c63e8a009 * commit '7c63e8a009572f15cf05a012a0886459c7d37380': Log summarized packet fate reports Add FrameParser Change-Id: I9ded3cb4a2593c4301d125d6689796a7995dad38
|
956fd40b6145c4aba9160e10bfc1ea609873ce8d |
20-Apr-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: fix bug in HAL callback registration When we call WifiLogger.startLogging(), WifiLogger may or may not register callbacks for ring-buffer data delivery, and WiFi alerts. Whether or not WifiLogger registers the callbacks depends on whether or not the callbacks have already been reigstered. If WifiLogger has already registered callbacks, then a new call to startLogging() will skip callback registration. Now, it's not entirely clear if this already-registered check is necessary. It is certainly conceivable that the HAL implementations allow us to replace existing callbacks, without explicitly removing the existing callbacks first. But, the necessity of the check aside, the immediate problem is that the already-registered check fails to handle the case where an early registration failed. This CL revises the code, to handle this case. While there: - Fix some whitespace issues. - Remove unnecessary comment about the effects of resetLogHandler(). (Even if the comment _were_ necessary, it should be part of the Javadoc for resetLogHandler().) BUG=28274991 TEST=(new) unit tests, manual Manual test: - boot device $ adb shell dumpsys | grep -A1 'ring-buffer = driver_prints_rb' ring-buffer = driver_prints_rb <base64 encoded data...> Change-Id: I04e9bc1863aaf5bda00ca9cf8dc35696ae1e5f24
ifiLoggerTest.java
|
de68b305e798943904671f1dd56413b51fc479cb |
20-Apr-2016 |
Jeremy Joslin <jjoslin@google.com> |
Merge "Use external scores on saved networks if requested." into nyc-dev
|
af8c59a9cb6b9cd0151b3cfa5d4ea2c698fd7eda |
20-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge changes Id4cc9c3c,Ice7dad5a into nyc-dev * changes: Log summarized packet fate reports Add FrameParser
|
ea2048738be95ae9d5367a42ba798503a7039a6b |
15-Apr-2016 |
Jeremy Joslin <jjoslin@google.com> |
Use external scores on saved networks if requested. When a saved network has the useExternalScores boolean set to true then lump it in with the ephemeral networks when considering it as a candidate. Externally scored saved networks are only considered if a saved network candidate cannot be found. BUG: 25562019 Change-Id: Icdb7318103e14e518536c3179cd30c87cc2c3035
ifiQualifiedNetworkSelectorTest.java
|
d344e42fb2ea5cffbf826f346417621bfa8e022a |
19-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Update tests: verifyNoMoreInteractions on all interactions. am: ebefdf6a93 * commit 'ebefdf6a93bb136f42cf60ada3b24c8eaf902b46': [NAN] Update tests: verifyNoMoreInteractions on all interactions. Change-Id: I5db7c9b80254b554b34ade87d23d047582329eea
|
31262c175f68480065da93218099355e09c921ee |
19-Apr-2016 |
Daniel Erat <derat@google.com> |
Merge "Refactor SoftApManagerTest." into nyc-dev am: 6263b69 am: 0f4270f am: ce2ad88503 * commit 'ce2ad88503988ac654c2690ce12c90d120f0d09d': Refactor SoftApManagerTest. Change-Id: I13bb2d2a5f60746a325d0ac6b5e2278c21b413fd
|
6263b69c26fb5f03b6c995c8da81c9d69c2afe34 |
19-Apr-2016 |
Daniel Erat <derat@google.com> |
Merge "Refactor SoftApManagerTest." into nyc-dev
|
bdf4727f3c320c32745ba81c13f7e6cc76afe0ac |
19-Apr-2016 |
Robert Greenwalt <rgreenwalt@google.com> |
Merge "Fix unit test to check both ECM configs" into nyc-dev am: c91804e am: dffa617 am: 66af1f9 * commit '66af1f9ecaa3a0d67eeff7c6d42ff8c6665ac95d': Fix unit test to check both ECM configs Change-Id: I64d516f0407318ef2c0bbf9e8a92c083bcc8d587
|
ebefdf6a93bb136f42cf60ada3b24c8eaf902b46 |
19-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Update tests: verifyNoMoreInteractions on all interactions. Replaced the check on inOrder (which just verifies no more interactions in the sequence) with the general one (Mockito) which checks no more interactions globally (i.e. all interactions except those explicitly verified). Change-Id: I65e81ced6327720f0fa9b7f8dfe66703621b4175
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
c91804e4bbf96cdabacc48ab5db72958f63930e7 |
19-Apr-2016 |
Robert Greenwalt <rgreenwalt@google.com> |
Merge "Fix unit test to check both ECM configs" into nyc-dev
|
590f3fc2045389d5ef274c4b3bd6162d93b1a0ac |
13-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Log summarized packet fate reports When verbose debugging is not turned on, log summarized packet fate reports that include the timestamp, direction, fate, protocol, and type of the network frame, but nothing more. These one-line summaries will be logged to the system dump in table format. BUG: 28150622 TEST: 'runtest frameworks-wifi' passes. TEST: Manually trigger a WiFi connection failure (e.g. enter wrong password for a secured network), and examine the output of 'adb shell dumpsys' for the logged packet fate summaries. Change-Id: Id4cc9c3cdc85d209788e0eb1c51e5a47e04d0a6a
ifiLoggerTest.java
ifiNativeTest.java
|
49575227ad2068ae6a0667d4ea8359e6fed2b68d |
19-Apr-2016 |
Roshan Pius <rpius@google.com> |
QNS: Skip ephemeral networks deleted by user am: a6b66a4 am: 1178ef8 am: 5834303 * commit '583430310ed2feaab023b0b8a62cd5292039ab1f': QNS: Skip ephemeral networks deleted by user Change-Id: Ibec4bcea34729f169581c2ed86147cd5a823b1f8
|
2225e1eb8c27a2f0c8bb650d248cd2e041517941 |
18-Apr-2016 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix unit test to check both ECM configs We added a carrier config that dictates how ECM affects WiFi. Only old devices (before WiFi-calling) on VZW should turn off WiFi when in ECM/ECBM. Try both configs. bug:28244943 Change-Id: I4047565c00989b9bf02479c89b06041b7171cf44
ifiControllerTest.java
|
a6b66a48b231f5729b8015d3446feb4c2fa0a9d1 |
06-Apr-2016 |
Roshan Pius <rpius@google.com> |
QNS: Skip ephemeral networks deleted by user Skip ephemeral networks which were explicitly deleted by the user. This was missed in migration from autojoin to QNS. BUG: 28026676 Change-Id: Ib663183b29774b851e492ddd170c4b4bef03ae61 TEST: Compiles & unit-test passes
ifiQualifiedNetworkSelectorTest.java
|
be40e20f6995d9d11c8270502120a07785dde270 |
12-Apr-2016 |
Daniel Erat <derat@google.com> |
Refactor SoftApManagerTest. SoftApManagerTest formerly had tests that doubled as helper methods (sometimes even calling each other), making it difficult to simulate events occurring in different orders. This change creates a clearer distinction between helpers and tests, and also tries to classify helpers as either starting processes or verifying that the code under test did what was expected. Bug: 28107595 Change-Id: I743d8abbf73ffcd6988ef16d00286733355582ea
oftApManagerTest.java
|
70b4f7f1b8f57c5ae449dedb48edc0d07b6b5c41 |
14-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Add FrameParser Add FrameParser, a utility class that parses the contents of a network frame, and stores it in its public member fields. This utility will be used to print out summarized versions of the contents of packet fate report frames. In this initial implementation of FrameParser, we only parse out the information we are interested in printing (i.e. the most specific networking protocol, and the type of packet within this protocol). BUG: 28150622 Change-Id: Ice7dad5a7800736605043688955027893fadffc7 TEST: 'runtest frameworks-wifi -c \ com.android.server.wifi.util.FrameParserTest' passes.
til/FrameParserTest.java
|
e7671fbc6c2820b4a133baed75b481e68cfdeeca |
15-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Run WifiScanner on WifiStateMachine thread" into nyc-dev am: 6095c3e am: 411cf82 * commit '411cf8234d32b7fecb30216038838d27a36899e9': Run WifiScanner on WifiStateMachine thread Change-Id: Ia625838bce229257229593f9ae7cfb8f0cc59951
|
e6370a5c4ce17a56763162a1d0e3fddbc3d2182f |
15-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Created LastResortWatchdog class" into nyc-dev am: 33e62df am: 610cd91 * commit '610cd91e6b531742639d0f78dd55f22193d18007': Created LastResortWatchdog class Change-Id: Icb92f2023551b701cbc4279450f054b095bac14d
|
6095c3ef2eb6dbe7321a23b146997ad13875696d |
15-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Run WifiScanner on WifiStateMachine thread" into nyc-dev
|
33e62df1fd2d065f6d626d800350e2063978a0ab |
15-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Created LastResortWatchdog class" into nyc-dev
|
5ccc0a429dfea8ef452f8f63454b013983eb87fe |
07-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Run WifiScanner on WifiStateMachine thread Fixes: 27695292 Change-Id: I34f05fc532c48c7c3eaa735bc6ec95e7da2794aa
ifiStateMachineTest.java
|
cf48112a065c98c1369de2520e446289b2fbaa31 |
14-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Update hasEverConnected for wifi networks" into nyc-dev am: c38419b am: e59a3c3 * commit 'e59a3c361616f466350e94f9e87a1cba17a7d003': Update hasEverConnected for wifi networks Change-Id: Ia2886709aac502e7037207b2aec78bb5248f5448
|
71f6b09378a762aefb4269d7e42698df6cb4b0ab |
14-Apr-2016 |
Roshan Pius <rpius@google.com> |
Merge "BackgroundScanScheduler: Optimize buckets" into nyc-dev am: deaf58e am: c28f692 * commit 'c28f69227556b73871f112f73c13a3d0ac20593d': BackgroundScanScheduler: Optimize buckets Change-Id: Ic81539699e8981943b8ddedeee0ab844fb87401c
|
09abbe29be6e552a2531b0367bd6d29647d33767 |
30-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Created LastResortWatchdog class Created the WifiLastResortWatchdog class, that will handle restarting the wifi stack as a last resort when wifi is failing. Implemented the logic that tracks failure counts for all available networks, and the maintaining of that list of available networks. BUG=27856523 Change-Id: I8c944d033955ad7e5cc9484cce8f20cd3755312e
ifiConnectivityManagerTest.java
ifiLastResortWatchdogTest.java
ifiQualifiedNetworkSelectorTest.java
|
c38419bd95b0934cb1dfc6f1e1f29eca9929da8c |
14-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Update hasEverConnected for wifi networks" into nyc-dev
|
deaf58e6f2c5fb93543f3ead79c1f160cc2248a8 |
14-Apr-2016 |
Roshan Pius <rpius@google.com> |
Merge "BackgroundScanScheduler: Optimize buckets" into nyc-dev
|
e3cb83f0fe21e7ed6b412399a4f36090a2437e6a |
14-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes I8da6c1a4,I619b9c81,I22a753d7,If818bc37 into nyc-dev am: 2b7a4da am: 0c754f9 * commit '0c754f9f825e84ca5f88721b3d09072b20b71084': wifi service: nuke verbose logs on no-verbose wifi service: add support for driver dump HAL API WifiLogger: make firmware dump conditional on verbose wifi service: add utility to check printability Change-Id: I94a1e7ed243f4d1c7062d7326ca3682ff9ab81c7
|
2b7a4daa21df85f6a8ca2c4992ba53634071cac6 |
14-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes I8da6c1a4,I619b9c81,I22a753d7,If818bc37 into nyc-dev * changes: wifi service: nuke verbose logs on no-verbose wifi service: add support for driver dump HAL API WifiLogger: make firmware dump conditional on verbose wifi service: add utility to check printability
|
216eb45e7fb44a1ba8edc156d08b532a17219f66 |
08-Apr-2016 |
Roshan Pius <rpius@google.com> |
BackgroundScanScheduler: Optimize buckets Optimize the buckets to ensure that the same channel is not scheduled across multiple buckets. The settings are split if some of the channels in the setting is already being scanned in lower time period bucket. Also go thru each bucket and check if any of them don't fit into the bucket specifications, if yes create split buckets with the same time period. The split buckets will cumulatively contain all the channels needed to be scanned in the original buckets. BUG:28022609 Change-Id: Ie24bc3ec891965adad0ce6e855015be6ff5f0740 TEST: Compiles & unit-test passes
canner/BackgroundScanSchedulerTest.java
|
b340de73ee6aed3644165299101ad8bd568614db |
13-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiMetrics Extension" into nyc-dev am: 6e1539d am: fa5e753 * commit 'fa5e753854492126273cbfa62b5b71398b501ee9': WifiMetrics Extension Change-Id: I8d01268dc62bc04969bab8ce7a739b8fecd00aef
|
6e1539d01b5c05f790d803b98128f2a03b7e155f |
13-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiMetrics Extension" into nyc-dev
|
387b0f7f6310bd7f3cb1ad93685ac0e4cc9a1afd |
13-Apr-2016 |
Wei Wang <weiwa@google.com> |
Merge "Send failure reason from RttService." into nyc-dev am: 604285d am: 7c86978 * commit '7c86978d49bddd0f51079b885565e013a5d684e7': Send failure reason from RttService. Change-Id: I8910f1a4d5df09c8342fa00f170f7be6ca4a6592
|
cb030b85dfef3608723e53402a194f28637e8b98 |
13-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiConfigStore: read requirePMF config variable" into nyc-dev am: 49db6a0 am: a0acad9 * commit 'a0acad9a7056b099708069a29f9d5c4662fed965': WifiConfigStore: read requirePMF config variable Change-Id: I3c82a16242880397b42b6edf79521c355d53c0fe
|
ce003b812aead64dcb36647180991150021b24c1 |
12-Apr-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetrics Extension Extended the wifi metrics proto with the changes submitted logs/proto/wireless/android/play/playlog/connectivity/wifi.proto in CL/119321981. Added interfaces to WifiMetrics for incrementing the Connectivity Watchdog counts. The new Connectivity Watchdog metrics can be viewed in the 'WifiMetrics' section output by: adb shell dumpsys wifi BUG=27479439 Change-Id: I38f0a0ad7c7e0b4d3f0054c818d188ac1b171121
ifiMetricsTest.java
|
2ecb62764d26c3f0d95a9dc5c0a616af1b2bf8de |
12-Apr-2016 |
mukesh agrawal <quiche@google.com> |
wifi service: nuke verbose logs on no-verbose When a user disables verbose Wi-Fi logging, they probably don't want to retain firmware dumps or driver dumps. Similarly for packet fate logs (at least in raw form). Nuke such data on entering non-verbose mode, accordingly. While there: update reportConnectionFailure(), to use the recently added isVerboseLoggingEnabled() method. BUG=27554392 BUG=27528124 TEST=unit tests Change-Id: I8da6c1a4ab11e5f43b9e660fb64efed62e7cb9e3
ifiLoggerTest.java
|
d0cb2fae195ebb9f658095667f3c7b7b8d69a204 |
07-Apr-2016 |
mukesh agrawal <quiche@google.com> |
wifi service: add support for driver dump HAL API Implement the framework side of the driver dump HAL API: - When a bugreport is generated, ask the HAL to provide a driver memory dump. - When dumping a bugreport, include the driver memory dump (if available). Along the way: add a stub implementation of the driver dump HAL API, in case a particular vendor HAL does not implement the API. While there: declare the (existing) callback for firmware memory dumps as static. There's no need for on_firmware_memory_dump() to be visible outside of com_android_server_wifi_WifiNative.cpp. (Modules that need access to on_firmware_memory_dump() will be provided with a pointer; they don't need to reference the function by name.) BUG=27554392 TEST=unit tests TEST=bullhead: dumpsys + verify that driver dump is present TEST=angler: dumpsys + verify we properly handle unimplemented API Change-Id: I619b9c819a41a795c1119a8c2fa22447f0c44b56
ifiLoggerTest.java
ifiNativeTest.java
|
e31290e1c2eebf70c5ab22091a9520c7a001161e |
12-Apr-2016 |
mukesh agrawal <quiche@google.com> |
wifi service: add utility to check printability When logging data, it's useful to know whether or not the data is plain ASCII. (If so, we can print the data raw. Otherwise, we need to base64 encode the data.) To meet this need: add a utility method to check if a byte buffer contains (only) printable ASCII. BUG=27554392 TEST=unit tests Change-Id: If818bc378c6f146e7517f6ae4bb36b4b5bb8db48
til/StringUtilTest.java
|
604285d676078e9d0d5c7944770bdba36144363e |
13-Apr-2016 |
Wei Wang <weiwa@google.com> |
Merge "Send failure reason from RttService." into nyc-dev
|
93332917bf29ddbe853a495816e486150f49da40 |
29-Mar-2016 |
Rebecca Silberstein <silberst@google.com> |
Update hasEverConnected for wifi networks Set hasEverConnected to true for a network that completes a connection. Set hasEverConnected to false when a network config changes. Add tests to confirm hasEverConnected was added on a successful connection and cleared when connection or credential related configuration changes are made. Also removed some unused imports to fix checkstyle issues in WifiStateMachine and WifiConfigStore. BUG: 27856374 Change-Id: Ica633166892b4673683f21ff98e3ded1607dedec
ifiConfigManagerTest.java
ifiStateMachineTest.java
|
49db6a0f9104fea99013fa6cfe6fcf2bdc7aa661 |
12-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "WifiConfigStore: read requirePMF config variable" into nyc-dev
|
87a0e55e7d75e305e0fb50a0748d2002cd44c984 |
12-Apr-2016 |
Wei Wang <weiwa@google.com> |
Send failure reason from RttService. Also use CMD_OP_ENALBE_RESPONDER_FAILED when wifi is not available. Bug: 28143916 Change-Id: I8eb6139e3464989739783fd96637d549756aa2cf
ttServiceTest.java
|
eaea4b75c2ecfd192d5dcefcf67bb851bf031f5e |
12-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiConfigStore: read requirePMF config variable When saving a wifi configuration, we set the requirePMF variable from the config, but it is never read back. Add the getNetworkVariable call for pmfVarName and add a call to verify the attempt to read it back in the WifiConfigManagerTest. Additionally fixed a checkstyle issue for unused imports. BUG: 28088226 Change-Id: Ib7b2ba796e31ae57273c34b6845c218419125b72
ifiConfigManagerTest.java
|
294f19a8f103b017b13c93e1445d15a503e6d819 |
12-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge "Rename WifiConfigManager.getConfiguredNetworks()" into nyc-dev am: 7429ca2 am: 9969618 * commit '9969618bd41acafb73aba19d7c97d61c1e11bc54': Rename WifiConfigManager.getConfiguredNetworks() Change-Id: I557ef3db27e729ea0104fa2ff8905f47eddb9647
|
7429ca2593265cc1b97fb0d616ef3c07364b2931 |
12-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge "Rename WifiConfigManager.getConfiguredNetworks()" into nyc-dev
|
cf0a149d5e46692ba7ab2ceb84ff96a8dabf1b2c |
12-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Move WifiScanner related code to scanner package" into nyc-dev am: b0af0c3 am: 33f52d4 * commit '33f52d4de5e3be37ac4f5179e8b10b38569d7201': Move WifiScanner related code to scanner package Change-Id: Ifc97492627181df0a3a8445cce58cae4ff903e4c
|
a8367288377cbaed6371256ca837b7aa22280706 |
11-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Move WifiScanner related code to scanner package Change-Id: I73d01fe4d0de99a4e9758353cacf1d7a790cf040
aseWifiScannerImplTest.java
alWifiScannerTest.java
ockResources.java
canTestUtil.java
upplicantPnoScannerTest.java
upplicantWifiScannerTest.java
ifiScannerTest.java
ifiScanningServiceTest.java
canner/BaseWifiScannerImplTest.java
canner/HalWifiScannerTest.java
canner/SupplicantPnoScannerTest.java
canner/SupplicantWifiScannerTest.java
canner/WifiScanningServiceTest.java
|
f8e4fe0d80dbfab52010d4bf39f4a37da43fd993 |
11-Apr-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Fix test failure when running all Wi-Fi tests."
|
aec985350d1e536bee841a8f30178edfedb0eba7 |
11-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiStateMachine: reduce number of LogRecords" into nyc-dev am: 492900e am: 42bc12b * commit '42bc12bef4e6706d8aa30bb3638034a389db5dd8': WifiStateMachine: reduce number of LogRecords Change-Id: I84d520f0c50f8f1e7451320dc867d470f0810a12
|
60969bf2c849011fb585cf6dc914dbd779dfb8cf |
11-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Rename WifiConfigManager.getConfiguredNetworks() Rename WifiConfigManager.getConfiguredNetworks() and related methods to WifiConfigManager.getSavedNetworks, since it better reflects what this method does (i.e. get all configured networks except ephemeral networks). While there, add comments for some previously undocumented helper methods. BUG: 28088229 Change-Id: I30e144b46277605f5847371d9e65b70306013cf5 TEST: 'runtest frameworks-wifi' passes.
ifiConfigManagerTest.java
ifiQualifiedNetworkSelectorTest.java
|
492900e5895d4480292d5f7518d109e6b3b9fb47 |
11-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiStateMachine: reduce number of LogRecords" into nyc-dev
|
cf2c37cff48a96fe221121dfe6a0360a54ed9ebb |
06-Apr-2016 |
mukesh agrawal <quiche@google.com> |
WifiStateMachine: reduce number of LogRecords Allowing 3000 LogRecords uses too much memory (we've seen >1 MB in some cases). Lower this limit to 100 records, as it was before. To facilitate debugging issues that happen overnight, allow the user to opt-in to a larger log record buffer. To do so, the user should "enable wi-fi verbose logging" under developer options. BUG=27504679 TEST=unit tests Change-Id: Iee983e3c815bef1a9e05f7085147bc73c79753f6
ifiStateMachineTest.java
|
b02e38b8009ce20c166b5a743dfb3401f9ec2caa |
11-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix test failure when running all Wi-Fi tests. Failure due to other tests installing a mock WifiNative. Solution was to install one as well - and then modify it as needed. Bug: 28090066 Change-Id: I89d4f44afc527ff4c7233228022e10cd45f866c4
alMockUtils.java
|
dbe7e254416b4bff224adf200900cef2ec306da7 |
11-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Fix test failure when running all Wi-Fi tests. [DO NOT MERGE] Failure due to other tests installing a mock WifiNative. Solution was to install one as well - and then modify it as needed. Bug: 28090066 Change-Id: Id59bf90b6ea311ecf3f18ef6fb3cdc3edd91d802
alMockUtils.java
|
851bbb0f02caf04ff58f639e3bb257dfdbf437ec |
11-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge changes I468f7425,I649dca1b,Ic7f97157,I06a8be88 into nyc-dev am: a88d1b2 am: 0fbbc50 * commit '0fbbc50a2deaeb48787c422b21cdba9d09d0c465': WifiConfigManager: remove WifiStateMachine field Move wnmFrameReceived() from WifiConfigManager to WifiStateMachine Move mActiveScanDetail from WifiStateMachine to WifiConfigManager Remove getCurrentUserId() and getCurrentUserProfiles() from ...WifiStateMachine Change-Id: I2f6f3d853a4d5858712510ea247a707aefe4d979
|
a88d1b207c401c4510e635156442973a8e30ac95 |
11-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge changes I468f7425,I649dca1b,Ic7f97157,I06a8be88 into nyc-dev * changes: WifiConfigManager: remove WifiStateMachine field Move wnmFrameReceived() from WifiConfigManager to WifiStateMachine Move mActiveScanDetail from WifiStateMachine to WifiConfigManager Remove getCurrentUserId() and getCurrentUserProfiles() from ...WifiStateMachine
|
623a3837b91d39a19a7e0ac82e54c7060a4bdc78 |
10-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add TIMEOUT support to handle HAL non-response to commands. am: 4375ab0 * commit '4375ab0647dd81529c5e247cfaa3c1ffdbd8d6cd': [NAN] Add TIMEOUT support to handle HAL non-response to commands. Change-Id: I46fa81c7bd71dd89d374cbfeab4a5325415f4b75
|
ffa4db910f805cf90f64083b7ddd5872d917027c |
10-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Fix unit tests after rebase of scan worksource CL am: e78a18c am: 237aef9 * commit '237aef9f5beb510674a8efce75c66c6baa5d8e68': Fix unit tests after rebase of scan worksource CL Change-Id: If45ba4d4554f3baaea1200d97dfd8e3c1584c434
|
087a993973580d4ed1c98e6d4a74d70643d4bb39 |
10-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Added buffering of filtered ScanDetails to QNS" into nyc-dev am: f1c2e8c am: 499274c * commit '499274cf55170303f018d9ee9770c708585775d9': Added buffering of filtered ScanDetails to QNS Change-Id: I595831c3b84f606b0ebee56aae427a28565a521f
|
5c3491c8a26cc99d264bcb09ef647aa7b0a15bc8 |
10-Apr-2016 |
Etan Cohen <etancohen@google.com> |
Merge "Update mock AlarmManager to handle setExact method." into nyc-dev am: c3086fb am: 500eaae * commit '500eaae31b2f681a3bca03ecf3ed032e1118fefb': Update mock AlarmManager to handle setExact method. Change-Id: If69edf46ae2aff129bbef8e2979e61852317af70
|
a92878de9ead6fe3df4f3e8c84a1e9ab15dac4fc |
10-Apr-2016 |
Randy Pan <zpan@google.com> |
Merge "Build ESS into the GScan result\'s Capabilities" into nyc-dev am: 1a572a2 am: 61122b8 * commit '61122b844a8b19d6e4ac71cf8a4376a00fa52211': Build ESS into the GScan result's Capabilities Change-Id: I8bce7439abe0c6fdc75baa8a208943806a6fe1f2
|
e78a18cf874b4d9bb5db2ef7804b8ac576e56489 |
09-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Fix unit tests after rebase of scan worksource CL Fixes: 28096237 Change-Id: I1f9d9284f3b2a09892d2d1d1ff4a3faccb54d616
ifiConnectivityManagerTest.java
|
f1c2e8cc3728f65aee24905ad5c44e84891f0693 |
08-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Added buffering of filtered ScanDetails to QNS" into nyc-dev
|
c3086fbd364c81933a0d4401c962ab5f4519adc6 |
08-Apr-2016 |
Etan Cohen <etancohen@google.com> |
Merge "Update mock AlarmManager to handle setExact method." into nyc-dev
|
4375ab0647dd81529c5e247cfaa3c1ffdbd8d6cd |
08-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add TIMEOUT support to handle HAL non-response to commands. Bug: 28021222 Change-Id: Iaf4c5e48b166092515025bb62f7882c729c13b4e
an/WifiNanStateManagerTest.java
|
1a572a27cffc6ee853f9b6a40d83eef18963e2b0 |
08-Apr-2016 |
Randy Pan <zpan@google.com> |
Merge "Build ESS into the GScan result's Capabilities" into nyc-dev
|
0efd09fea566f4445807b6aff60b18e127e72d38 |
31-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Added buffering of filtered ScanDetails to QNS Added logic to buffer the scanDetails considered by QualifiedNetworkSelection as potential candidates (has a saved config, and signal strength over threshold). And a getter to access these. BUG=27932650 Change-Id: I4e04194c944f7d8a18719d7dfc7b66cbf42eb5af
ifiQualifiedNetworkSelectorTest.java
|
11d58263dc941e2ec644ea89de83725d3e1256e1 |
08-Apr-2016 |
Etan Cohen <etancohen@google.com> |
Update mock AlarmManager to handle setExact method. Required in order to correctly handle testing with WakeupMessage. (cherry-pick of 2bcc7eb8b06fe2da4853e0c350bc10e2689440dc) Change-Id: I1cd4d4841da0b9af8dfe9a3ad47c173516ef5162
ockAlarmManager.java
|
2494581a19c37677e5442423ea95b579ca225ac4 |
08-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes from topic \'ring-buffer-size\' into nyc-dev am: 94e8f71 am: 42518ef * commit '42518efc7e79c39dd09c614475bc3591e11e1192': wifi service: use large ringbuffers in verbose mode ByteArrayRingBuffer: add ability to resize buffer Change-Id: I461940e39ab8b0ea8e1067baddf6e1240b8128c9
|
2bcc7eb8b06fe2da4853e0c350bc10e2689440dc |
08-Apr-2016 |
Etan Cohen <etancohen@google.com> |
Update mock AlarmManager to handle setExact method. [DO NOT MERGE] Required in order to correctly handle testing with WakeupMessage. Change-Id: I9027b02ae6260aa6f9bc664b0563becd1081ee14
ockAlarmManager.java
|
b57dcb26a4abd697be100d4765f63a7a78bd5371 |
08-Apr-2016 |
Etan Cohen <etancohen@google.com> |
Revert "Update mock AlarmManager to handle setExact method. [DO NOT MERGE]" This reverts commit d6186e122589825b2d128595366f030744984d63. Change-Id: I30451a145867d60e20c0f0a3a98e1f0a0556cd7c
ockAlarmManager.java
an/WifiNanStateManagerTest.java
|
636554df55de123eea8d5951137cb477ccfd17a3 |
08-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add master switch to enable/disable usage of NAN APIs. am: 1b1f9b6 * commit '1b1f9b669d91b62c2b8c5572d4de87ef3fd79e42': [NAN] Add master switch to enable/disable usage of NAN APIs. Change-Id: I4639a8d69b3a3989f1af041194b24bb452ac1005
|
d6186e122589825b2d128595366f030744984d63 |
07-Apr-2016 |
Etan Cohen <etancohen@google.com> |
Update mock AlarmManager to handle setExact method. [DO NOT MERGE] Required in order to correctly handle testing with WakeupMessage. Change-Id: Ibe8ae3aa97485135d6102ea349c83f503144df77
ockAlarmManager.java
an/WifiNanStateManagerTest.java
|
b82264059ad93fee766b35c6bd2a100d02c6225e |
07-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[mmwd only] Update mock AlarmManager per nyc-dev changes [DO NOT MERGE] A partial cherry-pick of ag/890810 (9d0c558cab7c80a572a32ae70d501df15367fd5f) to grab changes to the mock AlarmManager. Change-Id: I57efd6c82bcfd4b5006effe82038e6be47550075
ockAlarmManager.java
upplicantWifiScannerTest.java
|
1b1f9b669d91b62c2b8c5572d4de87ef3fd79e42 |
23-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add master switch to enable/disable usage of NAN APIs. Add master switch to enable/disable usage of NAN. Tie into Wi-Fi state machine (to enable/disable based on Wi-Fi enable/disable). Dispatch broadcasts when NAN status changes. Bug: 27698011 Bug: 27692829 Change-Id: Ic4789ba7afd280ebcaa6d6bfdc5917ef0875983b
an/WifiNanHalMock.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
ac69b83c9cafb9a839b578c3b5b71eb3439244ad |
08-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: remove WifiStateMachine field Remove the WifiStateMachine field from WifiConfigManager, since the latter no longer calls methods of the former. Also, change calls to the WifiConfigManager constructors to accomodate this change. BUG: 27405059 Change-Id: I468f74259d45d9a1a61e00b987533eaa66846024 TEST: 'runtest frameworks-wifi' succeeds.
ifiConfigManagerTest.java
ifiStateMachineTest.java
|
94e8f71b884e11abb8c46e69467af96f17d6423e |
08-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes from topic 'ring-buffer-size' into nyc-dev * changes: wifi service: use large ringbuffers in verbose mode ByteArrayRingBuffer: add ability to resize buffer
|
06636d2de935ad5d2e8fb6483c406fe922c75ff2 |
05-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Remove getCurrentUserId() and getCurrentUserProfiles() from ...WifiStateMachine Move getCurrentUserId() from WifiStateMachine to WifiConfigManager, and remove WifiStateMachine.getCurrentUserProfiles(), so that WifiConfigManager no longer makes calls to WifiStateMachine to perform these two tasks. Achieve this by moving the bookkeeping for the current user ID from WifiStateMachine to WifiConfigManager. BUG: 27405059 Change-Id: I06a8be88f24fd81cbfe785c4304883ddc44658f8 TEST: 'runtest frameworks-wifi' succeeds.
ifiConfigManagerTest.java
ifiStateMachineTest.java
|
3f2640db2e06e3de63a118315986f44c7902611c |
08-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: rename member and constant fields am: 73a52d3 am: 5469f10 * commit '5469f10052a89cc66c35aebfe56e492dad846b80': WifiConfigManager: rename member and constant fields Change-Id: I65eeff470db9c62d4af80a2c9094442dfdcaae05
|
8af9613d942cec54b516e47f600e9467bcd99d21 |
08-Apr-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Re-factor connect/config flow am: 9864521 * commit '9864521b92325bad1d20510d99d4e967b6f3d4eb': [NAN] Re-factor connect/config flow Change-Id: I492fee202b76e033579be8805bf34fdbb0273c07
|
9864521b92325bad1d20510d99d4e967b6f3d4eb |
18-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Re-factor connect/config flow Simplify flow: configure and connect in a single call. Prevent info leak: no longer provide configuration back to caller. Bug: 27617910 Bug: 27553226 Bug: 27579450 Change-Id: I8ed378a28a0794940583b868c8d7ac05967c77d0
an/WifiNanHalMock.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
73a52d3336a40903965b946f6d3624a223ad5aac |
07-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: rename member and constant fields Rename fields in WifiConfigManager to properly reflect that they are members (m* prefix), and constants (all caps with underscores). To accomodate this change, also modify uses of these fields outside WifiConfigManager (e.g. in WifiStateMachine). Also: - Remove default values given to WifiConfigManager member fields that are initialized in its constructor, since the initalization renders the default values useless. - Remove member fields and constants that are unused. - Replace the "*Milli" suffix on fields with "Ms". - Re-ordered fields in a logical manner (i.e. static, public, then private). - Fixed checkstyle issues. BUG: 27300099 Change-Id: Ifaef76bc04960f12f09267a581b9a02da7c5ab5c TEST: 'runtest frameworks-wifi' passes. TEST: Checkstyle returns only missing javadoc errors.
ifiConfigManagerTest.java
ifiConnectivityManagerTest.java
ifiQualifiedNetworkSelectorTest.java
|
d604bbd63d620244ef43408de10f65ead01d5026 |
06-Apr-2016 |
mukesh agrawal <quiche@google.com> |
wifi service: use large ringbuffers in verbose mode When the user has chosen to enable wi-fi verbose logging, we'd like to use larger ring buffers. Make it so. BUG=27578082 TEST=unit tests Change-Id: I1e2447df2beda455cea37072e91fa0aac338bb3f
ifiLoggerTest.java
|
ca0bac5826ab430d1b765b201a609f7bc38401ee |
06-Apr-2016 |
mukesh agrawal <quiche@google.com> |
ByteArrayRingBuffer: add ability to resize buffer When verbose mode is enabled, we'd like to use larger ring buffers. To support this, add the ability to resize a ByteArrayRingBuffer. BUG=27578082 TEST=unit tests Change-Id: I976a2ec05ade3f5c2c0fe5dc50cbb391534ab241
yteArrayRingBufferTest.java
|
9b5773d2805e8c6141ca75de272921a84941546b |
07-Apr-2016 |
Randy Pan <zpan@google.com> |
Build ESS into the GScan result's Capabilities Obtain this piece of information from the beacon and build it into the Capabilities string. Bug: 27810218 Change-Id: Iffa57f6e1c0997e5705da779a3693de9e3108e37
til/InformationElementUtilTest.java
|
70f32d0249be377aebb0c83c18204eddc2187295 |
07-Apr-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiNative: Remove PnoMonitor" into nyc-dev am: 1d540db am: 3dd14e7 * commit '3dd14e7a9b4101101dd590823f36a8ea4c0a4c64': WifiNative: Remove PnoMonitor Change-Id: I8edeb0a4c623be57ce9dcbe8bbf11c2e3b1718e2
|
1d540dbd9ddeafc27dda51e26b0303df4a66914d |
07-Apr-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiNative: Remove PnoMonitor" into nyc-dev
|
8ba794562167643688ee38352f98345403fa22c8 |
07-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiNative: Remove PnoMonitor Remove PNOMonitor from WifiNative since it has been refactored out into SupplicantScanner now. BUG: 27677054 Change-Id: I99850a1e59bfe0ee21c674467ae7480df85e76ff
upplicantPnoScannerTest.java
ifiStateMachineTest.java
|
5e9384ae178a370bad96f60d5dd4cfe3ef59ffe7 |
07-Apr-2016 |
Junda Liu <junda@google.com> |
Merge "Update WifiStateMachineTest to new sim authentication API." into nyc-dev am: 7284b9d am: 9fc1d04 * commit '9fc1d04954913e7d8b7222f73ec15ba1cf10f95d': Update WifiStateMachineTest to new sim authentication API. Change-Id: I08fea4fd9cea434dcfddd7bcca961f5351ff9a3e
|
7284b9d30f671657dee2f232e01dad46259764b2 |
07-Apr-2016 |
Junda Liu <junda@google.com> |
Merge "Update WifiStateMachineTest to new sim authentication API." into nyc-dev
|
d6d22df90639c55a15aa6f1b4c5516269689376a |
06-Apr-2016 |
Junda Liu <junda@google.com> |
Update WifiStateMachineTest to new sim authentication API. Old getIccSimChallengeResponse has been deprecated. So the mock is updated to the new getIccAuthentication API. Bug: b/28021965 Change-Id: I03098b614ae74b8d91527a78c004d3c7fd0e3760
ifiStateMachineTest.java
|
48833dfaec6eaddc68f8c04a7654c6d6fcc95ca2 |
07-Apr-2016 |
Randy Pan <zpan@google.com> |
Merge "Wifi Connectivity Manager" into nyc-dev am: 2a9dc4d am: c2f5f1d * commit 'c2f5f1df32a91363883eb3659a8f747623bacd04': Wifi Connectivity Manager Change-Id: I04dd595df394e65234e8fceb3f1c08165cd75139
|
2a9dc4d883484e006054433426be91c6e675754c |
07-Apr-2016 |
Randy Pan <zpan@google.com> |
Merge "Wifi Connectivity Manager" into nyc-dev
|
84d962ec8f487f824214744498bba505a6db0c59 |
11-Feb-2016 |
Randy Pan <zpan@google.com> |
Wifi Connectivity Manager Created a submodule which manages all the WiFi connectivity related operations. It starts a scan when screen turns on/off, WiFI gets connected/disconnected or on demand. The scan results are passed to QNS for it to recommend a network to connect to. Clean up the relevant logic from WifiStateMachine. Bug: 26666366 Bug: 27227489 Bug: 27677391 Bug: 27364917 Change-Id: I65405506ff55940d0b23f1407e476bff6fce47fa
ifiConnectivityManagerTest.java
|
cb8ab3d0a7ba84b54624cd37e59960c8e2f2990a |
06-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes from topic \'packet-fate\' into nyc-dev am: d1bd533 am: 1244678 * commit '124467850d7cd146f212f6c99e86f58bddd32f76': WifiStateMachine: report failures to WifiLogger WifiLogger: add support for packet fate WifiNative: flesh out packet fate implementation WifiNative C++: add support for packet fate WifiNative: add infrastructure for packet fates jni_helper: add createObjectWithArgs Change-Id: Ic6a1d29001b5e832056fe71d3c80d59ecc5c2c81
|
d1bd53369b88d91968c19dd0cc288d1d2db8b3c6 |
06-Apr-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge changes from topic 'packet-fate' into nyc-dev * changes: WifiStateMachine: report failures to WifiLogger WifiLogger: add support for packet fate WifiNative: flesh out packet fate implementation WifiNative C++: add support for packet fate WifiNative: add infrastructure for packet fates jni_helper: add createObjectWithArgs
|
ed510cfa64decd813f76faf9bb1b0a70b74b9898 |
01-Apr-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: add support for packet fate 1) Provide a method for other parts of wifi service to report connection failures to WifiLogger. 2) Start packet fate monitoring if/when we start logging in verbose mode. 3) Fetch packet fates on failure, as appropriate. 4) Include packet fate information in dumps. While there: a) Change visibility of the single-arg dump() method in BaseWifiLogger. (Only derived classes should be calling that overload.) b) Disambiguate the call from WifiLogger.dump() to BaseWifiLogger.dump(), by adding |super| to the expression. c) Remove unused WifiNative.WIFI_ERROR_UNINITIALIZED BUG=27528124 TEST=unit tests Change-Id: Ica85ce39e79983194c3930ef54c29ac07454faed
ifiLoggerTest.java
|
0fcb06473cbe2824e401a80c0520bb1c14ed8f41 |
01-Apr-2016 |
mukesh agrawal <quiche@google.com> |
WifiNative: flesh out packet fate implementation 1) Add methods to invoke the packet fate HAL functions. 2) Add methods to dump a packet fate to a string. BUG=27528124 TEST=unit tests Change-Id: I3897687099ab19f5cf24a0821cbc6600ea12e52a
ifiNativeTest.java
|
09b1d0786d05436d524d7556c269e665a0962ee6 |
01-Apr-2016 |
mukesh agrawal <quiche@google.com> |
WifiNative: add infrastructure for packet fates 1) Define the Java classes that the C++ code will copy packet fate information into. 2) Define the constants that will be used to represent fates. (This is needed to write readable tests for item 1.) 3) Declare the native methods on the Java side. (This is required for registerNatives to continue to work, after we add the new methods on the C++ side.) BUG=27528124 TEST=unit tests Change-Id: If0930f645f95e60c8cb471b10fcb740273159e05
ifiNativeTest.java
|
7148d5eff20fcd61543583564acd93f23edc0706 |
31-Mar-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigStore: use configKey instead of SSID as unique ID in ...readNetworkVariablesFromSupplicantFile am: 2fc3d4d am: 1c0c5c8 * commit '1c0c5c8edfdb792c8312eb71609896bdeabeee6d': WifiConfigStore: use configKey instead of SSID as unique ID in ...readNetworkVariablesFromSupplicantFile Change-Id: Ib16c777f56af14600cb4205ee3d3ca2b34aba81f
|
2fc3d4dcabb6ddcd72dc335d908aa192c38c5e5f |
26-Mar-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigStore: use configKey instead of SSID as unique ID in ...readNetworkVariablesFromSupplicantFile Use the configKey stored in the id_str field of wpa_supplicant.conf, rather than SSID, to uniquely identify networks in readNetworkVariablesFromSupplicantFile. Also: - Remove WifiConfigStore.readNetworkVariableFromSupplicantFile(), and move the logic in that method into WifiConfigManager.readNetworkVariableFromSupplicantFile(). - Add a helper method, WifiConfigStore.readNetworkVariablesFromReader(), so that we can inject a test supplicant config file during testing. - Add WifiConfigStoreTest.java, which currently only contains unit tests for WifiConfigStore.readNetworkVariablesFromSupplicantFile(). BUG: 26733972 Change-Id: Ice2dcdae0c2e95b4df6459f75f3a98df30290256 TEST: 'runtest frameworks-wifi' succeeds.
ifiConfigStoreTest.java
|
8264a3a74e2527a1bb042ab3c03a80aa0ebdca1f |
31-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix WifiStateMachineTests after adding WorkSource scan argument" into nyc-dev am: 6df7fec am: 73b549a * commit '73b549aa69697839414801d465b1e46ca3715200': Fix WifiStateMachineTests after adding WorkSource scan argument Change-Id: I2ea3d4bf8af78b2cfbc238f5c07dc6ad7f7959a7
|
6df7fec4f26e87bbebc0d0857a3ac858e4b879e6 |
31-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix WifiStateMachineTests after adding WorkSource scan argument" into nyc-dev
|
4d95a93e4ccb297bac6362c572c742eed2357160 |
31-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I18879cb1,Ic84bc39f,I8704da8f into nyc-dev am: 6874d75 am: 6082598 * commit '6082598f5f422242cb40895c2c24def8ee59ae3a': WifiScanningServiceImpl: Create PNO state machine WifiScanningService: Create internal clientInfo WifiScanningService: Cleanup ClientInfo Change-Id: I8c056819da86f2fb5f83bf76cabbf5d613cffce2
|
74524b55c7aa23d79d0aa5513b5626209482aa8b |
31-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Fix WifiStateMachineTests after adding WorkSource scan argument Fixes: 27942752 Change-Id: I6994dea18151060f568b1d5211d8049989eecb53
ifiStateMachineTest.java
|
c343aec32e1d3fe320eb97c527b0bcfb2d334e45 |
29-Mar-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningServiceImpl: Create PNO state machine Adding a PNO state machine to fetch full scan results for all types of PNO when reporting events back to the client. BUG: 27886011 TEST: Compiles & unit-test passes TEST: Made changes in WifiConnectivityManager to use the scan results to auto-connect. Change-Id: I18879cb1bf82226e329c6076e8443e0986ddbe27
canResults.java
canTestUtil.java
ifiScanningServiceTest.java
|
dbe792f38f143d513730d4fd3412cd97f6971bcf |
31-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add handling of incoming WorkSource for scans" into nyc-dev am: 0e776dd am: e6f5201 * commit 'e6f520193c5653a61108fe6334d573df5a1ef7ad': Add handling of incoming WorkSource for scans Change-Id: Iaa1c82cf57ff99c3d37fe59c4e406a16e73126d2
|
0e776ddb6de62e76c54ff32148d9d170172be308 |
30-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add handling of incoming WorkSource for scans" into nyc-dev
|
6b43f9ce53eac298459cab810812d1067d2b719a |
30-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Use buckets scanned field when delivering scan results" into nyc-dev am: c71fb29 am: 71ea88e * commit '71ea88e0cb9fc80c6fa2cdda46c14bbbd8d6294a': Use buckets scanned field when delivering scan results Change-Id: Ia66fe98137ede3d61046f156ea15a51ad05a442c
|
c71fb2904e5588444ff2cbab6273661921675339 |
30-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Use buckets scanned field when delivering scan results" into nyc-dev
|
0ea5062316013cd4173faf16c2a0f3ecd1b9ed43 |
30-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Add handling of incoming WorkSource for scans Bug: 27903217 Change-Id: Ic3693e083c3ac7369465bfd6cbd4dadebe03f907
ifiScanningServiceTest.java
|
c4f23cbd6de85cbffcd91b398e51eff106ef08d4 |
26-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Use buckets scanned field when delivering scan results Fixes: 27506257 Change-Id: I224b78a89dfde54ef4f3dae37f1bb10d2a12b78e
canTestUtil.java
canner/ScanScheduleUtilFilterTest.java
|
173295d91c7e9596c1dc92a9f18671401ab97407 |
29-Mar-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Add Pno Debouncer am: e7ba296 am: 271f987 * commit '271f987a1f9dd41446ab61fc4f497629604d5e0e': SupplicantWifiScannerImpl: Add Pno Debouncer Change-Id: I04f6d2e09d226d628d22fd852522ae3bfe82a2da
|
e7ba2963bedf426a1d8ba09ab535260ef364512b |
23-Mar-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Add Pno Debouncer Add the PNO debouncer class for PNO scan request debouncing. We debounce all PNO scan/stop requests for 5 seconds. Pno pause bypasses this debounce logic so that we can immediately schedule the single/background scan after stopping the PNO scan. BUG: 27677054 Change-Id: Ibafeb936e30c9c6c1b23a39d9ed08b23a5f72030 TEST: Compiles & unit test passes
upplicantPnoScannerTest.java
|
d9f185e759f0040686630958796fa6c41a8e51a8 |
25-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Pass buckets scanned from HAL to framework" into nyc-dev am: aa575d8 am: cd112c7 * commit 'cd112c733f574ee94d6007f57614f928dc8bd811': Pass buckets scanned from HAL to framework
|
918b16e8f269b2c69c241062d85c3641e958c3dd |
25-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add scanning into WifiMetrics" into nyc-dev am: b9cc92f am: 78c4410 * commit '78c4410c0d636e8f23fe512feae900bd7c55722b': Add scanning into WifiMetrics
|
aa575d82dcc01cb213402923796c870ecdd45b28 |
25-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Pass buckets scanned from HAL to framework" into nyc-dev
|
b9cc92f3325f8bb08bf7eb1e1fd25d40cfe43604 |
25-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add scanning into WifiMetrics" into nyc-dev
|
c2c2648141e6190d85601ee8a6a1d0034e7ff927 |
11-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Add scanning into WifiMetrics Added calls to WifiMetrics to increment various scanning metrics, in the Single & Background - ScanStateMachine's. Added expected metrics value checks to existing unit tests. BUG=25691077 Change-Id: I7c335d829876f6b31220571bb4330b7b30f4cc0e
ifiMetricsTest.java
ifiScanningServiceTest.java
|
9fd1cc506f98eb606709ff82f502b1e151e0ecac |
24-Mar-2016 |
Jeremy Joslin <jjoslin@google.com> |
Merge "Allow ephemeral WiFi conns to be marked as metered" into nyc-dev am: cba3f6e am: fee9af2 * commit 'fee9af2bd939c7b42dcce055bfa24bf988665c3e': Allow ephemeral WiFi conns to be marked as metered
|
cba3f6e3c7466c8cc76d5642c6f90970f42b314f |
24-Mar-2016 |
Jeremy Joslin <jjoslin@google.com> |
Merge "Allow ephemeral WiFi conns to be marked as metered" into nyc-dev
|
3ab8ec5cfa986b07e1c948af0f45bd333edef24c |
21-Mar-2016 |
Jeremy Joslin <jjoslin@google.com> |
Allow ephemeral WiFi conns to be marked as metered Pass through the metered hint from the score cache to the WifiStateMachine when making an ephemeral connection. The NetworkPolicyManagerService already looks for the hint after every NETWORK_STATE_CHANGED_ACTION and takes the correct action. BUG: 27120794 Change-Id: I3d4a5030724e8e0fb1084c67d74fb768bd9ad2b5
ifiQualifiedNetworkSelectorTest.java
|
6aef164ec62a76ab952e7a29975793bb6254411d |
23-Mar-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiNotificationController: Take a looper" into nyc-dev am: 3b47940 am: cb8438f * commit 'cb8438fc62f455f6ad6b6011b1a715f862ba312a': WifiNotificationController: Take a looper
|
3b479405c66fd65c2ac9d88dcdae936cf8477e3a |
23-Mar-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiNotificationController: Take a looper" into nyc-dev
|
3aa29358465d613a13b7edb2d5c5a55d058d2f4a |
23-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Move scan filtering to a common utility class am: 4e54617 am: 94b3a7d * commit '94b3a7d53d72c0b38ed91d17cdbab226ce6a880f': Move scan filtering to a common utility class
|
e55ab63e8ec536c7286febce32d2ce2d91eadd98 |
23-Mar-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "fix WifiNative unit test failure" into nyc-dev am: 361c13b am: 68452fb * commit '68452fb63ffb9a86ee10657ff991a2f9ca8ad1c7': fix WifiNative unit test failure
|
34264d1e6beb9c092a0490667eb9f0a7f6793ca2 |
23-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ia15900d4,I4e82007c into nyc-dev am: adad2ba am: 76737b5 * commit '76737b547623189b168bfef71edf22e1c1ff269d': WifiScanningServiceImpl: Sw PNO scans WifiScanningServiceImpl: Refactor background scans
|
c9e6069eb941d282af213dc20b171877db6b567b |
23-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Pass buckets scanned from HAL to framework Bug: 27506257 Change-Id: Ia57327e265317fd0d1ce09d238d9c1e9c55bf2b1
aseWifiScannerImplTest.java
upplicantWifiScannerTest.java
|
4e54617758f86acef751bc8588257a58ed985b0f |
22-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Move scan filtering to a common utility class This way single scans don't depend on the background scan scheduler Bug: 27506257 Change-Id: I7130302b364cc86e3a8f1cd0a168e0068c29953b
canner/BackgroundScanSchedulerFilterTest.java
canner/ScanScheduleUtilFilterTest.java
|
361c13b35fb024d87176e423619e3bfe8e6bdc38 |
23-Mar-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "fix WifiNative unit test failure" into nyc-dev
|
adad2ba52d44119ad20efffb04ec0a70459e7113 |
23-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ia15900d4,I4e82007c into nyc-dev * changes: WifiScanningServiceImpl: Sw PNO scans WifiScanningServiceImpl: Refactor background scans
|
40abf54c81c5624641543d86e1d7ab21ebe30175 |
08-Mar-2016 |
Paul Stewart <pstew@google.com> |
WifiNotificationController: Take a looper This CL adds a Looper argument to the WifiNotificationController constructor, so its Handler can be initialized with a specific looper instead of relying on the default. Bug: 27545448 Test: runtest frameworks-wifi \ -c 'com.android.server.wifi.WifiNotificationControllerTest' \ -m 'verifyNotificationDisplayed' Change-Id: I33fb221ddfead0b24d98bd23c92c0226ff3c6a1d
ifiNotificationControllerTest.java
|
754267d3fd20438d771570e923f6a219783dc50c |
22-Mar-2016 |
Ningyuan Wang <nywang@google.com> |
fix WifiNative unit test failure This fixes the WifiNative unit test failure by calling constructor with correct parameters. Bug: 27796813 TEST=compile, unittests Change-Id: Ic22fee5fa28b7730018f09e234207e0e29e3ddaa
ifiNativeTest.java
|
ece2028c7c47d3bf1955615aae880b0962eea344 |
22-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure to cleanup when timing out from a single scan" into nyc-dev am: 24fd519 am: e5db370 * commit 'e5db37064ee246809ab3e381555b5b7a08b3d023': Make sure to cleanup when timing out from a single scan
|
6c5018cef1eb7acbcfa7fc6c9b7c018bab7ba7ba |
18-Mar-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningServiceImpl: Sw PNO scans Moving the implementation of SW PNO scans from SupplicantScanner to WifiScanningServiceImpl. WifiScanningServiceImpl checks is HW PNO is supported by the scanner implementation: a) if false it manually schedules a background scan and converts all background scan results to PNO results. b) if true, it lets the scanner implementation handle the PNO scans. BUG: 27742823 Change-Id: Ia15900d402ba005d11251931b39bf30b8d21a02c TEST: Compiles & unit-test passes
upplicantPnoScannerTest.java
|
9d0c558cab7c80a572a32ae70d501df15367fd5f |
21-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Make sure to cleanup when timing out from a single scan Also fix general failure cases Bug: 26095183 Change-Id: I88433ff77c0adb4073350ae7a4746b5ee4da5033
aseWifiScannerImplTest.java
ockAlarmManager.java
upplicantWifiScannerTest.java
|
1407831b9aeb6740ce3cd1167c22f837609e4ce7 |
18-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Remove SupplicantStateTracker dependency on WSM" into nyc-dev am: b96a269 am: 72e0073 * commit '72e0073c1ee57e6c0c25572de904bad35f34abc0': Remove SupplicantStateTracker dependency on WSM
|
b96a2696678dedf52bdaf97f41c7d8b76dfa561e |
18-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Remove SupplicantStateTracker dependency on WSM" into nyc-dev
|
cf9e3df60fbb4d77883c55b8054f9efb0869f834 |
18-Mar-2016 |
Roshan Pius <rpius@google.com> |
SupplicantScannerImpl: Support connected PNO scan am: dcd877d am: 6747921 * commit '67479212b3536bd12f8e895f52c59653bd400832': SupplicantScannerImpl: Support connected PNO scan
|
54c9cf8d299b99f8b999bc2cf4adcda1eba81469 |
18-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Remove SupplicantStateTracker dependency on WSM Removed the SST's dependency on WifiStateMachine, since it doesn't use it for anything. BUG=27725788 Change-Id: I209056f8ecc9fe73d184718b86a0b8442e3950ea
ifiStateMachineTest.java
|
dcd877d6c143db557884993ea437e2a432cb0ba3 |
17-Mar-2016 |
Roshan Pius <rpius@google.com> |
SupplicantScannerImpl: Support connected PNO scan wpa_supplicant does not support PNO scans when it is in connected state. So, we need to revert to using background scans for devices which do not support ePNO. So, connected PNO becomes a SW PNO scan regardless of whether the device supports HW PNO scan or not. BUG: 27525899 Change-Id: I84fb8f5028403dae00302940e9d71ca1c0603de3 TEST: Compiles & unit-test passes
upplicantPnoScannerTest.java
|
a90722a6bef2da2a9a43ddf2f408ec5511d0c949 |
18-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Merge MultiClientScheduler and WifiScanningScheduler" into nyc-dev am: 71466f8 am: 3021ad5 * commit '3021ad52a7554234140d0cc46a02ef33bfa4ada5': Merge MultiClientScheduler and WifiScanningScheduler
|
71466f8b3cccbc46abad4f5b2d710fb22ce886cb |
18-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Merge MultiClientScheduler and WifiScanningScheduler" into nyc-dev
|
a807bac48d54542546dcab15d360ad7252f43174 |
17-Mar-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN] Refactor session lifecycle to clarify API & eliminate race conditions"
|
f2f83f8fb54b91cc35a06b40b5c8b74a0db3f784 |
17-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Various WifiMetrics fixes" into nyc-dev am: dc69106 am: 131e928 * commit '131e928a397d1b3da50cc94639169b994e31940f': Various WifiMetrics fixes
|
1fc4fa7c94b8bb10332999b14720048338120e78 |
17-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I05684ce1,Icb1037ed,I1acf704a into nyc-dev am: 2d211b1 am: 9de5d13 * commit '9de5d13c151c90675e9085ac3b9dcf457dd05707': SupplicantWifiScannerImpl: Sw Pno scans HalWifiScanner: Create SupplicantScanner delegate SupplicantWifiScannerImpl: Report Pno events
|
09551f29fea16468de9d2291500199c88e0fe599 |
17-Mar-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Wifi country code refactoring" into nyc-dev am: 4668a26 am: f0270b4 * commit 'f0270b49fb39f1b10a4427fc2876c7706bdf616e': Wifi country code refactoring
|
9ddbdfc5110ceb8269bc511284b35261097add47 |
15-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Refactor session lifecycle to clarify API & eliminate race conditions (cherry-pick of 12a73dbc70d547ea87048209fd84d9dace01be17) Bug: 27257965 Change-Id: I405de3d18187770d97171d636abddfe4e1be4510
an/TlvBufferUtilsTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
95984d1af44a00183a4b0e0ed61417583096ff90 |
17-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge MultiClientScheduler and WifiScanningScheduler And move them to the com.android.server.wifi.scanner package Change-Id: Iceac6823f118017f577e316d8eacc77c3445b2a7
ultiClientSchedulerFilterTest.java
ultiClientSchedulerTest.java
ifiScanningServiceTest.java
canner/BackgroundScanSchedulerFilterTest.java
canner/BackgroundScanSchedulerTest.java
|
dc69106e28e9a6755b1454467f65761f7cbb59c9 |
17-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Various WifiMetrics fixes" into nyc-dev
|
96cdfc0acafef88832515ecc52c01638c1493211 |
11-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Various WifiMetrics fixes -WifiMetrics now determines if repeated 'startConnectionEvent' are for the same attempt, and adds the failure code FAILURE_REDUNDANT_CONNECTION_ATTEMPT to designate this. -Added end condition for roaming timeouts -Modifed the naming of all failures to be less cryptic -level_2_failure_code will now be used to log all failure reasons (making ConnectivityLevelFailure a redundant subset) -Started using ScanResult frequency instead of WifiConfiguration for 'ChannelInfo' -Added AuthType checking on 'startConnectionEvent' (Also doing it when we receive scanResults after associating with the BSSID) -Refactored all of the config stuff out of startConnectionEvent() into updateFromWifiConfiguration BUG=25691077 Change-Id: Id1de2d5dea88611f81e58fed71e6b4e0ee88159a
ifiMetricsTest.java
|
2d211b1809081bce900a5cbb890aca7c93d252c3 |
17-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes I05684ce1,Icb1037ed,I1acf704a into nyc-dev * changes: SupplicantWifiScannerImpl: Sw Pno scans HalWifiScanner: Create SupplicantScanner delegate SupplicantWifiScannerImpl: Report Pno events
|
4668a26b24f37d6f10f3d94c3674efde0efacb72 |
17-Mar-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Wifi country code refactoring" into nyc-dev
|
62bc101940ae1f5e60c4d8861a149b900dbf5e5c |
16-Mar-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Sw Pno scans If the hardware does not support PNO scans via wpa_supplicant, we need to perform a periodic background scan. Add a new flag called swPnoScan to take care of this and use the flag hwPnoScan for HW based PNO scans. All SW pno scans will be accompanied by a background scan request. BUG: 27525899 Change-Id: I05684ce1ec9081ee2c5935c4d5dae2c0175bb592 TEST: Compiles & unit-test passes cherry-picked from: https://partner-android-review.googlesource.com/#/c/540348/10
aseWifiScannerImplTest.java
upplicantPnoScannerTest.java
|
2332e9ea1b691fa0ea3a340feec159f2040aa6ca |
14-Mar-2016 |
Roshan Pius <rpius@google.com> |
HalWifiScanner: Create SupplicantScanner delegate We need to use supplicant scans for all single shot scans and for PNO scans (on some devices like shamu) even when HAL based gscan is supported. So, create a supplicant scanner delegate in HalScannerImpl to use for single scans & Pno scans (if device does not support ePno). This helps us get rid of all supplicant scan code currently present in HalWifiScannerImpl. While there, Moved all the methods in both Hal & Supplicant ScannerImpl to be in the same order. BUG: 27600810 Change-Id: Icb1037ed3599db2a9770802dd78edfb885bde452 TEST: Compiles & unit-test passes cherry-picked from: https://partner-android-review.googlesource.com/#/c/542729/
alWifiScannerTest.java
|
d02611ce4158fda6c2d14ee13ad7f9553f416d21 |
02-Mar-2016 |
Ningyuan Wang <nywang@google.com> |
Wifi country code refactoring This CL pulls coutry code logic into one class. This also refactors all the existing country code logic. We do not set country code for P2p interface now because this is redundant. wpa_supplicant will route all the request to the real interface. Some initial unittests are added. Bug: 27477896 TEST: compile, runtest frameworks-wifi, manually tested with an angler phone Change-Id: I870c3ad615a1f9bfb3fb40b149b9ca71dc850cdd
ifiCountryCodeTest.java
ifiStateMachineTest.java
|
38fc82e105158beace360a688caf26758947db1f |
11-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Removed NAN event registration - dispatch all callbacks. All events dispatched by default - there's no reason to ignore events. The specific identity changed events for which there are use-cases to get or ignore is controlled through a new configuration. (cherry-pick of c9ac67224dcf7a41692256c338188206f4f29f5c) Bug: 27607613 Change-Id: I877d4e31fa0633c073163e3a35d8a700c1eb2f36
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
d4ee6c664a89759b6f72b6532cbd754760e3aaf0 |
11-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Consolidate publish/subscribe callback sets into single set Merge onPublishFail & onSubscribeFail into onSessionConfigFail. Merge onPublishTerminated & onSubscribeTerminated into onSessionTerminated. A session is either publish or subscribe (never the two) so redundant. (cherry-pick of 9cf66a4b8313520a6967eb5491459e7bebd3a718) Bug: 27610709 Change-Id: If2e1533e203a7cd1697c2bfcfb0a141f87d9af29
an/WifiNanStateManagerTest.java
|
12a73dbc70d547ea87048209fd84d9dace01be17 |
15-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Refactor session lifecycle to clarify API & eliminate race conditions [DO NOT MERGE] Bug: 27257965 Change-Id: I405de3d18187770d97171d636abddfe4e1be4510
an/TlvBufferUtilsTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
445d7d4361edb66a0bf065342b07f84605881bb9 |
11-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Replace session callback configuration control Controlling session callback invocation: - Remove event registration - Add configurations to the subset (actually just termination) which can be configured through the HAL (cherry-pick of 951fbeb8c17867bcc748d7334d2f4f4c1a7fd97d) Bug: 27607613 Change-Id: I040ab7902156605c3244515c81fa9435f1adaedc
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
1c1461957fdfcf496f68dbf19d6f5490227f25a2 |
09-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Export match style configuration to API. Enables configuration of match notification: either single (only first notification in a string of identical matches) or all (get every single match). (cherry-pick of f769489d5ce91599c619d2433438f7e36965d231) Bug: 27568256 Change-Id: Iab1c85df51fb63f540216d653882f1e0ece0262c
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
|
5c8009222755072153214b39f0da82c814b56c04 |
15-Mar-2016 |
Wei Wang <weiwa@google.com> |
Merge "Fix native crash caused by null rtt params." into nyc-dev am: 7462584f8a am: 45c2360aa1 * commit '45c2360aa1f1bee969160341d3447b4f0a95ee1a': Fix native crash caused by null rtt params.
|
c9ac67224dcf7a41692256c338188206f4f29f5c |
11-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Removed NAN event registration - dispatch all callbacks. [DO NOT MERGE] All events dispatched by default - there's no reason to ignore events. The specific identity changed events for which there are use-cases to get or ignore is controlled through a new configuration. Bug: 27607613 Change-Id: I877d4e31fa0633c073163e3a35d8a700c1eb2f36
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
9cf66a4b8313520a6967eb5491459e7bebd3a718 |
11-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Consolidate publish/subscribe callback sets into single set [DO NOT MERGE] Merge onPublishFail & onSubscribeFail into onSessionConfigFail. Merge onPublishTerminated & onSubscribeTerminated into onSessionTerminated. A session is either publish or subscribe (never the two) so redundant. Bug: 27610709 Change-Id: If2e1533e203a7cd1697c2bfcfb0a141f87d9af29
an/WifiNanStateManagerTest.java
|
951fbeb8c17867bcc748d7334d2f4f4c1a7fd97d |
11-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Replace session callback configuration control [DO NOT MERGE] Controlling session callback invocation: - Remove event registration - Add configurations to the subset (actually just termination) which can be configured through the HAL Bug: 27607613 Change-Id: I040ab7902156605c3244515c81fa9435f1adaedc
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
f769489d5ce91599c619d2433438f7e36965d231 |
09-Mar-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Export match style configuration to API. [DO NOT MERGE] Enables configuration of match notification: either single (only first notification in a string of identical matches) or all (get every single match). Bug: 27568256 Change-Id: Iab1c85df51fb63f540216d653882f1e0ece0262c
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
|
202fdf96e1e0191be37a916d97116df35fe3cbfc |
22-Feb-2016 |
Wei Wang <weiwa@google.com> |
Fix native crash caused by null rtt params. Bug:27227320 Change-Id: I822045f2dd35aeb824cea0d0c0791480e0d1b80a
ttManagerTest.java
ttServiceTest.java
|
4a90bc70520e800548fb42dae0fc72f8a1017015 |
12-Mar-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of ea91131081 to nyc-dev am: ef7480f78d am: fb5487500b * commit 'fb5487500b842fee1e61d815287090c39a70dbb9': Created WifiInjector, dependency injector for wifi
|
ef7480f78d994c786248a1ee8a601abf39aec696 |
11-Mar-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of ea91131081 to nyc-dev Change-Id: I0662ccf4f80c3b0b48314aef3a5807ce27a13659
|
637a86ffb3a036a4f26a471378b57d8817f35c25 |
08-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Created WifiInjector, dependency injector for wifi Created a new class WifiInjector, a lazy singleton for dependency injection. Initial use case was accessing WifiMetrics from within WifiScanningService, will allow for easy mocking, and is a potential candidate to replace the mess that is FrameworkFacade. BUG=27550630 BUG=25691077 Change-Id: I0b1a99f718912fe6ee9a1453ff275b5dfedce6fd
ifiStateMachineTest.java
|
26551d57c537f59047285fba0d92a8c093f1c30f |
11-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ib8c98c06,I0731192d,I7d03b43b into mm-wireless-dev am: b92d0785aa am: 1c3442a6f4 am: c7b73b5961 * commit 'c7b73b5961a336895bead99353e0deeb05aa259a': WifiScanningServiceImpl: Add PNO active scans map Pause PNO scans for single scan Refactor WifiScanner support for oneshot scans
|
1c3442a6f4f3966b25ab35b70e806e34b0674092 |
11-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ib8c98c06,I0731192d,I7d03b43b into mm-wireless-dev am: b92d0785aa * commit 'b92d0785aa1bb8ac828b067ce1c938f447c8ac7a': WifiScanningServiceImpl: Add PNO active scans map Pause PNO scans for single scan Refactor WifiScanner support for oneshot scans
|
b92d0785aa1bb8ac828b067ce1c938f447c8ac7a |
11-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ib8c98c06,I0731192d,I7d03b43b into mm-wireless-dev * changes: WifiScanningServiceImpl: Add PNO active scans map Pause PNO scans for single scan Refactor WifiScanner support for oneshot scans
|
60f5a3a0089b8d3ef8e768167b6ba962b1f7b2dd |
10-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure all tests are annotated with a size" into mm-wireless-dev am: 2686a7163f am: d8a7585df4 am: bc2148044f * commit 'bc2148044fdcad1efa1798483c845c5e5595be9c': Make sure all tests are annotated with a size
|
d8a7585df4bc589d3905631a3dc0990731fe0086 |
10-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure all tests are annotated with a size" into mm-wireless-dev am: 2686a7163f * commit '2686a7163fb2e06fa2228d93204c27d3b41b6a27': Make sure all tests are annotated with a size
|
2686a7163fb2e06fa2228d93204c27d3b41b6a27 |
10-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure all tests are annotated with a size" into mm-wireless-dev
|
28345f81bf3f95e25946d398d594f39141c41442 |
05-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Make sure all tests are annotated with a size Bug: 27428545 Change-Id: I98e9c28a22190b6455bb74bbee54f558f6574612
ifiMetricsTest.java
canner/ChannelHelperTest.java
canner/KnownBandsChannelHelperTest.java
canner/NoBandChannelHelperTest.java
|
31373e77d50e1fe143c6bf4c7e53bdb42eb0cfd9 |
10-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge changes from topic \'wifi_scanner_hidden_network_ids\' into mm-wireless-dev am: 01fb5b27ba am: cc1d874560 am: 0bdf9a794d * commit '0bdf9a794d9d2b9e7fec906a34ffcfaf13316a13': Allow multiple Handlers to be registered for a WifiMonitor event WifiScanner: Changes to support hidden Network Ids
|
cc1d874560e4c0ca157bfda5d12df33a4f50fc11 |
10-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge changes from topic \'wifi_scanner_hidden_network_ids\' into mm-wireless-dev am: 01fb5b27ba * commit '01fb5b27ba32f180080f2b2b12adbc5c803611ce': Allow multiple Handlers to be registered for a WifiMonitor event WifiScanner: Changes to support hidden Network Ids
|
8adb4e72f58e3e25918f33e0b2687e6acc14c47d |
04-Nov-2015 |
Mitchell Wills <mwills@google.com> |
Refactor WifiScanner support for oneshot scans Seperate oneshot scans so they are no longer implemented using background scans and make WifiStateMachine use WifiScanner for single scans. This changes requires a few parts: 1. Implement single scan logic in WifiScanningServiceImpl for merging and executing scan requests using the single scan native interface. 2. Writing tests for the new code in 1 3. Make supplicant start scans by using WifiScanner and when it recieves callbacks dispatch scan complete/failure messages. 4. Enable HalWifiScannerImpl and SupplicantWifiScannerImpl to listen to supplicant scan events now that WifiStateMachine does not. Bug: 26525037 Bug: 26895774 Change-Id: I7d03b43bbd2be396b3c772bc4bae681acce8eb7b
aseWifiScannerImplTest.java
alWifiScannerTest.java
ultiClientSchedulerTest.java
canResults.java
canTestUtil.java
upplicantWifiScannerTest.java
ifiScanningServiceTest.java
ifiStateMachineTest.java
|
d74ff28cdb01d3f711e0b0f0e99e51fdb221eaf2 |
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
WifiScanner: Changes to support hidden Network Ids Add the required plumbing to support scanning for hidden networks via wpa_supplicant. Added a test case to verify that the network ID list is being sent as expected. BUG: 27503786 Change-Id: I2d1ef74494080e01248ae8aad5081c7608fc0e81 TEST: Compiles & unit-test passes
aseWifiScannerImplTest.java
canTestUtil.java
upplicantWifiScannerTest.java
|
fdee6b2d5aa98d80df5ef8c003e621b9a515c434 |
08-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add Supported Rates and 802.11 Mode detection" into mm-wireless-dev am: 9947ed6dfd am: 838e8915ad am: 71a41d9d8e * commit '71a41d9d8eab6b09c34573e194821716f6e648cd': Add Supported Rates and 802.11 Mode detection
|
838e8915ad29a380254f4bb77293badb949b4b1b |
08-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add Supported Rates and 802.11 Mode detection" into mm-wireless-dev am: 9947ed6dfd * commit '9947ed6dfddffe1746d98bf01499a81d7c3de123': Add Supported Rates and 802.11 Mode detection
|
9947ed6dfddffe1746d98bf01499a81d7c3de123 |
08-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add Supported Rates and 802.11 Mode detection" into mm-wireless-dev
|
140ac080785fe7e058386ad0a9085a5786ecc9f1 |
07-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Correctly filter results by time from supplicant in Hal scan impl am: 2e0b845b65 am: 699238e909 am: cdeb741a31 * commit 'cdeb741a31499a77e3e9041d4f4c3d80f1ce4bc7': Correctly filter results by time from supplicant in Hal scan impl
|
699238e909ebaee0b7f759c4d04efabe75813789 |
07-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Correctly filter results by time from supplicant in Hal scan impl am: 2e0b845b65 * commit '2e0b845b65b2e2151cddbdafb90bd0f744b10654': Correctly filter results by time from supplicant in Hal scan impl
|
2e0b845b65b2e2151cddbdafb90bd0f744b10654 |
05-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Correctly filter results by time from supplicant in Hal scan impl Bug: 27358828 Change-Id: Ic9ddfa02a0e3c282871ddfa3347312a5917dbec0
aseWifiScannerImplTest.java
canResults.java
|
e6778405d285bbce70c3be739f747a977b3e6fc3 |
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Change PNO network list type" into mm-wireless-dev am: 3a2b55ba28 am: 0a21d6c371 am: 87ea419c12 * commit '87ea419c12108fd472f4e0c75dfc365271cf7a09': WifiConfigManager: Change PNO network list type
|
0a21d6c371532509c566ddf1cc485f99f1abdb57 |
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Change PNO network list type" into mm-wireless-dev am: 3a2b55ba28 * commit '3a2b55ba283dec0d3e3421bdd27568ad0644bd7e': WifiConfigManager: Change PNO network list type
|
3a2b55ba283dec0d3e3421bdd27568ad0644bd7e |
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Change PNO network list type" into mm-wireless-dev
|
f5cc6a0c7ede374b33de1cf5156bf149e2e76c13 |
01-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Add Supported Rates and 802.11 Mode detection Added an Information Element parser for Supported and Extended Supported Rates. Uses this information and other IEs to determine the 802.11 Mode (a/b/g/n/ac) being used by APs, stores it in their scan results. Modified WifiMetrics to receive and store this metric from a ScanDetail Added calls to WifiMetrics from WifiStateMachine to give it a ScanDetail Minor fix to WifiStateMachine's tracking of TargetNetworkId, which it was clearing incorrectly on NETWORK_DISCONNECTION_EVENT BUG=25691077 BUG=27446779 Change-Id: I63af5911916bfec87628aeb4e1ed4f9138acfafa
ifiMetricsTest.java
|
568c786954cd395f5d413edb7beeec5c5128897d |
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "PNO: Changes in Native for new interface" into mm-wireless-dev am: ffe70f78d0 am: f38ce9684d am: 20c355e0df * commit '20c355e0df441475f7d932312758a01bd51a6ca5': PNO: Changes in Native for new interface
|
f38ce9684dc1e5eeae48ef45a75d10c6d738046f |
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "PNO: Changes in Native for new interface" into mm-wireless-dev am: ffe70f78d0 * commit 'ffe70f78d0aca71e9c5af82f11472d422f14b301': PNO: Changes in Native for new interface
|
ffe70f78d0aca71e9c5af82f11472d422f14b301 |
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "PNO: Changes in Native for new interface" into mm-wireless-dev
|
8c0c14b2c98bc26e6a09f66cff1244f0a30f44cb |
05-Mar-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Change PNO network list type Change the PNO network list type from WifiNative to WifiScanner type since that is the new public interface for starting PNO scans. 1. Remove the PnoNetwork constructore from WifiNative 2. Create a temporary conversion function in WifiStateMachine to convert to WifiNative.PnoNetwork. BUG: 27167559 Change-Id: I7c845321eab20f822f5d7d5231294181343ef2be TEST: Compiles & unit-test passes
ifiConfigManagerTest.java
|
9bd01d6cb65ea96d6729d35a1fc43bb2bb40e3bd |
02-Mar-2016 |
Roshan Pius <rpius@google.com> |
PNO: Changes in Native for new interface Changes in WifiNative to accomodate the new Scanner based PNO interface. Currently, we're just setting the |wifi_epno_network| list member in |wifi_epno_params| structure. All the other values are being ignored. 1. Change the native |android_net_wifi_setPnoListNative| to accept the PNO settings parameter instead of directly accepting the list of networks. 2. Changes in WifiNative to send down the new |PnoSettings| structure down to the native code instead of directly sending the list. a. Keep the existing interface from |WifiStateMachine| which accepts a |PnoNetwork| list and converts it into |PnoSettings| structure. This interface will be removed once all the new Scanner based interface plumbing is complete. 3. Add a separate native API to reset PNO list. While there, Remove redundant "Wifi" prefix from Pno class names. BUG: 27167559 Change-Id: I78d35c20b4bb7a12c51d0c2cc609fb7bcb5ae516 TEST: Compiles & unit-test passes
ifiConfigManagerTest.java
|
3c96cecaaad336a6fe5c9cd9bcede2d1ea5eb458 |
05-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "Send list of hidden networkID for supplicant scan" into mm-wireless-dev am: 6b0c636d0a am: b51e54f903 am: d6fe1a1c07 * commit 'd6fe1a1c07f1a533aa09e75e6dd60ae3a5978245': Send list of hidden networkID for supplicant scan
|
b51e54f90373ec8cfcf57cc67f495dc831d8f5b4 |
05-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "Send list of hidden networkID for supplicant scan" into mm-wireless-dev am: 6b0c636d0a * commit '6b0c636d0a97e6163a99a8fbf5c199998c1be770': Send list of hidden networkID for supplicant scan
|
3d995b8a3a508e957e3dac2e508956020cd9abfe |
04-Mar-2016 |
Roshan Pius <rpius@google.com> |
Send list of hidden networkID for supplicant scan Since we disable all the networks in wpa_supplicant (as of b/26984166), we need to explicitly send the list of hidden ssid's to scan. 1. Use the 'scan_id' override to send a lit of hidden networkId's to supplicant. 2. Add a new set of hidden networkId's in ConfigurationMap which can be used as parameter for the above. 3. Add a test to start scan with a hidden network added. BUG: 27471630 TEST: Verfied that we auto-connect to a hidden ssid. TEST: `runtest frameworks-wifi` Change-Id: I8aea09d1ec2f24310959a558e8b12d31a26d179c
aseWifiScannerImplTest.java
upplicantWifiScannerTest.java
ifiStateMachineTest.java
|
7bd38da9974af5fea81aab4bf4438299d6158aaa |
03-Mar-2016 |
mukesh agrawal <quiche@google.com> |
Merge "make ringbuffer size configurable" into mm-wireless-dev am: 3e3ad8dfb0 am: 90ee0a6ad4 am: 148fedcb2c * commit '148fedcb2c75f2ca1cc2b48faf6d849b27b3cfb6': make ringbuffer size configurable
|
047e255bad31d118d029c1f68d6907f5c45c7bcb |
03-Mar-2016 |
mukesh agrawal <quiche@google.com> |
Merge "WifiLogger: manage ring buffers by bytes" into mm-wireless-dev am: 84f4423601 am: 762e4ccc42 am: aa5f8521a1 * commit 'aa5f8521a1343b94dbcb32a3e364d46b4e44425a': WifiLogger: manage ring buffers by bytes
|
90ee0a6ad4ce8ac3280fd07a0b148d82678fc6a0 |
03-Mar-2016 |
mukesh agrawal <quiche@google.com> |
Merge "make ringbuffer size configurable" into mm-wireless-dev am: 3e3ad8dfb0 * commit '3e3ad8dfb0eddfc98ed21ce51a96a28924fe8c14': make ringbuffer size configurable
|
762e4ccc42148315dbd4c4c6aae14e0c45d78588 |
03-Mar-2016 |
mukesh agrawal <quiche@google.com> |
Merge "WifiLogger: manage ring buffers by bytes" into mm-wireless-dev am: 84f4423601 * commit '84f44236019a1ae41739984c12eccdd14ca97e3f': WifiLogger: manage ring buffers by bytes
|
3c0fe5c2b6e79ae1e8c9b4112c861f5260baa579 |
03-Mar-2016 |
mukesh agrawal <quiche@google.com> |
Merge "add ByteArrayRingBuffer" into mm-wireless-dev am: 00ed767aee am: f19b893245 am: 0bdb1b2754 * commit '0bdb1b27548885e2ed92c576a813daa05e0f893e': add ByteArrayRingBuffer
|
f19b89324583cf23eb5cea9b5f94810a5a5825c5 |
03-Mar-2016 |
mukesh agrawal <quiche@google.com> |
Merge "add ByteArrayRingBuffer" into mm-wireless-dev am: 00ed767aee * commit '00ed767aee2b1eaef10b849a27f1ce6bda43f83f': add ByteArrayRingBuffer
|
3e3ad8dfb0eddfc98ed21ce51a96a28924fe8c14 |
03-Mar-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "make ringbuffer size configurable" into mm-wireless-dev
|
84f44236019a1ae41739984c12eccdd14ca97e3f |
03-Mar-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiLogger: manage ring buffers by bytes" into mm-wireless-dev
|
00ed767aee2b1eaef10b849a27f1ce6bda43f83f |
03-Mar-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "add ByteArrayRingBuffer" into mm-wireless-dev
|
38929c9501f3e7a327f925736f211a8267d37813 |
03-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Update scan band channels when needed" into mm-wireless-dev am: 25d25de358 am: c42e29a329 am: 0e24f5eb5c * commit '0e24f5eb5cdc4d09d1a3a0cc2c9f2fccd88831ad': Update scan band channels when needed
|
c42e29a329fabcbcb9868f4966c106f865a199e8 |
03-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Update scan band channels when needed" into mm-wireless-dev am: 25d25de358 * commit '25d25de358ece952e16420a89dd899ebed46f77a': Update scan band channels when needed
|
fef1495477206d4cabfc95325d71de41790cf9cc |
02-Mar-2016 |
mukesh agrawal <quiche@google.com> |
make ringbuffer size configurable Different builds of the WiFi service may want to have different ring buffer sizes. To allow for this, have the WiFi service consult Resources for the size to use. BUG=27264418 TEST=unit tests TEST=add Log call in WSM ctor, verify size from values.xml was used Change-Id: Ie6adc9efe107dfeaf4894aaff35c0beb6f7f9819
ifiLoggerTest.java
|
b46c550a7305e6c42af4ca92a964b801c33f1f72 |
02-Mar-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: manage ring buffers by bytes At present, we manage the ring buffers by the number of entries, rather than the number of bytes. Since the size of an entry is variable, managing by the number of entries doesn't give us solid control over the amount of memory used. To solve this, switch from LimitedCircularArray<byte[]>, to ByteArrayRingBuffer. ByteArrayRingBuffer limits the number of bytes, rather than the number of entries. To facilitate testing, make two of WifiLogger's inner classes (BugReport and LimitedCircularArray) package-private, instead of strictly private. BUG=27264379 TEST=(new) unit tests Change-Id: I2ed6557bd0b40db3227e1e22ea7ff9f8a27ab2ba
ifiLoggerTest.java
|
cc84bc6179db408b1e45168d43e10ba0ab089fca |
01-Mar-2016 |
mukesh agrawal <quiche@google.com> |
add ByteArrayRingBuffer We want to manage the debug ring buffers by total spaced used, rather than by the number of entries in the ring. Add a new class, ByteArrayRingBuffer, to provide the needed functionality. BUG=27264379 TEST=(new) unit tests Change-Id: I6e1ce82e028fc621f3fc9c96a5cb0cbd71c2d4e3
yteArrayRingBufferTest.java
|
e6d8fa5fb50afdfc04922f7f87c2cac08db5bbec |
29-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Update scan band channels when needed The involves adding an ability to channel helper to trigger a channel list update. Bug: 27381346 Change-Id: I7908018ff8136b9ce7880d5090bbe9e6fb63405d
ultiClientSchedulerFilterTest.java
ultiClientSchedulerTest.java
ifiScanningServiceTest.java
canner/KnownBandsChannelHelperTest.java
|
479ad86e142fea36a58891145d0875100855bddd |
01-Mar-2016 |
Erik Kline <ek@google.com> |
Call IpManager\'s dependency injection constructor am: 3fff931f15 am: 2841046016 am: aed9476041 * commit 'aed9476041c7cf8a427ab9d0ccd2c75a822a5491': Call IpManager's dependency injection constructor
|
284104601631c2bab2ff220876a4d71ccf843f52 |
01-Mar-2016 |
Erik Kline <ek@google.com> |
Call IpManager\'s dependency injection constructor am: 3fff931f15 * commit '3fff931f15b78dc75376506d98782393452d4c56': Call IpManager's dependency injection constructor
|
3fff931f15b78dc75376506d98782393452d4c56 |
01-Mar-2016 |
Erik Kline <ek@google.com> |
Call IpManager's dependency injection constructor Bug: 27406552 Change-Id: I75e01766829d15f219d72621b654c566189ae989
ifiStateMachineTest.java
|
ca2d492d444c9e69e54d3de98ad2a996774a2b6c |
29-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Refactor remove network" into mm-wireless-dev am: 60c716a0ed am: e27341c71a am: 19853df10d * commit '19853df10d4ad33fbaee50d4168d71d766f1ce4e': WifiConfigManager: Refactor remove network
|
e27341c71aa34f49dfc90d1ebee1e5eadb6a4605 |
29-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Refactor remove network" into mm-wireless-dev am: 60c716a0ed * commit '60c716a0ed1549fe9e3e9e8528abc284f32a8aba': WifiConfigManager: Refactor remove network
|
7b36f5bbab32dd1f0980603687aa6087fd958643 |
27-Feb-2016 |
Roshan Pius <rpius@google.com> |
resolve merge conflicts of 2d65b9aaaa to nyc-dev am: 6a229f7908 am: c086a61d9b * commit 'c086a61d9b84421c00ef1dabdd4a499456f03458': WifiConfigStore: New WifiConfigStore (Part 2)
|
6a229f790826761b79d5b71e01d7238299c81eff |
27-Feb-2016 |
Roshan Pius <rpius@google.com> |
resolve merge conflicts of 2d65b9aaaa to nyc-dev Change-Id: I52c055a8b26d01745d3378ef062faab9952ee393
|
dc61ad4fe8a84909a288af50a8b187c98e2194b6 |
26-Feb-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Refactor remove network Move the actual removal of network from database into a common utility method which can be invoked in handleUserSwitch & removeNetwork. This CL is part 1 of refactoring some repeating patterns in WifiConfigManager. BUG: 27364882 Change-Id: I374a31f4d5cf4d7ec480b9b40f26af33e1deb8b1 TEST: `runtest frameworks-wifi`
ifiConfigManagerTest.java
|
2d65b9aaaa740ecf66bf4734c12aea3df88e352a |
24-Feb-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStore: New WifiConfigStore (Part 2) Integrate the new WifiConfigStore into WifiConfigManager class. Most of the public methods that have been moved to ConfigStore have been stubbed out in WifiConfigManager. Some of the methods have been changed to make it consistent with the other methods. The end goal of this CL to remove all WifiNative usages in WifiConfigManager class. Other related changes: 1. Changes in unit-tests to use mock wifiNative everywhere. 2. Change WifiConfigManager to accept an instance of KeyStore so that it can be mocked out in unit-tests. BUG=27299172 TEST:`mmma -j32 frameworks/opt/net/wifi/service/ && runtest frameworks-wif` Change-Id: I1656d81aec0ae3337bd794541b5a0bde9cddd48e
ifiConfigManagerTest.java
ifiStateMachineTest.java
|
8448037f4028b493a7fd55ac75435a253be2bedc |
26-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add makeWifiConfigManager() to FacadeFramework" into mm-wireless-dev am: 2bdcccb7ba am: 52da3dd634 am: 233727ef47 * commit '233727ef474f9b3f93b9882173b908347d216580': Add makeWifiConfigManager() to FacadeFramework
|
52da3dd6345bb068b0f0ec8fd6a749b2ee977d89 |
26-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add makeWifiConfigManager() to FacadeFramework" into mm-wireless-dev am: 2bdcccb7ba * commit '2bdcccb7badf35e9e00ea0b3b8e315f3f77af86a': Add makeWifiConfigManager() to FacadeFramework
|
2bdcccb7badf35e9e00ea0b3b8e315f3f77af86a |
26-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add makeWifiConfigManager() to FacadeFramework" into mm-wireless-dev
|
04d4b0e9587d8c01ab4182f5b7234ec8b7d653ea |
26-Feb-2016 |
Randy Pan <zpan@google.com> |
Correct WifiQualifiedNetworkSelection file name am: 2177731ae0 am: d8801e6ae4 am: 1f9eaadd3b * commit '1f9eaadd3bea127b0b9422034c13bc3147be9b85': Correct WifiQualifiedNetworkSelection file name
|
d8801e6ae46f95b2adb6e374c96b6b5d7ca64879 |
26-Feb-2016 |
Randy Pan <zpan@google.com> |
Correct WifiQualifiedNetworkSelection file name am: 2177731ae0 * commit '2177731ae0a49be7dd66fd05dfb0ca73831b062c': Correct WifiQualifiedNetworkSelection file name
|
8f852de7a8f081aff36bc9896781b270ca88d0e8 |
25-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Add makeWifiConfigManager() to FacadeFramework Added a function to FacadeFramework to make WifiConfigManager, replaced the constructor in WifiConfigManager unit tests with this function. BUG=27359698 Change-Id: Id9c0e6757244527e7f5fe7143687a32dd8d96c58
ifiStateMachineTest.java
|
611faad8e1962648172a8971400620a892bf4816 |
26-Feb-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetric ConnectionEvent logging refactor am: 4dead162c5 am: 62681bff4b am: 32a03a534e * commit '32a03a534e14411f3b27aca9fa13d05899857fb1': WifiMetric ConnectionEvent logging refactor
|
62681bff4b0c7eadf35546f6e6f35a19268e87a3 |
26-Feb-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetric ConnectionEvent logging refactor am: 4dead162c5 * commit '4dead162c5336443e9d7b3deae5eb26b07d39254': WifiMetric ConnectionEvent logging refactor
|
2177731ae0a49be7dd66fd05dfb0ca73831b062c |
26-Feb-2016 |
Randy Pan <zpan@google.com> |
Correct WifiQualifiedNetworkSelection file name Rename WifiQualifiedNetworkSelection to WifiQualifiedNetworkSelector to be consistent with the class name. Bug: 27296738 Change-Id: I48d21b1361cc2331b09cab84282eb47017be7f23
ifiQualifiedNetworkSelectionTest.java
ifiQualifiedNetworkSelectorTest.java
|
4dead162c5336443e9d7b3deae5eb26b07d39254 |
19-Feb-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetric ConnectionEvent logging refactor Modified the placement of start & end-ConnectionEvent() calls in WifiStateMachine and the Roam Types they use, to more accurately describe the types of connection events that are occuring. Improved the human readability of metrics when as part of 'dumpsys wifi'. BUG=25691077 Change-Id: Ia8bd8415cab0feec476e012fd1b0bfa358e35e52
ifiMetricsTest.java
|
313e93136c6ee79c1abe279c28a4373f4d68505a |
25-Feb-2016 |
Etan Cohen <etancohen@google.com> |
Merge changes from topic 'merge_from_mmwd_022416-B' * changes: [NAN] Increase coverage [NAN] Enable testing of apps faking client IDs [NAN] Add code to clean-up after all (even No-Op) transactions [NAN] Replace crashing on illegal state to failure response/ignore
|
07f19c1a857512e2d1199872458def92ea7c3085 |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Increase coverage Increase test coverage: - Stop sessions - Callbacks with invalid ID (cherry-pick of cc0da689f0cf3e5b5e3a0b43a8d571fd1911efec, Change-Id: I9921d663fb88905b7e163eb0251e0afabfb30ccf) Bug: 27257090 Change-Id: If41a4bfaa756a67a59447bb86cb77fd9d5fc2e4e
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
23e948182ed54b7607d8b932accb3883a8e53fb7 |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Enable testing of apps faking client IDs Enable mocking of UIDs. Enables testing of multiple apps (each with its own UID) trying to access 'invalid' client IDs - i.e. client IDs which were created by different UIDs. (cherry-pick of 5c0a79c305877c8c96df69035eed38c3650dfa5b, Change-Id: Ib9d4282378d144a51d83229ed4d924a49375fd11) Bug: 27335234 Change-Id: I38aa62d870d93fbf61996f63c9f97e5170862900
an/WifiNanServiceImplTest.java
|
f86b06d732df2f892863a7c46ef96decadf451f6 |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add code to clean-up after all (even No-Op) transactions Some transactions have no app-facing callbacks - e.g. cancelling a publish or subscribe (app assumes it succeeds). In such cases still need to clean up the internal transaction tracking state. Add No-Op callback in state manager to perform that clean-up. Add tests for above as well as for unknown transaction callback: i.e. response codes from HAL which aren't "known" (not handled, possibly yet). (cherry-pick of 4f1887493430b6b61126f233f3de54201b363145, Change-Id: Ia0be220310689c0e06030b71236d955a557b7a27) Bug: 27334871 Change-Id: Ifbe51918a625b6e29024e4941925449e42be0bc6
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
e704fdcd85489237de5fe90a43abb0d5b8af31fb |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Replace crashing on illegal state to failure response/ignore Do not crash NAN service (i.e. system service) when illegal state or illegal inputs are detected (especially inputs - since can be created by bad/malicious app). Instead either ignore or respond with failure callbacks. (cherry-pick of e903e3cb1e7a41fa20306dc3bd1f3518c51a8a86, Change-Id: I09b28da3bea396633dbe76f729c276f9e5620c5d) Bug: 27334919 Change-Id: Id1fcc6576dab83194cf2d0b78694ccbd9009f3d7
an/WifiNanStateManagerTest.java
|
c8964161cf703ffa4b96962c87cbb712f256a850 |
25-Feb-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiNotificationController: Ignore "SCANNING" network state" into mm-wireless-dev am: e08c8038a4 am: 9456d35ba3 am: 07898ec830 * commit '07898ec83047934fa1acae407ebf60bcee62d9b3': WifiNotificationController: Ignore "SCANNING" network state
|
8773f1b9016bd4587481f3b5074061aa37b31616 |
25-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Use a wrapper for BackupManager" into mm-wireless-dev am: ac90154934 am: a73697c129 am: ed28118ebf * commit 'ed28118ebf12fc034afb8bb2db20000f87d954b6': Use a wrapper for BackupManager
|
9456d35ba321fa5e9cd629e416bb8bb78e8166e4 |
25-Feb-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiNotificationController: Ignore "SCANNING" network state" into mm-wireless-dev am: e08c8038a4 * commit 'e08c8038a432eb68a3493abdfa7e69d92bad3b80': WifiNotificationController: Ignore "SCANNING" network state
|
e08c8038a432eb68a3493abdfa7e69d92bad3b80 |
25-Feb-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiNotificationController: Ignore "SCANNING" network state" into mm-wireless-dev
|
a73697c129a759ab403dfc6929aadfa71ea52141 |
25-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Use a wrapper for BackupManager" into mm-wireless-dev am: ac90154934 * commit 'ac90154934c0daf4e69a6d38344b82eea8dee91b': Use a wrapper for BackupManager
|
ac90154934c0daf4e69a6d38344b82eea8dee91b |
25-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Use a wrapper for BackupManager" into mm-wireless-dev
|
750c6962838af6ab7ba034c80f2d325df7e74cbe |
23-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Use a wrapper for BackupManager This avoids invoking calls to BackupManager/BackupManagerService during unit test. Bug:27296824 TEST=runtest frameworks-wifi Change-Id: I3d4fe1b4d2fdabe079e65242099f4dd4ed4ab7f4
ifiApConfigStoreTest.java
ifiStateMachineTest.java
|
fbeef71cf8251d4537f1ba65484f39d78c14b81b |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
Merge changes I9921d663,Ib9d42823,Ia0be2203,I09b28da3 into mm-wireless-dev * changes: [NAN] Increase coverage [DO NOT MERGE] [NAN] Enable testing of apps faking client IDs [DO NOT MERGE] [NAN] Add code to clean-up after all (even No-Op) transactions [DO NOT MERGE] [NAN] Replace crashing on illegal state to failure response/ignore [DO NOT MERGE]
|
cc0da689f0cf3e5b5e3a0b43a8d571fd1911efec |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Increase coverage [DO NOT MERGE] Increase test coverage: - Stop sessions - Callbacks with invalid ID Bug: 27257090 Change-Id: I9921d663fb88905b7e163eb0251e0afabfb30ccf
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
5c0a79c305877c8c96df69035eed38c3650dfa5b |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Enable testing of apps faking client IDs [DO NOT MERGE] Enable mocking of UIDs. Enables testing of multiple apps (each with its own UID) trying to access 'invalid' client IDs - i.e. client IDs which were created by different UIDs. Bug: 27335234 Change-Id: Ib9d4282378d144a51d83229ed4d924a49375fd11
an/WifiNanServiceImplTest.java
|
4f1887493430b6b61126f233f3de54201b363145 |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Add code to clean-up after all (even No-Op) transactions [DO NOT MERGE] Some transactions have no app-facing callbacks - e.g. cancelling a publish or subscribe (app assumes it succeeds). In such cases still need to clean up the internal transaction tracking state. Add No-Op callback in state manager to perform that clean-up. Add tests for above as well as for unknown transaction callback: i.e. response codes from HAL which aren't "known" (not handled, possibly yet). Bug: 27334871 Change-Id: Ia0be220310689c0e06030b71236d955a557b7a27
an/WifiNanHalTest.java
an/WifiNanStateManagerTest.java
|
e903e3cb1e7a41fa20306dc3bd1f3518c51a8a86 |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Replace crashing on illegal state to failure response/ignore [DO NOT MERGE] Do not crash NAN service (i.e. system service) when illegal state or illegal inputs are detected (especially inputs - since can be created by bad/malicious app). Instead either ignore or respond with failure callbacks. Bug: 27334919 Change-Id: I09b28da3bea396633dbe76f729c276f9e5620c5d
an/WifiNanStateManagerTest.java
|
9b791efc4f999221950c8a99e8527cfa431d0c7c |
24-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiConfigStore Refactor read&write NetworkHistory" into mm-wireless-dev am: 5eb49f6169 am: 2ef14db559 am: 914b04557f * commit '914b04557fce22e86f89c52740c7d1f882caf275': WifiConfigStore Refactor read&write NetworkHistory
|
f68a4a32ed245a33120a71f04166aad3b5b90603 |
24-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Replace WifiChannelHelper with ChannelHelper implementations" into mm-wireless-dev am: b1a4d1c1bb am: c1996c9f93 am: d2fbfca2eb * commit 'd2fbfca2eb1cd09b9619b24cc2a483c6fa6dfbef': Replace WifiChannelHelper with ChannelHelper implementations
|
2ef14db559ceee38b4e9d86eab8196cea4749d76 |
24-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiConfigStore Refactor read&write NetworkHistory" into mm-wireless-dev am: 5eb49f6169 * commit '5eb49f61695e122d5c9c3a1b89a0ce1a6474f195': WifiConfigStore Refactor read&write NetworkHistory
|
5eb49f61695e122d5c9c3a1b89a0ce1a6474f195 |
24-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiConfigStore Refactor read&write NetworkHistory" into mm-wireless-dev
|
c1996c9f9334d0da0e931acf92eaf7e936de6e40 |
24-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Replace WifiChannelHelper with ChannelHelper implementations" into mm-wireless-dev am: b1a4d1c1bb * commit 'b1a4d1c1bb210c702d20006517b74b6375480313': Replace WifiChannelHelper with ChannelHelper implementations
|
b1a4d1c1bb210c702d20006517b74b6375480313 |
24-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Replace WifiChannelHelper with ChannelHelper implementations" into mm-wireless-dev
|
c485ebf64d1049d17db8108b85653f53fcdc8949 |
23-Feb-2016 |
Glen Kuhne <kuh@google.com> |
WifiConfigStore Refactor read&write NetworkHistory Created a new helper class: WifiNetworkHistory Moved readNetworkHistory() and writeKnownNetworkHistory() from WifiConfigStore into this class, replacing them with calls to the helper. BUG=27294533 Change-Id: I10d43e3fd37e251d1845ef726fea0faf136d9626
ifiConfigManagerTest.java
|
0201526e6e013038bc74d47b9af22dae288e2790 |
24-Feb-2016 |
Etan Cohen <etancohen@google.com> |
Merge changes from topic 'api_clean' * changes: [NAN] API cleanup - rename FLAGS. [NAN] Renamed listeners to callback per API guidelines [NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config NAN: Add client ID to support multiple NAN clients per UID.
|
250e70cb113e75ac9b24b09bbf176804d37755d8 |
09-Feb-2016 |
Paul Stewart <pstew@google.com> |
WifiNotificationController: Ignore "SCANNING" network state While the system is disconnected and does screen-on scanning, it is legitimate to see temporary state changes to the "SCANNING" state then back to "DISCONNECTED". The current implementation of WifiNotificationController resets its scan counter during these transitions, and therefore never displays the "WiFi Networks Avaialable" notification. This CL fixes this problem by separately tracking NetworkInfo.DetailedState and ignoring both "SCANNING" and the no-op state changes that will happen as a result. BUG=26076402 TEST=New unit test included in CL TEST=Repeat bug reproduction steps Change-Id: I5e6049edb767e4f67be1ddb31023a28043db53d5
estUtil.java
ifiNotificationControllerTest.java
|
1abd49f3445df5d221319a1571c1a0dda3ecab79 |
24-Feb-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiStateMachine: Only respond once to multiple EAP-SIM challenges" into mm-wireless-dev am: af8f9541d2 * commit 'af8f9541d248f7e1ca8232774de1310838ef4b0a': WifiStateMachine: Only respond once to multiple EAP-SIM challenges
|
af8f9541d248f7e1ca8232774de1310838ef4b0a |
24-Feb-2016 |
Paul Stewart <pstew@google.com> |
Merge "WifiStateMachine: Only respond once to multiple EAP-SIM challenges" into mm-wireless-dev
|
87af62a5bfe014ff3e62a14d90e168741636da0c |
24-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "Disable all networks in supplicant" into mm-wireless-dev am: e2dc63bb99 * commit 'e2dc63bb990eed0f1909f8f38cbfb0d2f4bc2a92': Disable all networks in supplicant
|
e2dc63bb990eed0f1909f8f38cbfb0d2f4bc2a92 |
24-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "Disable all networks in supplicant" into mm-wireless-dev
|
7e3e85327ca82a83de84b4750e793f2e3d1b3bfc |
06-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Replace WifiChannelHelper with ChannelHelper implementations Change-Id: I20c266825e3b0b0566d6d2939ca2d0c67d213d78
aseWifiScannerImplTest.java
alWifiScannerTest.java
ultiClientSchedulerFilterTest.java
ultiClientSchedulerTest.java
canTestUtil.java
upplicantWifiScannerTest.java
ifiScanningServiceTest.java
|
e8a8e5a4b6e0e01474c48f277b7ce714185cd9f2 |
23-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Remove use of MockLooper AutoDispatch from non-blocking calls" into mm-wireless-dev am: 2150117638 * commit '21501176384e4312dce3a51b8ae8ca132f5d9ab4': Remove use of MockLooper AutoDispatch from non-blocking calls
|
09aa045a936a651d49c59a4cea8eff25b0dbc021 |
23-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Create blocking call for AutoDispatch test." into mm-wireless-dev am: d79059c102 * commit 'd79059c1029e4079fb5107a4788d24ce40eda7c5': Create blocking call for AutoDispatch test.
|
21501176384e4312dce3a51b8ae8ca132f5d9ab4 |
23-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Remove use of MockLooper AutoDispatch from non-blocking calls" into mm-wireless-dev
|
d79059c1029e4079fb5107a4788d24ce40eda7c5 |
23-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Create blocking call for AutoDispatch test." into mm-wireless-dev
|
df3474577e5f4c613f62d50346daf5ac8d772283 |
23-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "WifiStateMachineTest: use mock WifiApConfigStore" into mm-wireless-dev am: f1819c969c * commit 'f1819c969c2b9c626c7f5845b48772494c4e0ac5': WifiStateMachineTest: use mock WifiApConfigStore
|
f1819c969c2b9c626c7f5845b48772494c4e0ac5 |
23-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "WifiStateMachineTest: use mock WifiApConfigStore" into mm-wireless-dev
|
9bb11baf377737e7f2001e078c0857996dfc507e |
18-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] API cleanup - rename FLAGS. Per API guidelines - non-overlapping constants can be (should be) named with "FLAG". (cherry-pick of 3cb977400be8d10f06f44dd9b46da70baf2a037a, Change-Id: I090c5c6090494240843bf91ab69b6c75072ee2b9) Bug: 27122760 Change-Id: I1b5bca31f27e4313139035c0c0b48155d1e772e3
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
a2e468eacb2ded79ed29f53eba7d483d84eb4cbf |
18-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Renamed listeners to callback per API guidelines The interfaces had multiple functions and are hence callback and not a listener. Note: purely a rename operation. (cherry-pick of 676d8394860aa8fb0ed856f41bbd0bbe2c4727fc, Change-Id: I6dcfe1f623ee730217b52b362819abf656583003) Bug: 27122760 Change-Id: Ib4f36c1350a17c5406bdb2771370ce91ebced338
an/WifiNanHalTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
f3b4c9fa3ca6bec23790f8419cd36383a62a78c5 |
17-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config Simplify configuration and consolidate structures whose difference wasn't very clear. (cherry-pick of 8f06198cafd0e52aebe2f050af0c1a3533270888, Change-Id: Ib24f6217e2124c2184506f2ce1407575f5d9baaa) Bug: 27122760 Change-Id: I1748ff77b9ddc556767b6081122d58033773e89a
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
491da5d5c6752bcda0d79554fc8742f9d61d4513 |
17-Feb-2016 |
Etan Cohen <etancohen@google.com> |
NAN: Add client ID to support multiple NAN clients per UID. Allow multiple clients per UID - each with its own session namespace. Effectively replace UID by client ID in the main state machine. The mapping of new client IDs and their validation (as belonging to the correct UID) is handled by the service front-end implementation. Fix missing documentation to enable passing style checker. (cherry-pick of c9783c72ce84ea8cc42f2c407824113019e59b11, Change-Id: I963cc5940957953008035b846626dd1e8d6c82fa) Bug: 26962024 Change-Id: Ie05cdecccc7b5742e5ccb5142e234ee431646b6b
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
9d7489491984e86915b2cf4fac38a882de1c8cdb |
09-Feb-2016 |
Roshan Pius <rpius@google.com> |
Disable all networks in supplicant Temporary changes to test if we can disable all the networks in supplicant conf file except the one we want to connect to. Changes: 1. Remove all existing native enableNetwork invocations and replace it with a single selectNetwork call in |WifiConfigStore.selectNetwork|. selectNetwork enables the provided network and disables all others in wpa_supplicant. 2. Enable all networks in wpa_supplicant before enabling PNO. These will be disabled when we come out of PNO and decide to conneect to one of them via selectNetwork. 3. Save the network status in networkHistory.txt and ignore the status stored in wpa_supplicant.conf. 4. Some other cleanups: a. Remove |enableNetworkWithoutBroadcast| definition/usages and replace with |selectNetworkWithoutBroadcast|. b. Add enableAllNetworksNative/disableAllNetworksNative methods to just enable the network in wpa_supplicant. c. Move all wpa_supplicant network enable/disable to a common API. d. Fixed all the unit-test expectations. BUG:26984166 TEST: `mmma frameworks/opt/net/wifi/tests && runtest frameworks-wifi` Change-Id: Ib5a089f054557071ece6be25aad03b6458c0217c
ifiConfigManagerTest.java
ifiStateMachineTest.java
|
3116dea7fa16bb41327c4311110d8e21ffe8c794 |
23-Feb-2016 |
Peter Qiu <zqiu@google.com> |
WifiStateMachineTest: use mock WifiApConfigStore This avoids writing of AP config file during unit tests. Bug: 27311680 TEST=runtest frameworks-wifi Change-Id: If6f534f7eeca8a37acf9a43b0c30acee0b5e22b9
ifiStateMachineTest.java
|
823af138d63dc96224976b2a5ad6e9b1b224581e |
23-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Remove use of MockLooper AutoDispatch from non-blocking calls AutoDispatch is not needed with non-blocking sendMessage calls. Remove two instances of this error. BUG=27278081 Change-Id: Id346d76e971c361149ae885a8b8056660b61e5f3
ifiStateMachineTest.java
|
89901c4bde80282b02a786e580f9bc75984bd4de |
23-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Create blocking call for AutoDispatch test. Add a blocking call to the testAutoDispatchWithSingleMessage test in MockLooperTest. AutoDispatch is not intended to be used with non blocking calls and this corrects the test. BUG=27278081 Change-Id: I783f763a1b438bf307484276436497e534be3906
ockLooperTest.java
|
3cb977400be8d10f06f44dd9b46da70baf2a037a |
18-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] API cleanup - rename FLAGS. [DO NOT MERGE] Per API guidelines - non-overlapping constants can be (should be) named with "FLAG". Bug: 27122760 Change-Id: I090c5c6090494240843bf91ab69b6c75072ee2b9
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
434a2a9c1147f8ebdebe434e04e3374d107d80b8 |
23-Feb-2016 |
Wei Wang <weiwa@google.com> |
Merge "Add test case for duplicate listeners in WifiScanner." into mm-wireless-dev am: 384dc1ae37 * commit '384dc1ae37b7087ed2f15442715ca9f50dd3567c': Add test case for duplicate listeners in WifiScanner.
|
384dc1ae37b7087ed2f15442715ca9f50dd3567c |
23-Feb-2016 |
Wei Wang <weiwa@google.com> |
Merge "Add test case for duplicate listeners in WifiScanner." into mm-wireless-dev
|
767b3b51641ea9bb5b1b54c0757a3a54824b7f3c |
23-Feb-2016 |
Roshan Pius <rpius@google.com> |
Rename WifiConfigStore to WifiConfigManager am: c2a0ff06d5 * commit 'c2a0ff06d58e1cfb9b69fa5b6a8fef5929812f27': Rename WifiConfigStore to WifiConfigManager
|
d0be2d83c247d461b3bcee7343b035f1fc92396e |
23-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigStore: Remove IpConfigStore inheritance" into mm-wireless-dev am: ba035ceba4 * commit 'ba035ceba49da6c3fa4e9407900655ab5cb5e006': WifiConfigStore: Remove IpConfigStore inheritance
|
c2a0ff06d58e1cfb9b69fa5b6a8fef5929812f27 |
22-Feb-2016 |
Roshan Pius <rpius@google.com> |
Rename WifiConfigStore to WifiConfigManager Rename WifiConfigStore class to WifiConfigManager and replace all existing occurences of WifiConfigStore. This is in preparation of refactoring WifiConfigStore into a separate class which will only deal with storing/reading configurations from a perisistent database. BUG: 27296463 Change-Id: Ib4c4bd3bdf3fa28771a646e1f3d244f73b690d5e TEST: Ran unit-tests
ifiConfigManagerTest.java
ifiConfigStoreTest.java
ifiQualifiedNetworkSelectionTest.java
ifiStateMachineTest.java
|
ba035ceba49da6c3fa4e9407900655ab5cb5e006 |
23-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigStore: Remove IpConfigStore inheritance" into mm-wireless-dev
|
c1bc5a14b94276421f741eaebb54daa8e63e4a05 |
22-Feb-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStore: Remove IpConfigStore inheritance Move IpconfigStore instance to be a member of the WifiConfigStore and create a new DelayedDiskWriter for writing the other configurations. BUG: 27293150 Change-Id: I76654d49848c417599996b0a8b510ff2b04a3d4a TEST: `runtest frameworks-wifi`
ifiConfigStoreTest.java
|
4d5cbc26f5e14057f194ca49716be2bae17a13b1 |
22-Feb-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiLogger: add unit test for startLogging()" into mm-wireless-dev am: d2410df493 * commit 'd2410df493b1da7c9ff9e2026df4e4a30288f080': WifiLogger: add unit test for startLogging()
|
d2410df493b1da7c9ff9e2026df4e4a30288f080 |
22-Feb-2016 |
Mukesh Agrawal <quiche@google.com> |
Merge "WifiLogger: add unit test for startLogging()" into mm-wireless-dev
|
ec1690a8364f678ba8ca4472c8e031d482895533 |
20-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Add Looper param to WifiStateMachine constructor and AutoDispatch" into mm-wireless-dev am: 75a3fd9a4d * commit '75a3fd9a4d37dd6ba1a0ac3e174673e3b80795d1': Add Looper param to WifiStateMachine constructor and AutoDispatch
|
75a3fd9a4d37dd6ba1a0ac3e174673e3b80795d1 |
20-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Add Looper param to WifiStateMachine constructor and AutoDispatch" into mm-wireless-dev
|
d0846fa841b604ccb969c54b45367fa2bececf83 |
16-Feb-2016 |
Rebecca Silberstein <silberst@google.com> |
Add Looper param to WifiStateMachine constructor and AutoDispatch Add Looper to the WifiStateMachine constructor. This allows unittests to pass a MockLooper and control how messages are dispatched. This change allows the wait() calls to be removed from the WifiStateMachineTest tests and will bring stability to test runs. This change will also reduce test run time. Due to the blocking calls in WifiStateMachine that are expecting a response, also implement AutoDispatch functionality for MockLooper. This functionality is implemented by creating a thread that calls MockLooper.dispatchAll when messages are available. Once at least one message is dispatched, the thread will exit. The thread will attempt a limited number of times and log an error if no messages are dispatched. BUG=26943243 Change-Id: Ia892303e04d18c56d7f1d896db6098e7c3bd9607
ockLooper.java
ockLooperTest.java
ifiStateMachineTest.java
|
9aa6d49161f0be66fc89b9b14f7f478e9af407e1 |
19-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigStore: API for fetching PNO network list" into mm-wireless-dev am: d9f96a5827 * commit 'd9f96a58271313deefb135b0606429953157a5f9': WifiConfigStore: API for fetching PNO network list
|
d9f96a58271313deefb135b0606429953157a5f9 |
19-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigStore: API for fetching PNO network list" into mm-wireless-dev
|
9a2eb2015d22ee0901c6bce616963643ab3e9e08 |
19-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "InformationElementUtil TIM element parser" into mm-wireless-dev am: 55b5d3d0e8 * commit '55b5d3d0e887313ece26bad8ebf8f8c25ac66e3f': InformationElementUtil TIM element parser
|
55b5d3d0e887313ece26bad8ebf8f8c25ac66e3f |
19-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "InformationElementUtil TIM element parser" into mm-wireless-dev
|
947e55415eab3989f2f5cede0c03745cf9268309 |
09-Feb-2016 |
Glen Kuhne <kuh@google.com> |
InformationElementUtil TIM element parser Added a parser to InformationElementUtil for the beacon frame Traffic Indication Map element. Only current use for this is to get DTIM interval for metrics. BUG=25691077 Change-Id: I1aba8ca658e446ae5697b6d749687b0dd24f790d
til/InformationElementUtilTest.java
|
5c3c06082b24f9ff0d479e82a63b52220c86598b |
12-Feb-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigStore: API for fetching PNO network list Modify the existing API for retrieving PNO network list to differentiate the list for disconnected vs connected PNO scenarios. The network sorting orders are different for each of these PNO scenarios. Use different comparator objects to sort the network list for the 2 scenarios. Also, merging the existing ePNO network class (WifiPnoNetwork) with the supplicant based PNO network class (PnoNetworkPriority). This allows the Connectivity manager to use a single class for all types of PNO. While there, Remove dead code in WifiConfigStore (buildPnoList) which was written for ePNO. While there, Add back the numAssociation counter increment because we're now using it to sort PNO list. BUG: 27151228 Change-Id: I6d48dab367a2106eef4f1d3f396f391c57a22339 TEST: Ran unit tests
ifiConfigStoreTest.java
|
1b8a2b3c8724e29ce669f5bd6b0b82250824d034 |
17-Feb-2016 |
mukesh agrawal <quiche@google.com> |
WifiLogger: add unit test for startLogging() WifiLogger has no unit tests. How disappointing. :-( It's going to take time to add a full complement of unit tests. But let's not wait to get started. We start by adding a unit test for startLogging(), as that method recently had a bug. BUG=27204661 TEST=ran tests Change-Id: I248937dd90c35b14e95dbb4d624746eb0ebc48bd
ifiLoggerTest.java
|
047aee0ba277cb512db1c22605e9b73ccfc20374 |
19-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Add SoftApManager class" into mm-wireless-dev am: 5aecec3422 * commit '5aecec3422a573e09b5792edd587153c00748da1': Add SoftApManager class
|
5aecec3422a573e09b5792edd587153c00748da1 |
19-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "Add SoftApManager class" into mm-wireless-dev
|
be6cb1df0c221f72d09fc0ab6f5c45b0949c9a88 |
18-Feb-2016 |
Paul Stewart <pstew@google.com> |
WifiStateMachine: Only respond once to multiple EAP-SIM challenges The commit in 5ebc35f19feab2755a13cf7d5acaeff4bbc78994 made an attempt to fail the EAPOL process due to intermediate failures with TelephonyManager. It's not clear how well that worked, but it's clear from inspection that when multiple challenges are supplied that the code then sent multiple simAuthResponse messages -- one per challenge. This is clearly wrong. This CL refactors the code to clearly separate the function that generates the complete response string so it can be tested, and leaves the handleGsmAuthRequest() method to interact with mWifiNative in a hopefully more readable manner. BUG: 26758602 Change-Id: Ibf8f85893e4c18195eb08114b5169dcff05dc045 TEST: New unit test for the getGsmSimAuthResponse method
ifiStateMachineTest.java
|
c3b22ef2e6bbccd048e1012160b75d14353ab894 |
17-Feb-2016 |
Wei Wang <weiwa@google.com> |
Add test case for duplicate listeners in WifiScanner. Bug:26663377 Change-Id: I89c7936b215251c2afb20a49de1d03184e9b4b21
idirectionalAsyncChannelServer.java
ifiScannerTest.java
|
8f129e6c43893cddfcfb18804a543ace7fb983b3 |
19-Feb-2016 |
Lorenzo Colitti <lorenzo@google.com> |
Simplify smToString using MessageUtils. am: eed7ed0f23 * commit 'eed7ed0f235d1124564d567178e485f0a5cda616': Simplify smToString using MessageUtils.
|
eed7ed0f235d1124564d567178e485f0a5cda616 |
17-Feb-2016 |
Lorenzo Colitti <lorenzo@google.com> |
Simplify smToString using MessageUtils. Change-Id: If7355bbf5295c55e97882dce55a07b607309e0f2
ifiStateMachineTest.java
|
7debc76f64763f2ff91236ca0f26b2257ea29cf8 |
19-Feb-2016 |
xin He <xinhe@google.com> |
Merge "Fix QNS bssid blacklist update" into mm-wireless-dev am: 9f362510e1 * commit '9f362510e1070007c54b60ebfd9fbbe312017a9a': Fix QNS bssid blacklist update
|
9f362510e1070007c54b60ebfd9fbbe312017a9a |
19-Feb-2016 |
xin He <xinhe@google.com> |
Merge "Fix QNS bssid blacklist update" into mm-wireless-dev
|
676d8394860aa8fb0ed856f41bbd0bbe2c4727fc |
18-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Renamed listeners to callback per API guidelines [DO NOT MERGE] The interfaces had multiple functions and are hence callback and not a listener. Note: purely a rename operation. Bug: 27122760 Change-Id: I6dcfe1f623ee730217b52b362819abf656583003
an/WifiNanHalTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
8f06198cafd0e52aebe2f050af0c1a3533270888 |
17-Feb-2016 |
Etan Cohen <etancohen@google.com> |
[NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config [DO NOT MERGE] Simplify configuration and consolidate structures whose difference wasn't very clear. Bug: 27122760 Change-Id: Ib24f6217e2124c2184506f2ce1407575f5d9baaa
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
4c618adccba43334df62ad7d2949138344c11f58 |
18-Feb-2016 |
xin He <xinhe@google.com> |
Fix QNS bssid blacklist update The crash is due to delete map entries not through the iterator's remove method when transverse the map. Removing item will change the size of iterator and java.util.ConcurrentModificationException will be thrown at next iterator.next(). The correct way is to remove item through the iterator's remove method. BUG=27243032 Change-Id: Iede6efeafacaf8a33cce44f56e0c2b58e598e07e
ifiQualifiedNetworkSelectionTest.java
|
e5b93fbfe451bc57c07b3f72191b52b6bd237d5b |
09-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Add SoftApManager class The newly created class is responsible for managing soft AP instance and tethering state transitions. This class will be integrated to WifiStateMachine in an upcoming CL, which will remove the existing soft AP and tethering related code from WifiStateMachine. Bug: 26876260 TEST=runtest frameworks-wifi Change-Id: I25568649b8c9d18ce78019dac614bafb9c5a3448
oftApManagerTest.java
estUtil.java
til/ApConfigUtilTest.java
|
c9783c72ce84ea8cc42f2c407824113019e59b11 |
17-Feb-2016 |
Etan Cohen <etancohen@google.com> |
NAN: Add client ID to support multiple NAN clients per UID. [DO NOT MERGE] Allow multiple clients per UID - each with its own session namespace. Effectively replace UID by client ID in the main state machine. The mapping of new client IDs and their validation (as belonging to the correct UID) is handled by the service front-end implementation. Fix missing documentation to enable passing style checker. Bug: 26962024 Change-Id: I963cc5940957953008035b846626dd1e8d6c82fa
an/WifiNanServiceImplTest.java
an/WifiNanStateManagerTest.java
|
009149d90a2ba968ca23122b635f93e05517daef |
18-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add final bits of required functionality for ChannelHelper" into mm-wireless-dev am: b6e44a4ad8 * commit 'b6e44a4ad89793a9a33ed9f82f51808d62de3ad8': Add final bits of required functionality for ChannelHelper
|
b6e44a4ad89793a9a33ed9f82f51808d62de3ad8 |
18-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add final bits of required functionality for ChannelHelper" into mm-wireless-dev
|
eed6bcbbe112bd907ceddf6bfe35d99d5e51934e |
17-Feb-2016 |
xin He <xinhe@google.com> |
Merge "Modify BSSID blacklist behavior" into mm-wireless-dev am: a2a3c5080b * commit 'a2a3c5080bb6ccf6afbb8599d00b948963bfb23a': Modify BSSID blacklist behavior
|
a2a3c5080bb6ccf6afbb8599d00b948963bfb23a |
17-Feb-2016 |
xin He <xinhe@google.com> |
Merge "Modify BSSID blacklist behavior" into mm-wireless-dev
|
6ed97affc9bbce6497b6155285ba4a71196d69e1 |
16-Feb-2016 |
xinhe <xinhe@google.com> |
Modify BSSID blacklist behavior The new behaviors are: (1) If a BSSID get association rejection three times, blacklist it (2) After 30 min of blacklist, we re-enable it again. (3) If any connect successfully to the BSSID, re-enable it BUG=27166673 Change-Id: I70f439b524ffc304d6c61744f90389f47006341b
ifiQualifiedNetworkSelectionTest.java
|
0a8904265fc81ec1051030e66815aa191d4c347c |
16-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Migrate channel/band toString to ChannelHelper" into mm-wireless-dev am: f2d417a69e * commit 'f2d417a69e52898d976ea01334794357ecdcfcd8': Migrate channel/band toString to ChannelHelper
|
798a997d2e5bf8b3278bfeaa7ca841394e2db4b9 |
12-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Add final bits of required functionality for ChannelHelper Add support for getting the list of available channels for a band if available. Add support for estimating the duration of a scan. Change-Id: I8abe6d857400775f72969abd4b15e8763ec772c5
canner/KnownBandsChannelHelperTest.java
canner/NoBandChannelHelperTest.java
|
f2d417a69e52898d976ea01334794357ecdcfcd8 |
16-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Migrate channel/band toString to ChannelHelper" into mm-wireless-dev
|
ed70643c5c1dc368b1390eed0d3c8f24b19e342f |
16-Feb-2016 |
xin He <xinhe@google.com> |
Merge "add more unit test case to Quality Network Selection" into mm-wireless-dev am: d2995af00d * commit 'd2995af00d433ea6f952e8ff1c82c0ed2c71a274': add more unit test case to Quality Network Selection
|
d2995af00d433ea6f952e8ff1c82c0ed2c71a274 |
16-Feb-2016 |
xin He <xinhe@google.com> |
Merge "add more unit test case to Quality Network Selection" into mm-wireless-dev
|
154f6abe46bab660f5a61dedc8c25157fa5b37be |
16-Feb-2016 |
Erik Kline <ek@google.com> |
Use IpManager.ProvisioningRequest for IpManager#startProvisioning. am: 00cd284ff0 * commit '00cd284ff0b4bbfd4bb39683cd2d37ef402bbc45': Use IpManager.ProvisioningRequest for IpManager#startProvisioning.
|
00cd284ff0b4bbfd4bb39683cd2d37ef402bbc45 |
11-Feb-2016 |
Erik Kline <ek@google.com> |
Use IpManager.ProvisioningRequest for IpManager#startProvisioning. Bug: 26991160 Change-Id: I929744e9faa3c71170a3e8e1e1bedc3c6cd16d22
ifiStateMachineTest.java
|
4f945c572fd7e26cf4eecc740a2c672883b71e49 |
13-Feb-2016 |
Vinit Deshpande <vinitd@google.com> |
UnitTests for MOManager and AnqpCache am: ae815bc712 * commit 'ae815bc71287f8a85727034c40bb07247a3d9415': UnitTests for MOManager and AnqpCache
|
ae815bc71287f8a85727034c40bb07247a3d9415 |
26-Jan-2016 |
Vinit Deshpande <vinitd@google.com> |
UnitTests for MOManager and AnqpCache MOManager is the repository that holds management objects for Passpoint networks. This change adds tests to add/remove and modify management objects. AnqpCache holds results to save power; this test verifies basic adding/querying and expiry of entries. Change-Id: I9b12a6661f689227f7564cc6a7e0fd7e338e1e8a
nqpCacheTest.java
asspointManagementObjectManagerTest.java
ifiConfigStoreTest.java
|
167250a118f9fb93f88a867cc7679414da4dc8b4 |
12-Feb-2016 |
xinhe <xinhe@google.com> |
add more unit test case to Quality Network Selection Add more QNS unit test cases (most are for connected state) BUG=26941880 Change-Id: I436cce2154a0cefdb9e19486b122ebe931412dee
ifiQualifiedNetworkSelectionTest.java
|
18fa274d5835b6aa853cced404316157293e8fd5 |
12-Feb-2016 |
xinhe <xinhe@google.com> |
add Clock class for Wifi am: ed514c84aa * commit 'ed514c84aae008d245679f05c9dbcd7e71f126f8': add Clock class for Wifi
|
ed514c84aae008d245679f05c9dbcd7e71f126f8 |
12-Feb-2016 |
xinhe <xinhe@google.com> |
add Clock class for Wifi Add clock interface to wrapper the System and SystemClock APIs. In this way we can mock it in mockito test. Integrated with Quality Network Selection first BUG=27166726 Change-Id: I952944ccbad32e07ba316197d1785e551e03ea21
ifiQualifiedNetworkSelectionTest.java
|
17445b7996487f059114a1ab6a0efa5f95fb86be |
12-Feb-2016 |
Bartosz Fabianowski <bartfab@google.com> |
resolve merge conflicts of b2f519476e to nyc-dev Change-Id: I28da4aee94bf4f80347481da396ca40bb7d107d9
|
0fb9cf43830d67894b519c9a6271320c4842a5c0 |
12-Feb-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Allow managed profile to modify networks If the current foreground user has a managed profile, apps running in that profile should have the same permissions to add/remove/modify networks as apps running as the foreground user itself. This is a re-submit of https://partner-android-review.googlesource.com/#/c/529950/ with updated unit tests that will also work after merging to N/master. BUG=26867426 Change-Id: If97734abad801ae1264919c91c3ef4236469cfde
inderUtil.java
inderUtilTest.java
onfigurationMapTest.java
ifiConfigStoreTest.java
ifiConfigurationTestUtil.java
ifiConfigurationUtil.java
ifiConfigurationUtilTest.java
ifiQualifiedNetworkSelectionTest.java
ifiStateMachineTest.java
|
54e2c84547e22622ba4a08bddd1c632d1d937be3 |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Migrate channel/band toString to ChannelHelper Change-Id: Ia4ea1d29b74cd08593f13b9e74cb6f6257adf78b
ultiClientSchedulerTest.java
canner/ChannelHelperTest.java
|
06c07f7548feb9a4c7b53b170340447ca473ff3f |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Update scanner onScanStatus callback to include event am: 63539f1283 * commit '63539f1283899fbbf83ab90757961b4be51d5034': Update scanner onScanStatus callback to include event
|
63539f1283899fbbf83ab90757961b4be51d5034 |
04-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Update scanner onScanStatus callback to include event This now allows scanner implementations to indicate scan failues as well. This change also ensures that anqpLines is set in results from supplicant Change-Id: Ibe18c9b804bf073b9152800295c40d072a41e641
aseWifiScannerImplTest.java
canResults.java
upplicantWifiScannerTest.java
ifiStateMachineTest.java
|
10df92e35f8b7d2abb5b311dc09bf2b8ff30d206 |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge changes I86b5194b,Ic4150120 into mm-wireless-dev am: 3459602371 * commit '345960237132c18a817d3aed93ab6df5906fcc97': Add more functionality to ChannelHelper Add scan channel helper abstraction
|
345960237132c18a817d3aed93ab6df5906fcc97 |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge changes I86b5194b,Ic4150120 into mm-wireless-dev * changes: Add more functionality to ChannelHelper Add scan channel helper abstraction
|
edc07a7f9e7bdb34d90e7edea17a843daea4e5b0 |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Migrate WiifConfigStoreTest to JUnit4" into mm-wireless-dev am: 2de70392b4 * commit '2de70392b480ecf2ecf84786e49bbcf3edd1d0cd': Migrate WiifConfigStoreTest to JUnit4
|
2de70392b480ecf2ecf84786e49bbcf3edd1d0cd |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Migrate WiifConfigStoreTest to JUnit4" into mm-wireless-dev
|
fa6ad93d7d4ba58e0609f8eceeadecc76cea25d1 |
10-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Migrate WiifConfigStoreTest to JUnit4 Bug: 27049088 Change-Id: I2dfc5e383710ca7bd2f38b0ed3a4142fd254cefc
ifiConfigStoreTest.java
|
8a8f89708a14547b79df1774b254f7252c64ad4d |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
resolve merge conflicts of 4086badffe to nyc-dev. Change-Id: Idcabbfc19669aff2a99d6a39fd12a2be25dca058
|
4086badffeb97f4c87b2bed3fcaa49b731a6670e |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Revert "Allow managed profile to modify networks"" into mm-wireless-dev
|
9f8586ea6d640e86560efd9a2d9c1909b08a3ef4 |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Revert "Allow managed profile to modify networks" This reverts commit bbb3149f3bc301e81c202438b77c45574a90a851. Bug: 27145628 Change-Id: I05ac9c714373b98fa73e0dba21ec4d815200af75
inderUtil.java
inderUtilTest.java
onfigurationMapTest.java
ifiConfigStoreTest.java
ifiConfigurationTestUtil.java
ifiConfigurationUtil.java
ifiConfigurationUtilTest.java
ifiQualifiedNetworkSelectionTest.java
ifiStateMachineTest.java
|
f5b4bcf6af1dd024e7219ca69fd54f20948c0be9 |
11-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiMetrics ConnectionEvent logging" into mm-wireless-dev am: 6eb121431c * commit '6eb121431c67b98d8b14242a34c28b205a42b119': WifiMetrics ConnectionEvent logging
|
6eb121431c67b98d8b14242a34c28b205a42b119 |
11-Feb-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiMetrics ConnectionEvent logging" into mm-wireless-dev
|
3e024d7ca0520bd167eac44c1745183919748c83 |
11-Feb-2016 |
Bartosz Fabianowski <bartfab@google.com> |
resolve merge conflicts of bbb3149f3b to nyc-dev Change-Id: I29effba14b5e3bcff4c996e1e12b07f1d7143850
|
bbb3149f3bc301e81c202438b77c45574a90a851 |
11-Feb-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Allow managed profile to modify networks If the current foreground user has a managed profile, apps running in that profile should have the same permissions to add/remove/modify networks as apps running as the foreground user itself. BUG:26867426 Change-Id: I6ab891625b673e617e1c38863b9c6e71e4938a0b
inderUtil.java
inderUtilTest.java
onfigurationMapTest.java
ifiConfigStoreTest.java
ifiConfigurationTestUtil.java
ifiConfigurationUtil.java
ifiConfigurationUtilTest.java
ifiQualifiedNetworkSelectionTest.java
ifiStateMachineTest.java
|
4326ff75bfc8dbe3081402df4f568584ab61b9d7 |
11-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "Update network priorities before PNO is triggered" into mm-wireless-dev am: bfcea7de75 * commit 'bfcea7de75875c900de19a8504416492ed96ae21': Update network priorities before PNO is triggered
|
bfcea7de75875c900de19a8504416492ed96ae21 |
11-Feb-2016 |
Roshan Pius <rpius@google.com> |
Merge "Update network priorities before PNO is triggered" into mm-wireless-dev
|
2532a24b254d724a9b6771d327dc410b32b18602 |
05-Feb-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetrics ConnectionEvent logging Reworked ConnectionEvent start and end calls within StateMachine to produce a more correct log of ConnectionEvents (previously these calls produced an incorrect placeholder log). Some ConnectionEvents being triggered by CMD_AUTO_CONNECT are still not being ended due to double CMD_AUTO_CONNECT calls. Modified the behaviour of endConnectionEvent(), this will not create or modify ConnectionEvents if there is no currentConnectionEvent. BUG=25691077 Change-Id: I932b50cef5d6d66a7dc22f8c118fe9c140a5f4ba
ifiMetricsTest.java
|
39175cc807488dd849e2c530f8be30dd674fbd9f |
09-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Add more functionality to ChannelHelper Check if a channel is in a ScanSettings Add channels to accumulator from native settings Add unit tests for non-abstract ChannelHelper methods Change-Id: I86b5194b2a5c852fd25041a363f42caa202dfa7a
canTestUtil.java
canner/ChannelHelperTest.java
canner/KnownBandsChannelHelperTest.java
canner/NoBandChannelHelperTest.java
|
0e03fa9a1ac57d1eca2b5f5d6880b655d67e2508 |
11-Feb-2016 |
Erik Kline <ek@google.com> |
Merge "Split updateLinkProperties() and provisioning change handling" into mm-wireless-dev am: d150184a5b * commit 'd150184a5b28f862b39ad383ab87ee0ac4ca6be8': Split updateLinkProperties() and provisioning change handling
|
d150184a5b28f862b39ad383ab87ee0ac4ca6be8 |
10-Feb-2016 |
Erik Kline <ek@google.com> |
Merge "Split updateLinkProperties() and provisioning change handling" into mm-wireless-dev
|
ac9ad3283508db15b65b1cbb89b841278973276b |
28-Jan-2016 |
Roshan Pius <rpius@google.com> |
Update network priorities before PNO is triggered The max SSID watch list size for PNO supported by wlan drivers is fixed to a certain size. wpa_supplicant sorts this SSID watch list based on the priorities assigned to those networks. This may result in us losing some frequently used networks from the PNO list because they have lower priorities. This is a side effect of how we assign priorities to network configuration as they're added. So before we trigger PNO, re-sort the network list based on the 'numAssociation' value and assign them relative priorities. This will make sure that the PNO SSID watch list contains all the frequent SSID's to which we were connected to. PS: This change has a side-effect of ignoring the configured priorities during PNO. While there, 1. Add a common test utils class for common utility functions for all tests. 2. Annotate all tests in WifiConfigStore so that |WifiTestUtil.getTestMethod| works reliably. BUG: 26763375 Change-Id: I2c82254b2cb83aef0dd4da9e7d9b2eb5b376bead TEST: `adb shell am instrument -e class 'com.android.server.wifi.WifiConfigStoreTest' -w 'com.android.server.wifi.test/android.support.test.runner.AndroidJUnitRunner'`
canResults.java
ifiConfigStoreTest.java
ifiStateMachineTest.java
ifiTestUtil.java
|
b30f36a05e8867c209a3d6fd1de84af69a627053 |
10-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Remove unused supplicant scan with connection setup option" into mm-wireless-dev am: 28d387c8fa * commit '28d387c8fa63967072dc7c1be46b8aa00f754a17': Remove unused supplicant scan with connection setup option
|
8cf2b5c507918a30629b9dc24944422fc0920665 |
03-Feb-2016 |
Erik Kline <ek@google.com> |
Split updateLinkProperties() and provisioning change handling Bug: 26991160 Change-Id: I20a41e5f1426befc474e923d2763b508f26f1ce4
ifiStateMachineTest.java
|
ed6a985c7b63e295248fa7e8292c99b48b7a4283 |
04-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Remove unused supplicant scan with connection setup option We no longer want supplicant to make connection decisions by itself so remove the option since it is dead code. Change-Id: I53a059219e0080e4780d9a131748958049b47df2
aseWifiScannerImplTest.java
upplicantWifiScannerTest.java
ifiStateMachineTest.java
|
7538f4c7a132a5015dee8b4563bb5ea5cd3f0a13 |
09-Feb-2016 |
Randy Pan <zpan@google.com> |
Merge "Build \'capabilities\' string for gscan results" into mm-wireless-dev am: aab5468666 * commit 'aab54686664ce47f2c41614a8460f454743d157d': Build 'capabilities' string for gscan results
|
9afe16e3fdd84fa9df49bef6e8c5d327ac228f63 |
09-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Remove generic type argument from AnswerWithArguments" into mm-wireless-dev am: 27df8bc929 * commit '27df8bc929b7444414fb8916b72a21c5d7ea5be8': Remove generic type argument from AnswerWithArguments
|
aab54686664ce47f2c41614a8460f454743d157d |
09-Feb-2016 |
Randy Pan <zpan@google.com> |
Merge "Build 'capabilities' string for gscan results" into mm-wireless-dev
|
3571366ac36c70746b9f013ec2b54482861c9292 |
03-Feb-2016 |
Randy Pan <zpan@google.com> |
Build 'capabilities' string for gscan results Populate the WiFi beacon capability information from gscan to WifiNative. Build ScanResult 'capabilities' string based on this value and the information elements. Add unit tests. Bug: 26908033 Bug: 26908558 Change-Id: I661bb501a09d3e79ee0b0a8e141e7e47c72687f7
til/InformationElementUtilTest.java
|
79d691a718a3b8980f99940cbeae8d434c469858 |
09-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Remove generic type argument from AnswerWithArguments It does not add any type safety and was wrong in a number of usages. Change-Id: I93a76ff60f8dd2fc5eb9786bc312f96f9cfdeaaa
ockAlarmManager.java
ockAnswerUtil.java
ockWifiMonitor.java
ifiConfigStoreTest.java
ifiQualifiedNetworkSelectionTest.java
ifiStateMachineTest.java
|
9e06c302626204c7b46e0025a6f91888be5607ef |
09-Feb-2016 |
xin He <xinhe@google.com> |
Merge "add more unit test case to Quality Network Selection" into mm-wireless-dev am: 84c11d63f2 * commit '84c11d63f274ec136a94e0f17982eba1e07f1d9e': add more unit test case to Quality Network Selection
|
84c11d63f274ec136a94e0f17982eba1e07f1d9e |
09-Feb-2016 |
xin He <xinhe@google.com> |
Merge "add more unit test case to Quality Network Selection" into mm-wireless-dev
|
2bc580c67c614c2b7eeaf88a7795620fc53a8099 |
09-Feb-2016 |
Jan Nordqvist <jannq@google.com> |
Merge "Removing Hotspot 2.0 OSU client code from framework." into mm-wireless-dev am: 676d664bf4 * commit '676d664bf4b5f59279a53a986ce94363e2bc4fd2': Removing Hotspot 2.0 OSU client code from framework.
|
676d664bf4b5f59279a53a986ce94363e2bc4fd2 |
09-Feb-2016 |
Jan Nordqvist <jannq@google.com> |
Merge "Removing Hotspot 2.0 OSU client code from framework." into mm-wireless-dev
|
712ef6246834caeac3d5b06bea08e85d6b29cd7a |
05-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Add scan channel helper abstraction This will allow code to easily function without worrying about the differences in the amount of information known about scan channels. Currently this abstraction will only support merging channels, but more functionality will be added as needed. Eventually this will replace all functionality in WifiChannelHelper. Change-Id: Ic41501204fa4ff4470491055f4204ad9a88000d4
canTestUtil.java
canner/KnownBandsChannelHelperTest.java
canner/NoBandChannelHelperTest.java
|
a08566d83c94ad608dd25f86fa7cc82d78734508 |
09-Feb-2016 |
Wei Wang <weiwa@google.com> |
Enable Rtt Responder Role(2/4). am: 68cb8c02b4 * commit '68cb8c02b4ad079c54a2ffd4407da921d18c7af9': Enable Rtt Responder Role(2/4).
|
68cb8c02b4ad079c54a2ffd4407da921d18c7af9 |
25-Jan-2016 |
Wei Wang <weiwa@google.com> |
Enable Rtt Responder Role(2/4). Change-Id: Ib18af94fbba21c833c47336f7a92afe918dc9a89
ttServiceTest.java
estUtil.java
ifiScanningServiceTest.java
ifiStateMachineTest.java
|
21524058ffc735089b1777526df6c9f9dd37ff0e |
09-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add ScanDetailUtil to convert ScanResult to ScanDetail" into mm-wireless-dev am: 5f38b29b5f * commit '5f38b29b5f4b891e59e8c20b210fa9e0e0a28440': Add ScanDetailUtil to convert ScanResult to ScanDetail
|
5f38b29b5f4b891e59e8c20b210fa9e0e0a28440 |
09-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add ScanDetailUtil to convert ScanResult to ScanDetail" into mm-wireless-dev
|
9edf315919914488caa581bef1bfeb78d812deca |
08-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Do some cleanup of WifiScanningServiceTest am: d2d3de4c2b * commit 'd2d3de4c2bea4b949ed78a9b01b920bffa7e51a9': Do some cleanup of WifiScanningServiceTest
|
c83c0526b1c209ca9d831154a13c4ef9131b17f8 |
05-Feb-2016 |
xinhe <xinhe@google.com> |
add more unit test case to Quality Network Selection Add more QNS test cases when deivice is under disconnected state. Add a clear method in QNS for test purpose BUG=26941880 Change-Id: Icf03dc71b1fab5b65b528e6fed4eb5f918f06e36
ifiQualifiedNetworkSelectionTest.java
|
d2d3de4c2bea4b949ed78a9b01b920bffa7e51a9 |
07-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Do some cleanup of WifiScanningServiceTest Improve the error messages generated by tests and make utilities more general in preparation for adding single scan tests. Also do some general scan test cleanup. Change-Id: Iff292a9bd3519c1f2819c8ca4d3ecbfa87ab80f5
canTestUtil.java
ifiScanningServiceTest.java
|
e4e3b8cb884dd9e754a437ea6feac502191f1767 |
07-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Add ScanDetailUtil to convert ScanResult to ScanDetail Also move InformationElementUtilTest to util package Change-Id: I4a2c6a561ce6106d7c8c671cec225cf5ae6532f0
nformationElementUtilTest.java
til/InformationElementUtilTest.java
til/ScanDetailUtilTest.java
|
1b9c2436f0a03d8b5725cf521b0cf8248e85d228 |
05-Feb-2016 |
Etan Cohen <etancohen@google.com> |
NAN: Add NAN HAL capability am: e36f5903f5 * commit 'e36f5903f5d236a29dc94c8bdb215807ae75f5a1': NAN: Add NAN HAL capability
|
72401daf8411fb8e56ee0dd4ecb27cd3bba29e33 |
05-Feb-2016 |
Etan Cohen <etancohen@google.com> |
Merge "NAN: Adding tests for internal state of WifiNanStateManager" into mm-wireless-dev am: a40a871604 * commit 'a40a871604177637c12f190cbbfbf71752c490bd': NAN: Adding tests for internal state of WifiNanStateManager
|
e36f5903f5d236a29dc94c8bdb215807ae75f5a1 |
03-Feb-2016 |
Etan Cohen <etancohen@google.com> |
NAN: Add NAN HAL capability Query NAN HAL for its capabilities and propagate to WifiNanStateManager for storage (usage is TBD). BUG=26564631 Change-Id: Icb4223c5a03cb65fba1781d0ebe78d70110d3a86
an/WifiNanHalMock.java
an/WifiNanHalTest.java
|
22b4156d2948e3108ae8439dc72f76fb97526ace |
26-Jan-2016 |
Etan Cohen <etancohen@google.com> |
NAN: Adding tests for internal state of WifiNanStateManager Add tests for internal state of WifiNanStateManager: validate that cleanup of client (UID) and session registrations (pending transactions) done when client disconnected or when a session is destroyed. While usually not a good idea to test internal state (all other tests are focused on external contract of class) in this case the results would be memory leak and information leak. Fixed several errors discovered with new unit tests. Bug: 26878060 Bug: 26880665 Change-Id: I89f20353c296edb562de3cb0dfdc208e91624acf
alMockUtils.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
3fff4c9bd5db730141e75706a7229814d403b363 |
05-Feb-2016 |
Jan Nordqvist <jannq@google.com> |
Removing Hotspot 2.0 OSU client code from framework. Change-Id: I1be652aeb60cc3c49b606e4e2f467951cf2d68b5
ifiStateMachineTest.java
|
136bd86c2653e31b2a26d93a3c4a0e2df76b41bc |
04-Feb-2016 |
xin He <xinhe@google.com> |
Merge "fix the broken network selection BSSID disable / enable" into mm-wireless-dev am: ddc9e6bd99 * commit 'ddc9e6bd99cf28b4b7304672b7ecc1ead9cdd0b4': fix the broken network selection BSSID disable / enable
|
ddc9e6bd99cf28b4b7304672b7ecc1ead9cdd0b4 |
04-Feb-2016 |
xin He <xinhe@google.com> |
Merge "fix the broken network selection BSSID disable / enable" into mm-wireless-dev
|
76e9e2a18840cc17747103c86b5b9323d059ef18 |
03-Feb-2016 |
Jan Nordqvist <jannq@google.com> |
Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev am: 92ce793e9a * commit '92ce793e9af3faf5d996dd1e592fbc728785058a': New System APIs for Passpoint r2 app.
|
92ce793e9af3faf5d996dd1e592fbc728785058a |
03-Feb-2016 |
Jan Nordqvist <jannq@google.com> |
Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev
|
2e814680f4dd27a5f825afab189843582235cedc |
24-Jan-2016 |
Jan Nordqvist <jannq@google.com> |
New System APIs for Passpoint r2 app. Change-Id: If23e6ab432e871a407cbff94292673524c6d72bd
canTestUtil.java
ifiConfigStoreTest.java
ifiStateMachineTest.java
|
7b6cd1fce7850fc2aa0e510b170e6fd509308d21 |
02-Feb-2016 |
xinhe <xinhe@google.com> |
fix the broken network selection BSSID disable / enable In this bug, AP try to steer the STA from 2.4GHz to 5GHz band. Thus, the 2.4GHz BSSID reject the association request. In theory, framework should disable this bssid for future connection. However, this is broken. This CL fix the broken network selection BSSID disable/enable BUG=26916700 Change-Id: Ib358dd5a8481c4785391345df33b08459f781b81
ifiQualifiedNetworkSelectionTest.java
|
6094859a6bb7a6e24e7d0eea78975c52eb071e41 |
03-Feb-2016 |
Erik Kline <ek@google.com> |
resolve merge conflicts of 8013a9b653 to master. Change-Id: I327bc86b770c516a4357633d1b5929f89e097738
|
8013a9b65375608d80606780e9e1b313576a0f80 |
02-Feb-2016 |
Erik Kline <ek@google.com> |
Move DHCPv4 mechanics out to IpManager Bug: 17345682 Change-Id: Iafe64e924b15c60e27e71c625439f3ab3d251c69
ifiStateMachineTest.java
|
3350cbe20cc4f04f96d87a93376ba44cc00bfba7 |
02-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "WifiApConfigStore refactoring" into mm-wireless-dev am: a51955bb18 * commit 'a51955bb18c047b2d7e4160f75b7e2dc876eb227': WifiApConfigStore refactoring
|
a51955bb18c047b2d7e4160f75b7e2dc876eb227 |
02-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Merge "WifiApConfigStore refactoring" into mm-wireless-dev
|
99501298a44a63049b47908c153290ead28709df |
02-Feb-2016 |
xin He <xinhe@google.com> |
Merge "decouple Quality Network Selection with WifiStateMachine" into mm-wireless-dev am: 2e484f49a0 * commit '2e484f49a044c3d25da845e544c81b2bacfce714': decouple Quality Network Selection with WifiStateMachine
|
2e484f49a044c3d25da845e544c81b2bacfce714 |
02-Feb-2016 |
xin He <xinhe@google.com> |
Merge "decouple Quality Network Selection with WifiStateMachine" into mm-wireless-dev
|
00350909989434fe20c2cf8f4fefbce60f4ed61a |
02-Feb-2016 |
Erik Kline <ek@google.com> |
Move static IP configuration into IpManager am: 6728555d8e * commit '6728555d8e533b3ae2efe7e48f4a0bac3809d959': Move static IP configuration into IpManager
|
6728555d8e533b3ae2efe7e48f4a0bac3809d959 |
01-Feb-2016 |
Erik Kline <ek@google.com> |
Move static IP configuration into IpManager Also, stop passing around "reason" for IPv4 provisioning success or failure. Bug: 17345682 Change-Id: Ib7f2e1ba7ce5d8c17427e21ad9035b06750d2452
ifiStateMachineTest.java
|
b7e25b4194b602300b9fc62c22f528bf5e668faf |
02-Feb-2016 |
Pankaj Kanwar <pkanwar@google.com> |
Merge "Add DhcpFailure and BadNetworkEvent tests to WifiStateMachine" into mm-wireless-dev am: bade25ebb7 * commit 'bade25ebb7b4137521576ba01e77adbda382ac11': Add DhcpFailure and BadNetworkEvent tests to WifiStateMachine
|
bade25ebb7b4137521576ba01e77adbda382ac11 |
02-Feb-2016 |
Pankaj Kanwar <pkanwar@google.com> |
Merge "Add DhcpFailure and BadNetworkEvent tests to WifiStateMachine" into mm-wireless-dev
|
abcc229a23f7f0754bac999c7944e8ea4b4c3253 |
01-Feb-2016 |
Arthur Hsu <arthurhsu@google.com> |
Merge "Follow up of ag/848030."
|
142f2a85c48847ff0b15d71490b8465df0841492 |
01-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Revert "Refactor WifiScanner support for oneshot scans"" into mm-wireless-dev am: aed8c07f8d * commit 'aed8c07f8dc09da9450eae81f4fa8c63191894e0': Revert "Refactor WifiScanner support for oneshot scans"
|
aed8c07f8dc09da9450eae81f4fa8c63191894e0 |
01-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Revert "Refactor WifiScanner support for oneshot scans"" into mm-wireless-dev
|
3fdceeaa74e21c0ca4da52deeeef6571e7e2a6cd |
01-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Revert "Refactor WifiScanner support for oneshot scans" This CL does not correctly handle devices that do not support WifiNative.getChannelsForBand Bug: 26895774 This reverts commit 772124d1f1ddb2b9537de5efc748943808dafe80. Change-Id: Ie49715fc89750f79c8e5f188cb42094f1076a48b
aseWifiScannerImplTest.java
alWifiScannerTest.java
ultiClientSchedulerTest.java
canResults.java
canTestUtil.java
upplicantWifiScannerTest.java
ifiScanningServiceTest.java
ifiStateMachineTest.java
|
b96deebb3e7ce2587fef3cab0049c703d0623c24 |
30-Jan-2016 |
xinhe <xinhe@google.com> |
decouple Quality Network Selection with WifiStateMachine Currently, Quality Network Selection grab a reference to WifiStateMachine and need directly call some APIs in WifiStateMachine. We'd like to reduce the coupling between Quality Network Selection and WifiStateMachine for better stronger self-containing. This can increase the robust and test-ability. BUG=26875232 Change-Id: Ib4e02a2d5b29bade22c416540c38d39dfee2c302
ifiQualifiedNetworkSelectionTest.java
|
c94a64a292925a00c33413c81a46941093495b3e |
24-Jan-2016 |
pkanwar <pkanwar@google.com> |
Add DhcpFailure and BadNetworkEvent tests to WifiStateMachine This CL adds 2 tests for WifiStateMachine: - TestDhcpFailure tests failure in dhcp client. - TestBadNetworkEvent tests sending the NETWORK_DISCONNECTION_EVENT during connection to make sure that the state machine does not break. BUG=26901681 Change-Id: I9e79d8a07d18f397a38816e0a508d13482143937
ifiStateMachineTest.java
|
683b98d17bfa71701eea245f334bd83d9cfa6e01 |
01-Feb-2016 |
Erik Kline <ek@google.com> |
resolve merge conflicts of 9bd76b7c0a to master. Change-Id: Ia89f7d00b8a1d5d4f0c71bdc0ab3912dab9b4e41
|
9bd76b7c0afc90d800066397497b5947916b90fa |
13-Jan-2016 |
Erik Kline <ek@google.com> |
Initial refactoring to migrate IP-related things to IpManager Bug: 17345682 Change-Id: I2cdd59a4ed405b49dd1e5c4f382f6515705b5261
ifiStateMachineTest.java
|
3a24f36a730316a194c79e87963f3b19e3b1e1e4 |
30-Jan-2016 |
Arthur Hsu <arthurhsu@google.com> |
Follow up of ag/848030. Address reviewer comments and make linter happy. Change-Id: Iba9738275038ad2dfb0f40c5112b2d6a762cb333
ifiCertManagerTest.java
|
c79666b79e273ceaa2f74090b02ca6cf83c61387 |
27-Jan-2016 |
Peter Qiu <zqiu@google.com> |
WifiApConfigStore refactoring Here are main changes to WifiApConfigStore: - add public APIs to get/set AP configurations, instead of doing it via message passing between state machines. - remove unnecessary statemachine logics. - remove the use of a dedicated thread for writing configuration file, the reason is that the file size is fairly small, seems unnecessary to create a separate thread just for that (which adds complexity). - handle setting of "null" ap configuration, by falling back to use the default configuration. - add unit tests With this refactoring, WifiApConfigStore becomes more self-contained, which can be easily reused by other modules (e.g. upcoming SoftApManager). Bug: 26727266 TEST=runtest frameworks-wifi TEST=manual test: update/enable WiFi hotspot Change-Id: If438d5be7eaf59f0f2d35ed25a899cef93c5a638
ifiApConfigStoreTest.java
ifiStateMachineTest.java
|
d24bd60cc49acfabd6eb47ca77ad6af02b1082b1 |
30-Jan-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Refactor WifiScanner support for oneshot scans" into mm-wireless-dev am: 6788fcec7c * commit '6788fcec7c1f46563aaf30e8cc1e8e7cb7773c60': Refactor WifiScanner support for oneshot scans
|
6788fcec7c1f46563aaf30e8cc1e8e7cb7773c60 |
30-Jan-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Refactor WifiScanner support for oneshot scans" into mm-wireless-dev
|
772124d1f1ddb2b9537de5efc748943808dafe80 |
04-Nov-2015 |
Mitchell Wills <mwills@google.com> |
Refactor WifiScanner support for oneshot scans Seperate oneshot scans so they are no longer implemented using background scans and make WifiStateMachine use WifiScanner for single scans. This changes requires a few parts: 1. Implement single scan logic in WifiScanningServiceImpl for merging and executing scan requests using the single scan native interface. 2. Writing tests for the new code in 1 3. Make supplicant start scans by using WifiScanner and when it recieves callbacks dispatch scan complete/failure messages. 4. Enable HalWifiScannerImpl and SupplicantWifiScannerImpl to listen to supplicant scan events now that WifiStateMachine does not. Bug: 26525037 Change-Id: Iddd6d64b35fed129048e1fd5c79acb6982bfc418
aseWifiScannerImplTest.java
alWifiScannerTest.java
ultiClientSchedulerTest.java
canResults.java
canTestUtil.java
upplicantWifiScannerTest.java
ifiScanningServiceTest.java
ifiStateMachineTest.java
|
a43ca810bea25734a8ad1a8ced14991ceb04272b |
29-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Merge "Handle user switch in WifiStateMachine.DefaultState" into mm-wireless-dev am: 9feb86132e * commit '9feb86132e4613603f8c1ed649001014c8059969': Handle user switch in WifiStateMachine.DefaultState
|
9feb86132e4613603f8c1ed649001014c8059969 |
29-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Merge "Handle user switch in WifiStateMachine.DefaultState" into mm-wireless-dev
|
04e2e800da7fc759fb2f7b54df02d9f7ea6ae4e8 |
28-Jan-2016 |
Etan Cohen <etancohen@google.com> |
Merge "NAN: add message ID to correlate message callbacks to original message" into mm-wireless-dev am: d3efa09daa * commit 'd3efa09daa49ad39ed1f6920388e9ba63c8e271b': NAN: add message ID to correlate message callbacks to original message
|
d3efa09daa49ad39ed1f6920388e9ba63c8e271b |
28-Jan-2016 |
Etan Cohen <etancohen@google.com> |
Merge "NAN: add message ID to correlate message callbacks to original message" into mm-wireless-dev
|
f2a63d82102461f1e6dbcef7ba16625bc07940ff |
28-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Handle user switch in WifiStateMachine.DefaultState The WiFiStateMachine should take not of changes to the foreground user regardless of its current internal state. The handling of the user switch message should therefore be implemented in the DefaultState, which all other states are built on top of. BUG: 26846176 Change-Id: Ie605f4df3625e445d2015797c3e9bf57615c1f4d
ifiStateMachineTest.java
|
b8301188fa59121d6850d4989ad3342720d133fa |
28-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Merge "Test that WifiConfigStore handles duplicate configurations correctly" into mm-wireless-dev am: 8541f64110 * commit '8541f6411048c5c6281699153b8c7c73e1f30c4c': Test that WifiConfigStore handles duplicate configurations correctly
|
8541f6411048c5c6281699153b8c7c73e1f30c4c |
28-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Merge "Test that WifiConfigStore handles duplicate configurations correctly" into mm-wireless-dev
|
fcc5bc85293213868da5830e01c26363ee2e2cb1 |
28-Jan-2016 |
xin He <xinhe@google.com> |
Merge "Remodel Network Selection" into mm-wireless-dev am: 2c990df82a * commit '2c990df82a9e01a29b4cbe682226b22b805f527f': Remodel Network Selection
|
2c990df82a9e01a29b4cbe682226b22b805f527f |
28-Jan-2016 |
xin He <xinhe@google.com> |
Merge "Remodel Network Selection" into mm-wireless-dev
|
b50356194ccfdaf5e127d9f705f99713d6f1e98c |
26-Jan-2016 |
xinhe <xinhe@google.com> |
Remodel Network Selection There are two main changes in this CL: (1) Add user selection preference support. If user explicitly chooses a network, framework will remember it and consider user has a higher preference of this network over all other visible networks. (2) Seperate user set BSSID and framework chosen BSSID. The BSSID under WifiConfiguration is set by user and is not allowed to be overrided. The BSSID under Network selection status is the best BSSID chosen by the framework to associate with. BUG=26012244 BUG=26721725 Change-Id: I3cfb7db870c6abe933a296267bc1909b4810c8f8
ifiConfigurationUtil.java
ifiQualifiedNetworkSelectionTest.java
|
a8f4fbe984b2ee4a10a98d71f61bbb7c3065c5f2 |
27-Jan-2016 |
Glen Kuhne <kuh@google.com> |
Merge "WifiMetric shorter proto dump" into mm-wireless-dev am: b8bf980e58 * commit 'b8bf980e5827fb97d1b3ad5debcea74d5ad8db8b': WifiMetric shorter proto dump
|
11638f348ba45f9f417928e79b81186cef76c561 |
27-Jan-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetric shorter proto dump Before, proto was dumped as part of the standard Wifi dump using: 'dumpsys wifi proto' Now, proto is dumped on its own using: 'dumpsys wifi wifiMetricsProto' This reduces dump size significantly. The old dumpsys argument is no longer used to dump the proto. BUG=25691077 Change-Id: I7c7d09b906b11af7842d07fc719bf52dca9ba438
ifiMetricsTest.java
|
2e09c384f5ce86061b115f20fe3ca75a175d87f0 |
26-Jan-2016 |
Etan Cohen <etancohen@google.com> |
NAN: add message ID to correlate message callbacks to original message Add message ID to be specified by caller to each message. Same message ID is provided back in callbacks indicating message send success or failure. Message ID is purely used as a caller-side object - the service doesn't use the contents in any way. Bug: 26769293 Change-Id: Ib1243f42473ecbd616a6c620d2fff4aa9d3a0d73
an/WifiNanStateManagerTest.java
|
58ca3b3efbe38a3a13bba21ee312a610616fa57c |
27-Jan-2016 |
Rubin Xu <rubinxu@google.com> |
Merge "Support multiple CA certificates for EAP network" into mm-wireless-dev am: fbda49b838 * commit 'fbda49b838947610deb378d501c686965fef134e': Support multiple CA certificates for EAP network
|
75a766bae85ee8e94fbaad8fb5214804e7ff97e4 |
26-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Test that WifiConfigStore handles duplicate configurations correctly When loading network configurations from the wpa_supplicant, the WifiConfigStore may encounter duplicate entries caused by WPS. This CL adds a test which verifies that the WifiConfigStore handles such duplicates correctly (by having the second configuraiton overwrite the first) BUG:25600871 Change-Id: Iec8fd9a6dc04849192a0761a9d26a0aacd401c0b
ifiConfigStoreTest.java
|
78463be32c01259841f4c0b670b742c3c2040cf3 |
29-Nov-2015 |
Rubin Xu <rubinxu@google.com> |
Support multiple CA certificates for EAP network Copy all configured CA certificates to key store and set up their aliases when adding networks. Remove all certificates when the network is removed. Bug: 22547958 Change-Id: I91836911bfc84ec2922c5db4e9019a2872f361f0
ockKeyStore.java
ifiConfigStoreTest.java
|
2bfc67c9893c0a525b224d68dd73a74212b0c29f |
20-Jan-2016 |
Arthur Hsu <arthurhsu@google.com> |
WifiCertManager implementation. The WiFiCertManager is essentially a wrapper around the KeyStore that filters out client certs (and their corresponding private keys) that the current user should not see. Change-Id: I1843114c54cb459ceec3d3546055b91f6b177125
ifiCertManagerTest.java
|
bcdabb1fa1894fcca610692ec94459fe623afa74 |
22-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Implement private network configurations in WifiService * Make ConfigurationMap aware of the current foreground user. Suffix each accessor with one of: - ForCurrentUser() (operates on network configurations visible to the current user only) - ForAllUsers() (operates on all network configurations) * Make WifiConfigStore aware of the current foreground user: - Whenever the user changes, networks that are no longer visible are disabled and networks that newly became visible are enabled. - Account for the fact that the configKey cannot be computed from information stored in wpa_supplicant.conf alone while loading network configurations from disk. - Have all public methods that add/remove/modify network configurations operate on configurations visible to the current foreground user only. BUG=25600871 Change-Id: Id1e81dd649ac5253c94e65b6a25e239fc3cf09a4
onfigurationMapTest.java
ifiConfigStoreTest.java
ifiConfigurationUtil.java
|
daf5292779d8a24d02f8ec51f51b061b535ed667 |
21-Jan-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Add some tests for WifiScanningService" into mm-wireless-dev
|
94bd575cb4766ed0dfbaad0fc7719a9e9e85a260 |
15-Jan-2016 |
Mitchell Wills <mwills@google.com> |
Add some tests for WifiScanningService Cleanup WifiScanningServiceImpl a little and add a few basic tests Also cleaned up some tests and added some more utilities Change-Id: Ic0ac34344de6cf8fa03b741189156916ae35e2a3
idirectionalAsyncChannel.java
xampleWifiTest.java
ockAlarmManager.java
ockAnswerUtil.java
ockWifiMonitor.java
ultiClientSchedulerFilterTest.java
ultiClientSchedulerTest.java
canTestUtil.java
ifiQualifiedNetworkSelectionTest.java
ifiScanningServiceTest.java
ifiStateMachineTest.java
|
996ff6b8a9d5a75ef41ad4d1efccb04a915ea2c3 |
21-Jan-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Wifi Metrics, Initial Commit" into mm-wireless-dev
|
1b067831bbff14f8e7a99b927b69f714d1b03448 |
04-Jan-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics, Initial Commit Created WifiMetrics class to log wireless metrics. Dumps Metrics as Base64 wifi.proto, with dumpsys option 'proto'. Implements SOME metric collection from wifi service Bug: 25691077 Change-Id: I28a745b5f66dd1d38868b7eadd79882fd2c5c5a2
ifiMetricsTest.java
ifiStateMachineTest.java
|
a04138fa633a02ed992e1a38decb0eb9a81430e2 |
20-Jan-2016 |
Randy Pan <zpan@google.com> |
Merge "Optimize WiFi scanner predefined bucket settings" into mm-wireless-dev
|
78c66a6fa8ac2f6c9d3fa74313a4ac8c3585cb18 |
16-Jan-2016 |
Randy Pan <zpan@google.com> |
Optimize WiFi scanner predefined bucket settings Configure the predefined period values to be PERIOD_MIN_GCD_MS * 2^N. This helps power saving and cpu utilization. Updated the scanner unit tests. Bug: 26588661 Change-Id: I6f62fd8072086843506c9b624c67f959fcdc4ecb
ultiClientSchedulerTest.java
|
c84802f3c6026f42cd39575d7cf23972ad9fe375 |
15-Jan-2016 |
xinhe <xinhe@google.com> |
Broken Network Selection Tests StateMachine.sendMessage is final and can not be mocked. Use other mothod to verify BUG=26549815 Change-Id: I4a5fcd682654bd7925a15f1f51be808653f4e9be
ifiQualifiedNetworkSelectionTest.java
|
fbb081b7c28c18f0644701061a1ab38a4627db27 |
15-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Store configKey in wpa_supplicant.conf With per-user networks, the data normally present in wpa_supplicant.conf will no longer be sufficient to reconstruct a network's configKey. The configKey must thus explicitly be stored with each wpa_supplicant.conf entry. The wpa_supplicant.conf format provides a single variable for keeping such metadata, "id_str". Since that variable is already used to store the FQDN for Passpoint networks, it must be extended to hold both the FQDN and the configKey. This is done by changing the variable's data format to a serialized JSON dictionary. For future reference, the configuration's creator UID is also added to the dictionary. BUG=25600871 Change-Id: I2d63e21d1a87bb9645fed957479dcdb3d2642e38
ifiConfigStoreTest.java
ifiNativeTest.java
ifiStateMachineTest.java
|
39c3574fa3be035eafbf86462f3ca1bb859060fa |
15-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Revert "Store configKey in wpa_supplicant.conf" This reverts commit 3552d3bc8329aa9bc843f62c3a854e5ad2b41037. Change-Id: Ib0d425baa3ac38a20d3ba660e5e5da490a1551e0
ifiConfigStoreTest.java
ifiNativeTest.java
ifiStateMachineTest.java
|
3552d3bc8329aa9bc843f62c3a854e5ad2b41037 |
14-Jan-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Store configKey in wpa_supplicant.conf With per-user networks, the data normally present in wpa_supplicant.conf will no longer be sufficient to reconstruct a network's configKey. The configKey must thus explicitly be stored with each wpa_supplicant.conf entry. The wpa_supplicant.conf format provides a single variable for keeping such metadata, "id_str". Since that variable is already used to store the FQDN for Passpoint networks, it must be extended to hold both the FQDN and the configKey. This is done by changing the variable's data format to a serialized JSON dictionary. For future reference, the configuration's creator UID is also added to the dictionary. BUG=25600871 Change-Id: I01518fee6237f4cf60efa4be92c3c7a1aff32704
ifiConfigStoreTest.java
ifiNativeTest.java
ifiStateMachineTest.java
|
859240c33a7af91ed5cfe64813a0d296981d2f63 |
15-Jan-2016 |
Vinit Deshpande <vinitd@google.com> |
Merge "Unit test for WifiController's emergency mode behaviors" into mm-wireless-dev
|
f26259a93c77a0069deb46ca29a864de31c99ba6 |
15-Jan-2016 |
xin He <xinhe@google.com> |
Merge "Broken WifiStateMachine and Network Selection Test" into mm-wireless-dev
|
79a4204d12f32d2f6a4dfc8500f5e74718cabb8d |
14-Jan-2016 |
Vinit Deshpande <vinitd@google.com> |
Unit test for WifiController's emergency mode behaviors Change-Id: Ic3d8618501632d449bbd3432b95542ac92f336e4
ifiControllerTest.java
|
17b7a795202659694aeb21e45b4dd4a4b016ac4d |
15-Jan-2016 |
Etan Cohen <etancohen@google.com> |
Merge "NAN: initial service implementation for discovery" into mm-wireless-dev
|
8f3ec73d1ce52b3f23e4cccd6a202b5707874f46 |
15-Jan-2016 |
xinhe <xinhe@google.com> |
Broken WifiStateMachine and Network Selection Test Fix the broken on Network Selection Test BUG=26549815 Change-Id: I1e331c6c677b050b3625ca708c8513dcbd3c192f
ifiQualifiedNetworkSelectionTest.java
|
956f54b391677d78379729dd14518edddf3c7660 |
29-Sep-2015 |
Etan Cohen <etancohen@google.com> |
NAN: initial service implementation for discovery Initial NAN service implementation. Supports: - Configuration - Publish/Subscribe = Discovery - Message passing - Notifications Bug: 26216681 Change-Id: I1f84a6006cec3c3ed9a4566a79b1b4f8dcecde08
alMockUtils.java
an/TlvBufferUtilsTest.java
an/WifiNanHalMock.java
an/WifiNanHalTest.java
an/WifiNanManagerTest.java
an/WifiNanStateManagerTest.java
|
2771787818003e53e8175036a3d09688c783f350 |
07-Jan-2016 |
Mitchell Wills <mwills@google.com> |
Fix a couple bugs in WifiScanner and improve tests Ordering of scan results for HAL scanner implementation was wrong. Generated scan results for tests were very similar in some cases leading to tests missing the bug above. This CL makes generated scan results dependant on the test case name as well. Change-Id: Ibb35abf275db3585766be630585d0e3c8870494c
aseWifiScannerImplTest.java
canResults.java
canTestUtil.java
upplicantWifiScannerTest.java
|
611faf5ce1f33711b71294aa0245f164bb3b09da |
13-Jan-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Tests for InformationElementUtil" into mm-wireless-dev
|
b907b456dfba8417b913508533145e374e40c2b7 |
13-Jan-2016 |
xin He <xinhe@google.com> |
Merge "Initial codes for Quality network selection [DO NOT MERGE]" into mm-wireless-dev
|
932de591430383f0704d1cec2e61b8f2b1657ee0 |
13-Jan-2016 |
Randy Pan <zpan@google.com> |
Merge changes I259c735c,Ia8006f3e into mm-wireless-dev * changes: Exponential back off scan unit tests Scanner scheduler support for special scan request
|
f935e529bdcc150dc57641f5f2ab10cd69f2e3e9 |
12-Jan-2016 |
Randy Pan <zpan@google.com> |
Exponential back off scan unit tests Added two unit tests for exponential back off scan. Bug: 26236392 Change-Id: I259c735c952331601fbc2f5ac76b735ae3c64c77
ultiClientSchedulerTest.java
canTestUtil.java
|
7d2d8c27647676c51208e417afbb8dd6c6784b7c |
13-Jan-2016 |
Mitchell Wills <mwills@google.com> |
Disable registering for scan events in SupplicantWifiScannerImpl This interferes with WifiStateMachine getting scan events when the gscan HAL is not supported Bug: 26501100 Change-Id: I660f2457d4277a73be70467a463b9b9cf2944f83
upplicantWifiScannerTest.java
|
8f0f666c8bdaf508f191f8590755140b92d970ea |
01-Dec-2015 |
xinhe <xinhe@google.com> |
Initial codes for Quality network selection [DO NOT MERGE] In this change list, the old WifiAutojoin module is refactored initially. The old WifiAutojoinController is replaced with a new WifiQualifiedNetworkSelector. WifiConfiguration, WifiConfigureStore and WifiStateMachine have been modified accordingly. The new network selection logic is refactored with a more clear and deterministci one. To refer to thedescribed in details, in "Quality Network Selection and Connectivity Scan Management in N". The link of the document is: https://docs.google.com/document/d /1JPTa2NEk-PgjCJ16fIrR6ohV-kDKveDlYDOeiMCB2_c Also the initial unit test codes are added. Test case of 5GHz network over 2GHz network is added. Bug:26012244 Change-Id: I8dc240115c0625c0fae13a5b3965f70556040448
ifiQualifiedNetworkSelectionTest.java
|
da51c12f413d54517aea317e37ba82e45d1e4a30 |
16-Dec-2015 |
Rebecca Silberstein <silberst@google.com> |
Tests for InformationElementUtil Add tests for parsing InformationElements. Covers multiple types of invalid input. In addition, added check to parseInformationElements to check for null input. If the input byte array is null, returns an empty InformationElement array. Bug: 26228026 Change-Id: I49e0f6ca938e07c7d961853279645f8511dbd0c3
nformationElementUtilTest.java
|
b35c2105231b61606db78d4bf8a75ec31039db61 |
11-Jan-2016 |
Etan Cohen <etancohen@google.com> |
Merge the MockLooperAbstractTime functionality into baseline MockLooper The time functionality (post delayed event) of MockLooperAbstractTime is additive: i.e. base functionality (without posting delayed or moving time) is identical to MockLooper - hence no need to have a separate class. Change-Id: I01ae48712534a4c08003a5a6271a66c8c9bf984c
ockLooper.java
ockLooperAbstractTime.java
ockLooperAbstractTimeTest.java
ockLooperTest.java
|
f7267fc5dd0ac9bf7cb1e184f5818cc0b6e977ec |
08-Jan-2016 |
Etan Cohen <etancohen@google.com> |
Merge "Add/extend MockLooper to handled messages posted with a delay." into mm-wireless-dev
|
e1e1c7317e5e5d61daf90cd2f2861305f19890b7 |
08-Jan-2016 |
Etan Cohen <etancohen@google.com> |
Add/extend MockLooper to handled messages posted with a delay. MockLooperAbstractTime allows moving time forward and dispatches messages per the current time. Change-Id: Ic87a609db86011b7b909353122fabe7cb440b61f
ockLooper.java
ockLooperAbstractTime.java
ockLooperAbstractTimeTest.java
|
eee1d479d8d402a2e78e2f143e957030cfc77749 |
29-Dec-2015 |
Vinit Deshpande <vinitd@google.com> |
First WifiStateMachine UnitTests Change-Id: I044b54f18f1a75b5b33c3fc9fc71a8da820d2521
ockResources.java
canResults.java
ifiStateMachineTest.java
|
1a16020f8d611c94797884b212ee6a26817fad82 |
16-Dec-2015 |
Mitchell Wills <mwills@google.com> |
Some improvements for WifiScanner scheduler Make sure that bands are used instead of channels lists if they can represent all requested channels. Only deliver the maximum number of bssids requested and no more. Make sure chips maximum number of bssids per scan is respected. Bug: 26217163 Change-Id: Iac9cd9f3983f2e1397aec7802155358516d154bf
ultiClientSchedulerFilterTest.java
ultiClientSchedulerTest.java
|
5fa6221c4e507cbc596b6de77d793ec08d690157 |
12-Dec-2015 |
Mitchell Wills <mwills@google.com> |
Add support for oneshot scan API in supplicant WifiScannerImpl Implement startSingleScan for in SupplicantWifiScannerImpl Also some style cleanup in SupplicantWifiScannerImpl Refactor HalWifiScanner tests to be a base for both supplicant and hal implementations Change-Id: Ic6d4db7acda39207861bad8b33ddb433c3917b8b
aseWifiScannerImplTest.java
alWifiScannerTest.java
canTestUtil.java
upplicantWifiScannerTest.java
|
f2f6f79242454ff9161f5af772292fa0180436f8 |
04-Nov-2015 |
Mitchell Wills <mwills@google.com> |
Make HAL oneshot wifi scans use wpa_supplicant Currently this code path isn't used, but will be enabled once the supplicant scanner implementation also supports the seperate oneshot scan api Change-Id: I23ce63172b82b9b4b824093885f78064fc064144
alWifiScannerTest.java
|
72c639e8b97067e948eca8be50dfea3173121090 |
04-Nov-2015 |
Mitchell Wills <mwills@google.com> |
Cleanup wifi tests style Make all tests follow style defined in development/tools/checkstyle Change-Id: I18b24956f4fdecde8f02ebcc9089065b4a5b7e68
xampleWifiTest.java
ockAlarmManager.java
ockLooper.java
ockWifiMonitor.java
ultiClientSchedulerFilterTest.java
ultiClientSchedulerTest.java
canResults.java
canTestUtil.java
upplicantWifiScannerTest.java
|
41e38d84f562e12198f7db0d45f633712cae6cba |
19-Nov-2015 |
Mitchell Wills <mwills@google.com> |
Tests for SupplicantWifiScannerImpl Other small fixes/aids for testing * deliver full scan results in the order they are returned from supplicant * Now use AlarmListener AlarmManager API instead of intents * Use WifiChannelHelper instead of direct native calls Change-Id: I3133a21162f598e5e5973ec67ebc9521a3a387ab
ockAlarmManager.java
ockLooper.java
ockWifiMonitor.java
canResults.java
canTestUtil.java
upplicantWifiScannerTest.java
|
297c3acabe7a85eb87240fe3ccf772e57ce6aef7 |
23-Jul-2015 |
Mitchell Wills <mwills@google.com> |
Add multi client batch aware scheduler WifiScanner can now schedule requests much more intelligently. Bug: 20956158 Change-Id: Ib852d1d84d8cc798a37660850d5e6f3a206390c1
ultiClientSchedulerFilterTest.java
ultiClientSchedulerTest.java
canTestUtil.java
|
5ba6152092301bbdea7e2838727b63dc40dd8c4a |
03-Dec-2015 |
Mitchell Wills <mwills@google.com> |
Setup framework for wifi unit tests Change-Id: I6f5fe51c567d0464fead06daf4a6018f4bb403cd
xampleWifiTest.java
|