/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
RecentFolderList.java | 26 import com.android.mail.providers.Account; 56 /** The current account */ 57 private Account mAccount = null; 66 * We exclude the default inbox for the account and the current folder; these might be the 73 public void onChanged(Account newAccount) { 92 * Copy {@link RecentFolderList#mAccount} in case the account changes between when the 96 private final Account mAccount; 100 * Create a new asynchronous task to store the recent folder list. Both the account 102 * @param account the current account for this folder [all...] |
TurnAutoSyncOnDialog.java | 19 import android.accounts.Account; 37 private static final String ACCOUNT = "account"; 59 public static TurnAutoSyncOnDialog newInstance(Account account, 63 args.putParcelable(ACCOUNT, account); 71 final Account account = getArguments().getParcelable(ACCOUNT); local [all...] |
WaitFragment.java | 33 import com.android.mail.providers.Account; 39 private static final String ACCOUNT_KEY = "account"; 46 private Account mAccount; 55 public static WaitFragment newInstance(Account account, boolean expectingMessages) { 59 args.putParcelable(ACCOUNT_KEY, account); 70 mAccount = (Account)args.getParcelable(ACCOUNT_KEY); 104 public void updateAccount(Account account) { 105 mAccount = account; [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
MockAccountAuthenticator.java | 20 import android.accounts.Account; 35 * A simple Mock Account Authenticator 63 Account mAccount; 107 public Account getAccount() { 157 * Adds an account of the specified accountType. 169 am.addAccountExplicitly(AccountManagerTest.ACCOUNT, "fakePassword", null); 174 * Update the locally stored credentials for an account. 177 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, 180 this.mAccount = account; [all...] |
/frameworks/base/core/java/android/accounts/ |
ChooseTypeAndAccountActivity.java | 56 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those 64 * used to filter the allowable account types if add account is selected. 88 * If set then the specified account is already "selected". 119 private Set<Account> mSetOfAllowableAccounts; 125 private LinkedHashMap<Account, Integer> mAccounts; 129 private ArrayList<Account> mPossiblyVisibleAccounts; 188 mAccounts.put((Account) accounts[i], visibility.get(i)); 193 // If the selected account as specified in the intent matches one in the list we will 195 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT) 442 Account account = new Account(accountName, accountType); local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactDirectoryManagerTest.java | 21 import android.accounts.Account; 169 addDirectoryRow(response1, "account-name1", "account-type1", "display-name1", 1, 172 addDirectoryRow(response1, "account-name2", "account-type2", "display-name2", 2, 180 addDirectoryRow(response2, "account-name3", "account-type3", "display-name3", 3, 194 assertDirectoryRow(cursor, "test.package1", "authority1", "account-name1", "account-type1", 199 assertDirectoryRow(cursor, "test.package1", "authority1", "account-name2", "account-type2" [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/ |
PropOrderInfluenceWhenAliasedInGenericCollectionTest.java | 38 public static interface Account { 41 public static class GeneralAccount implements Account { 53 public Collection<Account> aAll; 64 public Collection<Account> bAll; 68 public Collection<Account> aAll; 78 public Collection<Account> aAll; 88 public Account acc; 102 ArrayList<Account> all = new ArrayList<Account>(); 124 ArrayList<Account> all = new ArrayList<Account>() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
MailAppProvider.java | 64 * During development this will allow new account types to be added, and allow them to be shown in 117 * {@link Context#startActivityForResult(android.content.Intent)} when the account provider 154 // Load the previously saved account list 158 // Load the uris for the account list 218 final Account account = accountEntry.mAccount; local 220 final Map<String, Object> accountValues = account.getValueMap(); 269 * {@link Context#startActivity(android.content.Intent)} when the account provider doesn't 295 private void addAccountImpl(Account account, Uri accountsQueryUri, boolean notify) 380 Account account = accountEntry.mAccount; local 477 final Account account = Account.builder().buildFrom(data); local [all...] |
/external/cros/system_api/dbus/authpolicy/ |
active_directory_account_data.proto | 15 // Unique id of the user account. Active Directory Object GUID is used. 18 // account information is used. 21 // Directory user account information is used.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 19 import android.accounts.Account; 40 Account mDummy; 50 mDummy = new Account("account1", "type1"); 57 Account account1 = new Account("account1", "type1"); 58 Account account2 = new Account("account2", "type2"); 87 // Same as op1 but different account 111 Account account1 = new Account("account1", "type1") [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
SelectAccountDialogFragment.java | 19 import android.accounts.Account; 33 * Shows a dialog asking the user which account to chose. 47 Account[] accounts = accountManager.getAccounts(); 52 final ArrayAdapter<Account> accountAdapter = 53 new ArrayAdapter<Account>(builder.getContext(), 64 final Account account = getItem(position); 66 text1.setText("Name: " + account.name); 67 text2.setText("Type: " + account.type); 86 builder.setTitle("Choose account to send to editor") [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
AccountWithDataSet.java | 19 import android.accounts.Account; 25 * Account information that includes the data set, if any. 48 public static AccountWithDataSet get(Account account, String dataSet) { 49 return new AccountWithDataSet(account.name, account.type, null); 94 * @return {@code true} if the owning {@link Account} is in the passed array. 96 public boolean inSystemAccounts(Account[] systemAccounts) { 97 // Note we don't want to create a new Account object from this instance, as it may contain 98 // null account name/type, which Account wouldn't accept. So we need to compare field b [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
MailboxUtilities.java | 40 // The flag we use in Account to indicate a mailbox change in progress 41 private static final int ACCOUNT_MAILBOX_CHANGE_FLAG = Account.FLAGS_SYNC_ADAPTER; 126 * Given an account selector, specifying the account(s) on which to work, create the parentKey 127 * and flags for each mailbox in the account(s) that is uninitialized (parentKey = 0 or null) 166 Account account = Account.restoreAccountWithId(context, accountId); local 167 if (account == null) return; 170 cv.put(AccountColumns.FLAGS, start ? (account.mFlags | ACCOUNT_MAILBOX_CHANGE_FLAG) 204 Account account = Account.restoreAccountWithId(context, accountId); local 249 Account account = Account.restoreAccountWithId(context, accountId); local [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncPreferenceController.java | 21 import android.accounts.Account; 37 private Account mAccount; 58 R.string.account_sync_title, null, MetricsProto.MetricsEvent.ACCOUNT); 68 public void init(Account account, UserHandle userHandle) { 69 mAccount = account;
|
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/ |
InvalidSyncAuthoritiesDeviceTest.java | 22 import android.accounts.Account; 43 private Account mInvalidAccount; 44 private Account mValidAccount; 51 mInvalidAccount = new Account("invalid_test_name", "invalid_test_type"); 52 final Account[] accounts = mAccountManager.getAccountsByType(VALID_TEST_ACCOUNT_TYPE); 56 private Account createTestAccount() { 57 mValidAccount = new Account("testAccount", VALID_TEST_ACCOUNT_TYPE); 58 assertTrue("Failed to create a valid test account",
|
/external/curl/tests/data/ |
test228 | 19 REPLY PASS 332 please provide account name 33 ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
|
test229 | 12 REPLY PASS 332 please provide account name 26 ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count"
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
MockAccountTypeManager.java | 18 import android.accounts.Account; 21 import com.android.contacts.model.account.AccountInfo; 22 import com.android.contacts.model.account.AccountType; 23 import com.android.contacts.model.account.AccountTypeWithDataSet; 24 import com.android.contacts.model.account.AccountWithDataSet; 25 import com.android.contacts.model.account.BaseAccountType; 81 public AccountInfo getAccountInfoForAccount(AccountWithDataSet account) { 86 public Account getDefaultGoogleAccount() {
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/ |
AccountTests.java | 44 final Account before = Account.builder().buildFrom(dest, null); 48 final Account after = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); 73 final Account account = Account.newInstance(json.toString()); local 74 assertNotNull(account); 75 assertNull(account.getSenderName());
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
AccountTypeManager.java | 19 import android.accounts.Account; 43 import com.android.contacts.model.account.AccountInfo; 44 import com.android.contacts.model.account.AccountType; 45 import com.android.contacts.model.account.AccountTypeProvider; 46 import com.android.contacts.model.account.AccountTypeWithDataSet; 47 import com.android.contacts.model.account.AccountWithDataSet; 48 import com.android.contacts.model.account.FallbackAccountType; 49 import com.android.contacts.model.account.GoogleAccountType; 125 * Set the instance of account type manager. This is only for and should only be used by unit 151 public AccountInfo getAccountInfoForAccount(AccountWithDataSet account) { [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
PhoneAccountSettingsFragment.java | 59 * value on the phone account listings, we ensure that anything that is ordered before 60 * {value} in the preference XML comes before the phone account list and anything with 100 * account settings. The basic settings structure is this: 101 * (1) <Make Calls With...> // Lets user pick a default account for outgoing calls 102 * (2) <Account List> 103 * <Account> 105 * <Account> 106 * </Account List> 113 * - (2) The account list only lists (a) enabled third party accounts and (b) SIM-based 114 * accounts. However, for single-SIM devices, if the only account to show is th 290 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); local 408 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
RawContactUtil.java | 19 import android.accounts.Account; 42 public static long createRawContactWithName(ContentResolver resolver, Account account, 44 Long rawContactId = insertRawContact(resolver, account); 50 Account account) { 51 Long rawContactId = insertRawContact(resolver, account); 56 public static long insertRawContact(ContentResolver resolver, Account account) { 58 values.put(ContactsContract.RawContacts.ACCOUNT_NAME, account.name) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
TestAccountType1Authenticator.java | 19 import android.accounts.Account; 32 * This authenticator is to mock account authenticator to test AccountManagerService. 107 Account account, 109 if (!mAccountType.equals(account.type)) { 114 if (account.name.equals(AccountManagerServiceTestFixtures.ACCOUNT_NAME_SUCCESS)) { 117 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); 118 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); 119 } else if (account.name.equals(AccountManagerServiceTestFixtures.ACCOUNT_NAME_INTERVENE)) { 123 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/photo/ |
MailPhotoViewActivity.java | 47 * @param account The email address of the account. 48 * @param accountType The type of the account. 52 public static void startMailPhotoViewActivity(final Context context, final String account, 62 context.startActivity(wrapIntent(builder.build(), account, accountType, msg)); local 70 public static void startMailPhotoViewActivity(final Context context, final String account, 73 buildMailPhotoViewActivityIntent(context, account, accountType, msg, 78 final Context context, final String account, final String accountType, 87 return wrapIntent(builder.build(), account, accountType, msg); 91 final Intent intent, final String account, final String accountType [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
AccountPreferences.java | 20 import com.android.mail.providers.Account; 27 * Preferences relevant to one specific account. 31 private static final String PREFS_NAME_PREFIX = "Account"; 37 * A temporary preference that can be set during account setup, if we do not know what the 48 * Number of time user has dismissed / seen the toast for account sync is off message. 50 public static final String ACCOUNT_SYNC_OFF_DISMISSES = "num-of-dismisses-account-sync-off"; 63 * @param account The account id 73 public static synchronized AccountPreferences get(Context context, Account account) { [all...] |