Home
last modified time | relevance | path

Searched refs:EndPoint (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncStorageEngineTest.java36 import com.android.server.content.SyncStorageEngine.EndPoint;
44 import com.android.server.content.SyncStorageEngine.EndPoint;
226 EndPoint end1 = new EndPoint(account1, authority, 0); in testPeriodics()
239 engine.updateOrAddPeriodicSync(new EndPoint(account1, authority, 0), period1, 0, extras1); in testPeriodics()
240 engine.updateOrAddPeriodicSync(new EndPoint(account1, authority, 0), period1, 0, extras2); in testPeriodics()
241 engine.updateOrAddPeriodicSync(new EndPoint(account1, authority, 0), period2, 0, extras2); in testPeriodics()
242 engine.updateOrAddPeriodicSync(new EndPoint(account2, authority, 0), period2, 0, extras2); in testPeriodics()
244 engine.updateOrAddPeriodicSync(new EndPoint(account1, authority, 1), period1, 0, extras2); in testPeriodics()
246 List<PeriodicSync> syncs = engine.getPeriodicSyncs(new EndPoint(account1, authority, 0)); in testPeriodics()
253 engine.removePeriodicSync(new EndPoint(account1, authority, 0), extras1); in testPeriodics()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java164 final EndPoint target;
226 public static class EndPoint { class in SyncStorageEngine
227 public final static EndPoint USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL =
228 new EndPoint(null, null, UserHandle.USER_ALL);
236 public EndPoint(ComponentName service, int userId) { in EndPoint() method in SyncStorageEngine.EndPoint
245 public EndPoint(Account account, String provider, int userId) { in EndPoint() method in SyncStorageEngine.EndPoint
260 public boolean matchesSpec(EndPoint spec) { in matchesSpec()
328 final EndPoint target;
362 AuthorityInfo(EndPoint info, int id) { in AuthorityInfo()
428 public void onSyncRequest(EndPoint info, int reason, Bundle extras); in onSyncRequest()
[all …]
DSyncOperation.java64 public final SyncStorageEngine.EndPoint target;
99 this(new SyncStorageEngine.EndPoint(account, provider, userId), in SyncOperation()
107 this(new SyncStorageEngine.EndPoint(service, userId), reason, source, extras, in SyncOperation()
111 private SyncOperation(SyncStorageEngine.EndPoint info, int reason, int source, Bundle extras, in SyncOperation()
186 final SyncStorageEngine.EndPoint other = toRun.target; in isConflict()
288 public static String toKey(SyncStorageEngine.EndPoint info, Bundle extras) { in toKey()
DSyncQueue.java62 final SyncStorageEngine.EndPoint info = op.target; in addPendingOperations()
199 public void onBackoffChanged(SyncStorageEngine.EndPoint target, long backoff) { in onBackoffChanged()
210 public void onDelayUntilTimeChanged(SyncStorageEngine.EndPoint target, long delayUntil) { in onDelayUntilTimeChanged()
229 public void remove(final SyncStorageEngine.EndPoint info, Bundle extras) { in remove()
234 final SyncStorageEngine.EndPoint opInfo = syncOperation.target; in remove()
DContentService.java400 SyncStorageEngine.EndPoint info; in syncAsUser()
401 info = new SyncStorageEngine.EndPoint( in syncAsUser()
465 SyncStorageEngine.EndPoint info; in cancelSyncAsUser()
467 info = new SyncStorageEngine.EndPoint(account, authority, userId); in cancelSyncAsUser()
469 info = new SyncStorageEngine.EndPoint(cname, userId); in cancelSyncAsUser()
486 SyncStorageEngine.EndPoint info; in cancelRequest()
490 info = new SyncStorageEngine.EndPoint(account, provider, userId); in cancelRequest()
632 SyncStorageEngine.EndPoint info = in addPeriodicSync()
633 new SyncStorageEngine.EndPoint(account, authority, userId); in addPeriodicSync()
659 new SyncStorageEngine.EndPoint(account, authority, userId), in removePeriodicSync()
[all …]
DSyncManager.java89 import com.android.server.content.SyncStorageEngine.EndPoint;
247 SyncStorageEngine.EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL,
265 SyncStorageEngine.EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL,
431 public void onSyncRequest(SyncStorageEngine.EndPoint info, int reason, Bundle extras) { in SyncManager()
678 SyncStorageEngine.EndPoint info = new SyncStorageEngine.EndPoint(cname, userId); in scheduleSync()
854 SyncStorageEngine.EndPoint info = in scheduleSync()
855 new SyncStorageEngine.EndPoint( in scheduleSync()
949 private void sendCancelSyncsMessage(final SyncStorageEngine.EndPoint info, Bundle extras) { in sendCancelSyncsMessage()
1099 public void cancelActiveSync(SyncStorageEngine.EndPoint info, Bundle extras) { in cancelActiveSync()
1132 public void clearScheduledSyncOperations(SyncStorageEngine.EndPoint info) { in clearScheduledSyncOperations()
[all …]