/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
MockAccountService.java | 17 package android.provider.cts.contacts.account; 24 * Account service for the authenticator
|
StaticAccountAuthenticator.java | 17 package android.provider.cts.contacts.account; 20 import android.accounts.Account; 28 * Account authenticator with 1 hard coded account. 30 * Also adds the account to the account manager on instantiation. 36 public static final Account ACCOUNT_1 = new Account("cp account 1", TYPE); 70 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account [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());
|
/frameworks/base/core/java/android/content/ |
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; 60 this.account = new Account(other.account.name, other.account.type) [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...] |
/external/chromium_org/chrome/browser/ui/android/infobars/ |
auto_login_infobar_delegate_android.h | 33 const std::string& account() const { return params_.header.account; } function in class:AutoLoginInfoBarDelegateAndroid
|
/external/chromium_org/components/auto_login_parser/ |
auto_login_parser.h | 28 // "account" string from x-auto-login. 29 std::string account; member in struct:auto_login_parser::HeaderData
|
/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...] |
/developers/build/prebuilts/gradle/CardEmulation/CardEmulationSample/src/main/java/com/example/android/cardemulation/ |
CardEmulationFragment.java | 46 EditText account = (EditText) v.findViewById(R.id.card_account_field); local 47 account.setText(AccountStorage.GetAccount(getActivity())); 48 account.addTextChangedListener(new AccountUpdater()); 66 String account = s.toString(); local 67 AccountStorage.SetAccount(getActivity(), account); local
|
AccountStorage.java | 25 * Utility class for persisting account numbers to disk. 41 Log.i(TAG, "Setting account number: " + s); 52 String account = prefs.getString(PREF_ACCOUNT_NUMBER, DEFAULT_ACCOUNT_NUMBER); local 53 sAccount = account;
|
CardService.java | 88 // send the loyalty card account number, followed by a SELECT_OK status trailer (0x9000). 90 String account = AccountStorage.GetAccount(this); local 91 byte[] accountBytes = account.getBytes(); 92 Log.i(TAG, "Sending account number: " + account);
|
/developers/samples/android/connectivity/nfc/CardEmulation/CardEmulationSample/src/main/java/com/example/android/cardemulation/ |
CardEmulationFragment.java | 46 EditText account = (EditText) v.findViewById(R.id.card_account_field); local 47 account.setText(AccountStorage.GetAccount(getActivity())); 48 account.addTextChangedListener(new AccountUpdater()); 66 String account = s.toString(); local 67 AccountStorage.SetAccount(getActivity(), account); local
|
AccountStorage.java | 25 * Utility class for persisting account numbers to disk. 41 Log.i(TAG, "Setting account number: " + s); 52 String account = prefs.getString(PREF_ACCOUNT_NUMBER, DEFAULT_ACCOUNT_NUMBER); local 53 sAccount = account;
|
CardService.java | 88 // send the loyalty card account number, followed by a SELECT_OK status trailer (0x9000). 90 String account = AccountStorage.GetAccount(this); local 91 byte[] accountBytes = account.getBytes(); 92 Log.i(TAG, "Sending account number: " + account);
|
/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...] |
/external/chromium_org/chrome/browser/chromeos/settings/ |
device_settings_provider_unittest.cc | 266 em::DeviceLocalAccountInfoProto* account = local 268 account->set_deprecated_public_session_id(
|
/external/chromium_org/google_apis/gaia/ |
gaia_auth_util.cc | 88 // Get list of account info. 94 // account in the list is the primary account. 96 base::ListValue* account; local 97 if (accounts->GetList(i, &account) && account != NULL) { 99 if (account->GetString(3, &email) && !email.empty())
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
FallbackAccountType.java | 17 package com.android.contacts.common.model.account; 56 Log.e(TAG, "Problem building account type", e);
|
/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/apps/Exchange/tests/src/com/android/exchange/provider/ |
EmailContentSetupUtils.java | 19 import com.android.emailcommon.provider.Account; 37 * Create an account for test purposes 39 public static Account setupAccount(String name, boolean saveIt, Context context) { 40 Account account = new Account(); local 42 account.mDisplayName = name; 43 account.mEmailAddress = name + "@android.com"; 44 account.mProtocolVersion = "2.5" + name; 46 account.save(context) [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...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
ExchangeTestCase.java | 19 import com.android.emailcommon.provider.Account; 46 resolver.delete(ContentUris.withAppendedId(Account.CONTENT_URI, accountId), null, 52 * Add an account to our list of test accounts; we'll delete it automatically in tearDown() 53 * @param account the account to be added to our list of test accounts 55 protected void addTestAccount(Account account) { 56 if (account.mId > 0) { 57 mCreatedAccountIds.add(account.mId); 62 * Create a test account that will be automatically deleted when the test is finishe 68 Account account = EmailContentSetupUtils.setupAccount(name, saveIt, mProviderContext); local [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...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 19 import android.accounts.Account; 38 // Value below must match the account type specified in res/xml/syncadapter.xml 39 public static final String ACCOUNT_TYPE = "com.example.android.basicsyncadapter.account"; 42 * Create an entry for this application in the system account list, if it isn't already there. 52 // Create account, if it's missing. (Either first run, or user has deleted account.) 53 Account account = GenericAccountService.GetAccount(ACCOUNT_TYPE); local 56 if (accountManager.addAccountExplicitly(account, null, null)) { 57 // Inform the system that this account supports syn [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 19 import android.accounts.Account; 38 // Value below must match the account type specified in res/xml/syncadapter.xml 39 public static final String ACCOUNT_TYPE = "com.example.android.basicsyncadapter.account"; 42 * Create an entry for this application in the system account list, if it isn't already there. 52 // Create account, if it's missing. (Either first run, or user has deleted account.) 53 Account account = GenericAccountService.GetAccount(ACCOUNT_TYPE); local 56 if (accountManager.addAccountExplicitly(account, null, null)) { 57 // Inform the system that this account supports syn [all...] |