/frameworks/base/services/core/java/com/android/server/pm/ |
PreferredActivity.java | 48 public void writeToXml(XmlSerializer serializer, boolean full) throws IOException { 49 mPref.writeToXml(serializer, full); 50 serializer.startTag(null, "filter"); 51 super.writeToXml(serializer); 52 serializer.endTag(null, "filter");
|
PersistentPreferredActivity.java | 84 public void writeToXml(XmlSerializer serializer) throws IOException { 85 serializer.attribute(null, ATTR_NAME, mComponent.flattenToShortString()); 86 serializer.startTag(null, ATTR_FILTER); 87 super.writeToXml(serializer); 88 serializer.endTag(null, ATTR_FILTER);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btCollisionShape.cpp | 99 const char* btCollisionShape::serialize(void* dataBuffer, btSerializer* serializer) const 102 char* name = (char*) serializer->findNameForPointer(this); 103 shapeData->m_name = (char*)serializer->getUniquePointer(name); 106 serializer->serializeName(name); 113 void btCollisionShape::serializeSingleShape(btSerializer* serializer) const 116 btChunk* chunk = serializer->allocate(len,1); 117 const char* structType = serialize(chunk->m_oldPtr, serializer); 118 serializer->finalizeChunk(chunk,structType,BT_SHAPE_CODE,(void*)this);
|
btTriangleInfoMap.h | 82 virtual const char* serialize(void* dataBuffer, btSerializer* serializer) const; 123 SIMD_FORCE_INLINE const char* btTriangleInfoMap::serialize(void* dataBuffer, btSerializer* serializer) const 134 tmapData->m_hashTablePtr = tmapData->m_hashTableSize ? (int*)serializer->getUniquePointer((void*)&m_hashTable[0]) : 0; 140 btChunk* chunk = serializer->allocate(sz,numElem); 146 serializer->finalizeChunk(chunk,"int",BT_ARRAY_CODE,(void*)&m_hashTable[0]); 151 tmapData->m_nextPtr = tmapData->m_nextSize? (int*)serializer->getUniquePointer((void*)&m_next[0]): 0; 156 btChunk* chunk = serializer->allocate(sz,numElem); 162 serializer->finalizeChunk(chunk,"int",BT_ARRAY_CODE,(void*)&m_next[0]); 166 tmapData->m_valueArrayPtr = tmapData->m_numValues ? (btTriangleInfoData*)serializer->getUniquePointer((void*)&m_valueArray[0]): 0; 171 btChunk* chunk = serializer->allocate(sz,numElem) [all...] |
btBvhTriangleMeshShape.cpp | 372 const char* btBvhTriangleMeshShape::serialize(void* dataBuffer, btSerializer* serializer) const 376 btCollisionShape::serialize(&trimeshData->m_collisionShapeData,serializer); 378 m_meshInterface->serialize(&trimeshData->m_meshInterface, serializer); 384 if (m_bvh && !(serializer->getSerializationFlags()&BT_SERIALIZE_NO_BVH)) 386 void* chunk = serializer->findPointer(m_bvh); 400 trimeshData->m_quantizedDoubleBvh = (btQuantizedBvhData*)serializer->getUniquePointer(m_bvh); 403 trimeshData->m_quantizedFloatBvh = (btQuantizedBvhData*)serializer->getUniquePointer(m_bvh); 408 btChunk* chunk = serializer->allocate(sz,1); 409 const char* structType = m_bvh->serialize(chunk->m_oldPtr, serializer); 410 serializer->finalizeChunk(chunk,structType,BT_QUANTIZED_BVH_CODE,m_bvh) [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
PersistentDataStore.java | 203 XmlSerializer serializer = new FastXmlSerializer(); local 204 serializer.setOutput(new BufferedOutputStream(os), StandardCharsets.UTF_8.name()); 205 saveToXml(serializer); 206 serializer.flush(); 274 private void saveToXml(XmlSerializer serializer) throws IOException { 275 serializer.startDocument(null, true); 276 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 277 serializer.startTag(null, TAG_TV_INPUT_MANAGER_STATE); 278 serializer.startTag(null, TAG_BLOCKED_RATINGS); 281 serializer.startTag(null, TAG_RATING) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
Test.java | 144 * @param serializer 147 public void serialize(KXmlSerializer serializer) 149 serializer.startTag(CtsXmlResultReporter.ns, TAG); 150 serializer.attribute(CtsXmlResultReporter.ns, NAME_ATTR, getName()); 151 serializer.attribute(CtsXmlResultReporter.ns, RESULT_ATTR, mResult.getValue()); 152 serializer.attribute(CtsXmlResultReporter.ns, STARTTIME_ATTR, mStartTime); 153 serializer.attribute(CtsXmlResultReporter.ns, ENDTIME_ATTR, mEndTime); 155 serializeTestLogsLocked(serializer); 158 serializer.startTag(CtsXmlResultReporter.ns, SCENE_TAG); 159 serializer.attribute(CtsXmlResultReporter.ns, MESSAGE_ATTR, mMessage) [all...] |
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
SettingsStateTest.java | 79 /** Make sure we won't pass invalid characters to XML serializer. */ 83 XmlSerializer serializer = Xml.newSerializer(); local 84 serializer.setOutput(os, StandardCharsets.UTF_8.name()); 85 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 86 serializer.startDocument(null, true); 89 checkWriteSingleSetting("char=0x" + Integer.toString(ch, 16), serializer, 92 checkWriteSingleSetting(serializer, "k", ""); 93 checkWriteSingleSetting(serializer, "x", "abc"); 94 checkWriteSingleSetting(serializer, "abc", CRAZY_STRING); 95 checkWriteSingleSetting(serializer, "def", null) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
TestPlan.java | 217 KXmlSerializer serializer = new KXmlSerializer(); local 218 serializer.setOutput(stream, "UTF-8"); 219 serializer.startDocument("UTF-8", false); 220 serializer.setFeature( 222 serializer.startTag(null, "TestPlan"); 223 serializer.attribute(null, "version", "1.0"); 225 serializer.startTag(null, ENTRY_TAG); 227 serializer.attribute(null, ABI_ATTR, parts[0]); 228 serializer.attribute(null, NAME_ATTR, parts[1]); 229 serializeFilter(serializer, packageEntry.getValue()) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3SerializerImpl.java | 22 package org.apache.xml.serializer.dom3;
26 import org.apache.xml.serializer.DOM3Serializer;
27 import org.apache.xml.serializer.SerializationHandler;
28 import org.apache.xml.serializer.utils.WrappedRuntimeException;
67 * Returns a DOMErrorHandler set on the DOM Level 3 Serializer.
78 * Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
118 * Sets a DOMErrorHandler on the DOM Level 3 Serializer.
129 * Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
141 * Sets a SerializationHandler on the DOM Serializer.
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
output_html.properties | 41 {http\u003a//xml.apache.org/xalan}content-handler=org.apache.xml.serializer.ToHTMLStream 42 {http\u003a//xml.apache.org/xalan}entities=org/apache/xml/serializer/HTMLEntities
|
output_xml.properties | 44 {http\u003a//xml.apache.org/xalan}content-handler=org.apache.xml.serializer.ToXMLStream 45 {http\u003a//xml.apache.org/xalan}entities=org/apache/xml/serializer/XMLEntities
|
ElemDesc.java | 21 package org.apache.xml.serializer; 23 import org.apache.xml.serializer.utils.StringToIntTable;
|
output_unknown.properties | 45 {http\u003a//xml.apache.org/xalan}content-handler=org.apache.xml.serializer.ToUnknownStream
|
DOM3Serializer.java | 22 package org.apache.xml.serializer;
109 * @see org.apache.xml.serializer.Serializer
110 * @see org.apache.xml.serializer.DOMSerializer
128 * Sets a DOMErrorHandler on the DOM Level 3 Serializer.
137 * Returns a DOMErrorHandler set on the DOM Level 3 Serializer.
146 * Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
156 * Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
|
OutputPropertyUtils.java | 21 package org.apache.xml.serializer;
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
WrappedRuntimeException.java | 21 package org.apache.xml.serializer.utils; 32 * used by org.apache.xml.serializer.
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
__init__.py | 19 from .serializer import serialize
|
/cts/common/util/src/com/android/compatibility/common/util/ |
ReportLog.java | 125 void serialize(XmlSerializer serializer) 127 serializer.startTag(null, METRIC_TAG); 128 serializer.attribute(null, SOURCE_ATTR, getSource()); 129 serializer.attribute(null, MESSAGE_ATTR, getMessage()); 130 serializer.attribute(null, SCORETYPE_ATTR, getType().toReportString()); 131 serializer.attribute(null, SCOREUNIT_ATTR, getUnit().toReportString()); 133 serializer.startTag(null, VALUE_TAG); 134 serializer.text(Double.toString(d)); 135 serializer.endTag(null, VALUE_TAG); 137 serializer.endTag(null, METRIC_TAG) 305 XmlSerializer serializer = XmlPullParserFactory.newInstance(TYPE, null).newSerializer(); local [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
PersistentDataStore.java | 265 XmlSerializer serializer = new FastXmlSerializer(); local 266 serializer.setOutput(new BufferedOutputStream(os), StandardCharsets.UTF_8.name()); 267 saveToXml(serializer); 268 serializer.flush(); 341 private void saveToXml(XmlSerializer serializer) throws IOException { 342 serializer.startDocument(null, true); 343 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 344 serializer.startTag(null, "display-manager-state"); 345 serializer.startTag(null, "remembered-wifi-displays"); 347 serializer.startTag(null, "wifi-display") [all...] |
/prebuilts/tools/common/m2/repository/xalan/serializer/2.7.1/ |
serializer-2.7.1.jar | |
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
FingerprintsUserState.java | 174 XmlSerializer serializer = Xml.newSerializer(); local 175 serializer.setOutput(out, "utf-8"); 176 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 177 serializer.startDocument(null, true); 178 serializer.startTag(null, TAG_FINGERPRINTS); 183 serializer.startTag(null, TAG_FINGERPRINT); 184 serializer.attribute(null, ATTR_FINGER_ID, Integer.toString(fp.getFingerId())); 185 serializer.attribute(null, ATTR_NAME, fp.getName().toString()); 186 serializer.attribute(null, ATTR_GROUP_ID, Integer.toString(fp.getGroupId())); 187 serializer.attribute(null, ATTR_DEVICE_ID, Long.toString(fp.getDeviceId())) [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
PersistentDataStore.java | 262 XmlSerializer serializer = new FastXmlSerializer(); local 263 serializer.setOutput(new BufferedOutputStream(os), StandardCharsets.UTF_8.name()); 264 saveToXml(serializer); 265 serializer.flush(); 311 private void saveToXml(XmlSerializer serializer) throws IOException { 312 serializer.startDocument(null, true); 313 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 314 serializer.startTag(null, "input-manager-state"); 315 serializer.startTag(null, "input-devices"); 319 serializer.startTag(null, "input-device") [all...] |
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/ |
index.js | 6 exports.Serializer = require('./lib/serialization/serializer');
|
/external/skia/tools/skiaserve/urlhandlers/ |
DownloadHandler.cpp | 42 SkAutoTUnref<SkPixelSerializer> serializer(SkImageEncoder::CreatePixelSerializer()); 43 picture->serialize(&outStream, serializer);
|