Home | History | Annotate | Download | only in content

Lines Matching defs:SyncResult

28 public final class SyncResult implements Parcelable {
94 * This instance of a SyncResult is returned by the SyncAdapter in response to a
98 public static final SyncResult ALREADY_IN_PROGRESS;
101 ALREADY_IN_PROGRESS = new SyncResult(true);
105 * Create a "clean" SyncResult. If this is returned without any changes then the
115 * {@link SyncResult#hasHardError()} and {@link SyncResult#hasSoftError()}. If both are
118 public SyncResult() {
123 * Internal helper for creating a clean SyncResult or one that indicated that
127 private SyncResult(boolean syncAlreadyInProgress) {
138 private SyncResult(Parcel parcel) {
151 * Convenience method for determining if the SyncResult indicates that a hard error
152 * occurred. See {@link #SyncResult()} for an explanation of what the SyncManager does
175 * Convenience method for determining if the SyncResult indicates that a soft error
176 * occurred. See {@link #SyncResult()} for an explanation of what the SyncManager does
191 * A convenience method for determining of the SyncResult indicates that an error occurred.
205 * Clears the SyncResult to a clean state. Throws an {@link UnsupportedOperationException}
223 public static final Creator<SyncResult> CREATOR = new Creator<SyncResult>() {
224 public SyncResult createFromParcel(Parcel in) {
225 return new SyncResult(in);
228 public SyncResult[] newArray(int size) {
229 return new SyncResult[size];
252 sb.append("SyncResult:");