Lines Matching defs:value

134      * Generate a string to be used as a key value by wpa_supplicant from
137 * reasons) into a wpa_supplicant adjusted value, that uses - as a separator
141 * @return A wpa_supplicant formatted value.
152 * @return A wpa_supplicant formatted value.
231 String value = mWifiNative.getNetworkVariable(netId, varName);
232 if (!TextUtils.isEmpty(value)) {
234 String[] vals = value.split(" ");
264 String value;
266 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.ssidVarName);
267 if (!TextUtils.isEmpty(value)) {
268 if (value.charAt(0) != '"') {
269 config.SSID = "\"" + WifiSsid.createFromHex(value).toString() + "\"";
273 config.SSID = value;
279 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.bssidVarName);
280 if (!TextUtils.isEmpty(value)) {
281 config.getNetworkSelectionStatus().setNetworkSelectionBSSID(value);
286 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.priorityVarName);
288 if (!TextUtils.isEmpty(value)) {
290 config.priority = Integer.parseInt(value);
295 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.hiddenSSIDVarName);
297 if (!TextUtils.isEmpty(value)) {
299 config.hiddenSSID = Integer.parseInt(value) != 0;
304 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.pmfVarName);
306 if (!TextUtils.isEmpty(value)) {
308 config.requirePMF = Integer.parseInt(value) == STORED_VALUE_FOR_REQUIRE_PMF;
313 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.wepTxKeyIdxVarName);
315 if (!TextUtils.isEmpty(value)) {
317 config.wepTxKeyIndex = Integer.parseInt(value);
323 value = mWifiNative.getNetworkVariable(netId,
325 if (!TextUtils.isEmpty(value)) {
326 config.wepKeys[i] = value;
332 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.pskVarName);
333 if (!TextUtils.isEmpty(value)) {
334 config.preSharedKey = value;
672 // uses this literal value and not the 'dashed' version.
1000 * @return Map of corresponding configKey to the value of the param requested.
1032 * @return Map of corresponding configKey to the value of the param requested.
1040 String value = null;
1045 value = null;
1049 value = null;
1055 // Trim the quotes wrapping the id_str value.
1075 value = trimmedLine.substring(key.length() + 1);
1077 if (configKey != null && value != null) {
1078 result.put(configKey, value);
1280 public boolean saveValue(String key, String value) {
1282 && value != null && value.equals("*")) {
1293 if (value == null) {
1294 value = "\"\"";
1296 if (!mWifiNative.setNetworkVariable(mNetId, key, value)) {
1297 loge(mSetterSSID + ": failed to set " + key + ": " + value);
1313 String value = mWifiNative.getNetworkVariable(mNetId, key);
1314 if (!TextUtils.isEmpty(value)) {
1316 value = removeDoubleQuotes(value);
1318 return value;