Searched refs:keyJson (Results 1 – 2 of 2) sorted by relevance
533 final JSONObject keyJson = new JSONObject( in HotspotNetworkEntryKey() local535 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() local557 keyJson.put(KEY_IS_VIRTUAL_ENTRY_KEY, mIsVirtualEntry); in toString()558 keyJson.put(KEY_DEVICE_ID_KEY, mDeviceId); in toString()[all …]
1110 final JSONObject keyJson = new JSONObject(string.substring(KEY_PREFIX.length())); in StandardWifiEntryKey() local1111 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 …]