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