HomeSort by relevance Sort by last modified time
    Searched refs:serializer (Results 26 - 50 of 379) sorted by null

12 3 4 5 6 7 8 91011>>

  /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.
  /frameworks/base/services/core/java/com/android/server/input/
PersistentDataStore.java 236 XmlSerializer serializer = new FastXmlSerializer(); local
237 serializer.setOutput(new BufferedOutputStream(os), "utf-8");
238 saveToXml(serializer);
239 serializer.flush();
285 private void saveToXml(XmlSerializer serializer) throws IOException {
286 serializer.startDocument(null, true);
287 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
288 serializer.startTag(null, "input-manager-state");
289 serializer.startTag(null, "input-devices");
293 serializer.startTag(null, "input-device")
    [all...]
  /external/chromium_org/chrome/browser/ui/app_list/search/common/
dictionary_data_store.cc 71 JSONFileValueSerializer serializer(data_file_);
72 base::Value* value = serializer.Deserialize(&error_code, &error_message);
87 JSONStringValueSerializer serializer(data);
88 serializer.set_pretty_print(true);
89 return serializer.Serialize(*cached_dict_.get());
  /frameworks/base/services/core/java/com/android/server/pm/
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);
CrossProfileIntentFilter.java 129 public void writeToXml(XmlSerializer serializer) throws IOException {
130 serializer.attribute(null, ATTR_TARGET_USER_ID, Integer.toString(mTargetUserId));
131 serializer.attribute(null, ATTR_FLAGS, Integer.toString(mFlags));
132 serializer.attribute(null, ATTR_OWNER_USER_ID, Integer.toString(mOwnerUserId));
133 serializer.attribute(null, ATTR_OWNER_PACKAGE, mOwnerPackage);
134 serializer.startTag(null, ATTR_FILTER);
135 super.writeToXml(serializer);
136 serializer.endTag(null, ATTR_FILTER);
KeySetManagerService.java 575 void writeKeySetManagerServiceLPr(XmlSerializer serializer) throws IOException {
576 serializer.startTag(null, "keyset-settings");
577 serializer.attribute(null, "version", Integer.toString(CURRENT_VERSION));
578 writePublicKeysLPr(serializer);
579 writeKeySetsLPr(serializer);
580 serializer.startTag(null, "lastIssuedKeyId");
581 serializer.attribute(null, "value", Long.toString(lastIssuedKeyId));
582 serializer.endTag(null, "lastIssuedKeyId");
583 serializer.startTag(null, "lastIssuedKeySetId");
584 serializer.attribute(null, "value", Long.toString(lastIssuedKeySetId))
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
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;
SerializerConstants.java 21 package org.apache.xml.serializer;
SerializerFactory.java 21 package org.apache.xml.serializer;
28 import org.apache.xml.serializer.utils.MsgKey;
29 import org.apache.xml.serializer.utils.Utils;
37 * used to create a serializer does not need to be obtained
59 * @see Serializer
76 * Returns a serializer for the specified output method. The output method
83 * @return A suitable serializer.
85 * null or an appropriate serializer can't be found
86 * @throws Exception if the class for the serializer is found but does not
88 * @throws WrappedRuntimeException if an exception is thrown while trying to find serializer
    [all...]
Version.java 21 package org.apache.xml.serializer;
25 * the Serializer release.
35 * Get the basic version string for the current Serializer.
37 * <CODE>"<B>Serializer</B> <B>Java</B> v.r[.dd| <B>D</B>nn]"</CODE>.
62 * Name of product: Serializer.
66 return "Serializer";
WriterChain.java 21 package org.apache.xml.serializer;
27 * The serializer has a number of classes that extend java.io.Writer
48 * This interface is only for internal use withing the serializer.
  /external/chromium_org/chromeos/app_mode/
kiosk_oem_manifest_parser.cc 33 scoped_ptr<JSONFileValueSerializer> serializer(
36 serializer->Deserialize(&error_code, &error_msg));
  /external/chromium_org/sync/internal_api/public/sessions/
update_counters.cc 48 JSONStringValueSerializer serializer(&result);
49 serializer.Serialize(*value);
  /packages/services/Telecomm/src/com/android/server/telecom/
PhoneAccountRegistrar.java 731 XmlSerializer serializer = new FastXmlSerializer(); local
732 serializer.setOutput(new BufferedOutputStream(os), "utf-8");
733 writeToXml(mState, serializer, mContext);
734 serializer.flush();
797 private static void writeToXml(State state, XmlSerializer serializer, Context context)
799 sStateXml.writeToXml(state, serializer, context);
821 public abstract void writeToXml(T o, XmlSerializer serializer, Context context)
834 protected void writeTextIfNonNull(String tagName, Object value, XmlSerializer serializer)
837 serializer.startTag(null, tagName);
838 serializer.text(Objects.toString(value))
    [all...]
  /external/chromium_org/base/metrics/
histogram_delta_serialization_unittest.cc 18 HistogramDeltaSerialization serializer("HistogramDeltaSerializationTest");
21 serializer.PrepareAndSerializeDeltas(&deltas);
31 serializer.PrepareAndSerializeDeltas(&deltas);
  /external/chromium_org/chromeos/network/onc/
onc_test_utils.cc 52 JSONFileValueSerializer serializer(path);
53 serializer.set_allow_trailing_comma(true);
56 base::Value* content = serializer.Deserialize(NULL, &error_message);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
IntentStore.java 191 XmlSerializer serializer = Xml.newSerializer(); local
193 serializer.setOutput(writer);
194 serializer.startDocument(null, true);
195 serializer.startTag(null, TAG_ACCOUNT);
196 serializer.attribute(null /* namespace */, ATTRIBUTE_ACCOUNT_NAME, account.name);
197 serializer.attribute(null /* namespace */, ATTRIBUTE_ACCOUNT_TYPE, account.type);
198 serializer.endTag(null, TAG_ACCOUNT);
199 serializer.endDocument();
244 XmlSerializer serializer = Xml.newSerializer(); local
246 serializer.setOutput(writer)
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestLog.java 137 public void serialize(KXmlSerializer serializer) throws IOException {
138 serializer.startTag(CtsXmlResultReporter.ns, TAG);
139 serializer.attribute(CtsXmlResultReporter.ns, TYPE_ATTR, mLogType.getAttrValue());
140 serializer.attribute(CtsXmlResultReporter.ns, URL_ATTR, mUrl);
141 serializer.endTag(CtsXmlResultReporter.ns, TAG);
TestCase.java 85 * @param serializer
88 public void serialize(KXmlSerializer serializer) throws IOException {
89 serializer.startTag(CtsXmlResultReporter.ns, TAG);
90 serializer.attribute(CtsXmlResultReporter.ns, "name", getName());
92 serializer.attribute(CtsXmlResultReporter.ns, "priority", "");
94 t.serialize(serializer);
96 serializer.endTag(CtsXmlResultReporter.ns, TAG);
  /external/chromium_org/base/json/
json_value_serializer_unittest.cc 76 // Try to deserialize it through the serializer.
94 // Try to deserialize it through the serializer.
123 // Try to deserialize it through the serializer.
148 // Try to deserialize it through the serializer.
170 JSONStringValueSerializer serializer(original_serialization);
171 scoped_ptr<Value> root(serializer.Deserialize(NULL, NULL));
194 // We shouldn't be able to write using this serializer, since it was
196 ASSERT_FALSE(serializer.Serialize(*root_dict));
265 JSONStringValueSerializer serializer(&output_js);
266 ASSERT_TRUE(serializer.Serialize(valueRoot))
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
PrintSpoolerService.java 758 XmlSerializer serializer = new FastXmlSerializer(); local
759 serializer.setOutput(out, "utf-8");
760 serializer.startDocument(null, true);
761 serializer.startTag(null, TAG_SPOOLER);
773 serializer.startTag(null, TAG_JOB);
775 serializer.attribute(null, ATTR_ID, printJob.getId().flattenToString());
776 serializer.attribute(null, ATTR_LABEL, printJob.getLabel().toString());
777 serializer.attribute(null, ATTR_STATE, String.valueOf(printJob.getState()));
778 serializer.attribute(null, ATTR_APP_ID, String.valueOf(printJob.getAppId()));
781 serializer.attribute(null, ATTR_TAG, tag)
    [all...]
  /external/chromium_org/components/invalidation/
unacked_invalidation_set_test_util.cc 149 JSONStringValueSerializer serializer(&output);
150 serializer.set_pretty_print(true);
151 serializer.Serialize(*value.get());
164 JSONStringValueSerializer serializer(&output);
165 serializer.set_pretty_print(true);
166 serializer.Serialize(*list.get());

Completed in 384 milliseconds

12 3 4 5 6 7 8 91011>>