summaryrefslogtreecommitdiff
path: root/wifi/java
AgeCommit message (Collapse)Author
2020-12-10wifi: Add instance identifier in SoftApInfo/WifiClient and infoList callbacklesl
1. The framework need to know the instance of the client connected to know which instance is idled. 2. The framework need to know the instance of the soft AP info. 3. Add infoList callback support for dual APs mode. AP+AP Part 5 includes: 1. Support forceClientDisconnect in dual AP mode. 2. Support dual SoftApInfo callback a. New callback onInfoListChanged b. Add instanceIdentifier in SoftApInfo but it is used only in framework. c. Add instanceIdentifier in WifiClient but it is used only in framework. Bug: 162686273 Test: FrameworksWifiApiTests Change-Id: I207831ff15a3044316556d61a72542ff35c94e74
2020-12-10wifi: add security params class for known security typesJimmy Chen
Bug: 162685856 Test: atest FrameworksWifiApiTests Change-Id: I020d338b1829f19f6dde8b1969f64cc065f8d796
2020-12-10Merge "wifi: Remove internal function, add version checks when using new API"Les Lee
2020-12-09[WIFI] Trigger WiFi recovery modeEtan Cohen
Trigger WiFi recovery. The WiFi chip will get disabled and then re-enabled. The state at the exit may not match the entry state. Bug: 175084231 Test: atest com.android.server.wifi Test: atest android.net.wifi Test: adb shell cmd wifi trigger-recovery Change-Id: Ie46bc697dcc003758c5df7c7c9d594e365086c7d
2020-12-09Allow setup wizard to call carrier selection APIsxshu
Bug: 173054916 Test: compile Change-Id: I38f96e91a27e180a8a2b7b862fe4b67e3ca741f8
2020-12-09Merge "Associate RSSI with UCC"Oscar Shu
2020-12-08Merge SP1A.201207.001Daniel Norman
Change-Id: I1cca277b923fed07896ee2e268c8da7df72eedce
2020-12-04Merge "Pipe new flag into passpoint"Nate Jiang
2020-12-04Merge "wifi: Add API to indicate (STA) + Bridged AP supported (Part 4)"Les Lee
2020-12-04Pipe new flag into passpointNate Jiang
Pipe oemPaid, oemPrivite, and carrierMerged into passpoint profile Bug: 172867186 Test: atest android.net.wifi Change-Id: If253aca1d26fe5575fa9edbdd0d6fe75d9d4ca81
2020-12-04wifi: Remove internal function, add version checks when using new APIlesl
1. Remove internal function 2. Add the version check in new APIs which miss it before Bug: 173791707 Test: S module on R base image boots and connects to wifi and SAP enable succeed. Change-Id: Ic9ea9fecfa7d39f54a1875ad687fe21c1381124c
2020-12-04wifi: Add API to indicate (STA) + Bridged AP supported (Part 4)lesl
AP+AP Part 4 includes: 1. Support API to indicate Bridged AP supported or not 2. Interface idx mechanism. I.e. STA+STA support, AP+AP will take wlan2 & wlan3 Bug: 162686273 Test: atest FrameworksWifiApiTests Change-Id: Ic56700f58671ec3daaf05942eab06e0568465210
2020-12-03Merge "Make app installed cert flags persistent" into mainline-prod am: ↵Hai Shalom
a3767c2155 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12829570 Change-Id: I6ce56a285fdea03c1b685ac3f2f193adf3417058
2020-12-03Merge "Check version before calling new API"TreeHugger Robot
2020-12-03Check version before calling new APINate Jiang
DiscoverySession, onServiceLost is on available after Android 12. Add version check. Bug: 173554495 Test: atest android.net.wifi Change-Id: I7bc77123ce817d3438982a25ae16b01a3727c8a1
2020-12-03[Suggestion] Add API to control carrier offloadNate Jiang
A new API to control carrier offload for target carrier/subscription. Bug: 155109689 Test: atest android.net.wifi Change-Id: Id29205223dad6c226bd7b5cdb28ef6642f3b505a
2020-12-02Merge SP1A.201130.001Daniel Norman
Change-Id: Idcf943792aaa73080b26e2294f0569061502c85d
2020-12-02Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855Xin Li
Bug: 172690556 Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6 Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-12-01Associate RSSI with UCCxshu
Associating a RSSI with the UCC gives more context about when a network should win because of UCC. Bug: 172096473 Test: atest android.net.wifi Change-Id: Ib7c0fbe3d94abb16b8326e68842ea887b13be683
2020-12-01Merge "Add APIs for Wifi/Cellular coex channel avoidance"Quang Luong
2020-11-24Wifi: DPP STA Enrollee-Responder modeSunil Ravi
Added system APIs for DPP STA Enrollee-Responder mode - start DPP in Enrollee-Responder mode - Callback function to pass Generated DPP bootstrap URI Defined a new failure code to indicate generate DPP URI failure. Bug: 162686712 Test: atest 8BFAZ01446 com.android.server.wifi Test: act.py -c <dpp config file> -tc WifiDppTest Change-Id: I094d06dd1f195aa9d647deb65cca91a81cfc10db
2020-11-20Fix references to new S APIs without version checksDavid Su
These new S APIs will throw UnsupportedOperationException when running on an R device (even though it's called from within the Wifi module!!!). Add version checks before calling them. Note that this is a temporary solution to unblock testing S module on R base image. Will seek a better long term solution. Bug: 173791707 Test: S module on R base image boots and connects to wifi Change-Id: I6b6920a0f948677767fa366f5db582ec799e08de
2020-11-19SoftApConfiguration#getChannels(): return cloneDavid Su
Return clone so that clients cannot modify the internal SparseIntArray. Bug: 162686273 Test: atest FrameworksWifiApiTests Change-Id: I2ac1bb44ca7a7848557ed73244342c4fb3274170
2020-11-19softap: Add BAND_60GHZ to SoftApConfigurationJimmy Chen
Add band constant BAND_60GHZ to SoftApConfiguration, needed for supporting SoftAP on the 60GHz band. Bug: 147464239 Test: atest FrameworksWifiTests Test: atest FrameworksWifiApiTests Change-Id: I8903f2d0119392646cca8bb8d1d6c723ec61b4c3
2020-11-17Add APIs for Wifi/Cellular coex channel avoidanceQuang Luong
Added SystemApis for getting and setting the unsafe channels to avoid for framework Wifi/Cellular coex channel avoidance. Bug: 153651001 Test: atest WifiManagerTest, atest CoexUnsafeChannelTest Change-Id: I4cb4137766c23f096951a2a5a4df1bd946f6c446
2020-11-17Merge SP1A.201116.001Scott Lobdell
Change-Id: I51f7864ca57206ba4034be7db7ae9f36d5c53f59
2020-11-17Merge "Relace getKey with getProfileKey"Nate Jiang
2020-11-16Merge "[Suggestion] Make suggestion equals and hashcode stable"Nate Jiang
2020-11-16Merge "Add APIs for carrier network selection"Oscar Shu
2020-11-16Relace getKey with getProfileKeyNate Jiang
Bug: 142035508 Test: atest andoir.net.wifi Change-Id: Id8b4b77627d8d1acda32d78df5165b6fdfbd13f3
2020-11-16[Suggestion] Make suggestion equals and hashcode stableNate Jiang
Make the equals and hashcode has same result for suggestion create by builder and get from franework. Bug: 142035508 Test: atest android.net.wifi Change-Id: Idbcced87aba940ec0159f892c92a582ab3670da5
2020-11-14Merge changes from topics "mergedNetwork", "wifiInfoSubId"Nate Jiang
* changes: Add API to get Subscription Id [Suggestion] API to set carrier merged network
2020-11-13Add APIs for carrier network selectionxshu
Add APIs to temporarily disabled non carrier merged wifi networks, and another API to re-enable the disabled networks. Bug: 173054916 Test: atest android.net.wifi CTS-Coverage-Bug: 173152650 Change-Id: Ib8e6b248d6903a3b8c0c1dd94b2dd4e668aae1f0
2020-11-13Merge "[Suggestion] Add API to help app get user approval status."Nate Jiang
2020-11-13Merge SP1A.201105.002Scott Lobdell
Change-Id: Iec83a0c1f6f286a1e51abfc4356633ca9d8aea5f
2020-11-12Remove legacy style metalava suppressionAurimas Liutikas
@SuppressLint("Doclava125") is a legacy way of suppressing RequiresPermission check. Updating to the new style of suppression so metalava no longer has to support the legacy mode. sed -i "s/@SuppressLint(\"Doclava125/@SuppressLint(\"RequiresPermission/" \ core/java/android/app/admin/DevicePolicyManager.java \ core/java/android/hardware/hdmi/HdmiControlManager.java \ core/java/android/hardware/location/ContextHubManager.java \ core/java/android/hardware/usb/UsbDeviceConnection.java \ core/java/android/net/TrafficStats.java \ core/java/android/os/RecoverySystem.java \ core/java/android/os/storage/StorageManager.java \ core/java/android/service/persistentdata/PersistentDataBlockManager.java \ location/java/android/location/LocationManager.java \ media/java/android/media/AudioManager.java \ telecomm/java/android/telecom/TelecomManager.java \ telephony/java/android/telephony/CarrierConfigManager.java \ telephony/java/android/telephony/TelephonyManager.java \ wifi/java/android/net/wifi/RttManager.java \ wifi/java/android/net/wifi/WifiScanner.java Test: make Exempt-From-Owner-Approval: No-op change Merged-In: I6d5df95cfca2950ea86872d2f0afc1ba828841dc Change-Id: I6d5df95cfca2950ea86872d2f0afc1ba828841dc
2020-11-12Remove legacy style metalava suppressionAurimas Liutikas
@SuppressLint("Doclava125") is a legacy way of suppressing RequiresPermission check. Updating to the new style of suppression so metalava no longer has to support the legacy mode. sed -i "s/@SuppressLint(\"Doclava125/@SuppressLint(\"RequiresPermission/" \ core/java/android/app/admin/DevicePolicyManager.java \ core/java/android/hardware/hdmi/HdmiControlManager.java \ core/java/android/hardware/location/ContextHubManager.java \ core/java/android/hardware/usb/UsbDeviceConnection.java \ core/java/android/net/TrafficStats.java \ core/java/android/os/RecoverySystem.java \ core/java/android/os/storage/StorageManager.java \ core/java/android/service/persistentdata/PersistentDataBlockManager.java \ location/java/android/location/LocationManager.java \ media/java/android/media/AudioManager.java \ telecomm/java/android/telecom/TelecomManager.java \ telephony/java/android/telephony/CarrierConfigManager.java \ telephony/java/android/telephony/TelephonyManager.java \ wifi/java/android/net/wifi/RttManager.java \ wifi/java/android/net/wifi/WifiScanner.java Test: make Exempt-From-Owner-Approval: No-op change Change-Id: I6d5df95cfca2950ea86872d2f0afc1ba828841dc
2020-11-12[Suggestion] Add API to help app get user approval status.Nate Jiang
Bug: 160648511 Test: atest android.net.wifi Change-Id: If93db55b1e0bc33dd7b82dad4e297c442b628e44
2020-11-12Add API to get Subscription IdNate Jiang
Bug: 172867224 Test: atest android.net.wifi Change-Id: I0534a71784060f1613b0b76602e9ed379ab3104e
2020-11-12[Suggestion] API to set carrier merged networkNate Jiang
Create a new API to set carrier merged network suggestion Bug: 172867186 Test: atest android.net.wifi Change-Id: I5ddbc8b15e361e44c508e40dac10211cbd39ab10
2020-11-09Change mac random key to network keyNate Jiang
Change the name based on function. Bug: 142035508 Test: atest android.net.wifi Change-Id: I01358799327f2d24993fe75f2e4a503d965f2246
2020-11-06Merge "Create a new method to get profile key of WifiConfig"Nate Jiang
2020-11-06Create a new method to get profile key of WifiConfigNate Jiang
This key will be unique for each profile. Bug: 142035508 Test: atest android.net.wifi CTS-Coverage-Bug: 172686026 Change-Id: I94fc0686b1bd5cf20c8e53f267220a201e7b7dd8
2020-11-06Merge "wifi: add SAE-PK feature querying API"TreeHugger Robot
2020-11-06wifi: create a better name for WPA3 Enterprise 192-bit modeJimmy Chen
Bug: 170311014 Test: atest FrameworksWifiApiTests Change-Id: I1e31fa896d4890b78d3918247ee35cbfe7b08388
2020-11-05Merge "Move module utils to the module package."Chalard Jean
2020-11-05Merge "wifi: Allow specific channel + ACS in dual bands setting."TreeHugger Robot
2020-11-04wifi: add SAE-PK feature querying APIJimmy Chen
Bug: 160642415 Test: build Change-Id: I2a729185897660d3406ca5eb8a86984ee6582325
2020-11-04Add maxTargetSdk restriction to unused APIs.Mathew Inwood
These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
2020-11-03wifi: create an option for the WPA3 Enterprise security typeJimmy Chen
Bug: 170311014 Test: atest FrameworksWifiApiTests Change-Id: I3f25cc44902af570786e2a1b3208e05da1bfc7c8