Home
last modified time | relevance | path

Searched refs:shouldPerformSync (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
DDelayedSyncControllerTest.java58 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync()
63 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testManualSyncRequestsShouldAlwaysTriggerSync()
71 assertTrue(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsShouldTriggerSyncWhenChromeIsInForeground()
80 assertFalse(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testSyncRequestsWhenChromeIsInBackgroundShouldBeDelayed()
94 assertFalse(mController.shouldPerformSync(getActivity(), extras, TEST_ACCOUNT)); in testDelayedSyncRequestsShouldBeTriggeredOnResume()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
DDelayedSyncController.java93 boolean shouldPerformSync(Context ctx, Bundle extras, Account account) { in shouldPerformSync() method in DelayedSyncController
DChromiumSyncAdapter.java59 if (!DelayedSyncController.getInstance().shouldPerformSync(getContext(), extras, account)) { in onPerformSync()