Searched refs:SyncOperation (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/ |
D | SyncOperationTest.java | 44 SyncOperation op1 = new SyncOperation(account1, in testToKey() 54 SyncOperation op2 = new SyncOperation(account1, in testToKey() 64 SyncOperation op3 = new SyncOperation(account1, in testToKey() 74 SyncOperation op4 = new SyncOperation(account2, in testToKey() 84 SyncOperation op5 = new SyncOperation(account1, in testToKey()
|
/frameworks/base/core/java/android/content/ |
D | SyncQueue.java | 43 public final HashMap<String, SyncOperation> mOperationsMap = Maps.newHashMap(); 59 SyncOperation syncOperation = new SyncOperation( in SyncQueue() 70 public boolean add(SyncOperation operation) { in add() 74 private boolean add(SyncOperation operation, in add() 82 final SyncOperation existingOperation = mOperationsMap.get(operationKey); in add() 123 public void remove(SyncOperation operation) { in remove() 124 SyncOperation operationToRemove = mOperationsMap.remove(operation.key); in remove() 137 for (SyncOperation op : mOperationsMap.values()) { in onBackoffChanged() 148 for (SyncOperation op : mOperationsMap.values()) { in onDelayUntilTimeChanged() 157 Iterator<Map.Entry<String, SyncOperation>> entries = mOperationsMap.entrySet().iterator(); in remove() [all …]
|
D | SyncOperation.java | 27 public class SyncOperation implements Comparable { class 41 public SyncOperation(Account account, int source, String authority, Bundle extras, in SyncOperation() method in SyncOperation 76 SyncOperation(SyncOperation other) { in SyncOperation() method in SyncOperation 146 SyncOperation other = (SyncOperation)o; in compareTo()
|
D | SyncManager.java | 626 new SyncOperation(account, source, authority, newExtras, 0, in scheduleSync() 640 new SyncOperation(account, source, authority, extras, delay, in scheduleSync() 712 private void clearBackoffSetting(SyncOperation op) { in clearBackoffSetting() 720 private void increaseBackoffSetting(SyncOperation op) { in increaseBackoffSetting() 766 private void setDelayUntilTime(SyncOperation op, long delayUntilSeconds) { in setDelayUntilTime() 795 public void scheduleSyncOperation(SyncOperation syncOperation) { in scheduleSyncOperation() 827 void maybeRescheduleSync(SyncResult syncResult, SyncOperation operation) { in maybeRescheduleSync() 833 operation = new SyncOperation(operation); in maybeRescheduleSync() 871 scheduleSyncOperation(new SyncOperation(operation.account, operation.syncSource, in maybeRescheduleSync() 892 final SyncOperation mSyncOperation; [all …]
|