Lines Matching refs:endpoint
98 import com.android.server.content.SyncStorageEngine.EndPoint;
130 * Each {@link EndPoint} has a backoff associated with it. When a SyncOperation fails, we increase
290 SyncStorageEngine.EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL,
297 rescheduleSyncs(EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL);
315 updateRunningAccounts(EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL
347 private void updateRunningAccounts(EndPoint target) {
388 rescheduleSyncs(EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL);
481 // Set the pending status of this EndPoint to true. Pending icon is
508 public void onSyncRequest(SyncStorageEngine.EndPoint info, int reason, Bundle extras) {
517 public void onPeriodicSyncAdded(EndPoint target, Bundle extras, long pollFrequency,
525 public void onAuthorityRemoved(EndPoint removedAuthority) {
746 private void setAuthorityPendingState(EndPoint info) {
955 SyncStorageEngine.EndPoint info =
956 new SyncStorageEngine.EndPoint(
1059 private void removeSyncsForAuthority(EndPoint info) {
1072 public void removePeriodicSync(EndPoint target, Bundle extras) {
1082 public void updateOrAddPeriodicSync(EndPoint target, long pollFrequency, long flex,
1093 public List<PeriodicSync> getPeriodicSyncs(EndPoint target) {
1143 private void sendCancelSyncsMessage(final SyncStorageEngine.EndPoint info, Bundle extras) {
1201 public final EndPoint target;
1206 UpdatePeriodicSyncMessagePayload(EndPoint target, long pollFrequency, long flex,
1225 private void clearBackoffSetting(EndPoint target) {
1241 private void increaseBackoffSetting(EndPoint target) {
1283 * Reschedule all scheduled syncs for this EndPoint. The syncs will be scheduled according
1284 * to current backoff and delayUntil values of this EndPoint.
1286 private void rescheduleSyncs(EndPoint target) {
1301 private void setDelayUntilTime(EndPoint target, long delayUntilSeconds) {
1317 private boolean isAdapterDelayed(EndPoint target) {
1336 public void cancelActiveSync(SyncStorageEngine.EndPoint info, Bundle extras) {
1473 public void clearScheduledSyncOperations(SyncStorageEngine.EndPoint info) {
1490 public void cancelScheduledSyncOperation(SyncStorageEngine.EndPoint info, Bundle extras) {
1577 EndPoint target = new EndPoint(null, null, userId);
1593 new SyncStorageEngine.EndPoint(
1890 new SyncStorageEngine.EndPoint(
2422 EndPoint targets = (EndPoint) msg.obj;
2489 removePeriodicSyncH((EndPoint)msg.obj, msg.getData());
2493 SyncStorageEngine.EndPoint endpoint = (SyncStorageEngine.EndPoint) msg.obj;
2497 + endpoint + " bundle: " + extras);
2499 cancelActiveSyncH(endpoint, extras);
2720 private void updateRunningAccountsH(EndPoint syncTargets) {
2793 private void updateOrAddPeriodicSyncH(EndPoint target, long pollFrequency, long flex,
2882 private void removePeriodicSyncH(EndPoint target, Bundle extras) {
2923 final EndPoint target = op.target;
2980 final SyncStorageEngine.EndPoint info = op.target;
3039 * @param extras Can be null to indicate <strong>all</strong> syncs for the given endpoint.
3041 private void cancelActiveSyncH(SyncStorageEngine.EndPoint info, Bundle extras) {
3046 final SyncStorageEngine.EndPoint opInfo =
3087 final SyncStorageEngine.EndPoint info = syncOperation.target;