Lines Matching refs:account
19 import android.accounts.Account;
58 void requestSync(in Account account, String authority, in Bundle extras);
64 void cancelSync(in Account account, String authority, in ComponentName cname);
65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId);
75 boolean getSyncAutomatically(in Account account, String providerName);
76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId);
84 void setSyncAutomatically(in Account account, String providerName, boolean sync);
85 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync,
90 * @param account account for authority, must be null if cname is non-null.
92 * @param cname component to identify sync service, must be null if account/providerName are
95 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName,
105 void addPeriodicSync(in Account account, String providerName, in Bundle extras,
115 void removePeriodicSync(in Account account, String providerName, in Bundle extras);
118 * Check if this account/provider is syncable.
121 int getIsSyncable(in Account account, String providerName);
122 int getIsSyncableAsUser(in Account account, String providerName, int userId);
125 * Set whether this account/provider is syncable.
128 void setIsSyncable(in Account account, String providerName, int syncable);
149 * Returns true if there is currently a operation for the given account/authority or service
151 * @param account account for authority, must be null if cname is non-null.
153 * @param cname component to identify sync service, must be null if account/providerName are
156 boolean isSyncActive(in Account account, String authority, in ComponentName cname);
161 * @param account account for authority, must be null if cname is non-null.
163 * @param cname component to identify sync service, must be null if account/providerName are
166 SyncStatusInfo getSyncStatus(in Account account, String authority, in ComponentName cname);
167 SyncStatusInfo getSyncStatusAsUser(in Account account, String authority, in ComponentName cname,
172 * @param account account for authority, must be null if cname is non-null.
174 * @param cname component to identify sync service, must be null if account/providerName are
177 boolean isSyncPending(in Account account, String authority, in ComponentName cname);
178 boolean isSyncPendingAsUser(in Account account, String authority, in ComponentName cname,