Home
last modified time | relevance | path

Searched refs:SyncUtil (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DSyncUtilTests.java45 assertTrue(SyncUtil.isUnsyncableGoogleAccount(mGoogleAccount)); in testIsUnsyncableGoogleAccount()
46 assertFalse(SyncUtil.isUnsyncableGoogleAccount(mOtherAccount)); in testIsUnsyncableGoogleAccount()
47 assertFalse(SyncUtil.isUnsyncableGoogleAccount(null)); in testIsUnsyncableGoogleAccount()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactBrowseListFragment.java79 import com.android.contacts.util.SyncUtil;
125 private int mReasonSyncOff = SyncUtil.SYNC_SETTING_SYNC_ON;
359 if (SyncUtil.isSyncStatusPendingOrActive(account) in shouldShowEmptyView()
360 || SyncUtil.isUnsyncableGoogleAccount(account)) { in shouldShowEmptyView()
367 return !(SyncUtil.isSyncStatusPendingOrActive(account) in shouldShowEmptyView()
368 || SyncUtil.isUnsyncableGoogleAccount(account)); in shouldShowEmptyView()
530 && mReasonSyncOff == SyncUtil.SYNC_SETTING_ACCOUNT_SYNC_OFF) { in turnSyncOn()
562 if (mReasonSyncOff == SyncUtil.SYNC_SETTING_GLOBAL_SYNC_OFF) { in dismiss()
564 } else if (mReasonSyncOff == SyncUtil.SYNC_SETTING_ACCOUNT_SYNC_OFF) { in dismiss()
584 final boolean isNetworkConnected = SyncUtil.isNetworkConnected(getContext()); in initSwipeRefreshLayout()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DSyncUtil.java34 public final class SyncUtil { class
41 private SyncUtil() { in SyncUtil() method in SyncUtil
/packages/apps/Contacts/
Dproguard.flags98 -keep class com.android.contacts.util.SyncUtil { *; }
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java96 import com.android.contacts.util.SyncUtil;
236 if (SyncUtil.isAnySyncing(accounts)) { in onSyncStateUpdated()