Home
last modified time | relevance | path

Searched refs:headerName (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java104 public static void gotoDocumentStart(XmlPullParser in, String headerName) in gotoDocumentStart() argument
106 XmlUtils.beginDocument(in, headerName); in gotoDocumentStart()
123 XmlPullParser in, String[] headerName, int outerDepth) in gotoNextSectionOrEnd() argument
126 headerName[0] = in.getName(); in gotoNextSectionOrEnd()
149 String[] headerName = new String[1]; in gotoNextSectionWithNameOrEnd() local
150 if (gotoNextSectionOrEnd(in, headerName, outerDepth)) { in gotoNextSectionWithNameOrEnd()
151 if (headerName[0].equals(expectedName)) { in gotoNextSectionWithNameOrEnd()
247 public static void writeDocumentStart(XmlSerializer out, String headerName) in writeDocumentStart() argument
250 out.startTag(null, headerName); in writeDocumentStart()
259 public static void writeDocumentEnd(XmlSerializer out, String headerName) in writeDocumentEnd() argument
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkListStoreData.java215 String[] headerName = new String[1]; in parseNetwork() local
216 while (XmlUtil.gotoNextSectionOrEnd(in, headerName, outerTagDepth)) { in parseNetwork()
217 switch (headerName[0]) { in parseNetwork()
249 + XML_TAG_SECTION_HEADER_NETWORK + ": " + headerName[0]); in parseNetwork()
DWakeupConfigStoreData.java157 String[] headerName = new String[1]; in deserializeData() local
158 while (XmlUtil.gotoNextSectionOrEnd(in, headerName, outerTagDepth)) { in deserializeData()
159 switch (headerName[0]) { in deserializeData()
DWifiConfigStore.java574 String[] headerName = new String[1]; in deserializeData() local
576 while (XmlUtil.gotoNextSectionOrEnd(in, headerName, rootTagDepth)) { in deserializeData()
580 .filter(s -> s.getName().equals(headerName[0])) in deserializeData()
584 throw new XmlPullParserException("Unknown store data: " + headerName[0] in deserializeData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigUserStoreData.java223 String[] headerName = new String[1]; in deserializeUserData() local
224 while (XmlUtil.gotoNextSectionOrEnd(in, headerName, outerTagDepth)) { in deserializeUserData()
225 switch (headerName[0]) { in deserializeUserData()
231 + headerName[0]); in deserializeUserData()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java310 String headerName = line.substring(0, colIndex).trim(); in shouldRemoveHeaderLine() local
311 if (headerName.regionMatches(true, 0, HEADER_CONNECTION, 0, in shouldRemoveHeaderLine()
313 || headerName.regionMatches(true, 0, HEADER_PROXY_CONNECTION, in shouldRemoveHeaderLine()
/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java589 String headerName = new String(buf, 0, i); in parseHeader() local
596 headers.put(headerName, headerValue); in parseHeader()