f442f2fcab4c59429926cdf79e2499f4977faf4b |
|
05-Jan-2018 |
Roshan Pius <rpius@google.com> |
WifiConfigStore: Inform the clients when store has no data for them Some modules like ONA, WakeupController are dependent on store read completion to kick off operations. So, ensure that the config store informs all the clients when the shared/user store is read even if there is nothing in the file (fresh install). Changes in the CL: a) Only invoke deserializeData & resetData for user store if it has become visible (after user unlock). b) When the store contents are empty, inform the clients that there is no data to read by passing in a null parser handle. With these changes, the clients can effectively wait for the deserializeData() of their store data module being invoked to kick off operations. Bug: 71644289 Test: Unit tests Test: Manual tests (Added logs in all the clients DataSource to ensure they all received a call to deserializeData() twice on bootup (one for shared & one for user). |in| being null when they have no data & |in| being non-null when they have data) Test: Sent for regression tests: b/71712638 Change-Id: If250252baf147bb16990dfa693417ead312b9911
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/PasspointConfigStoreData.java
|
773a24cc2db61d47cea3c86a3ca8276805536674 |
|
05-Dec-2017 |
Sohani Rao <sohanirao@google.com> |
WifiConfig corresponding to a PasspointConfiguration is not shared by default Default WifiConfiguration must be created to not be shared, so that a new device user is unable to stay connected to passpoint configuration that was created by another user. The WifiConfig returned should correspond to the PasspointProvider in terms of sharing preferences with other users. Bug: 67854131 Change-Id: Ib26fd970062181426c7f04c75aae088b9a040e18 Test: Unit tests and bug repro
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/PasspointConfigStoreData.java
|
49357a30edf5786c8db4bad6f5dbe62545751cc6 |
|
23-Jun-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: track number of providers that connected successfully Add boolean field "hasEverConnected" to PasspointProvider to indicate if the given provider had ever provided a successful network connection. The added field is persisted to the config file. Update the associated metric for the given provider after it was used to successfully connect for the first time. Note that PasspointManager#onPasspointNetworkConnected can be expanded in the future to keep track of connected SSIDs for a given Passpoint provider, as an additional input to the network selection algorithm. Bug: 36358031 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually verify the provider's "hasEverConnected" is set to true in the config file after a success connection Change-Id: I6ef4ec801f78f34ff2ca9df97ab06188e1cc0324
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/PasspointConfigStoreData.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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/PasspointConfigStoreData.java
|
f3fd8c5cdaa66dbaceecbe52a125a4657e0c68c4 |
|
01-Apr-2017 |
Peter Qiu <zqiu@google.com> |
Revert "hotspot2: track creator UID for installed providers" This reverts commit 2e60a41775fc66f245e7413db72002aebe69e823. Change-Id: Ifa60c015adb2bac7d91d000ea21e53d1217bb72f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/PasspointConfigStoreData.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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/PasspointConfigStoreData.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
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/PasspointConfigStoreData.java
|