/frameworks/base/core/java/android/accounts/ |
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...] |
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...] |
/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/UnifiedEmail/tests/src/com/android/mail/providers/ |
AccountTests.java | 38 Account account = new Account(dest, null); local 40 intent.putExtra(Utils.EXTRA_ACCOUNT, account); 41 Account outAccount = (Account) intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); 42 assertEquals(outAccount.name, account.name); 43 assertEquals(outAccount.accountFromAddresses, account.accountFromAddresses); 44 assertEquals(outAccount.capabilities, account.capabilities); 45 assertEquals(outAccount.providerVersion, account.providerVersion) [all...] |
/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...] |
PeriodicSync.java | 22 import android.accounts.Account; 28 /** The account to be synced. Can be null. */ 29 public final Account account; field in class:PeriodicSync 48 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { 49 this.account = account; 66 this.account = other.account; [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...] |
SyncInfo.java | 19 import android.accounts.Account; 32 * The {@link Account} that is currently being synced. 34 public final Account account; field in class:SyncInfo 49 public SyncInfo(int authorityId, Account account, String authority, 52 this.account = account; 65 account.writeToParcel(parcel, 0); 73 account = new Account(parcel) [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);
|
SystemSyncContentResolverDelegate.java | 8 import android.accounts.Account; 35 public boolean getSyncAutomatically(Account account, String authority) { 36 return ContentResolver.getSyncAutomatically(account, authority); 40 public void setSyncAutomatically(Account account, String authority, boolean sync) { 41 ContentResolver.setSyncAutomatically(account, authority, sync); 45 public void setIsSyncable(Account account, String authority, int syncable) { 46 ContentResolver.setIsSyncable(account, authority, syncable) [all...] |
SyncStatusHelper.java | 8 import android.accounts.Account; 34 * In-memory holder of the sync configurations for a given account. On each 35 * access, updates the cache if the account has changed. This lazy-updating 36 * model is appropriate as the account changes rarely but may not be known 37 * when initially constructed. So long as we keep a single account, no 42 private Account mAccount; 46 private void ensureSettingsAreForAccount(Account account) { 47 assert account != null; 48 if (account.equals(mAccount)) return [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/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/Email/src/com/android/email/mail/ |
Sender.java | 25 import com.android.emailcommon.provider.Account; 40 public static Sender newInstance(Account account) throws MessagingException { 42 + account.mDisplayName); 45 private static Sender instantiateSender(Context context, String className, Account account) 52 c.getMethod("newInstance", Account.class, Context.class); 53 o = m.invoke(null, account, context); 56 "exception %s invoking method %s#newInstance(Account, Context) for %s", 57 e.toString(), className, account.mDisplayName)) [all...] |
/external/chromium_org/chrome/test/functional/chromoting/ |
auth.py | 21 self.account = self.GetPrivateInfo()['test_chromoting_account'] 26 self.host.SignIn(self.account['username'], self.account['password']) 34 self.host.SignIn(self.account['username'], self.account['password'])
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
SystemAccountManagerDelegate.java | 7 import android.accounts.Account; 23 * Android account manager. 34 public Account[] getAccountsByType(String type) { 39 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, 41 return mAccountManager.getAuthToken(account, authTokenType, null, notifyAuthFailure, 46 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, 49 return mAccountManager.getAuthToken(account, authTokenType, options, activity, callback, 59 public String blockingGetAuthToken(Account account, String authTokenType [all...] |
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/ |
ConversationListContext.java | 24 import com.android.mail.providers.Account; 48 * The account for whom we are showing a list 50 public final Account account; field in class:ConversationListContext 61 sUrlMatcher.addURI(UIProvider.AUTHORITY, "account/*/folder/*", 0); 68 // The account is created here as a new object. This is probably not the best thing to do. 69 // We should probably be reading an account instance from our controller. 70 Account account = bundle.getParcelable(Utils.EXTRA_ACCOUNT); local 72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder) [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestAuthenticator.java | 20 import android.accounts.Account; 30 * Simple authenticator. It has no "login" dialogs/activities. When you add a new account, it'll 31 * just create a new account with a unique name. 59 * Create a new account with the name generated by {@link #newUniqueUserName()}. 67 final Account account = new Account(newUniqueUserName(), accountType); local 69 // Create an account. 70 AccountManager.get(mContext).addAccountExplicitly(account, PASSWORD, null); 73 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name) [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) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ImportRequest.java | 18 import android.accounts.Account; 35 * Can be null (typically when there's no Account available in the system). 37 public final Account account; field in class:ImportRequest 98 public ImportRequest(Account account, 101 this.account = account;
|
/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...] |
/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/Email/emailcommon/src/com/android/emailcommon/ |
TrafficFlags.java | 21 import com.android.emailcommon.provider.Account; 30 // Bits 0->15, account id 50 * Get flags indicating sync of the passed-in account; note that, by default, these flags 55 * @param account the account being used 56 * @return flags for syncing this account 58 public static int getSyncFlags(Context context, Account account) { 59 return (int)account.mId | REASON_SYNC; 63 * Get flags indicating attachment loading from the passed-in account [all...] |