Searched refs:xmlString (Results 1 – 6 of 6) sorted by relevance
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
| D | BipImagePropertiesTest.java | 122 String xmlString = XML_DOC_DECL + IMAGE_PROPERTIES_NO_FRIENDLY_NAME in testParsePropertiesSimple() local 124 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesSimple() 130 Assert.assertEquals(xmlString, properties.toString()); in testParsePropertiesSimple() 152 String xmlString = XML_DOC_DECL + IMAGE_PROPERTIES + NATIVE_THUMBNAIL_FORMAT in testParsePropertiesRich() local 155 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesRich() 161 Assert.assertEquals(xmlString, properties.toString()); in testParsePropertiesRich() 178 String xmlString = XML_DOC_DECL + IMAGE_PROPERTIES_NO_HANDLE + NATIVE_THUMBNAIL_FORMAT in testParseNoHandle() local 180 InputStream stream = toUtf8Stream(xmlString); in testParseNoHandle() 186 Assert.assertEquals(xmlString, properties.toString()); in testParseNoHandle() 204 String xmlString = XML_DOC_DECL + IMAGE_PROPERTIES_NO_VERSION + NATIVE_THUMBNAIL_FORMAT in testParseNoVersion() local [all …]
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
| D | XmlUtilTest.java | 387 String xmlString = new String(xmlData); in testDeprecatedNetworkSelectionStatusDeserialize() local 389 xmlString.replaceAll( in testDeprecatedNetworkSelectionStatusDeserialize() 392 assertFalse(xmlString.equals(deprecatedXmlString)); in testDeprecatedNetworkSelectionStatusDeserialize() 395 byte[] deprecatedXmlData = xmlString.getBytes(); in testDeprecatedNetworkSelectionStatusDeserialize() 436 String xmlString = new String(xmlData); in testDeprecatedNetworkSelectionDisableReasonDeserialize() local 438 xmlString.replaceAll(status.getNetworkSelectionDisableReasonString(), in testDeprecatedNetworkSelectionDisableReasonDeserialize() 441 assertFalse(xmlString.equals(deprecatedXmlString)); in testDeprecatedNetworkSelectionDisableReasonDeserialize() 444 byte[] deprecatedXmlData = xmlString.getBytes(); in testDeprecatedNetworkSelectionDisableReasonDeserialize() 498 String xmlString = new String(serializeWifiEnterpriseConfig(config)); in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException() local 501 xmlString = xmlString.replaceAll( in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException() [all …]
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
| D | NetworkListStoreDataTest.java | 843 String xmlString = new String(getTestNetworksXmlBytes(openNetwork, eapNetwork, saeNetwork)); in parseNetworkListWithOneNetworkIllegalArgException() local 846 xmlString = xmlString.replaceAll( in parseNetworkListWithOneNetworkIllegalArgException() 852 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8)); in parseNetworkListWithOneNetworkIllegalArgException()
|
| D | WifiConfigStoreTest.java | 596 String xmlString = String.format(TEST_DATA_XML_STRING_FORMAT, in testReadWifiConfigStoreData() local 601 byte[] xmlBytes = xmlString.getBytes(StandardCharsets.UTF_8); in testReadWifiConfigStoreData() 634 String xmlString = String.format(TEST_DATA_XML_STRING_FORMAT, in testWriteWifiConfigStoreData() local 642 assertEquals(xmlString, new String(mUserStore.getStoreBytes())); in testWriteWifiConfigStoreData()
|
| /packages/modules/Wifi/service/java/com/android/server/wifi/ |
| 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/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()
|