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.java323 public void putShouldSync(boolean shouldSync) {
324 put(mUngrouped ? Settings.SHOULD_SYNC : Groups.SHOULD_SYNC, shouldSync ? 1 : 0);
499 public void setShouldSync(boolean shouldSync) {
500 final Iterator<GroupDelta> oppositeChildren = shouldSync ?
504 setShouldSync(child, shouldSync, false);
509 public void setShouldSync(GroupDelta child, boolean shouldSync) {
510 setShouldSync(child, shouldSync, true);
517 public void setShouldSync(GroupDelta child, boolean shouldSync, boolean attemptRemove) {
518 child.putShouldSync(shouldSync);
519 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.java188 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()