Searched refs:Account (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/base/core/java/android/accounts/
H A DAccount.aidl19 parcelable Account;
H A DOnAccountsUpdateListener.java28 void onAccountsUpdated(Account[] accounts);
H A DAccount.java24 * Value type that represents an Account in the {@link AccountManager}. This object is
28 public class Account implements Parcelable { class in inherits:Parcelable
34 if (!(o instanceof Account)) return false;
35 final Account other = (Account)o;
46 public Account(String name, String type) { method in class:Account
57 public Account(Parcel in) { method in class:Account
71 public static final Creator<Account> CREATOR = new Creator<Account>() {
72 public Account createFromParce
[all...]
H A DIAccountManager.aidl20 import android.accounts.Account;
30 String getPassword(in Account account);
31 String getUserData(in Account account, String key);
33 Account[] getAccounts(String accountType);
34 Account[] getAccountsAsUser(String accountType, int userId);
35 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features);
37 boolean addAccount(in Account account, String password, in Bundle extras);
38 void removeAccount(in IAccountManagerResponse response, in Account account);
40 String peekAuthToken(in Account account, String authTokenType);
41 void setAuthToken(in Account accoun
[all...]
H A DIAccountAuthenticator.aidl20 import android.accounts.Account;
37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account,
43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account,
54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account,
66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account,
72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account);
H A DAccountAndUser.java20 * Used to store the Account and the UserId this account is associated with.
25 public Account account;
28 public AccountAndUser(Account account, int userId) {
H A DChooseTypeAndAccountActivity.java49 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those
110 private Set<Account> mSetOfAllowableAccounts;
117 private ArrayList<Account> mAccounts;
150 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT);
192 Account account = mAccounts.get(0);
245 // Selected "Add New Account" option
299 Account[] currentAccounts = AccountManager.get(this).getAccounts();
300 Set<Account> preExistingAccounts = new HashSet<Account>();
[all...]
H A DAccountManager.java80 * identifies the authenticator. Account <em>features</em> are used to
306 public String getPassword(final Account account) {
331 public String getUserData(final Account account, final String key) {
371 * @return An array of {@link Account}, one for each account. Empty
374 public Account[] getAccounts() {
396 * @return An array of {@link Account}, one per matching account. Empty
399 public Account[] getAccountsByType(String type) {
404 public Account[] getAccountsByTypeAsUser(String type, UserHandle userHandle) {
424 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) {
464 * Account feature
[all...]
H A DAccountManagerService.java165 private final HashMap<Pair<Pair<Account, String>, Integer>, Integer>
167 new HashMap<Pair<Pair<Account, String>, Integer>, Integer>();
168 private final HashMap<Account, Integer> signinRequiredNotificationIds =
169 new HashMap<Account, Integer>();
172 private final HashMap<String, Account[]> accountCache =
173 new LinkedHashMap<String, Account[]>();
175 private HashMap<Account, HashMap<String, String>> userDataCache =
176 new HashMap<Account, HashMap<String, String>>();
178 private HashMap<Account, HashMap<String, String>> authTokenCache =
179 new HashMap<Account, HashMa
[all...]
H A DAbstractAccountAuthenticator.java58 * corresponds to {@link Account#type} for your accounts. One user of the android:icon is the
59 * "Account & Sync" settings page and one user of the android:smallIcon is the Contact Application's
144 Account account, Bundle options) throws RemoteException {
188 Account account, String authTokenType, Bundle loginOptions)
212 public void updateCredentials(IAccountAuthenticatorResponse response, Account account,
252 Account account, String[] features) throws RemoteException {
266 Account account) throws RemoteException {
379 Account account, Bundle options)
400 Account account, String authTokenType, Bundle options)
430 Account accoun
[all...]
/frameworks/ex/chips/src/com/android/ex/chips/
H A DAccountSpecifier.java19 import android.accounts.Account;
27 public void setAccount(Account account);
/frameworks/base/core/java/android/content/
H A DIContentService.aidl19 import android.accounts.Account;
56 void requestSync(in Account account, String authority, in Bundle extras);
57 void cancelSync(in Account account, String authority);
64 boolean getSyncAutomatically(in Account account, String providerName);
72 void setSyncAutomatically(in Account account, String providerName, boolean sync);
80 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName);
89 void addPeriodicSync(in Account account, String providerName, in Bundle extras,
99 void removePeriodicSync(in Account account, String providerName, in Bundle extras);
105 int getIsSyncable(in Account account, String providerName);
111 void setIsSyncable(in Account accoun
[all...]
H A DISyncAdapter.aidl19 import android.accounts.Account;
39 in Account account, in Bundle extras);
54 void initialize(in Account account, String authority);
H A DAbstractThreadedSyncAdapter.java19 import android.accounts.Account;
97 private final HashMap<Account, SyncThread> mSyncThreads = new HashMap<Account, SyncThread>();
109 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it
122 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it
141 private Account toSyncKey(Account account) {
150 public void startSync(ISyncContext syncContext, String authority, Account account,
157 final Account threadsKey = toSyncKey(account);
208 public void initialize(Account accoun
[all...]
H A DPeriodicSync.java22 import android.accounts.Account;
30 public final Account account;
39 public PeriodicSync(Account account, String authority, Bundle extras, long period) {
59 return new PeriodicSync(Account.CREATOR.createFromParcel(source),
H A DSyncInfo.java19 import android.accounts.Account;
32 * The {@link Account} that is currently being synced.
34 public final Account account;
49 SyncInfo(int authorityId, Account account, String authority,
73 account = new Account(parcel);
H A DSyncActivityTooManyDeletes.java20 import android.accounts.Account;
42 private Account mAccount;
57 mAccount = (Account) extras.getParcelable("account");
/frameworks/base/core/tests/coretests/src/android/content/
H A DSyncOperationTest.java19 import android.accounts.Account;
37 Account account1 = new Account("account1", "type1");
38 Account account2 = new Account("account2", "type2");
H A DSyncStorageEngineTest.java21 import android.accounts.Account;
49 final Account account = new Account("a@example.com", "example.type");
70 final Account account1 = new Account("a@example.com", "example.type");
71 final Account account2 = new Account("b@example.com", "example.type.2");
124 private void removePeriodicSyncs(SyncStorageEngine engine, Account account, int userId,
136 final Account account1 = new Account("
[all...]
/frameworks/base/core/tests/coretests/src/android/accounts/
H A DAccountManagerServiceTest.java58 public class AccountSorter implements Comparator<Account> {
59 public int compare(Account object1, Account object2) {
70 Account a11 = new Account("account1", "type1");
71 Account a21 = new Account("account2", "type1");
72 Account a31 = new Account("account3", "type1");
73 Account a1
[all...]
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DAndroidAuthenticator.java21 import android.accounts.Account;
34 private final Account mAccount;
40 * @param account Account to authenticate as
43 public AndroidAuthenticator(Context context, Account account, String authTokenType) {
50 * Returns the Account being used by this authenticator.
52 public Account getAccount() {
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java27 import android.accounts.Account;
135 public Account[] getAccounts() {
136 return new Account[]{};
139 public AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures(
141 AccountManagerCallback<Account[]> callback, Handler handler) {
142 return new MockAccountManagerFuture<Account[]>(new Account[0]);
145 public String blockingGetAuthToken(Account account, String authTokenType,
H A DSyncBaseInstrumentation.java24 import android.accounts.Account;
50 Account account = new Account(accountName, "com.google");
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryConstructor.java18 import android.accounts.Account;
54 private final Account mAccount;
66 public VCardEntryConstructor(final int vcardType, final Account account) {
72 * Use {@link #VCardEntryConstructor(int, Account)}
75 public VCardEntryConstructor(final int vcardType, final Account account,
/frameworks/base/core/java/android/provider/
H A DSyncStateContract.java24 import android.accounts.Account;
68 * @param account the {@link Account} whose sync state should be returned
74 Account account) throws RemoteException {
98 * @param account the {@link Account} whose sync state should be set
104 Account account, byte[] data) throws RemoteException {
113 Account account, byte[] data) throws RemoteException {
129 Account account) throws RemoteException {
153 * @param account the {@link Account} whose sync state should be set
159 Account account, byte[] data) {

Completed in 2350 milliseconds

12