/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);
|
IAccountManager.aidl | 20 import android.accounts.Account; 30 * Central application service that provides account management. 34 String getPassword(in Account account); 35 String getUserData(in Account account, String key); 37 Account[] getAccounts(String accountType, String opPackageName); 38 Account[] getAccountsForPackage(String packageName, int uid, String opPackageName); 39 Account[] getAccountsByTypeForPackage(String type, String packageName, String opPackageName); 40 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName) [all...] |
Account.java | 34 * Value type that represents an Account in the {@link AccountManager}. This object is 38 public class Account implements Parcelable { 39 private static final String TAG = "Account"; 42 private static final Set<Account> sAccessedAccounts = new ArraySet<>(); 50 if (!(o instanceof Account)) return false; 51 final Account other = (Account)o; 62 public Account(String name, String type) { 69 public Account(@NonNull Account other, @NonNull String accessId) [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...] |
/frameworks/opt/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();
|
InlineAttachmentViewIntentBuilderCreator.java | 20 import com.android.mail.providers.Account; 29 Account account, long conversationId);
|
/external/robolectric/v1/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...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountTest.java | 3 import android.accounts.Account; 10 private Account account; field in class:AccountTest 14 account = new Account("abc@xyz.org", "com.my.auth"); 19 new Account(null, "com.my.auth"); 27 new Account("abc@xyz.org", null); 34 assertEquals(0, account.describeContents()); 40 account.writeToParcel(parcel, 0); 43 // Create a new account object from just populated parcel [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...] |
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
SyncUtilTests.java | 18 import android.accounts.Account; 33 private final Account mGoogleAccount; 34 private final Account mOtherAccount; 37 mGoogleAccount = new Account(ACCOUNT_NAME, GOOGLE_TYPE); 38 mOtherAccount = new Account(ACCOUNT_NAME, NOT_GOOGLE_TYPE); 42 // The account names of mGoogleAccount and mOtherAccount are not valid, so both accounts
|
/packages/apps/Email/provider_src/com/android/email/ |
NotificationController.java | 21 import com.android.emailcommon.provider.Account; 30 void cancelNotifications(final Context context, final Account account); 32 void showSecurityNeededNotification(Account account); 33 void showSecurityUnsupportedNotification(Account account); 34 void showSecurityChangedNotification(Account account);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTestFixtures.java | 18 import android.accounts.Account; 42 "com.android.server.accounts.account_manager_service_test.account.name"; 44 "com.android.server.accounts.account_manager_service_test.account.type1"; 46 "com.android.server.accounts.account_manager_service_test.account.type2"; 48 "com.android.server.accounts.account_manager_service_test.account.type.fake"; 51 "com.android.server.accounts.account_manager_service_test.account.status.token"; 67 "com.android.server.accounts.account_manager_service_test.account.password"; 71 public static final Account ACCOUNT_SUCCESS = 72 new Account(ACCOUNT_NAME_SUCCESS, ACCOUNT_TYPE_1); 73 public static final Account ACCOUNT_SUCCESS_2 [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
AccountHelper.java | 19 import android.accounts.Account; 31 * Helper methods for getting and selecting a user account. 42 private Account mSelectedAccount; 50 * Returns the currently selected account or {@code null} if none is selected. 53 public Account getSelectedAccount() { 60 for (Account account : getEligibleAccounts()) { 61 if (account.name.equals(accountId)) { 62 mSelectedAccount = account; 73 private Account[] getEligibleAccounts() 84 Account account = getFirstEligibleAccount(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AccountLoadCallbacks.java | 14 import com.android.mail.providers.Account; 18 * Callbacks for loading an account cursor. 20 public class AccountLoadCallbacks implements LoaderManager.LoaderCallbacks<ObjectCursor<Account>> { 23 void onAccountLoadCallbackFinished(ObjectCursor<Account> data); 38 public Loader<ObjectCursor<Account>> onCreateLoader(int id, Bundle args) { 40 final CursorCreator<Account> factory = Account.FACTORY; 41 return new ObjectCursorLoader<Account>(mContext, mAccountUri, projection, factory); 45 public void onLoadFinished(Loader<ObjectCursor<Account>> loader, 46 ObjectCursor<Account> data) [all...] |
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...] |
/frameworks/base/core/java/android/content/ |
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...] |
IContentService.aidl | 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) [all...] |
SyncInfo.java | 19 import android.accounts.Account; 32 private static final Account REDACTED_ACCOUNT = new Account("*****", "*****"); 38 * The {@link Account} that is currently being synced. 40 public final Account account; field in class:SyncInfo 55 * Creates a SyncInfo object with an unusable Account. Used when the caller receiving this 66 public SyncInfo(int authorityId, Account account, String authority, long startTime) { 68 this.account = account [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.getEmailAddress()) 74 Account account; local [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
AccountTestCase.java | 29 import com.android.emailcommon.provider.Account; 37 * Base class for unit tests that use {@link android.accounts.Account}. 50 protected android.accounts.Account[] getExchangeAccounts() { 54 protected android.accounts.Account makeAccountManagerAccount(String username) { 55 return new android.accounts.Account(username, TEST_ACCOUNT_TYPE); 59 final android.accounts.Account account = makeAccountManagerAccount(username); local 60 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null); 63 protected Account setupProviderAndAccountManagerAccount(String username) { 65 // we need to use for the account manage 76 Account account = new Account(); local [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());
|
/external/robolectric/v1/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...] |