Home
last modified time | relevance | path

Searched refs:SyncState (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncHelper.java133 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
DSyncPreference.java36 private AccountSyncHelper.SyncState mSyncState = AccountSyncHelper.SyncState.NONE;
89 public void setSyncState(AccountSyncHelper.SyncState state) { in setSyncState()
DAccountDetailsWithSyncStatusPreferenceController.java107 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in isSyncFailing()
111 if (syncState == AccountSyncHelper.SyncState.FAILED && !activelySyncing in isSyncFailing()
DAccountSyncDetailsPreferenceController.java355 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in getSyncPreferences()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceControllerTest.java136 .thenReturn(AccountSyncHelper.SyncState.FAILED); in onCreate_syncIsFailing_summaryShouldBeSet()
153 .thenReturn(AccountSyncHelper.SyncState.FAILED); in onSyncStatusChanged_summaryShouldUpdated()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java63 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()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4349 Object data = values.get(ContactsContract.SyncState.DATA); in updateInTransaction()