Searched refs:SyncState (Results 1 – 8 of 8) 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
37 private AccountSyncHelper.SyncState mSyncState = AccountSyncHelper.SyncState.NONE;90 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()
26 import android.provider.ContactsContract.SyncState;668 cv.put(SyncState.ACCOUNT_NAME, "abc"); in testAllOperations()669 cv.put(SyncState.ACCOUNT_TYPE, "def"); in testAllOperations()
136 .thenReturn(AccountSyncHelper.SyncState.FAILED); in onCreate_syncIsFailing_summaryShouldBeSet()153 .thenReturn(AccountSyncHelper.SyncState.FAILED); in onSyncStatusChanged_summaryShouldUpdated()
64 import android.provider.CalendarContract.SyncState;1008 String selectionWithId = (SyncState._ID + "=?") in queryInternal()3355 String selectionWithId = (SyncState._ID + "=?") in deleteInTransactionInner()4238 String selectionWithId = (SyncState._ID + "=?") in updateInTransactionInner()
4108 Object data = values.get(ContactsContract.SyncState.DATA); in updateInTransaction()