Searched refs:SyncState (Results 1 – 7 of 7) sorted by relevance
133 static SyncState getSyncState(SyncStatusInfo status, boolean syncEnabled, in getSyncState()141 return SyncState.ACTIVE; in getSyncState()143 return SyncState.PENDING; in getSyncState()145 return SyncState.FAILED; in getSyncState()147 return SyncState.NONE; in getSyncState()185 public enum SyncState { enum in AccountSyncHelper
36 private AccountSyncHelper.SyncState mSyncState = AccountSyncHelper.SyncState.NONE;89 public void setSyncState(AccountSyncHelper.SyncState state) { in setSyncState()
107 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in isSyncFailing()111 if (syncState == AccountSyncHelper.SyncState.FAILED && !activelySyncing in isSyncFailing()
355 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in getSyncPreferences()
136 .thenReturn(AccountSyncHelper.SyncState.FAILED); in onCreate_syncIsFailing_summaryShouldBeSet()153 .thenReturn(AccountSyncHelper.SyncState.FAILED); in onSyncStatusChanged_summaryShouldUpdated()
63 import android.provider.CalendarContract.SyncState;1007 String selectionWithId = (SyncState._ID + "=?") in queryInternal()3354 String selectionWithId = (SyncState._ID + "=?") in deleteInTransactionInner()4237 String selectionWithId = (SyncState._ID + "=?") in updateInTransactionInner()
4349 Object data = values.get(ContactsContract.SyncState.DATA); in updateInTransaction()