Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactBrowseListFragment.java78 import com.android.contacts.util.SyncUtil;
122 private int mReasonSyncOff = SyncUtil.SYNC_SETTING_SYNC_ON;
356 if (SyncUtil.isSyncStatusPendingOrActive(account) in shouldShowEmptyView()
357 || SyncUtil.isUnsyncableGoogleAccount(account)) { in shouldShowEmptyView()
364 return !(SyncUtil.isSyncStatusPendingOrActive(account) in shouldShowEmptyView()
365 || SyncUtil.isUnsyncableGoogleAccount(account)); in shouldShowEmptyView()
527 && mReasonSyncOff == SyncUtil.SYNC_SETTING_ACCOUNT_SYNC_OFF) { in turnSyncOn()
559 if (mReasonSyncOff == SyncUtil.SYNC_SETTING_GLOBAL_SYNC_OFF) { in dismiss()
561 } else if (mReasonSyncOff == SyncUtil.SYNC_SETTING_ACCOUNT_SYNC_OFF) { in dismiss()
581 final boolean isNetworkConnected = SyncUtil.isNetworkConnected(getContext()); in initSwipeRefreshLayout()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DSyncUtilTests.java44 assertTrue(SyncUtil.isUnsyncableGoogleAccount(mGoogleAccount)); in testIsUnsyncableGoogleAccount()
45 assertFalse(SyncUtil.isUnsyncableGoogleAccount(mOtherAccount)); in testIsUnsyncableGoogleAccount()
46 assertFalse(SyncUtil.isUnsyncableGoogleAccount(null)); in testIsUnsyncableGoogleAccount()
/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/src/com/android/contacts/activities/
DPeopleActivity.java94 import com.android.contacts.util.SyncUtil;
234 if (SyncUtil.isAnySyncing(accounts)) { in onSyncStateUpdated()
/packages/apps/Contacts/
Dproguard.flags99 -keep class com.android.contacts.util.SyncUtil { *; }