Home | History | Annotate | Download | only in provider

Lines Matching refs:account

24 import android.accounts.Account;
30 * The ContentProvider contract for associating data with ana data array account.
36 * A reference to the name of the account to which this data belongs
42 * A reference to the type of the account to which this data belongs
48 * The sync data associated with this account.
64 * Get the sync state that is associated with the account or null.
68 * @param account the {@link Account} whose sync state should be returned
69 * @return the sync state or null if there is no sync state associated with the account
74 Account account) throws RemoteException {
76 new String[]{account.name, account.type}, null);
94 * Assigns the data array as the sync state for the given account.
98 * @param account the {@link Account} whose sync state should be set
104 Account account, byte[] data) throws RemoteException {
107 values.put(Columns.ACCOUNT_NAME, account.name);
108 values.put(Columns.ACCOUNT_TYPE, account.type);
113 Account account, byte[] data) throws RemoteException {
116 values.put(Columns.ACCOUNT_NAME, account.name);
117 values.put(Columns.ACCOUNT_TYPE, account.type);
129 Account account) throws RemoteException {
131 new String[]{account.name, account.type}, null);
151 * sync state for the given account.
153 * @param account the {@link Account} whose sync state should be set
156 * account's sync state
159 Account account, byte[] data) {
164 .withValue(Columns.ACCOUNT_NAME, account.name)
165 .withValue(Columns.ACCOUNT_TYPE, account.type)
172 * sync state for the given account.
176 * account's sync state