Lines Matching defs:out

75     // TODO: i18n -- grab these out of resources.
101 // TODO: i18n -- grab these out of resources.
857 // Clean out all data structures.
1347 // Only write these if they are out of date.
1351 // Just always write these... they are likely out of date.
1541 // Otherwise clear out this default list since we will populate it later with
1624 XmlSerializer out = new FastXmlSerializer();
1625 out.setOutput(fos, "utf-8");
1626 out.startDocument(null, true);
1627 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
1629 out.startTag(null, "accounts");
1630 out.attribute(null, "version", Integer.toString(ACCOUNTS_VERSION));
1631 out.attribute(null, "nextAuthorityId", Integer.toString(mNextAuthorityId));
1633 out.attribute(null, "listen-for-tickles", "false");
1639 out.startTag(null, "authority");
1640 out.attribute(null, "id", Integer.toString(authority.ident));
1641 out.attribute(null, "account", authority.account.name);
1642 out.attribute(null, "type", authority.account.type);
1643 out.attribute(null, "authority", authority.authority);
1644 out.attribute(null, "enabled", Boolean.toString(authority.enabled));
1646 out.attribute(null, "syncable", "unknown");
1648 out.attribute(null, "syncable", Boolean.toString(authority.syncable != 0));
1651 out.startTag(null, "periodicSync");
1652 out.attribute(null, "period", Long.toString(periodicSync.second));
1655 out.startTag(null, "extra");
1656 out.attribute(null, "name", key);
1659 out.attribute(null, "type", "long");
1660 out.attribute(null, "value1", value.toString());
1662 out.attribute(null, "type", "integer");
1663 out.attribute(null, "value1", value.toString());
1665 out.attribute(null, "type", "boolean");
1666 out.attribute(null, "value1", value.toString());
1668 out.attribute(null, "type", "float");
1669 out.attribute(null, "value1", value.toString());
1671 out.attribute(null, "type", "double");
1672 out.attribute(null, "value1", value.toString());
1674 out.attribute(null, "type", "string");
1675 out.attribute(null, "value1", value.toString());
1677 out.attribute(null, "type", "account");
1678 out.attribute(null, "value1", ((Account)value).name);
1679 out.attribute(null, "value2", ((Account)value).type);
1681 out.endTag(null, "extra");
1683 out.endTag(null, "periodicSync");
1685 out.endTag(null, "authority");
1688 out.endTag(null, "accounts");
1690 out.endDocument();
1882 Parcel out = Parcel.obtain();
1886 out.writeInt(STATUS_FILE_ITEM);
1887 status.writeToParcel(out, 0);
1889 out.writeInt(STATUS_FILE_END);
1890 fos.write(out.marshall());
1891 out.recycle();
1955 private void writePendingOperationLocked(PendingOperation op, Parcel out) {
1956 out.writeInt(PENDING_OPERATION_VERSION);
1957 out.writeInt(op.authorityId);
1958 out.writeInt(op.syncSource);
1962 out.writeByteArray(op.flatExtras);
1963 out.writeInt(op.expedited ? 1 : 0);
1982 Parcel out = Parcel.obtain();
1985 writePendingOperationLocked(op, out);
1987 fos.write(out.marshall());
1988 out.recycle();
2015 Parcel out = Parcel.obtain();
2016 writePendingOperationLocked(op, out);
2017 fos.write(out.marshall());
2018 out.recycle();
2113 Parcel out = Parcel.obtain();
2120 out.writeInt(STATISTICS_FILE_ITEM);
2121 out.writeInt(ds.day);
2122 out.writeInt(ds.successCount);
2123 out.writeLong(ds.successTime);
2124 out.writeInt(ds.failureCount);
2125 out.writeLong(ds.failureTime);
2127 out.writeInt(STATISTICS_FILE_END);
2128 fos.write(out.marshall());
2129 out.recycle();