Home
last modified time | relevance | path

Searched refs:SyncState (Results 1 – 8 of 8) 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.java37 private AccountSyncHelper.SyncState mSyncState = AccountSyncHelper.SyncState.NONE;
90 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/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
DAllUriTest.java26 import android.provider.ContactsContract.SyncState;
668 cv.put(SyncState.ACCOUNT_NAME, "abc"); in testAllOperations()
669 cv.put(SyncState.ACCOUNT_TYPE, "def"); in testAllOperations()
/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.java64 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()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4108 Object data = values.get(ContactsContract.SyncState.DATA); in updateInTransaction()