Home
last modified time | relevance | path

Searched refs:xmlString (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImagePropertiesTest.java126 String xmlString = in testParsePropertiesSimple() local
131 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesSimple()
137 assertThat(properties.toString()).isEqualTo(xmlString); in testParsePropertiesSimple()
156 String xmlString = in testParsePropertiesRich() local
166 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesRich()
172 assertThat(properties.toString()).isEqualTo(xmlString); in testParsePropertiesRich()
187 String xmlString = in testParseNoHandle() local
192 InputStream stream = toUtf8Stream(xmlString); in testParseNoHandle()
198 assertThat(properties.toString()).isEqualTo(xmlString); in testParseNoHandle()
214 String xmlString = in testParseNoVersion() local
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java399 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/apps/Launcher3/src/com/android/launcher3/util/
DLayoutImportExportHelper.kt50 exportModelDbAsXml(context) { xmlString -> future.complete(xmlString) } in <lambda>() method
76 fun importModelFromXml(context: Context, xmlString: String) { in <lambda>()
77 importModelFromXml(context, xmlString.toByteArray(StandardCharsets.UTF_8)) in <lambda>()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DBackupRestoreController.java185 String xmlString = new String(data, StandardCharsets.UTF_8.name()); in createLogFromBackupData() local
186 for (String line : xmlString.split("\n")) { in createLogFromBackupData()
DWifiBackupRestore.java343 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/
DNetworkListStoreDataTest.java870 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()
DWifiConfigStoreTest.java495 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/
DPpsMoParser.java387 public static PasspointConfiguration parseMoText(String xmlString) { in parseMoText() argument
392 root = xmlParser.parse(xmlString); in parseMoText()