+12
−0
+372
−0
+178
−0
+300
−0
File added.
Preview size limit exceeded, changes collapsed.
+212
−0
File added.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Adds a new builder class build a NetworkSpecifier that can be used along with a standard ConnectivityManager.requestNetwork() to request connection to a specific wifi network. To avoid referencing any params from WifiConfiguration class (which is going to be deprecated), copy over all public non-deprecated constants to the new builder class. Note: Most of these fields will be needed for |NetworkSuggestion| as well, hence moving it to this common builder. Since all the internal modules of wifi stack use WifiConfiguration, WifiNetworkSpecifier embeds a standard WifiConfiguration field to hold the relevant network credentials. There are 2 fields added in WifiNetworkSpecifier to allow apps to specify a SSID/BSSID pattern to match. Bug: 113878056 Test: Unit tests Test: `make api-stubs-docs-update-current-api` Change-Id: I9c8919deb23024123f2b69c6fd705092976a1acf
File added.
Preview size limit exceeded, changes collapsed.
File added.
Preview size limit exceeded, changes collapsed.