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.java1097 String[] nameValue = tokens[1].split("="); in p2pError()
1098 if (nameValue.length != 2) return err; in p2pError()
1101 if (nameValue[1].equals("FREQ_CONFLICT")) { in p2pError()
1105 err = P2pStatus.valueOf(Integer.parseInt(nameValue[1])); in p2pError()
1247 String[] nameValue = token.split("="); in handleGasQueryEvents() local
1248 if (nameValue.length != 2) { in handleGasQueryEvents()
1251 if (nameValue[0].equals("addr")) { in handleGasQueryEvents()
1252 bssid = nameValue[1]; in handleGasQueryEvents()
1255 if (nameValue[0].equals("result")) { in handleGasQueryEvents()
1256 success = nameValue[1].equals("SUCCESS") ? 1 : 0; in handleGasQueryEvents()
[all …]
DWifiNative.java1066 String[] nameValue = token.split("="); in p2pGetDeviceAddress() local
1067 if (nameValue.length != 2) in p2pGetDeviceAddress()
1069 result = nameValue[1]; in p2pGetDeviceAddress()
1087 String[] nameValue = token.split("="); in getGroupCapability() local
1088 if (nameValue.length != 2) break; in getGroupCapability()
1090 return Integer.decode(nameValue[1]); in getGroupCapability()
1113 String[] nameValue = token.split("="); in p2pGetParam() local
1114 if (nameValue.length != 2) break; in p2pGetParam()
1115 return nameValue[1]; in p2pGetParam()