/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 26 import com.android.server.wifi.util.XmlUtil; 124 XmlUtil.writeNextValue(out, XML_TAG_UPDATE_IDENTIFIER, config.getUpdateIdentifier()); in serializePasspointConfiguration() 125 XmlUtil.writeNextValue(out, XML_TAG_CREDENTIAL_PRIORITY, config.getCredentialPriority()); in serializePasspointConfiguration() 126 XmlUtil.writeNextValue(out, XML_TAG_TRUST_ROOT_CERT_LIST, config.getTrustRootCertList()); in serializePasspointConfiguration() 127 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_CREATION_TIME, in serializePasspointConfiguration() 129 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_EXPIRATION_TIME, in serializePasspointConfiguration() 131 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_TYPE, config.getSubscriptionType()); in serializePasspointConfiguration() 132 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_TIME_PERIOD, in serializePasspointConfiguration() 134 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_START_TIME, in serializePasspointConfiguration() 136 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_DATA_LIMIT, in serializePasspointConfiguration() [all …]
|
D | PasspointConfigUserStoreData.java | 28 import com.android.server.wifi.util.XmlUtil; 175 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_PASSPOINT_PROVIDER_LIST); in serializeProviderList() 182 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_PASSPOINT_PROVIDER_LIST); in serializeProviderList() 195 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_PASSPOINT_PROVIDER); in serializeProvider() 196 XmlUtil.writeNextValue(out, XML_TAG_PROVIDER_ID, provider.getProviderId()); in serializeProvider() 197 XmlUtil.writeNextValue(out, XML_TAG_CREATOR_UID, provider.getCreatorUid()); in serializeProvider() 199 XmlUtil.writeNextValue(out, XML_TAG_PACKAGE_NAME, provider.getPackageName()); in serializeProvider() 201 XmlUtil.writeNextValue(out, XML_TAG_CA_CERTIFICATE_ALIASES, in serializeProvider() 203 XmlUtil.writeNextValue(out, XML_TAG_CLIENT_CERTIFICATE_ALIAS, in serializeProvider() 205 XmlUtil.writeNextValue(out, XML_TAG_CLIENT_PRIVATE_KEY_ALIAS, in serializeProvider() [all …]
|
D | PasspointConfigSharedStoreData.java | 23 import com.android.server.wifi.util.XmlUtil; 129 XmlUtil.writeNextValue(out, XML_TAG_PROVIDER_INDEX, mDataSource.getProviderIndex()); in serializeShareData() 142 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in deserializeShareData() 144 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeShareData()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 71 public class XmlUtil { class 376 XmlUtil.writeNextValue(out, XML_TAG_WEP_KEYS, wepKeysToWrite); in writeWepKeysToXml() 378 XmlUtil.writeNextValue(out, XML_TAG_WEP_KEYS, null); in writeWepKeysToXml() 403 XmlUtil.writeNextSectionStart(out, XML_TAG_PRE_SHARED_KEY); in writePreSharedKeyToXml() 405 XmlUtil.writeNextSectionEnd(out, XML_TAG_PRE_SHARED_KEY); in writePreSharedKeyToXml() 407 XmlUtil.writeNextValue(out, XML_TAG_PRE_SHARED_KEY, preSharedKey); in writePreSharedKeyToXml() 424 XmlUtil.writeNextValue(out, XML_TAG_CONFIG_KEY, configuration.configKey()); in writeCommonElementsToXml() 425 XmlUtil.writeNextValue(out, XML_TAG_SSID, configuration.SSID); in writeCommonElementsToXml() 426 XmlUtil.writeNextValue(out, XML_TAG_BSSID, configuration.BSSID); in writeCommonElementsToXml() 429 XmlUtil.writeNextValue(out, XML_TAG_WEP_TX_KEY_INDEX, configuration.wepTxKeyIndex); in writeCommonElementsToXml() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | NetworkSuggestionStoreData.java | 33 import com.android.server.wifi.util.XmlUtil; 34 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 163 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK_SUGGESTION_PER_APP); in serializeNetworkSuggestionsMap() 164 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_PACKAGE_NAME, packageName); in serializeNetworkSuggestionsMap() 165 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_HAS_USER_APPROVED, hasUserApproved); in serializeNetworkSuggestionsMap() 166 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_MAX_SIZE, maxSize); in serializeNetworkSuggestionsMap() 168 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_NETWORK_SUGGESTION_PER_APP); in serializeNetworkSuggestionsMap() 197 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK_SUGGESTION); in serializeNetworkSuggestion() 200 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_WIFI_CONFIGURATION); in serializeNetworkSuggestion() 203 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_WIFI_CONFIGURATION); in serializeNetworkSuggestion() [all …]
|
D | WakeupConfigStoreData.java | 25 import com.android.server.wifi.util.XmlUtil; 118 XmlUtil.writeNextSectionStart(out, XML_TAG_FEATURE_STATE_SECTION); in writeFeatureState() 120 XmlUtil.writeNextValue(out, XML_TAG_IS_ACTIVE, mIsActiveDataSource.getData()); in writeFeatureState() 121 XmlUtil.writeNextValue(out, XML_TAG_IS_ONBOARDED, mIsOnboardedDataSource.getData()); in writeFeatureState() 122 XmlUtil.writeNextValue(out, XML_TAG_NOTIFICATIONS_SHOWN, in writeFeatureState() 125 XmlUtil.writeNextSectionEnd(out, XML_TAG_FEATURE_STATE_SECTION); in writeFeatureState() 138 XmlUtil.writeNextSectionStart(out, XML_TAG_NETWORK_SECTION); in writeNetwork() 140 XmlUtil.writeNextValue(out, XML_TAG_SSID, scanResultMatchInfo.networkSsid); in writeNetwork() 141 XmlUtil.writeNextValue(out, XML_TAG_SECURITY, scanResultMatchInfo.networkType); in writeNetwork() 143 XmlUtil.writeNextSectionEnd(out, XML_TAG_NETWORK_SECTION); in writeNetwork() [all …]
|
D | NetworkRequestStoreData.java | 25 import com.android.server.wifi.util.XmlUtil; 26 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 145 XmlUtil.writeNextSectionStart(out, in serializeApprovedAccessPointsMap() 147 XmlUtil.writeNextValue(out, XML_TAG_REQUESTOR_PACKAGE_NAME, packageName); in serializeApprovedAccessPointsMap() 149 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_APPROVED_ACCESS_POINTS_PER_APP); in serializeApprovedAccessPointsMap() 176 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_ACCESS_POINT); in serializeApprovedAccessPoint() 177 XmlUtil.writeNextValue(out, XML_TAG_ACCESS_POINT_SSID, approvedAccessPoint.ssid); in serializeApprovedAccessPoint() 178 XmlUtil.writeNextValue(out, XML_TAG_ACCESS_POINT_BSSID, in serializeApprovedAccessPoint() 180 XmlUtil.writeNextValue(out, XML_TAG_ACCESS_POINT_NETWORK_TYPE, in serializeApprovedAccessPoint() 182 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_ACCESS_POINT); in serializeApprovedAccessPoint() [all …]
|
D | NetworkListStoreData.java | 32 import com.android.server.wifi.util.XmlUtil; 33 import com.android.server.wifi.util.XmlUtil.IpConfigurationXmlUtil; 34 import com.android.server.wifi.util.XmlUtil.NetworkSelectionStatusXmlUtil; 35 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 36 import com.android.server.wifi.util.XmlUtil.WifiEnterpriseConfigXmlUtil; 155 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK); in serializeNetwork() 158 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_WIFI_CONFIGURATION); in serializeNetwork() 160 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_WIFI_CONFIGURATION); in serializeNetwork() 163 XmlUtil.writeNextSectionStart(out, XML_TAG_SECTION_HEADER_NETWORK_STATUS); in serializeNetwork() 165 XmlUtil.writeNextSectionEnd(out, XML_TAG_SECTION_HEADER_NETWORK_STATUS); in serializeNetwork() [all …]
|
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 | RandomizedMacStoreData.java | 22 import com.android.server.wifi.util.XmlUtil; 50 XmlUtil.writeNextValue(out, XML_TAG_MAC_MAP, mMacMapping); in serializeData() 63 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in deserializeData() 65 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
|
D | SsidSetStoreData.java | 23 import com.android.server.wifi.util.XmlUtil; 84 XmlUtil.writeNextValue(out, XML_TAG_SSID_SET, mDataSource.getSsids()); in serializeData() 97 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in deserializeData() 99 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
|
D | DeletedEphemeralSsidsStoreData.java | 22 import com.android.server.wifi.util.XmlUtil; 54 XmlUtil.writeNextValue(out, XML_TAG_SSID_LIST, mSsidToTimeMap); in serializeData() 67 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in deserializeData() 69 Object value = XmlUtil.readCurrentValue(in, valueName); in deserializeData()
|
D | WifiBackupDataV1Parser.java | 32 import com.android.server.wifi.util.XmlUtil; 33 import com.android.server.wifi.util.XmlUtil.IpConfigurationXmlUtil; 34 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 144 XmlUtil.gotoNextSectionWithName(in, WifiBackupRestore.XML_TAG_SECTION_HEADER_NETWORK_LIST, in parseNetworkConfigurationsFromXml() 149 while (XmlUtil.gotoNextSectionWithNameOrEnd( in parseNetworkConfigurationsFromXml() 174 XmlUtil.gotoNextSectionWithName( in parseNetworkConfigurationFromXml() 183 XmlUtil.gotoNextSectionWithName( in parseNetworkConfigurationFromXml() 280 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in parseWifiConfigurationFromXmlInternal() 282 Object value = XmlUtil.readCurrentValue(in, valueName); in parseWifiConfigurationFromXmlInternal() 429 while (!XmlUtil.isNextSectionEnd(in, outerTagDepth)) { in parseIpConfigurationFromXml() [all …]
|
D | WifiConfigStore.java | 40 import com.android.server.wifi.util.XmlUtil; 450 XmlUtil.writeDocumentStart(out, XML_TAG_DOCUMENT_HEADER); in serializeData() 452 XmlUtil.writeNextValue(out, XML_TAG_VERSION, CURRENT_CONFIG_STORE_DATA_VERSION); in serializeData() 455 XmlUtil.writeNextSectionStart(out, tag); in serializeData() 457 XmlUtil.writeNextSectionEnd(out, tag); in serializeData() 459 XmlUtil.writeDocumentEnd(out, XML_TAG_DOCUMENT_HEADER); in serializeData() 617 XmlUtil.gotoDocumentStart(in, XML_TAG_DOCUMENT_HEADER); in deserializeData() 627 while (XmlUtil.gotoNextSectionOrEnd(in, headerName, rootTagDepth)) { in deserializeData() 658 int version = (int) XmlUtil.readNextValueWithName(in, XML_TAG_VERSION); in parseVersionFromXml() 674 XmlUtil.gotoNextSectionWithName(in, XML_TAG_HEADER_INTEGRITY, outerTagDepth); in parseAndDiscardIntegrityDataFromXml() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 34 import com.android.server.wifi.util.XmlUtil.IpConfigurationXmlUtil; 35 import com.android.server.wifi.util.XmlUtil.NetworkSelectionStatusXmlUtil; 36 import com.android.server.wifi.util.XmlUtil.WifiConfigurationXmlUtil; 37 import com.android.server.wifi.util.XmlUtil.WifiEnterpriseConfigXmlUtil; 503 XmlUtil.writeDocumentStart(out, mXmlDocHeader); in testMacRandomizationSettingDefaultToRandomizationNone() 504 XmlUtil.writeDocumentEnd(out, mXmlDocHeader); in testMacRandomizationSettingDefaultToRandomizationNone() 520 XmlUtil.writeDocumentStart(out, mXmlDocHeader); in serializeWifiConfigurationForBackup() 522 XmlUtil.writeDocumentEnd(out, mXmlDocHeader); in serializeWifiConfigurationForBackup() 532 XmlUtil.writeDocumentStart(out, mXmlDocHeader); in serializeWifiConfigurationForConfigStore() 535 XmlUtil.writeDocumentEnd(out, mXmlDocHeader); in serializeWifiConfigurationForConfigStore() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreTest.java | 36 import com.android.server.wifi.util.XmlUtil; 929 XmlUtil.writeNextValue(out, XML_TAG_TEST_DATA, mData); in serializeData() 939 mData = (String) XmlUtil.readNextValueWithName(in, XML_TAG_TEST_DATA); in deserializeData()
|
/frameworks/base/tools/aapt2/ |
D | Android.bp | 151 "xml/XmlUtil.cpp",
|