Home
last modified time | relevance | path

Searched refs:isSyncEnabled (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/signin/
DSyncStatusHelperTest.java168 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 …]
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/
DSyncController.java139 if (mSyncStatusHelper.isSyncEnabled()) in refreshSyncState()
176 boolean isSyncEnabled = mSyncStatusHelper.isSyncEnabled(account); in syncStateChanged()
177 if (account != null && isSyncSuppressStart && isSyncEnabled) in syncStateChanged()
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
DTestableInvalidationService.java97 boolean isSyncEnabled() { in isSyncEnabled() method in TestableInvalidationService
106 void setShouldRunStates(boolean isChromeInForeground, boolean isSyncEnabled) { in setShouldRunStates() argument
108 this.mIsSyncEnabled = isSyncEnabled; in setShouldRunStates()
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
DSyncStatusHelper.java279 public boolean isSyncEnabled(Account account) { in isSyncEnabled() method in SyncStatusHelper
299 public boolean isSyncEnabled() { in isSyncEnabled() method in SyncStatusHelper
300 return isSyncEnabled(ChromeSigninController.get(mApplicationContext).getSignedInUser()); in isSyncEnabled()
DInvalidationService.java467 return isSyncEnabled() && isChromeInForeground(); in shouldClientBeRunning()
472 boolean isSyncEnabled() { in isSyncEnabled() method in InvalidationService
473 return SyncStatusHelper.get(getApplicationContext()).isSyncEnabled(); in isSyncEnabled()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/invalidation/
DInvalidationController.java127 if (SyncStatusHelper.get(mContext).isSyncEnabled()) { in onActivityStateChange()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
DSigninManager.java285 if (SyncStatusHelper.get(mContext).isSyncEnabled(mSignInAccount) && in doSignIn()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DChromeBrowserProvider.java628 && !SyncStatusHelper.get(getContext()).isSyncEnabled()) { in getBookmarkNode()