/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
DataKind.java | 23 import com.android.contacts.common.model.account.AccountType.EditField; 24 import com.android.contacts.common.model.account.AccountType.EditType; 25 import com.android.contacts.common.model.account.AccountType.StringInflater;
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSetupIncomingTests.java | 29 import com.android.emailcommon.provider.Account; 35 * Tests of the basic UI logic in the Account Setup Incoming (IMAP / POP3) screen. 191 * Create an intent with the Account in it 195 final Account account = new Account(); local 197 final HostAuth auth = account.getOrCreateHostAuthRecv(context); 202 setupDataFragment.setAccount(account);
|
AccountSetupOptionsTests.java | 30 import com.android.emailcommon.provider.Account; 63 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 77 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 91 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 165 * Create an intent with the Account in it 169 final Account account = new Account(); local 170 account.setSenderName(name); 172 final HostAuth auth = account.getOrCreateHostAuthRecv(context) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
RemoveAccountDialog.java | 26 import android.accounts.Account; 76 Account account = null; local 77 for (Account accountLoop : manager.getAccounts()) { 79 account = accountLoop; 83 manager.removeAccount(account, this, new Handler());
|
AccountSettingsActivity.java | 19 import android.accounts.Account; 78 for (Account account : AccountManager.get(this).getAccounts()) { 79 if (account.name.equals(accountName)) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderSelectionDialog.java | 29 import com.android.mail.providers.Account; 42 private static final String ARG_ACCOUNT_TAG = "account"; 50 protected Account mAccount; 54 public static FolderSelectionDialog getInstance(final Account account, 59 * present on the account, so we should be able to remove the check here. 62 if (isMoveTo || !account.supportsCapability( 70 args.putParcelable(ARG_ACCOUNT_TAG, account);
|
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...] |
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...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
AccountSelectionPreference.java | 39 boolean onAccountSelected(AccountSelectionPreference pref, PhoneAccountHandle account); 104 PhoneAccountHandle account = index < mAccounts.length ? mAccounts[index] : null; 105 if (mListener.onAccountSelected(this, account)) {
|
/external/chromium_org/android_webview/browser/ |
aw_contents_io_thread_client.h | 100 // WebViewClient.onReceivedLoginRequest for arguments. Note that |account| 103 const std::string& account,
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/ |
InvalidationIntentProtocol.java | 7 import android.accounts.Account; 33 * Parcelable-valued intent extra containing the account of the user. 35 public static final String EXTRA_ACCOUNT = "account"; 63 public static Intent createRegisterIntent(Account account, 78 registerIntent.putExtra(EXTRA_ACCOUNT, account); 88 public static Intent createRegisterIntent(Account account, int[] objectSources, 106 registerIntent.putExtra(EXTRA_ACCOUNT, account);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PeriodicSyncTest.java | 3 import android.accounts.Account; 20 Account a = new Account("a", "b"); 24 assertThat(sync.account, is(a));
|
/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 38 import com.android.mail.providers.Account; 42 * Dialog which lists QuickResponses for the specified account. On user selection, will call 46 // Key for the Account object in the arguments bundle 47 private static final String ACCOUNT_KEY = "account"; 69 newInstance(Fragment callbackFragment, Account account) { 82 args.putParcelable(ACCOUNT_KEY, account); 126 final Account account = getArguments().getParcelable(ACCOUNT_KEY); local 131 return new CursorLoader(context, account.quickResponseUri [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 20 import com.android.emailcommon.provider.Account; 48 * Create an account for test purposes 50 public static Account setupAccount(String name, boolean saveIt, Context context) { 51 Account account = new Account(); local 53 account.mDisplayName = name; 54 account.mEmailAddress = name + "@android.com"; 55 account.mSyncKey = "sync-key-" + name; 56 account.mSyncLookback = 1 [all...] |
/developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/ |
CardReaderFragment.java | 99 public void onAccountReceived(final String account) { 105 mAccountField.setText(account);
|
/developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/ |
CardReaderFragment.java | 99 public void onAccountReceived(final String account) { 105 mAccountField.setText(account);
|
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
CardReaderFragment.java | 99 public void onAccountReceived(final String account) { 105 mAccountField.setText(account);
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenServiceIntegrationTest.java | 7 import android.accounts.Account; 30 private static final Account TEST_ACCOUNT1 = 32 private static final Account TEST_ACCOUNT2 = 35 AccountHolder.create().account(TEST_ACCOUNT1).build(); 37 AccountHolder.create().account(TEST_ACCOUNT2).build(); 56 // Make sure there is no account signed in yet. 102 // An observer should be called with the correct account. 124 // An observer should be called with the correct account. 146 // An observer should be called with the correct account. 175 // Add account [all...] |
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/ |
TestableInvalidationService.java | 7 import android.accounts.Account; 85 public void requestSyncFromContentResolver(Bundle bundle, Account account, 88 super.requestSyncFromContentResolver(bundle, account, contractAuthority);
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
PingTask.java | 22 import com.android.emailcommon.provider.Account; 39 public PingTask(final Context context, final Account account, 40 final android.accounts.Account amAccount, 43 mOperation = new EasPing(context, account, amAccount); 74 LogUtils.e(TAG, e, "Ping exception for account %d", mOperation.getAccountId());
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SwipeableConversationItemView.java | 37 public SwipeableConversationItemView(Context context, String account) { 39 mConversationItemView = new ConversationItemView(context, account);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticatorActivity.java | 23 import android.accounts.Account; 84 /** Was the original caller asking for an entirely new account? */ 173 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); local 174 mAccountManager.setPassword(account, mPassword); 187 * account - so we're never storing the user's actual password locally. 194 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE) local [all...] |
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportReceiver.java | 22 import android.accounts.Account; 134 final Account sendToAccount = findSendToAccount(context); 143 * Find the best matching {@link Account} based on build properties. 145 private static Account findSendToAccount(Context context) { 154 final Account[] accounts = am.getAccounts(); 155 Account foundAccount = null; 156 for (Account account : accounts) { 157 if (Patterns.EMAIL_ADDRESS.matcher(account.name).matches()) { 161 if (account.name.endsWith(preferredDomain)) [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupOptionsFragment.java | 30 import com.android.emailcommon.provider.Account; 84 final Account account = setupData.getAccount(); local 104 SpinnerOption.setSpinnerOptionValue(mCheckFrequencyView, account.getSyncInterval()); 107 enableLookbackSpinner(account); 131 private void enableLookbackSpinner(Account account) { 143 final Policy policy = account.mPolicy; 173 SpinnerOption.setSpinnerOptionValue(mSyncWindowView, account.getSyncLookback());
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
AbstractSyncParser.java | 27 import com.android.emailcommon.provider.Account; 49 protected Account mAccount; 56 final InputStream in, final Mailbox mailbox, final Account account) throws IOException { 58 init(context, resolver, mailbox, account); 72 final Mailbox mailbox, final Account account) throws IOException { 74 init(context, resolver, mailbox, account); 83 final Account account) { [all...] |