Searched refs:shouldPerformSync (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/ |
D | DelayedSyncControllerTest.java | 58 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/ |
D | DelayedSyncController.java | 93 boolean shouldPerformSync(Context ctx, Bundle extras, Account account) { in shouldPerformSync() method in DelayedSyncController
|
D | ChromiumSyncAdapter.java | 59 if (!DelayedSyncController.getInstance().shouldPerformSync(getContext(), extras, account)) { in onPerformSync()
|