History log of /frameworks/base/wifi/java/android/net/wifi/WifiSsid.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a6ea570a4afdb1de16ea3d1433cbba9ea2284423 13-Feb-2017 Ningyuan Wang <nywang@google.com> Create createFromByteArray() for WifiSsid

Bug: 35318006
Test: compile, unit tests
Change-Id: I0138bd67c0dec37419897318401b18ee4445a111
/frameworks/base/wifi/java/android/net/wifi/WifiSsid.java
91ec9298d90ea6c279decdb52fae2fa5d28813d0 13-Jan-2016 zhangshuxiao <zhangshuxiao@xiaomi.com> When wifi ssid is empty, return WifiSsid.NONE

Issue 199610

When WifistateMachine enter Roaming State, WifiInfo
getSSID will return 0x, statusbar show "0x", because
roaming State do not update WifiInfo mWifiSsid.

Change-Id: I241f8e9c11dc16db26cadde133043745f2f19573
Signed-off-by: zhangshuxiao <zhangshuxiao@xiaomi.com>
/frameworks/base/wifi/java/android/net/wifi/WifiSsid.java
6e86fa8a6b69dfb8c8117791dc0f100b80fb616f 10-Oct-2013 Narayan Kamath <narayan@google.com> Fix WifiInfo#getHiddenSSID

The method would previously always return false.

Note that this is the simplest fix, and not the most
optimal fix. That said, in this change, a call to
WifiInfo#getHiddenSSID costs the same as a call to
WifiInfo#getSSID, so it isn't that bad.

bug: 10705138
Change-Id: I980563fd8a5bafe8c58c586449e778a0aa8b58a4
/frameworks/base/wifi/java/android/net/wifi/WifiSsid.java
fea17de7aaa5729d3111102b2734b158403d2780 11-Jun-2013 Jeff Sharkey <jsharkey@android.com> Explicit locale when formatting machine strings.

Bug: 9390451
Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
/frameworks/base/wifi/java/android/net/wifi/WifiSsid.java
11de9e5537914bbe140fd99ad55333e48a14a667 29-Oct-2012 Irfan Sheriff <isheriff@google.com> Fix handling escaped chars in ssid

Bug: 7427185
Change-Id: Ie669dff01af0865ea50305f3b48cf3f7af92cf6f
/frameworks/base/wifi/java/android/net/wifi/WifiSsid.java
462ff630e441f5bc36c4b926ce81bdb35fe7d04b 09-Oct-2012 Irfan Sheriff <isheriff@google.com> Fix handling of hidden access points

We now get raw hex data from the supplicant and we convert it into
printable format.

For hidden access point, we always used to return a single empty string.
We need to make sure we maintain that behavior for apps to not start
displaying empty strings.

Bug: 7310749
Change-Id: I2599b9b5e15be91fc34e9af629ad893b1a0357fc
/frameworks/base/wifi/java/android/net/wifi/WifiSsid.java
b6deeed3ceff9e0f754697987b7c724901996082 05-Sep-2012 Irfan Sheriff <isheriff@google.com> Handle ascii encoded SSID

Supplicant now passes as an ascii encoded string that allows it to
pass any sequence of bytes for a SSID. see src/utils/common.c in supplicant
for details of the implementation.

We create a SSID structure WifiSsid in framework to store the ssid and handle
the conversion appropriately when required for printing and for an application.

At this point, we still do not handle non-printable octets from an application perspective
for connectivity

Bug: 7110903
Change-Id: I520e5ee23baed4867b8b408bbb3eda5c9e92b6bf
/frameworks/base/wifi/java/android/net/wifi/WifiSsid.java