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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ConfigurationMapTest.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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ConfigurationMapTest.java
|
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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ConfigurationMapTest.java
|
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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ConfigurationMapTest.java
|
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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ConfigurationMapTest.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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ConfigurationMapTest.java
|