Home
last modified time | relevance | path

Searched refs:nameValue (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java130 String[] nameValue = token.split("="); in WifiP2pGroup() local
131 if (nameValue.length != 2) continue; in WifiP2pGroup()
133 if (nameValue[0].equals("sa")) { in WifiP2pGroup()
134 sa = nameValue[1]; in WifiP2pGroup()
138 dev.deviceAddress = nameValue[1]; in WifiP2pGroup()
143 if (nameValue[0].equals("go_dev_addr")) { in WifiP2pGroup()
144 mOwner = new WifiP2pDevice(nameValue[1]); in WifiP2pGroup()
148 if (nameValue[0].equals("persistent")) { in WifiP2pGroup()
150 mNetId = Integer.parseInt(nameValue[1]); in WifiP2pGroup()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java1143 String[] nameValue = tokens[1].split("="); in p2pError()
1144 if (nameValue.length != 2) return err; in p2pError()
1147 if (nameValue[1].equals("FREQ_CONFLICT")) { in p2pError()
1151 err = P2pStatus.valueOf(Integer.parseInt(nameValue[1])); in p2pError()
1369 String[] nameValue = token.split("="); in handleSupplicantStateChange() local
1370 if (nameValue.length != 2) { in handleSupplicantStateChange()
1374 if (nameValue[0].equals("BSSID")) { in handleSupplicantStateChange()
1375 BSSID = nameValue[1]; in handleSupplicantStateChange()
1381 value = Integer.parseInt(nameValue[1]); in handleSupplicantStateChange()
1386 if (nameValue[0].equals("id")) { in handleSupplicantStateChange()
[all …]
DWifiNative.java1350 String[] nameValue = token.split("="); in p2pGetDeviceAddress() local
1351 if (nameValue.length != 2) in p2pGetDeviceAddress()
1353 result = nameValue[1]; in p2pGetDeviceAddress()
1371 String[] nameValue = token.split("="); in getGroupCapability() local
1372 if (nameValue.length != 2) break; in getGroupCapability()
1374 return Integer.decode(nameValue[1]); in getGroupCapability()
1397 String[] nameValue = token.split("="); in p2pGetParam() local
1398 if (nameValue.length != 2) break; in p2pGetParam()
1399 return nameValue[1]; in p2pGetParam()