/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 26 import com.android.server.wifi.util.XmlUtil; 123 XmlUtil.writeNextValue(out, XML_TAG_UPDATE_IDENTIFIER, config.getUpdateIdentifier()); in serializePasspointConfiguration() 124 XmlUtil.writeNextValue(out, XML_TAG_CREDENTIAL_PRIORITY, config.getCredentialPriority()); in serializePasspointConfiguration() 125 XmlUtil.writeNextValue(out, XML_TAG_TRUST_ROOT_CERT_LIST, config.getTrustRootCertList()); in serializePasspointConfiguration() 126 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_CREATION_TIME, in serializePasspointConfiguration() 128 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_EXPIRATION_TIME, in serializePasspointConfiguration() 130 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_TYPE, config.getSubscriptionType()); in serializePasspointConfiguration() 131 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_TIME_PERIOD, in serializePasspointConfiguration() 133 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_START_TIME, in serializePasspointConfiguration() 135 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_DATA_LIMIT, in serializePasspointConfiguration() [all …]
|
D | PasspointConfigStoreData.java | 26 import com.android.server.wifi.util.XmlUtil; 166 XmlUtil.writeNextValue(out, XML_TAG_PROVIDER_INDEX, mDataSource.getProviderIndex()); in serializeShareData() 193 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_PASSPOINT_PROVIDER_LIST); in serializeProviderList() 197 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_PASSPOINT_PROVIDER_LIST); in serializeProviderList() 210 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_PASSPOINT_PROVIDER); in serializeProvider() 211 XmlUtil.writeNextValue(out, XML_TAG_PROVIDER_ID, provider.getProviderId()); in serializeProvider() 212 XmlUtil.writeNextValue(out, XML_TAG_CREATOR_UID, provider.getCreatorUid()); in serializeProvider() 213 XmlUtil.writeNextValue(out, XML_TAG_CA_CERTIFICATE_ALIAS, in serializeProvider() 215 XmlUtil.writeNextValue(out, XML_TAG_CLIENT_CERTIFICATE_ALIAS, in serializeProvider() 217 XmlUtil.writeNextValue(out, XML_TAG_CLIENT_PRIVATE_KEY_ALIAS, in serializeProvider() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 68 public class XmlUtil { class 370 XmlUtil.writeNextValue(out, XML_TAG_WEP_KEYS, wepKeysToWrite); in writeWepKeysToXml() 372 XmlUtil.writeNextValue(out, XML_TAG_WEP_KEYS, null); in writeWepKeysToXml() 386 XmlUtil.writeNextValue(out, XML_TAG_CONFIG_KEY, configuration.configKey()); in writeCommonElementsToXml() 387 XmlUtil.writeNextValue(out, XML_TAG_SSID, configuration.SSID); in writeCommonElementsToXml() 388 XmlUtil.writeNextValue(out, XML_TAG_BSSID, configuration.BSSID); in writeCommonElementsToXml() 389 XmlUtil.writeNextValue(out, XML_TAG_PRE_SHARED_KEY, configuration.preSharedKey); in writeCommonElementsToXml() 391 XmlUtil.writeNextValue(out, XML_TAG_WEP_TX_KEY_INDEX, configuration.wepTxKeyIndex); in writeCommonElementsToXml() 392 XmlUtil.writeNextValue(out, XML_TAG_HIDDEN_SSID, configuration.hiddenSSID); in writeCommonElementsToXml() 393 XmlUtil.writeNextValue(out, XML_TAG_REQUIRE_PMF, configuration.requirePMF); in writeCommonElementsToXml() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupConfigStoreData.java | 23 import com.android.server.wifi.util.XmlUtil; 119 XmlUtil.writeNextSectionStart(out, XML_TAG_FEATURE_STATE_SECTION); in writeFeatureState() 121 XmlUtil.writeNextValue(out, XML_TAG_IS_ACTIVE, mIsActiveDataSource.getData()); in writeFeatureState() 122 XmlUtil.writeNextValue(out, XML_TAG_IS_ONBOARDED, mIsOnboardedDataSource.getData()); in writeFeatureState() 123 XmlUtil.writeNextValue(out, XML_TAG_NOTIFICATIONS_SHOWN, in writeFeatureState() 126 XmlUtil.writeNextSectionEnd(out, XML_TAG_FEATURE_STATE_SECTION); in writeFeatureState() 139 XmlUtil.writeNextSectionStart(out, XML_TAG_NETWORK_SECTION); in writeNetwork() 141 XmlUtil.writeNextValue(out, XML_TAG_SSID, scanResultMatchInfo.networkSsid); in writeNetwork() 142 XmlUtil.writeNextValue(out, XML_TAG_SECURITY, scanResultMatchInfo.networkType); in writeNetwork() 144 XmlUtil.writeNextSectionEnd(out, XML_TAG_NETWORK_SECTION); in writeNetwork() [all …]
|
D | NetworkListStoreData.java | 28 import com.android.server.wifi.util.XmlUtil; 29 import com.android.server.wifi.util.XmlUtil.IpConfigurationXmlUtil; 30 import com.android.server.wifi.util.XmlUtil.NetworkSelectionStatusXmlUtil; 31 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 32 import com.android.server.wifi.util.XmlUtil.WifiEnterpriseConfigXmlUtil; 175 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK); in serializeNetwork() 178 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_WIFI_CONFIGURATION); in serializeNetwork() 180 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_WIFI_CONFIGURATION); in serializeNetwork() 183 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK_STATUS); in serializeNetwork() 185 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_NETWORK_STATUS); in serializeNetwork() [all …]
|
D | DeletedEphemeralSsidsStoreData.java | 19 import com.android.server.wifi.util.XmlUtil; 49 XmlUtil.writeNextValue(out, XML_TAG_SSID_LIST, mSsidList); in serializeData() 64 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in deserializeData() 66 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
|
D | WifiBackupRestore.java | 31 import com.android.server.wifi.util.XmlUtil; 32 import com.android.server.wifi.util.XmlUtil.IpConfigurationXmlUtil; 33 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 155 XmlUtil.writeDocumentStart(out, XML_TAG_DOCUMENT_HEADER); in retrieveBackupDataFromConfigurations() 157 XmlUtil.writeNextValue(out, XML_TAG_VERSION, CURRENT_BACKUP_DATA_VERSION); in retrieveBackupDataFromConfigurations() 161 XmlUtil.writeDocumentEnd(out, XML_TAG_DOCUMENT_HEADER); in retrieveBackupDataFromConfigurations() 184 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK_LIST); in writeNetworkConfigurationsToXml() 196 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK); in writeNetworkConfigurationsToXml() 198 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_NETWORK); in writeNetworkConfigurationsToXml() 200 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_NETWORK_LIST); in writeNetworkConfigurationsToXml() [all …]
|
D | SsidSetStoreData.java | 21 import com.android.server.wifi.util.XmlUtil; 87 XmlUtil.writeNextValue(out, XML_TAG_SSID_SET, mDataSource.getSsids()); in serializeData() 102 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in deserializeData() 104 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
|
D | WifiConfigStore.java | 32 import com.android.server.wifi.util.XmlUtil; 281 XmlUtil.writeDocumentStart(out, XML_TAG_DOCUMENT_HEADER); in serializeData() 282 XmlUtil.writeNextValue(out, XML_TAG_VERSION, CURRENT_CONFIG_STORE_DATA_VERSION); in serializeData() 292 XmlUtil.writeNextSectionStart(out, tag); in serializeData() 294 XmlUtil.writeNextSectionEnd(out, tag); in serializeData() 296 XmlUtil.writeDocumentEnd(out, XML_TAG_DOCUMENT_HEADER); in serializeData() 433 while (XmlUtil.gotoNextSectionOrEnd(in, headerName, rootTagDepth)) { in deserializeData() 457 XmlUtil.gotoDocumentStart(in, XML_TAG_DOCUMENT_HEADER); in parseDocumentStartAndVersionFromXml() 458 int version = (int) XmlUtil.readNextValueWithName(in, XML_TAG_VERSION); in parseDocumentStartAndVersionFromXml()
|
D | WifiBackupDataV1Parser.java | 31 import com.android.server.wifi.util.XmlUtil; 32 import com.android.server.wifi.util.XmlUtil.IpConfigurationXmlUtil; 33 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 136 XmlUtil.gotoNextSectionWithName(in, WifiBackupRestore.XML_TAG_SECTION_HEADER_NETWORK_LIST, in parseNetworkConfigurationsFromXml() 141 while (XmlUtil.gotoNextSectionWithNameOrEnd( in parseNetworkConfigurationsFromXml() 166 XmlUtil.gotoNextSectionWithName( in parseNetworkConfigurationFromXml() 176 XmlUtil.gotoNextSectionWithName( in parseNetworkConfigurationFromXml() 279 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in parseWifiConfigurationFromXml() 281 Object value = XmlUtil.readCurrentValue(in, valueName); in parseWifiConfigurationFromXml() 422 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in parseIpConfigurationFromXml() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 32 import com.android.server.wifi.util.XmlUtil.IpConfigurationXmlUtil; 33 import com.android.server.wifi.util.XmlUtil.NetworkSelectionStatusXmlUtil; 34 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 35 import com.android.server.wifi.util.XmlUtil.WifiEnterpriseConfigXmlUtil; 436 XmlUtil.writeDocumentStart(out, mXmlDocHeader); in serializeWifiConfigurationForBackup() 438 XmlUtil.writeDocumentEnd(out, mXmlDocHeader); in serializeWifiConfigurationForBackup() 448 XmlUtil.writeDocumentStart(out, mXmlDocHeader); in serializeWifiConfigurationForConfigStore() 450 XmlUtil.writeDocumentEnd(out, mXmlDocHeader); in serializeWifiConfigurationForConfigStore() 460 XmlUtil.gotoDocumentStart(in, mXmlDocHeader); in deserializeWifiConfiguration() 517 XmlUtil.writeDocumentStart(out, mXmlDocHeader); in serializeDeserializeIpConfiguration() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreTest.java | 31 import com.android.server.wifi.util.XmlUtil; 674 XmlUtil.writeNextValue(out, XML_TAG_TEST_DATA, mShareData); in serializeData() 676 XmlUtil.writeNextValue(out, XML_TAG_TEST_DATA, mUserData); in serializeData() 687 mShareData = (String) XmlUtil.readNextValueWithName(in, XML_TAG_TEST_DATA); in deserializeData() 689 mUserData = (String) XmlUtil.readNextValueWithName(in, XML_TAG_TEST_DATA); in deserializeData()
|
/frameworks/base/tools/aapt2/ |
D | Android.bp | 144 "xml/XmlUtil.cpp",
|
/frameworks/base/services/ |
D | art-profile | 3936 Lcom/android/server/wifi/util/XmlUtil$IpConfigurationXmlUtil; 3937 Lcom/android/server/wifi/util/XmlUtil$WifiConfigurationXmlUtil; 3938 Lcom/android/server/wifi/util/XmlUtil;
|