Searched refs:xmlString (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImagePropertiesTest.java | 125 String xmlString = in testParsePropertiesSimple() local 130 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesSimple() 136 Assert.assertEquals(xmlString, properties.toString()); in testParsePropertiesSimple() 155 String xmlString = in testParsePropertiesRich() local 165 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesRich() 171 Assert.assertEquals(xmlString, properties.toString()); in testParsePropertiesRich() 186 String xmlString = in testParseNoHandle() local 191 InputStream stream = toUtf8Stream(xmlString); in testParseNoHandle() 197 Assert.assertEquals(xmlString, properties.toString()); in testParseNoHandle() 213 String xmlString = in testParseNoVersion() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 399 String xmlString = new String(xmlData); in testDeprecatedNetworkSelectionStatusDeserialize() local 401 xmlString.replaceAll( in testDeprecatedNetworkSelectionStatusDeserialize() 404 assertFalse(xmlString.equals(deprecatedXmlString)); in testDeprecatedNetworkSelectionStatusDeserialize() 407 byte[] deprecatedXmlData = xmlString.getBytes(); in testDeprecatedNetworkSelectionStatusDeserialize() 448 String xmlString = new String(xmlData); in testDeprecatedNetworkSelectionDisableReasonDeserialize() local 450 xmlString.replaceAll(status.getNetworkSelectionDisableReasonString(), in testDeprecatedNetworkSelectionDisableReasonDeserialize() 453 assertFalse(xmlString.equals(deprecatedXmlString)); in testDeprecatedNetworkSelectionDisableReasonDeserialize() 456 byte[] deprecatedXmlData = xmlString.getBytes(); in testDeprecatedNetworkSelectionDisableReasonDeserialize() 510 String xmlString = new String(serializeWifiEnterpriseConfig(config)); in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException() local 513 xmlString = xmlString.replaceAll( in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | BackupRestoreController.java | 185 String xmlString = new String(data, StandardCharsets.UTF_8.name()); in createLogFromBackupData() local 186 for (String line : xmlString.split("\n")) { in createLogFromBackupData()
|
D | WifiBackupRestore.java | 343 String xmlString = new String(data, StandardCharsets.UTF_8.name()); in createLogFromBackupData() local 345 for (String line : xmlString.split("\n")) { in createLogFromBackupData()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 870 String xmlString = new String(getTestNetworksXmlBytes(openNetwork, eapNetwork, saeNetwork)); in parseNetworkListWithOneNetworkIllegalArgException() local 873 xmlString = xmlString.replaceAll( in parseNetworkListWithOneNetworkIllegalArgException() 879 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8)); in parseNetworkListWithOneNetworkIllegalArgException()
|
D | WifiConfigStoreTest.java | 495 String xmlString = String.format(TEST_DATA_XML_STRING_FORMAT, in testReadWifiConfigStoreData() local 500 byte[] xmlBytes = xmlString.getBytes(StandardCharsets.UTF_8); in testReadWifiConfigStoreData() 533 String xmlString = String.format(TEST_DATA_XML_STRING_FORMAT, in testWriteWifiConfigStoreData() local 541 assertEquals(xmlString, new String(mUserStore.getStoreBytes())); in testWriteWifiConfigStoreData()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 387 public static PasspointConfiguration parseMoText(String xmlString) { in parseMoText() argument 392 root = xmlParser.parse(xmlString); in parseMoText()
|