Lines Matching defs:provider

232         final String provider;
240 this.provider = null;
245 public EndPoint(Account account, String provider, int userId) {
247 this.provider = provider;
276 if (spec.provider == null) {
279 providersMatch = provider.equals(spec.provider);
291 .append(provider == null ? "ALL PDRS" : provider);
383 new PeriodicSync(target.account, target.provider,
674 Log.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName
724 && authorityInfo.target.provider.equals(providerName)) {
757 * An enabled sync service and a syncable provider's adapter both get resolved to the same
798 * Update the backoff for the given endpoint. The endpoint may be for a provider/account and
799 * the account or provider info be null, which signifies all accounts or providers.
809 && (info.account == null || info.provider == null)) {
810 // Do more work for a provider sync if the provided info has specified all
815 info.provider /* may be null */,
841 * @param providerName provider for which to set backoff. Null to specify all providers.
854 && !providerName.equals(authorityInfo.target.provider)) {
952 info.provider,
1275 authorityInfo.target.provider,
1533 if (info.target_provider && (info.account == null || info.provider == null)) {
1655 AuthorityInfo authority = accountInfo.authorities.get(info.provider);
1659 Log.v(TAG, tag + ": unknown provider " + info.provider);
1698 authority = account.authorities.get(info.provider);
1701 account.authorities.put(info.provider, authority);
1728 removeAuthorityLocked(info.account, info.userId, info.provider, true /* doWrite */);
1745 * Remove an authority associated with a provider. Needs to be a standalone function for
1959 // skip this authority if it doesn't target a provider
1964 final String newAuthorityName = sAuthorityRenames.get(authority.target.provider);
1998 authorityInfo.target.provider,
2141 authorityInfo.target.provider,
2224 out.attribute(null, "authority", info.provider);
2369 String provider = name.substring("sync_provider_".length(),
2375 if (authority.target.provider.equals(provider)) {
2726 req.setSyncAdapter(authorityInfo.target.account, authorityInfo.target.provider);