/frameworks/base/core/java/android/accounts/ |
Account.aidl | 19 parcelable Account;
|
OnAccountsUpdateListener.java | 24 * This invoked when the AccountManager starts up and whenever the account 28 void onAccountsUpdated(Account[] accounts);
|
Account.java | 24 * Value type that represents an Account in the {@link AccountManager}. This object is 28 public class Account implements Parcelable { 34 if (!(o instanceof Account)) return false; 35 final Account other = (Account)o; 46 public Account(String name, String type) { 57 public Account(Parcel in) { 71 public static final Creator<Account> CREATOR = new Creator<Account>() { 72 public Account createFromParcel(Parcel source) [all...] |
IAccountManager.aidl | 20 import android.accounts.Account; 26 * Central application service that provides account management. 30 String getPassword(in Account account); 31 String getUserData(in Account account, String key); 33 Account[] getAccounts(String accountType); 34 Account[] getAccountsForPackage(String packageName, int uid); 35 Account[] getAccountsByTypeForPackage(String type, String packageName); 36 Account[] getAccountsAsUser(String accountType, int userId) [all...] |
IAccountAuthenticator.aidl | 20 import android.accounts.Account; 29 * prompts the user for account information and adds the result to the IAccountManager 35 * prompts the user for the credentials of the 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, 63 * returns a Bundle where the boolean value BOOLEAN_RESULT_KEY is set if the account has th [all...] |
AccountAndUser.java | 20 * Used to store the Account and the UserId this account is associated with. 25 public Account account; field in class:AccountAndUser 28 public AccountAndUser(Account account, int userId) { 29 this.account = account; 37 return this.account.equals(other.account) [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
AccountSpecifier.java | 19 import android.accounts.Account; 23 * that can take an account to retrieve information tied to 24 * a specific account. 27 public void setAccount(Account account);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Account.aidl | 18 parcelable Account
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationAccountController.java | 20 import com.android.mail.providers.Account; 23 Account getAccount();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountTest.java | 3 import android.accounts.Account; 18 Account account = new Account("name", "type"); local 20 assertThat(account.name, equalTo("name")); 21 assertThat(account.type, equalTo("type")); 32 Account account = new Account(p); local 33 assertThat(account.name, equalTo("name")) 61 Account account = new Account("name", "type"); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
RecipientAdapter.java | 21 import android.accounts.Account; 30 * Set the account when known. Causes the search to prioritize contacts from 31 * that account. 33 public void setAccount(Account account) { 34 if (account != null) { 35 // TODO: figure out how to infer the contacts account 36 // type from the email account 37 super.setAccount(new android.accounts.Account(account.name, "unknown")) [all...] |
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/ |
SyncContentResolverDelegate.java | 8 import android.accounts.Account; 26 void setSyncAutomatically(Account account, String authority, boolean sync); 28 boolean getSyncAutomatically(Account account, String authority); 30 void setIsSyncable(Account account, String authority, int syncable); 32 int getIsSyncable(Account account, String authority);
|
/frameworks/base/core/java/android/content/ |
IContentService.aidl | 19 import android.accounts.Account; 57 void requestSync(in Account account, String authority, in Bundle extras); 59 void cancelSync(in Account account, String authority); 66 boolean getSyncAutomatically(in Account account, String providerName); 74 void setSyncAutomatically(in Account account, String providerName, boolean sync); 82 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName) [all...] |
ISyncAdapter.aidl | 19 import android.accounts.Account; 29 * Initiate a sync for this account. SyncAdapter-specific parameters may 35 * @param account the account that should be synced 39 in Account account, in Bundle extras); 49 * Initialize the SyncAdapter for this account and authority. 51 * @param account the account that should be synced 54 void initialize(in Account account, String authority) [all...] |
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerDelegate.java | 7 import android.accounts.Account; 20 * Wrapper around the Android account manager, to facilitate dependency injection during testing. 23 Account[] getAccountsByType(String type); 25 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, 28 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options, 33 String blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) 36 Account[] getAccounts() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AccountController.java | 24 import com.android.mail.providers.Account; 31 * This class consolidates account-specific actions taken by a mail activity. 35 * Registers to receive changes to the current account, and obtain the current account. 40 * Removes a listener from receiving current account changes. 45 * Returns the current account in use by the controller. Instead of calling this method, 46 * consider registering for account changes using 48 * account, but also updates to the account, in case of settings changes. 50 Account getAccount() [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
TestUtil.java | 19 import android.accounts.Account; 30 public static final Account ACCOUNT_1 = new Account("account_name_1", "account_type_1"); 31 public static final Account ACCOUNT_2 = new Account("account_name_2", "account_type_2"); 44 public static Uri maybeAddAccountQueryParameters(Uri uri, Account account) { 45 if (account == null) { 49 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_NAME, account.name) 50 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AccountUtils.java | 18 import com.android.mail.providers.Account; 37 * should prioritize the list of Account objects when merging the 41 public static List<Account> mergeAccountLists(List<Account> inList, Account[] accounts, 44 List<Account> newAccountList = new ArrayList<Account>(); 47 for (Account account : inList) { 48 existingList.add(account.name) 74 Account account; local [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
AccountTestCase.java | 28 import com.android.emailcommon.provider.Account; 36 * Base class for unit tests that use {@link android.accounts.Account}. 48 protected android.accounts.Account[] getExchangeAccounts() { 52 protected android.accounts.Account makeAccountManagerAccount(String username) { 53 return new android.accounts.Account(username, TEST_ACCOUNT_TYPE); 57 final android.accounts.Account account = makeAccountManagerAccount(username); local 58 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null); 61 protected Account setupProviderAndAccountManagerAccount(String username) { 63 // we need to use for the account manage 74 Account account = new Account(); local [all...] |
SecurityPolicyTests.java | 29 import com.android.emailcommon.provider.Account; 140 // with a single account in security mode, should return same security as in account 142 Account a3 = ProviderTestUtils.setupAccount("sec-3", true, mMockContext); 158 // add another account which mixes it up (some fields will change, others will not) 168 Account a4 = ProviderTestUtils.setupAccount("sec-4", true, mMockContext); 184 // add another account which mixes it up (the remaining fields will change) 194 Account a5 = ProviderTestUtils.setupAccount("sec-5", true, mMockContext); 211 Account account = Account.restoreAccountWithId(mMockContext, accountId) local 235 Account account = ProviderTestUtils.setupAccount("testaccount", true, mMockContext); local 461 Account account = Account.restoreAccountWithId(mMockContext, account1Id); local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityMediumTests.java | 21 import com.android.emailcommon.provider.Account; 62 Account account1 = ProviderTestUtils.setupAccount("account1", false, mMockContext); 66 Account account2 = ProviderTestUtils.setupAccount("account2", false, mMockContext); 71 Account acct = Utility.findExistingAccount(mMockContext, -1, "address-ha1", "login-ha1"); 77 // We shouldn't find account 85 Account account3 = ProviderTestUtils.setupAccount("account3", false, mMockContext); 96 Account account = ProviderTestUtils.setupAccount("account", true, mMockContext); local 101 ProviderTestUtils.setupMailbox("mailbox", account.mId, true, mMockContext) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
RecipientAdapter.java | 19 import com.android.mail.providers.Account; 24 public RecipientAdapter(Context context, Account account) { 26 setAccount(account.getAccountManagerAccount());
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
CalendarSyncEnablerTest.java | 19 import android.accounts.Account; 49 private HashMap<Account, Boolean> origCalendarSyncStates = new HashMap<Account, Boolean>(); 61 for (Account account : AccountManager.get(getContext()).getAccounts()) { 62 origCalendarSyncStates.put(account, 63 ContentResolver.getSyncAutomatically(account, CalendarContract.AUTHORITY)); 77 for (Account account : getExchangeAccounts()) { 78 Boolean state = origCalendarSyncStates.get(account); 218 final Account account = makeAccountManagerAccount(username); local 238 com.android.emailcommon.provider.Account account = local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAccount.java | 3 import android.accounts.Account; 15 @Implements(Account.class) 18 private Account realObject; 31 return "Account {name=" + realObject.name + ", type=" + realObject.type + "}"; 40 public static final Creator<Account> CREATOR = 41 new Creator<Account>() { 43 public Account createFromParcel(Parcel source) { 44 return new Account(source); 48 public Account[] newArray(int size) { 49 return new Account[size] [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
ExchangeSender.java | 21 import com.android.emailcommon.provider.Account; 34 public static Sender newInstance(Account account, Context context) throws MessagingException { 35 return new ExchangeSender(context, account); 38 private ExchangeSender(Context context, Account account) {
|