Home
last modified time | relevance | path

Searched refs:shouldSync (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java316 public void putShouldSync(boolean shouldSync) {
317 put(mUngrouped ? Settings.SHOULD_SYNC : Groups.SHOULD_SYNC, shouldSync ? 1 : 0);
492 public void setShouldSync(boolean shouldSync) {
493 final Iterator<GroupDelta> oppositeChildren = shouldSync ?
497 setShouldSync(child, shouldSync, false);
502 public void setShouldSync(GroupDelta child, boolean shouldSync) {
503 setShouldSync(child, shouldSync, true);
510 public void setShouldSync(GroupDelta child, boolean shouldSync, boolean attemptRemove) {
511 child.putShouldSync(shouldSync);
512 if (shouldSync) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java222 protected void createSettings(Account account, String shouldSync, String ungroupedVisible) { in createSettings() argument
224 shouldSync, ungroupedVisible); in createSettings()
227 protected void createSettings(AccountWithDataSet account, String shouldSync, in createSettings() argument
235 values.put(Settings.SHOULD_SYNC, shouldSync); in createSettings()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DSyncManager.java187 public synchronized boolean shouldSync(final boolean full, final long startTimestamp) { in shouldSync() method in SyncManager
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessagesAction.java185 if (syncManager.shouldSync(lowerBoundTimeMillis < 0, startTimestamp)) { in executeAction()