Searched refs:isSyncEnabled (Results 1 – 8 of 8) sorted by relevance
168 assertTrue("sync should be set", mHelper.isSyncEnabled(mTestAccount)); in testToggleAccountSyncFromSettings()175 assertFalse("sync should be unset", mHelper.isSyncEnabled(mTestAccount)); in testToggleAccountSyncFromSettings()182 assertTrue("sync should be re-enabled", mHelper.isSyncEnabled(mTestAccount)); in testToggleAccountSyncFromSettings()190 mHelper.isSyncEnabled(mTestAccount)); in testToggleAccountSyncFromSettings()209 assertTrue("account should be synced", mHelper.isSyncEnabled(mTestAccount)); in testToggleAccountSyncFromApplication()218 assertFalse("account should not be synced", mHelper.isSyncEnabled(mTestAccount)); in testToggleAccountSyncFromApplication()235 assertTrue("account should be synced", mHelper.isSyncEnabled(mTestAccount)); in testToggleSyncabilityForMultipleAccounts()245 mHelper.isSyncEnabled(mAlternateTestAccount)); in testToggleSyncabilityForMultipleAccounts()255 mHelper.isSyncEnabled(mAlternateTestAccount)); in testToggleSyncabilityForMultipleAccounts()256 assertTrue("account should still be synced", mHelper.isSyncEnabled(mTestAccount)); in testToggleSyncabilityForMultipleAccounts()[all …]
139 if (mSyncStatusHelper.isSyncEnabled()) in refreshSyncState()176 boolean isSyncEnabled = mSyncStatusHelper.isSyncEnabled(account); in syncStateChanged()177 if (account != null && isSyncSuppressStart && isSyncEnabled) in syncStateChanged()
97 boolean isSyncEnabled() { in isSyncEnabled() method in TestableInvalidationService106 void setShouldRunStates(boolean isChromeInForeground, boolean isSyncEnabled) { in setShouldRunStates() argument108 this.mIsSyncEnabled = isSyncEnabled; in setShouldRunStates()
279 public boolean isSyncEnabled(Account account) { in isSyncEnabled() method in SyncStatusHelper299 public boolean isSyncEnabled() { in isSyncEnabled() method in SyncStatusHelper300 return isSyncEnabled(ChromeSigninController.get(mApplicationContext).getSignedInUser()); in isSyncEnabled()
467 return isSyncEnabled() && isChromeInForeground(); in shouldClientBeRunning()472 boolean isSyncEnabled() { in isSyncEnabled() method in InvalidationService473 return SyncStatusHelper.get(getApplicationContext()).isSyncEnabled(); in isSyncEnabled()
127 if (SyncStatusHelper.get(mContext).isSyncEnabled()) { in onActivityStateChange()
285 if (SyncStatusHelper.get(mContext).isSyncEnabled(mSignInAccount) && in doSignIn()
628 && !SyncStatusHelper.get(getContext()).isSyncEnabled()) { in getBookmarkNode()