Age | Commit message (Collapse) | Author |
|
Add wifi standard field to WifiEntry.ConnectedInfo for displaying in
Network Details page.
Bug: 117216087
Test: build
Change-Id: Ibd4a9b229abc83965c1d7186a4149937e8d2b118
|
|
Auto-generated-cl: translation import
Change-Id: I77877184ea2f8e8fd220f3f016bbb3942f91c629
|
|
Auto-generated-cl: translation import
Change-Id: I7adb9c9208ed8f4a7ac04fa8cefbeab0c7b38346
|
|
Auto-generated-cl: translation import
Change-Id: I0259183b60c0586953df47705958cece400b2aed
|
|
Auto-generated-cl: translation import
Change-Id: I759d231ef0a79c007086e7708459393e6ab2b5df
|
|
Auto-generated-cl: translation import
Change-Id: Ibecf0baeeb10a785e3f989767b9b3b757ab9c3c0
|
|
Auto-generated-cl: translation import
Change-Id: I68ea22bf2a7cb7aa987e8c82183a0917d36e225b
|
|
Auto-generated-cl: translation import
Change-Id: I582bc7d4831319ec348457e5f37d61046c7359f1
|
|
Auto-generated-cl: translation import
Change-Id: I3509966ce7e4c3ff9ac39a307cc761b7c9438ecd
|
|
The default route booleans must be reset to false in onStart() if there
is no default route. Otherwise these booleans may still hold
an out-of-date "true" value and the actual false->true update will not
trigger handleOnDefaultRouteChanged, causing the X in the wifi signal
icon to never disappear.
Bug: 168885802
Test: Connect to network in wifi picker, open network details and
disconnect, go back to wifi picker and connect to same network. Observe
X in wifi signal icon to disappear after validation.
Change-Id: Ifde41ec0436ae67c59f5b935b5bc4ff1cd357f57
|
|
Auto-generated-cl: translation import
Change-Id: I934455dae1a94d1931b288fb8f2b5d2f34f8ef1d
|
|
Auto-generated-cl: translation import
Change-Id: I7bb8c9142bf5d91d11be592ab0837324261fe53d
|
|
rvc-qpr-dev
|
|
Removing unit test for showing edit dialog for never-connected secured
networks, since this behavior does not happen anymore.
Bug: 160727383
Test: atest WifiTrackerLibTests
Change-Id: I7d13141ad4ef8ebe9166cf26d00fb22e74d1af32
|
|
Auto-generated-cl: translation import
Change-Id: I07be8fb9004037dd4ff5280f27e1c2e8c711fd55
|
|
into rvc-qpr-dev
|
|
rvc-qpr-dev
|
|
Auto-generated-cl: translation import
Change-Id: I5d946880eeb94034226dfe4cfc8c2ba4067c1acf
|
|
Password shouldn't be prompted for secure saved networks that haven't
been connected to.
Bug: 160727383
Test: added a saved network via shell and manually connected to it, observe that
password prompt does not pop up.
Change-Id: Ib98fcbda077eacf22614aba766dba6ecb32a2ada
|
|
"Low quality" text for a wifi entry should only show if wifi is
validated but the default route is still cellular, which indicates that
the score of wifi is insufficiently low.
Bug: 163627176
Test: atest WifiTrackerLibTests
Change-Id: I1c1f9218354274214222dd6ed92e6b451d74e3f4
|
|
Auto-generated-cl: translation import
Change-Id: I56ea8b8de5891ad056a2c234f1d76eb52abcf7d8
|
|
rvc-qpr-dev
|
|
Auto-generated-cl: translation import
Change-Id: I73992c26f7ddcee070a32e15d270a4542340acf9
|
|
Added boolean isDefaultNetwork to WifiEntry.ConnectedInfo, which may be
retrieved through getConnectedInfo() for a connected WifiEntry. This
value will be dynamically updated as the default route changes to and
from Wifi. For a connected WifiEntry that is validated but not default,
the summary will display "Low Quality".
Bug: 163627176
Test: atest LocalWifiTrackerLibTests, manual verification of verbose log
indicating correct default route state when connecting to validated and
unvalidated networks.
Change-Id: I35bb3f57a5144311717165aa2be510365db11efb
|
|
|
|
|
|
Auto-generated-cl: translation import
Change-Id: Iec3339ce88af3fecbea1ed3a1289b7d91874eacd
|
|
Added string "Low quality" for low quality connections (i.e. validated
but wifi is not the default route).
Bug: 163627176
Test: build
Change-Id: I5bb252d1590c73676427dc76e52b7456a2260c74
|
|
scans" into rvc-qpr-dev
|
|
Connected Passpoint entries should not be removed from the wifi picker
list if they aren't seen in the scan results.
Bug: 162911670
Test: atest WifiPickerTrackerTest
Change-Id: I15a6d321659160aceddd428310f6b4c564c3058a
|
|
PasspointWifiEntry may have cases where mPasspointConfig and mWifiConfig
are both null, which can happen for a suggestion passpoint entry that
goes out of range, or the brief moment when a subscription passpoint
entry is forgotten but not yet removed. isAutoJoinEnabled needs to
default to false in case both configs are missing. In addition, to
prevent the wrong value from appearing for the out of range suggestion
case, keep a reference to the old WifiConfig when updating with null
scans.
Bug: 163084959
Test: atest WifiTrackerLibTests
Change-Id: I5eb40308cc01dc6e6f25b90828dd551f0cf4c633
|
|
|
|
PasspointWifiEntry.setOsuWifiEntry() needs a null check for the passed
in OsuWifiEntry. This flow happens if the user is on the network details
page for a passpoint network and a corresponding OSU AP is also in
range. If the user exits the range of the OSU AP or scan results fail to
come in, then setOsuWifiEntry(null) will be called and cause an NPE.
Bug: 163328661
Test: atest WifiTrackerLibTests
Change-Id: I01790893a067489b671997a4fb4069ca4d3be8d3
|
|
|
|
name" into rvc-qpr-dev
|
|
OsuProviders with null friendly name is a possible scenario that could
crash Wifi Settings. If the friendly name is not available, default to
the SSID and then to the server uri if needed.
Bug: 160748340
Test: manual visual verification that SSID appears as title if friendly
name is hardcoded as null.
Change-Id: I8f2b1b7a5a2c12d1c1ad43a9e8f786016355c2c1
(cherry picked from commit f02e7c63519548630221badd760651d55bbb99cb)
Merged-In: I8f2b1b7a5a2c12d1c1ad43a9e8f786016355c2c1
|
|
|
|
Always use the mac address from WifiInfo if available so that we are
always displaying the actual mac address of the connection instead of
the address stored in the wificonfig, in case enhanced mac randomization
is enabled.
Bug: 160028657
Test: atest WifiTrackerLibTests
Change-Id: I403957b2ba5a845ed5ddc51fe8b39a087f29456a
(cherry picked from commit 6fd689db23cb2974fa1078d476fe94aa127cec24)
|
|
carrier ID" into rvc-qpr-dev
|
|
Auto-generated-cl: translation import
Change-Id: If1cf66ace5c62d41d2873f1fc7e183bfef535e88
|
|
Bug: 161932419
Test: atest com.android.server.wifi
Merged-In: I8be7c1b9e66162fdd244946b47367290116a7747
Change-Id: I922a46fee984721ca2fef8c0e2c1307718b2b7e8
|
|
am: 641bb1658d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/12266905
Change-Id: Ie47779cac5eae9bf5b4e4f2ee29330405f7efc34
|
|
This reverts commit 861ad6f20d3a060aa4337138b256b8f56881a07e.
Reason for revert: clean the tree, and move to qpr
Bug: 161932419
Merged-In: I28ab0d5322f3729ef81244ddac5db40ba10efcad
Change-Id: I680ab7a834707be44c144ae002acbf729ca51a53
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/12229792
Change-Id: I80d3657d5ac31a34f70d8f5361b7e07c85d5c61a
|
|
Bug: 161932419
Test: atest com.android.server.wifi
Merged-In: I8be7c1b9e66162fdd244946b47367290116a7747
Change-Id: I8be7c1b9e66162fdd244946b47367290116a7747
|
|
If users set a carrier ID for SIM dependent EAP method,
when the SIM subscription of the carrier ID is not active,
Connect button should be hide.
Bug: 142792009
Test: atest com.android.wifitrackerlib.StandardWifiEntryTest
Change-Id: Idb225a34b7bcd3a9c7d3e415fd0d8f69ba52bc8e
|
|
Auto-generated-cl: translation import
Change-Id: Iea1378d51c5a91ceef519f32cb8e05a8ea9f0cfa
|
|
Auto-generated-cl: translation import
Change-Id: Ie1ca23a1834792d84081d56307a716cbc401f1a3
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/11900235
Change-Id: I3bd045d3fe89787dbad02237fe56bb3b6ea90930
|
|
* changes:
[WifiTrackerLib] Implement Passpoint isMetered() and getMacAddress()
[WifiTrackerLib] Cleanup obsolete methods and TODOs
|
|
Adds correct functionality for PasspointWifiEntry.isMetered() and
getMacAddress().
Bug: 159074196
Test: atest WifiTrackerLibTests
Change-Id: I098b9210fb49d2be5f892d3ede3e59dc399e381b
|
|
Remove unused/obsolete methods and TODO comments that are no longer
applicable.
Bug: 159074196
Test: atest WifiTrackerLibTests
Change-Id: I884b4beea8b6a8f58fe726a5998b8e261b0e48ab
|
|
Auto-generated-cl: translation import
Change-Id: Id10d8a269b7fcd514b0359b4ae0b537f54ff45fc
|
|
rvc-dev am: 6b92c5ac8d am: 7299eb5412
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/11813174
Change-Id: Ide1724c157c06e43023f131285271df5b997bbca
|
|
into rvc-dev am: 26f3012897 am: c4e5624766
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/11813173
Change-Id: Ief8b0dcf04600d835850359f456fb784cc3c6eb9
|
|
NetworkInfo from the last NETWORK_STATE_CHANGED broadcast should be used
instead of relying on NetworkInfo from ConnectivityManager, which is not
valid for a currently connecting network. The NetworkInfo from
NETWORK_STATE_CHANGED will still be valid for a connecting network.
Bug: 158337413
Test: build and verify connecting network in wifi picker has correct
connecting status.
Change-Id: I32bf312a4b01a48fc6a6b48a5d288e276b2231a5
|
|
Allow Passpoint R2 remediation by tapping on "Connect" in the network
details page, and display "Expired" in the
display summary.
Bug: 150384136
Test: manually install expired profile and verify behavior in network
details page.
Change-Id: I8058c02a7795de3f346e205e2d9d4da4ec9192bb
|
|
am: 5288c9ee97
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/11813172
Change-Id: Ie2030c953a604733bf3832c38fbe974e8bd538da
|
|
Passpoint R2 subscriptions which are expired will now show "Tap to renew
subscription and connect" in their wifi picker summaries. Tapping on
these entries will open an OSU flow to renew the subscription.
Bug: 150384136
Test: manually install an expired profile and verify OSU flow works from
the picker
Change-Id: I88e7b1f9607b7e4f68bf03d12999b1f9080c1efd
|
|
Wi-Fi network twice" into rvc-dev am: 5324acab36 am: 2b1a366cd2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/11707065
Change-Id: I71720df2e3ee53c1df481115090774d5d6ca7bba
|
|
Wi-Fi network twice" into rvc-dev
|
|
Networks" into rvc-dev am: 69416dd547 am: c5bd4191e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/11714198
Change-Id: If631b10b2b9f21da59986fe43fca1ba19d6296d5
|
|
network twice
After the 1st click, WifiPickerTracker#getConnectedWifiEntry() will return
the passpoint2.0 OsuWifiEntry, however, NetworkDetailsTracker only supports
the key of a StandardWifiEntry or PasspointWifiEntry.
NetworkDetailsTracker throws below exception when it gets a key of OsuWifiEntry.
This change prevents a OsuWifiEntry to be returned by
WifiPickerTracker#getConnectedWifiEntry(). After the 1st click, the OsuWifiEntry
will disappear on WifiPicker and then it's online sign up screen shows.
Bug: 158055954
Test: manual visual
Click a OsuWifiEntry twice before it's online sign up screen shows.
After users go back to Wi-Fi picker from the online sign up screen,
the result may be:
1. If sign up failed, the OsuWifiEntry shows with the summary "Couldn't connect".
2. If sign up success, there is a connected/connecting PasspointWifiEntry.
Change-Id: I89a16c51b001d16c1a5e2f4a8b0f0f942ce8ec72
|
|
Ignore WifiConfigurations for passpoint that are broadcasted through
CONFIGURED_NETWORKS_CHANGED in the Saved Networks Page, since this will
be mistakenly interpreted as an added saved network.
Bug: 158043510
Test: manual visual verification of Saved Networks Page not showing the
broadcasted passpoint wificonfig as a saved network.
Change-Id: Icfd746c86bee3c7b06252f79977e5ba87ea30b6e
|
|
|
|
Auto-generated-cl: translation import
Change-Id: I78c9617dc602823e30dfa1ec9ad509bd260e43ec
|
|
into rvc-dev am: b9b695b0f9 am: cf2b24e206
Change-Id: I9add90068117add2e38143d7ce0752a3d7ca9f03
|
|
into rvc-dev am: b9b695b0f9
Change-Id: I0984b0286d91b10714cce7eed810d99fa8e82ed0
|
|
Networks added through the network request API will show in the wifi
picker as a connected network with "Connected via <app label>" in the
summary text.
Bug: 155690626
Test: manually adding network through shell cmd and verifying network
shows up with correct summary text
Change-Id: I616702eb7b34dbc63e6fddba553d1ad71d87377e
|
|
<package>"" into rvc-dev am: 963670b2d9 am: 5dce925016
Change-Id: Ieb43c5d91e20b6517a610ff33f4c56171240d806
|
|
<package>"" into rvc-dev am: 963670b2d9
Change-Id: Iaa772cf58ed6f2b07c8d2c09b5e9de2a5f66c928
|
|
Fix Saved Networks mistakenly showing "Saved by <package>" for networks
that do not have a valid app label to display.
Bug: 156324411
Test: manual visual verification that the mistaken string does not
appear in Saved Networks page
Change-Id: Ife31f095bc318edc92be6b84575cdc938e185807
|
|
applicable" into rvc-dev am: 73a6073488 am: 0b0f10c98b
Change-Id: Ib7884aac72f5a87aa4f9e10300948f1b07c0dd6e
|
|
applicable" into rvc-dev am: 73a6073488
Change-Id: I7763a2ada40d52126e657a2b949b1462a078337a
|
|
applicable" into rvc-dev
|
|
App label of an open wifi network should use the open wifi package name
instead of the active scorer name.
Bug: 153352576
Test: manual visual verification that connected open wifi network uses
the open wifi package name instead of the active scorer name
Change-Id: I1e5dd068a5e9086143b928e3f16fec86b23b89b3
|
|
Auto-generated-cl: translation import
Change-Id: Ice49fb3c2c805ac84b538c136b172981b24f0a99
|
|
Auto-generated-cl: translation import
Change-Id: Icb84d76e4fa2dd4aa765c96b840d674ae406ef02
|
|
am: 04bc8e6cc6
Change-Id: I4bdca6a73c23db6175901f442b9ac17c4891446a
|
|
Change-Id: I425d20958b71ab51cb6022180bf6e3b4bc38c4db
|
|
|
|
Cherry Pick ag/11398998 and ag/11403417
Bug: 155697387
Test: atest WifiTrackerLibTests
Change-Id: I25a18a6a537df2de9e002a6fcdb09ba652561882
|
|
info" into rvc-dev am: 3ee284a827 am: 65fc81135c
Change-Id: I6da1a66a2e673d1b87c3bd59fa962038ec8e847f
|
|
info" into rvc-dev am: 3ee284a827
Change-Id: Iac9c92810399898c621891505fbe5aad5ddc47c6
|
|
info" into rvc-dev
|
|
The speed value of a ScoredNetwork should be interpreted as SPEED_NONE
if the value is 0, instead of being bucketed into SPEED_SLOW.
Bug: 155846675
Test: build
Change-Id: I6e234f6888c2283f90cf8b7aa8debe6325292505
|
|
API" into rvc-dev am: a86c9944ed am: 297dc4e32d
Change-Id: I32393e00c667fc0cfe5f70eeba74b260dc7bbabf
|
|
API" into rvc-dev am: a86c9944ed
Change-Id: I3f97da5925ca9b3d68374b3ff1576608d6e4922d
|
|
API" into rvc-dev
|
|
f0932e0e8d am: 104a76ff70
Change-Id: Id251ab9a0acc63eaa1dbe0e7aa04533c913a5da9
|
|
f0932e0e8d
Change-Id: I8a59250712fc6d6d565f1154b6969eb4398ee97f
|
|
|
|
The API call to get configured networks was changed from
getConfiguredNetworks() to getPrivilegedConfiguredNetworks(), so the
unit tests must be changed to match the new behavior of
WifiPickerTracker.
Bug: 155812281
Test: atest WifiTrackerLibTests
Change-Id: Ida1f01aea07490b8d133194181dc44fe7d70ade2
|
|
Scanner should run on single thread to prevent race condition where
onStop() is called on the main thread while a msg is being processed on
the worker thread. This would result in a looping msg being sent after
the msg queue is cleared, which keeps the scan loop going even after
onStop().
Bug: 155425309
Test: build
Change-Id: Iecbab79b511bddf30515de27a60ff8eaf431d10e
|
|
|
|
|
|
Auto-generated-cl: translation import
Change-Id: I6904c45054823b2b0b248551e41344abee3b24b9
|
|
Auto-generated-cl: translation import
Change-Id: I144e5e27cf5265c9366719537d81aaca2ee72af9
|
|
a9c7565a7a am: 779c458118
Change-Id: I1879809fd0a1655e03725adb2fa22715afcb07da
|
|
a9c7565a7a
Change-Id: Ied96ca6e10ba2e7617e34724c7e6a5b3fadc415d
|