Allow Passpoint R1 profile installations with no Root CA certificate.
The system will use the default trust root in such case.
Bug: 150410562
Test: atest CredentialTest
Change-Id: I2f11ba7330aae8a8c9e0b8922bcf320eb95c5e0e
Renamed to getNetworkSelectionDisableReasonString
to be more descriptive.
Bug: 146046526
Test: compiles
Change-Id: I8d67906e31e66f4cf839be1637ecb6a58edbbc52
Adding a new method to trigger OEM config store removal after migration
is complete.
Bug: 149418926
Test: Compiles
Change-Id: Ie22ff99931cc5f2ccbc47a55a2ac6e3b2baa41d7
NetworkScore object is removed as part of punting the network selection refoundation feature out of Android 11.
Test: atest android.net.wifi
Bug: 135573686, 122133502, 136312816, 135572156
Change-Id: Ib4226a4d66ab29fc4b31226d5ece8ad14a14d1e1
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
(cherry picked from commit 705d110d85)
The API:isFeatureSupported accept one or combination
of required features, update the jave doc & rename to areFeaturesSupporte
Bug: 149871866
Test: make docs frameworks/base/wifi/
Test: atest frameworks/base/wifi/tests/
Merged-In: I3bcbcfd04dced36b63436b5a96835fb0d8f35f3b
Change-Id: I3bcbcfd04dced36b63436b5a96835fb0d8f35f3b
(cherry picked from commit dd8f942e81)
1. restoreSoftApBackupData - document return value
and behavior if input is invalid
2. onCapabilityChanged - document behavior on register
Bug: 149871866
Test: make docs frameworks/base/wifi/
Mergrd-In: I02085e614a35b0bf07dbc47cffe7255555a0deb8
Change-Id: I02085e614a35b0bf07dbc47cffe7255555a0deb8
(cherry picked from commit dba305d37d)
- Made WifiInfo.Builder public
- Made ScanResult::new public
- Added public getters for WifiNetworkSuggestion
Bug: 149912516
Test: compiles
Test: Will add CTS for new WifiNetworkSuggestion APIs
Change-Id: I868477f0d149cb4e96f9313dbaa1ef66d4723309
Print provider network home or roaming in the toString()
method of WifiConfiguration.
Bug: 149881869
Test: Verify new field is printed
Change-Id: Iddcd03435eb416bd6dc73bd0e7e32f180e0265d6
* changes:
WifiOemMigrationHook: Migrate Settings global values
WifiManager: Add API for scan always available toggle
SoftApConfiguration: Add shutdown enabled method
Following up on feedback from API council:
Remove throws IllegalStateException form PasspointConfiguration#getUniqueId
API. No need to explicitly declare runtime exceptions.
Bug: 149758065
Test: PasspointConfigurationTest
Change-Id: I9022a7c87ef9839c6b60fdfd8394915779fa708b
Changes:
a) Add a method to migrate Settings values from platform.
b) Marked all of those settings back to @hide.
c) Also, deprecated couple of public Settings keys which are no longer
used in the wifi stack.
Bug: 148514485
Test: Compiles
Test: TBD: Add unit tests for this class.
Change-Id: I3566cdb53fc997fbb2cc5bceadd865ff8b01539b
This allows us to stop relying on the @hide Settings.Global value.
Bug: 147779354
Bug: 148514485
Test: atest android.net.wifi
Change-Id: Iacd5553f971cf5bfe1e794b01179e29cb65a1925
Newly added network by OSU does not appear in Wi-Fi picker even
when connected.
Root cause: newly added unique identifier included the certs and
key material in the hash, but after the profile is installed,
the certs and keys are moved to keystore and removed from the
configuration, hence the change in hash.
Bug: 149322822
Test: Manual OSU connection and provisioning successfully,
verifying connected network appears in Wi-Fi picker
Test: atest PasspointConfigurationTest
Change-Id: Idec09bc77cb3562bb6bfe9e586a3aa7b2dce85bd