summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-30[DON'T BLOCK] Test ownership migration rules am: 2f5d40b131temp_319669529Aditya Choudhary
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/2936381 Change-Id: Ia2735c48615484a0dccdc6a83d0948c6d975bf23 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30[DON'T BLOCK] Test ownership migration rulesAditya Choudhary
This CL is created as a best effort to migrate test targets to the new android ownership model. If you find incorrect or unnecessary attribution in this CL, please create a separate CL to fix that. For more details please refer to the link below, <add g3 doc link> Bug: 304529413 Test: N/A Change-Id: I0e9d8976c992124750b47ab443703a3b0dc5ccbd
2024-01-17Merge Android 24Q1 Release (ab/11220357)Xin Li
Bug: 319669529 Merged-In: Ie63f209fcad345f50fa90634d6e30383b7816da9 Change-Id: Ide95abd45e04b6f987d22d8b2ff547d020578cea
2023-12-14Merge "Uptesting is moving folks to /external/robolectric from ↵Treehugger Robot
/external/robolectric-shadows" into main am: 137b33a694 Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/2874545 Change-Id: If54ca6ba76045b2815de1ca6ceeb8ee191936cbd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-14Merge "Uptesting is moving folks to /external/robolectric from ↵Treehugger Robot
/external/robolectric-shadows" into main
2023-12-14Uptesting is moving folks to /external/robolectric from ↵Rex Hoffman
/external/robolectric-shadows We maintain /external/robolectric (keep it in sync with github/google3) and are getting ready to delete /external/robolectric-shadows Upgrading this repo to use the latest version of roboelctric dependencies. Bug: 314757990 Test: CI Change-Id: I3306f02969795d5e946782d38e5cdfcf25d61c25
2023-12-11[automerger skipped] Merge Android 14 QPR1 am: 9778507c74 -s ours am: ↵Xin Li
af60f74d02 -s ours am: 84c0de5708 -s ours am skip reason: Merged-In If704cb3fc0f3698dbdedba4d83d515d001835c2a with SHA-1 9055c1b74e is already in history Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/2862800 Change-Id: Ib87e3bc6dfb33e9f2fd32705cb1b8539f2eed140 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11[automerger skipped] Merge Android 14 QPR1 am: 9778507c74 -s ours am: ↵Xin Li
af60f74d02 -s ours am skip reason: Merged-In If704cb3fc0f3698dbdedba4d83d515d001835c2a with SHA-1 9055c1b74e is already in history Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/2862800 Change-Id: I9f3c967cdca4699ca5210c5aa525f972f73a084b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11[automerger skipped] Merge Android 14 QPR1 am: 9778507c74 -s oursXin Li
am skip reason: Merged-In If704cb3fc0f3698dbdedba4d83d515d001835c2a with SHA-1 9055c1b74e is already in history Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/2862800 Change-Id: Iafc20df6ef70d28f1a848636f1139ff250ff99f5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08Merge Android 14 QPR1Xin Li
Merged-In: If704cb3fc0f3698dbdedba4d83d515d001835c2a Bug: 315507370 Change-Id: Ib3520155e347d9bb6afdfa6e4d7f0214524e0662
2023-12-07[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ↵Bill Yi
a1951edb47 -s ours am: 2d2c65599e -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/25565336 Change-Id: Ie9c7b0d46164c5d8b960b1ca990d3f18a05156e9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ↵Bill Yi
a1951edb47 -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/25565336 Change-Id: I7069f0fb9efd1afe55a6678863d3df39bedf3954 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ↵Bill Yi
c0be01cfc3 -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/25565332 Change-Id: Id6e3710bec73a2c1867f7a86b522988e709a75fc Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: Ie63f209fcad345f50fa90634d6e30383b7816da9
2023-12-05Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I684593ffa3df0aca910ea82185249fa64282896d
2023-12-05Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I350ff13bb726cfc94f62c4fd888fa98cd1e86980
2023-12-04Fix NPE in HotspotNetworkDetailsTrackerMatt Walliser
Bug: 313921771 Test: atest WifiTrackerLibTests Change-Id: I6c62a9e086877bf3af1f14533a09bd03910faf15
2023-12-01Display error strings in wifi pickers.Matt Walliser
Bug: 309968020 Test: atest com.android.wifitrackerlib.HotspotNetworkEntryTest Change-Id: Id2f3114da2dc0bfa9a60a5ce46bb9488dbc88105
2023-11-30Have WifiTrackerLib fallback to extras bundle for isBatteryChargingMatt Walliser
Bug: 313936582 Test: atest com.android.wifitrackerlib.HotspotNetworkEntryTest Change-Id: Ie76e81152ec67fadc5a47260740ea9b0a7e1658b
2023-11-30Merge "Restore connected state in Wifi picker." into mainMatt Walliser
2023-11-29Merge "Add lifecycle observer after tracker is fully initialized" into mainOleg Kibirev
2023-11-29Restore connected state in Wifi picker.Matt Walliser
This part of the change reads the connected state from the extras bundle and updates the HotspotNetworkEntry. The entry uses this state to reset the mCalledConnect boolean and trigger the callback. The connected enum value is defined locally in WifiTrackerLib, but will be moved to the SharedConnectivity API on the next API update. BUG: 312561529 Change-Id: I6675024c67f926d28544013b23cef88b2d63ce6e
2023-11-22Merge "Import translations. DO NOT MERGE ANYWHERE" into mainBill Yi
2023-11-22Merge "Fix NPE when shared connectivity service connected" into mainQuang Luong
2023-11-21Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I9107bb19d0f8802253cca17aeb6918155fff3019
2023-11-21Add lifecycle observer after tracker is fully initializedOleg Kibirev
Bug: 310112419 Tested: CTS Verifier Change-Id: Ie20317b8b20a4ea16694aa03b4b352c43d19fe19
2023-11-21Fix NPE when shared connectivity service connectedQuang Anh Luong
Fix NPE caused by hotspot networks/known networks being null when the shared connectivity service is connected. Bug: 311139310 Test: atest WifiTrackerLibTests Change-Id: I52fe192f80572bad5de466af4903655573a566fa
2023-11-20Merge "Add WifiEntry.needsWifiConfiguration()" into mainHongguang Chen
2023-11-20Merge "Fix passpoint suggestions not showing SSID in Network Details" into mainQuang Luong
2023-11-16Add WifiEntry.needsWifiConfiguration()Quang Anh Luong
Add WifiEntry.needsWifiConfiguration() to indicate if a network needs to have a WifiConfiguration saved before connecting. This is to provide a synchronous way to query if we need a config instead of waiting for CONNECT_STATUS_FAILURE_NO_CONFIG, in case the caller (e.g. Android TV) wants to show a progress spinner upon a user press. Bug: 305092860 Bug: 153627947 Test: atest StandardWifiEntryTest Change-Id: I9065fe75c1b21a5b0e2b9045e0d0635f551d8c81
2023-11-16Fix passpoint suggestions not showing SSID in Network DetailsQuang Anh Luong
Settings shows the SSID in Network Details if WifiEntry.isSubscription() is true, which isn't true for passpoint suggestions. To fix this, add a new method "shouldShowSsid()" to explicitly tell Settings to show the SSID preference. Bug: 300205461 Test: atest WifiTrackerLibTests Change-Id: I59a1fd6051d6048c771a04abb6b4ce91ce1af3f4
2023-11-14Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: Ib04482012d7f62604c263dbea57e4dfe5c11a912
2023-11-10Restore connecting state for hotspot network on service connected.Matt Walliser
Bug: 308475152 Test: atest com.android.wifitrackerlib Change-Id: I447225204864897ddd44b7bc5db0b1f38270967a
2023-11-09Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I14551f5d60fc3f81226da2aac1dfdc361a4ec383
2023-11-08Suppress lint check for getMacAddress()Quang Anh Luong
Google3 linter errors when WifiInfo.getMacAddress() is called due to concerns about using mac addresses to identify hardware. Since this is just used for UI, then suppress this error. Bug: 293946849 Test: atest WifiTrackerLibTests Change-Id: Ibd28f2c4f3a6a98d432b6e326b50da31c783f242
2023-11-08Merge "Fix WifiEntry.isDefaultNetwork() returning true when disconnected" ↵Quang Luong
into main
2023-11-07Merge "Add methods to indicate scanning status" into mainQuang Luong
2023-11-07Merge "Remove Flags from WifiTrackerLib" into mainQuang Luong
2023-11-07Fix WifiEntry.isDefaultNetwork() returning true when disconnectedQuang Anh Luong
Fix the check in isDefaultNetwork() returning true when both mNetwork and mDefaultNetwork are null. Bug: 309058001 Test: atest WifiTrackerLibTests Change-Id: Ic39b311045735b2df73c5a502e9a06ef12835626
2023-11-07Remove Flags from WifiTrackerLibQuang Anh Luong
Trunk stable flagging is not available in google3, which means we need to remove these from WifiTrackerLib for our google3 clients (SUW). Instead, wrap these with NonSdkApiWrapper. Bug: 293946849 Test: atest HotspotNetworkEntryTest Change-Id: Ie236a20c264cc207e8bdc2bdc42bb79b788aee68
2023-11-06Merge "Import translations. DO NOT MERGE ANYWHERE" into mainBill Yi
2023-11-06Merge "Remove usage of Stream.toList()" into mainQuang Luong
2023-11-03Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I946d74aaa50b11e1901d9bbd26a9e636440b56eb
2023-11-03Merge "Update strings for Hotspot Network entries." into mainMatt Walliser
2023-11-03Fix flag check.Andrew Sapperstein
The check is meant to return the default value if the flag is false, but it was returning the default value when the flag is true, and otherwise not running the test. Bug: 309033616 Change-Id: I2633d74ec0f97b12922fb8350e9486898f86f40b Test: atest HotspotNetworkEntryTest
2023-11-02Update strings for Hotspot Network entries.Matt Walliser
Bug: 308680396 Test: atest -c com.android.wifitrackerlib.HotspotNetworkEntryTest Change-Id: Ief951a36019a96cadd2e4e9dcbaf729d6ffd4c86
2023-11-01Add methods to indicate scanning statusQuang Anh Luong
Add onScanRequested() and onWifiEntriesChanged(int reason) callbacks to indicate scanning state. This is useful for Settings to show the progress bar while the device is scanning. Bug: 308567866 Test: atest WifiTrackerLibTests Change-Id: I9b92e52195445dea915e7c77d95f98d7ceb23465
2023-11-01Merge "Enable WifiTrackerLib verbose logging for userdebug builds" into mainQuang Luong
2023-11-01Enable WifiTrackerLib verbose logging for userdebug buildsQuang Anh Luong
Enable WifiTrackerLib verbose logging for userdebug builds, but keep the verbose summary tied to the wifi service verbose logging level. We also need to change the verbose logging flag from static to non-static, since the static BaseWifiTracker object is shared between all clients in SystemUI, including the QuickSettings which we do want to show verbose logging for. Bug: 301199999 Bug: 279512950 Test: atest WifiTrackerLibTests, manually verify verbose logging (but not summaries) is shown for userdebug build when wifi verbose logging is disabled. Change-Id: I3464d56c704e4b5dbb386f26c87283d8b73bd279
2023-10-31[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ↵Bill Yi
34fba2d5e9 -s ours am: 77108983ad -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/25225524 Change-Id: I1854d16360279e01c26ef312393e74792a5e1555 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>