Home | History | Annotate | Download | only in content

Lines Matching defs:EndPoint

162         final EndPoint target;
224 public static class EndPoint {
225 public final static EndPoint USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL =
226 new EndPoint(null, null, UserHandle.USER_ALL);
234 public EndPoint(ComponentName service, int userId) {
243 public EndPoint(Account account, String provider, int userId) {
253 * An Endpoint for a sync matches if it targets the same sync adapter for the same user.
255 * @param spec the Endpoint to match. If the spec has null fields, they indicate a wildcard
258 public boolean matchesSpec(EndPoint spec) {
302 final EndPoint target;
336 AuthorityInfo(EndPoint info, int id) {
403 public void onSyncRequest(EndPoint info, int reason, Bundle extras);
628 new EndPoint(account, providerName, userId),
637 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId))
655 new EndPoint(account, providerName, userId),
679 new EndPoint(account, providerName, userId),
701 setSyncableStateForEndPoint(new EndPoint(account, providerName, userId), syncable);
708 new EndPoint(cname, userId),
720 setSyncableStateForEndPoint(new EndPoint(cname, userId), active ? 1 : 0);
729 private void setSyncableStateForEndPoint(EndPoint target, int syncable) {
756 public Pair<Long, Long> getBackoff(EndPoint info) {
767 * Update the backoff for the given endpoint. The endpoint may be for a provider/account and
770 public void setBackoff(EndPoint info, long nextSyncTime, long nextDelay) {
879 public long getDelayUntilTime(EndPoint info) {
889 public void setDelayUntilTime(EndPoint info, long delayUntil) {
904 public void updateOrAddPeriodicSync(EndPoint info, long period, long flextime, Bundle extras) {
965 public void removePeriodicSync(EndPoint info, Bundle extras) {
1009 public List<PeriodicSync> getPeriodicSyncs(EndPoint info) {
1057 public boolean isSyncActive(EndPoint info) {
1076 final EndPoint info = op.target;
1235 final EndPoint info = activeSyncContext.mSyncOperation.target;
1471 public Pair<AuthorityInfo, SyncStatusInfo> getCopyOfAuthorityWithSyncStatus(EndPoint info) {
1497 * @param info the endpoint target we are querying status info for.
1498 * @return the SyncStatusInfo for the endpoint.
1500 public SyncStatusInfo getStatusByAuthority(EndPoint info) {
1521 public boolean isSyncPending(EndPoint info) {
1595 private AuthorityInfo getAuthorityLocked(EndPoint info, String tag) {
1646 private AuthorityInfo getOrCreateAuthorityLocked(EndPoint info, int ident, boolean doWrite) {
1675 private AuthorityInfo createAuthorityLocked(EndPoint info, int ident, boolean doWrite) {
1693 EndPoint info) {
1948 EndPoint newInfo =
1949 new EndPoint(authority.target.account,
2029 EndPoint info;
2031 info = new EndPoint(
2035 info = new EndPoint(
2176 EndPoint info = authority.target;
2283 new EndPoint(new Account(accountName, accountType),
2710 new EndPoint(account, authority, userId),