073c371dbc5b361bf5f6651ed5f6b471012bd673 |
|
08-Jun-2016 |
Paul Stewart <pstew@google.com> |
resolve merge conflicts of 6da17ca to nyc-dev Change-Id: Ifb500e3f745b5e2493ffa016a06f23120e80910a
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
304d3451b9245f7c7bb5e81465561f0eb63b2473 |
|
16-May-2016 |
Randy Pan <zpan@google.com> |
WifiConfigManager: clean up makeChannelList() Removed the unused input paramater 'restrict'. Updated its callers. Bug: 28786277 Change-Id: I44dc870ce3f353698187f76e8996cc77395b17d3 Tests: Wifi Framework Unit Tests, manual tests
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
46604d0d8d27c9dbdf986032de6e906e331f80ce |
|
16-May-2016 |
Randy Pan <zpan@google.com> |
WifiStateMachine: clean up dead code Cleaned up the dead code from the original exponential back off scan implementation. Bug: 28750989 Bug: 28070598 Change-Id: I8abf82cdaa3530fb514794b4004c5d3f15950672 Tests: Wifi Unit Tests, manual test
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
208c3c19bae4801f7e18c44e1ce2b6e06dd19d05 |
|
10-May-2016 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix string comparision and return value in try catch block" into nyc-dev
|
646ee7704694ef70c0dd3c707170163361ed504a |
|
07-May-2016 |
Randy Pan <zpan@google.com> |
WifiConfigManager: clean up log message level Quite some logs should be debug message instead of error message. Bug: 28619076 Change-Id: Iee06f57bab58aeca881068f0b4f36a0d5bbb3230 Test: Wifi Unit Tests
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
b2c2f85c959cb0deba238b566f39b1b942eb70a8 |
|
05-May-2016 |
Ningyuan Wang <nywang@google.com> |
Fix string comparision and return value in try catch block This CL uses value comparision instead of reference comparision for strings. This also removes returning value in finally block, otherwise exception may be suppressed. BUG=28605846 TEST=compile TEST=runtest frameworks-wifi Change-Id: I6ace4d233d2b0af3627f75dfdb7dcec6a46b0092
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
b8635136f9a15f0d79a142f12d3b56fa727327f3 |
|
25-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WificonfigManager: Split out scandetail to network lookup" into nyc-dev
|
f799eff77d81ae0509b8b890a7c6068d5c6cda6e |
|
22-Apr-2016 |
Roshan Pius <rpius@google.com> |
WificonfigManager: Split out scandetail to network lookup Create a separate method to fetch the saved network from scan detail. This can be used for caching dtim values in WifiStateMachine. BUG: 26494190 TEST: Compiles & unit-test passes Change-Id: Ib5819fd72afc3dcf691735deccb237874eac3f8d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
ca4e81e099ff1608874a91afd9846100d4599f04 |
|
22-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiConfigManager: Remove redundant code" into nyc-dev
|
ad36265b6efc83414daf7e38283826482dfb5045 |
|
21-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove redundant code Remove some redundant code in enableNetwork and move some the network status updation from state machine to ConfigManager. BUG: 28317135 Change-Id: I375af87bd971352d3066a150e046571f00de44fd TEST: Compiles & unit-test passes
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
c38419bd95b0934cb1dfc6f1e1f29eca9929da8c |
|
14-Apr-2016 |
Rebecca Silberstein <silberst@google.com> |
Merge "Update hasEverConnected for wifi networks" into nyc-dev
|
30925b4fe118d954c671523b71ecd8820e70d962 |
|
13-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge "Remove WifiConfigManager.mDeletedSSIDs" into nyc-dev
|
a43ada87b8111dc2c5c440d3b9b529ffba8384e7 |
|
13-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiConfigManager: Remove dead code" into nyc-dev
|
2e17da3b28b31b24aabd18367347c2a15f148cd1 |
|
13-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiConfigManager: remove OLD_PRIVATE_KEY_NAME" into nyc-dev
|
329b3a9a9bc32d14649e91c15876ea7f95f148d1 |
|
13-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Remove dead code BUG: 28164778 Change-Id: I1e09b8039dbf7d220fd699b5be3b29330d02a305
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
913bb9047c0eab77653b47a0ed69dbe0bd3d479f |
|
13-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Remove WifiConfigManager.mDeletedSSIDs mDeletedSSIDs are introduced in WifiConfigStore in go/ag/585797, where it was used in WifiConfigStore.associateWithConfiguration(). This method was later removed in go/pag/215262, but mDeletedSSIDs was not. Later, mDeletedSSIDs was moved to WifiConfigManager in a WifiConfigStore refactor. Since this variable is no longer used, delete it and all references to it. BUG: 28088479 Change-Id: I056ae6f6654269100fc96f25b299a9fece85be93 TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
bca895e7651c2929ff883568940892987c1a03d3 |
|
12-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: set default value of mShowNetworks back to false Since b/17516271 is marked as fixed, act on the TODO and set the default value of this field back to false. While there, re-order some fields in accordance to the style in WifiConfigManager.java. BUG: 28088219 Change-Id: Ib6a0985babdbebb35916278fe64bacdeb863ab8e TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
fdbf9d334419ff5aff35bf56f7cf46d01998861b |
|
12-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: remove obselete field description Remove description for a field that was previously deleted (mNetworkIds). BUG: 28088467 Change-Id: I2f6ac921b9b73e91c4eed5b0481bc4a910e92f02 TEST: N/A
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
0fe550277a9db5a06d8d8265f50a87b4645094f8 |
|
12-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: remove OLD_PRIVATE_KEY_NAME Remove WifiConfigManager.OLD_PRIVATE_KEY_NAME, since it is a duplicate of WifiConfigStore.OLD_PRIVATE_KEY_NAME, and WifiConfigManager's copy of this variable is not used. While there, re-order some fields in WifiConfigManager to match the style in this file. BUG: 28088377 Change-Id: I448c4368fd7e1d0a86606fec8187298c005734d5 TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
7429ca2593265cc1b97fb0d616ef3c07364b2931 |
|
12-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge "Rename WifiConfigManager.getConfiguredNetworks()" into nyc-dev
|
666a2e92468803a739394e6b53d9fe021a7b4afd |
|
11-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: remove mEnableSsidWhitelist and mEnableHalBasedPno Remove both these members, since they are only set, but not used. BUG: 28088382 Change-Id: I610b67b7cc84e66a2378c7422908ce80b3dae69a TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
4cd91e207897c250c7fc0e6ed3176698dce29093 |
|
11-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge "Rename enableAutoJoinWhenAssociated()" into nyc-dev
|
c769e9f8aa687a80d10c9442ce44d091f63f06b6 |
|
11-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge "WifiConfigManager: remove unused fields" into nyc-dev
|
43eba5ba17a9af5d9a050a4ba5e12e93c92f722d |
|
08-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Rename enableAutoJoinWhenAssociated() Rename instances of the abovementioned method to setEnableAutoJoinWhenAssociated(), to better reflect that this method is a setter. BUG: 28088867 Change-Id: I2ea170c8b3f1042356014f9ac57035d78302db76 TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
78bfa19f8eb5f8e05f72b831b6629d07ec6909e1 |
|
08-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: remove unused fields Remove unused fields from WifiConfigManager. BUG: 28084272 Change-Id: If6e316693d42ddd6914ac9b1c4d7cdf044c66b5a TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.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.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
930174d9abe89ddb275e03620f40b937b1f53dd5 |
|
06-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Move wnmFrameReceived() from WifiConfigManager to WifiStateMachine Move this method into WifiStateMachine, since it does not use any state specific to WifiConfigManager, and removes the dependency of WifiConfigManager on WifiStateMachine. BUG: 27405059 Change-Id: I649dca1ba748f2ffdfa3ef6d0de014186a753d91 TEST: 'runtest frameworks-wifi' succeeds.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
308a06a125932081304655cda8374ffcf0772b3c |
|
05-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Move mActiveScanDetail from WifiStateMachine to WifiConfigManager Since |mActiveScanDetail| is only used in WifiConfigManager, move it from WifiStateMachine to WifiConfigManager, and add a sycnhronized setter for this variable that WifiStateMachine can call to update it. BUG: 27405059 Change-Id: Ic7f97157433bf0db9d5ec3d5ac93073e163c5355 TEST: 'runtest frameworks-wifi' succeeds.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.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.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
37cc4a769e6a2b81f3b99941187cdfd95fc6f713 |
|
23-Mar-2016 |
Randy Pan <zpan@google.com> |
Fix ephemeral network Wifi configuration Build ephemeral network Wifi Configuration's key managment protocol properly from the scan results. Bug: 27577494 Change-Id: Iec142a4cad64546f4a95c3ab270affd355469ff9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
cc018db319baff34c9d36928d04c2c420257498f |
|
22-Mar-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Write ipconfig.txt for new configs We need to write the ipconfig.txt file for all new config additions. The |writeIpAndProxyConfigurationsOnChange| method is modified to force update the ipconfig.txt for new networks. While there, 1. Move the log indicating that we're updating ipconfig.txt to the place where we actually update the file. 2. Remove the redundant config change update broadcast from |writeIpAndProxyConfigurationsOnChange|. This is anyway being done in saveNetwork & addOrUpdateNetwork. BUG: 27697450 Change-Id: Ie2b8d51ed218ac8809a726ca169f2e61ef185593 TEST: Verified that the ipconfig.txt is written for new configs.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
08c939fa7f1fcd666a3076b6921864b4bf70308f |
|
21-Mar-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Update network metadata The configkey saved for new networks may change after we save the network. This is because some of the default values are not specified when saving the network to supplicant, but these values are filled when reading the config back from supplicant. The configKey which depends on the |authAlgorithms| field needs to be updated after all of these default values are read. BUG: 27756946 TEST: Compiles & unit-test passes TEST: Manually executed the failing test in the above bug and verified that it passes now. Change-Id: Ia568a2804f69697a8342e666d2ec3b269dbc9922
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
3a2b55ba283dec0d3e3421bdd27568ad0644bd7e |
|
07-Mar-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiConfigManager: Change PNO network list type" into mm-wireless-dev
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
d63e34a4e68bcd320d01fe930662cc2ad3426656 |
|
04-Mar-2016 |
Ningyuan Wang <nywang@google.com> |
Remove unused function configureSsidWhiteList() The function configureSsidWhiteList calls a empty function in WifiNative. This removes the relevant code. Bug: 27377844 Change-Id: Ifc1e6418e52e28688fb0c379b77824a20add127f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
7713c37038f24f06039e5c4c3c191e10a1b9e159 |
|
02-Mar-2016 |
Randy Pan <zpan@google.com> |
Fix ScanDetailCache thread safety issue Changed the type of ScanDetailCache HashMap to ConcurrentHashMap. Tuned ScanDetailCaches and ScanDetailCache ConcurrentHashMap concurrency level parameter to save memory. Bug: 27064997 Change-Id: Icc0a36970fc58142968bccfe2d94a7d5a039344d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
6f5af9b7f69b15369238bd2642c46638ba1f0255 |
|
01-Mar-2016 |
Randy Pan <zpan@google.com> |
Merge "Fix WifiConfigManager thread safety issue" into mm-wireless-dev
|
adf70a7b3856bed24be4ddaf3a7d69da37c1f952 |
|
01-Mar-2016 |
Randy Pan <zpan@google.com> |
Fix WifiConfigManager thread safety issue Change ScanDetailCaches type from HashMap to ConcurrentHashMap, which is thread safe. Bug: 27064997 Change-Id: I7d7228e8ad479af2b4d14e6a544c1bfc94bd5f2c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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`
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
2af03130d7f85823223b8591dc52858d851b301d |
|
24-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Remove a bunch of dead wifi code Bug: 26907933 Change-Id: I3398b9bc9a2c915319ac4533b402ba400588f6e8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
7925cfb0de40a8e7aba97bf1cff1f5da75fab987 |
|
25-Feb-2016 |
Randy Pan <zpan@google.com> |
Merge "Retire ScanResult.autoJoinStatus" into mm-wireless-dev
|
acdde5816c1a4d76cfc49c2eb5bfa8410d377558 |
|
25-Feb-2016 |
Randy Pan <zpan@google.com> |
Merge "Delete auto join config" into mm-wireless-dev
|
23fe1c9201d6e734f3b4f727144a91c3a20a2627 |
|
24-Feb-2016 |
Randy Pan <zpan@google.com> |
Retire ScanResult.autoJoinStatus This attribute is no longer in use. Bug: 27340037 Change-Id: Id65230daf2c1b7085568f65fe3018cef54869fd0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
b7224f0075035f1d5957e156f5666ac78d597e2c |
|
24-Feb-2016 |
Randy Pan <zpan@google.com> |
Delete auto join config Remove obsoleted auto join configuration. The configuration file is no longer in use. Bug: 27312337 Change-Id: I3b1945f56cd09809e84a7fe5c0b7e4a976fb35d5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
3d1baff308fd209648a4d3cf5c02a8bfd1a98a52 |
|
24-Feb-2016 |
Roshan Pius <rpius@google.com> |
WifiConfigManager: Add SupplicantBridge callbacks Create a new SupplicantBridge callbacks instead of passing WifiConfigManager instance to SupplicantBridge. BUG: 27325803 Change-Id: Id6d61af6e2758492f6779da4487a8238857bd124
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|
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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiConfigManager.java
|