Searched refs:SyncUtil (Results 1 – 5 of 5) sorted by relevance
78 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 …]
44 assertTrue(SyncUtil.isUnsyncableGoogleAccount(mGoogleAccount)); in testIsUnsyncableGoogleAccount()45 assertFalse(SyncUtil.isUnsyncableGoogleAccount(mOtherAccount)); in testIsUnsyncableGoogleAccount()46 assertFalse(SyncUtil.isUnsyncableGoogleAccount(null)); in testIsUnsyncableGoogleAccount()
34 public final class SyncUtil { class41 private SyncUtil() { in SyncUtil() method in SyncUtil
94 import com.android.contacts.util.SyncUtil;234 if (SyncUtil.isAnySyncing(accounts)) { in onSyncStateUpdated()
99 -keep class com.android.contacts.util.SyncUtil { *; }