Home
last modified time | relevance | path

Searched refs:keyJson (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DHotspotNetworkEntry.java533 final JSONObject keyJson = new JSONObject( in HotspotNetworkEntryKey() local
535 if (keyJson.has(KEY_IS_VIRTUAL_ENTRY_KEY)) { in HotspotNetworkEntryKey()
536 mIsVirtualEntry = keyJson.getBoolean(KEY_IS_VIRTUAL_ENTRY_KEY); in HotspotNetworkEntryKey()
538 if (keyJson.has(KEY_DEVICE_ID_KEY)) { in HotspotNetworkEntryKey()
539 mDeviceId = keyJson.getLong(KEY_DEVICE_ID_KEY); in HotspotNetworkEntryKey()
541 if (keyJson.has(KEY_SCAN_RESULT_KEY)) { in HotspotNetworkEntryKey()
542 mScanResultKey = new StandardWifiEntry.ScanResultKey(keyJson.getString( in HotspotNetworkEntryKey()
555 final JSONObject keyJson = new JSONObject(); in toString() local
557 keyJson.put(KEY_IS_VIRTUAL_ENTRY_KEY, mIsVirtualEntry); in toString()
558 keyJson.put(KEY_DEVICE_ID_KEY, mDeviceId); in toString()
[all …]
DStandardWifiEntry.java1110 final JSONObject keyJson = new JSONObject(string.substring(KEY_PREFIX.length())); in StandardWifiEntryKey() local
1111 if (keyJson.has(KEY_SCAN_RESULT_KEY)) { in StandardWifiEntryKey()
1112 mScanResultKey = new ScanResultKey(keyJson.getString(KEY_SCAN_RESULT_KEY)); in StandardWifiEntryKey()
1114 if (keyJson.has(KEY_SUGGESTION_PROFILE_KEY)) { in StandardWifiEntryKey()
1115 mSuggestionProfileKey = keyJson.getString(KEY_SUGGESTION_PROFILE_KEY); in StandardWifiEntryKey()
1117 if (keyJson.has(KEY_IS_NETWORK_REQUEST)) { in StandardWifiEntryKey()
1118 mIsNetworkRequest = keyJson.getBoolean(KEY_IS_NETWORK_REQUEST); in StandardWifiEntryKey()
1120 if (keyJson.has(KEY_IS_TARGETING_NEW_NETWORKS)) { in StandardWifiEntryKey()
1121 mIsTargetingNewNetworks = keyJson.getBoolean( in StandardWifiEntryKey()
1134 final JSONObject keyJson = new JSONObject(); in toString() local
[all …]