One of the code samples in a Javadoc comment contains a {{ ;
this gets interpreted as a Django directive by our docs publish tool
(go/devsite2cmd), which results in a syntax error. We verified
(http://cl/238522152 ) that escaping one of the {s resolves the
issue.
Tested by building the docs and staging to:
http://go/mivi-stage/reference/android/net/wifi/WifiNetworkSuggestion.Builder
Bug: 128536865
Test: make ds-docs
Change-Id: I70a3e0481ad195665c878c72d0ec6b1ccbbf958f
Exempt-From-Owner-Approval: Doc-only change
Deleting EAP Wi-Fi configuration deletes shared credentials used by other
configs. To resolve this issue the following changes were implemented:
1. When manually adding Wi-Fi certs from storage, Wi-Fi will not attempt
to delete them when network is removed.
2. When apps use WifiEnterpriseConfig#setClientKeyEntry to add certs,
they will be deleted if the network is removed.
3. Allow the user to delete Wi-Fi certs the same way that allows the
user to add them. Make the "Remove" option available, and implement key
store removal in settings.
Bug: 30248175
Test: atest WifiEnterpriseConfigTest
Test: Load certs, remove certs from credentials menu
Test: Load cert, create 2 EAP networks that use it, forget one network
Change-Id: I5bb1a1e02437b4db4a9c0a289acc074c30a786ab
Also, added a constant to indicate the start of the permanent
blacklist reasons.
Bug: 126503889
Test: Compiles
Change-Id: I4ba1dc5377bffe34a9f236c0698c36cbf34969a9
Modified builder methods to:
a) Add boolean input for all boolean setters.
b) Add a public value for unassigned priority and added IntRange
annotation.
Bug: 128317241
Bug: 128317186
Test: Compiles
Test: ./frameworks/base/wifi/tests/runtest.sh
Change-Id: Iaf9d26ed857fe9337d3e4006c9c894efbcfa32dd
This commit provides an update to the WifiLock types API documentation.
It adds the condition of the device to be connected to an access point
for lock to be active. This applies to both high perf and low latency
locks.
Bug: 127884567
Test: None
Change-Id: If65681939058a5d6508cf0a970517fa856cc04b3
Note: API only change - no functional changes
Move the Builder class and method which generates WifiAwareNetworkSpecifier
to the class it actually builds and have it return that type.
Per API council feedback to match standard builder patterns.
Bug: 126700127
Test: builds + make docs
Test: atest com.android.server.wifi.aware
Test: atest android.net.wifi.aware
Test: atest SingleDeviceTest (CTS)
Change-Id: If4d58e96b4a268df7afe58bc3d883b6c54ec889d
Add annotations to ParcelablePeerHandle per API council feedback.
Bug: 126375748
Bug: 126701031
Test: atest android.net.wifi.aware
Change-Id: I60471659dd9dd267b10507d5fb5e7639b3c964c2
Addressed all comments from API review council:
1. Rename WifiUsabilityStatsListener to OnWifiUsabilityStatsListener.
2. Change the modifier of member variables in WifiUsabilityStatsEntry.java to private and use getters.
3. Document the unit of predicitonHoirzonSec and its expected range.
4. Add @ProbeStaus in probeStatusSinceLastUpdate.
5. Rename probeElapsedTimeMsSinceLastUpdate to
ProbeElapsedTimeSinceLastUpdateMs.
6. Marked @NonNull for Argument 3 in onWifiUsabilityStats.
Bug: 126391553
Bug: 126699865
Bug: 113262380
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I20d9ad05dc0bb537b09006ca44a447401b3e1001
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Passpoint prefixes were added and changed getter methods to public API
Bug: 127544936
Test: atest AccessPointTest && atest WifiInfoTest
Change-Id: I445606e76352dfc445344109be735da4bbab12be
Following API review, add @NonNull annotations to allowed* BitSets in
WifiConfiguration class.
Bug: 126702434
Test: atest WifiConfigurationTest
Change-Id: I05550f4d4677702de7ec5e3f0c8393a516c0a5e6
* changes:
p2p: add valid string documentation for network name and passphrase
p2p: rename the annotation to match the API names.
p2p: add annotation for WifiP2pConfig.Builder public API
p2p: add annotation for WifiP2pConfig.Builder public API
p2p: add annotation for WifiP2pConfig.Builder public API
Based on API council feedback, return the WifiNetworkSpecifier object
from the builder.
Bug: 127464965
Test: Compiles
Change-Id: I072b761872f573103d42081ec0059cde6fafa51c
00:00:00:00:00:00 is an universally administered address, using a
locally administered address for widcard MAC address.
Bug: 126613261
Test: Unit tests - atest FrameworksWifiTests
Test: Unit tests - atest FrameworksWifiApiTests
Test: CtsVerify - WiFi Direct
Change-Id: I132837338bb30b61d65985c2ce3a64c1cdde6877