/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ContactEditorFragment.java | 368 final Account account = mIntentExtras == null ? null : 373 if (account != null) { 375 createContact(new AccountWithDataSet(account.name, account.type, dataSet)); 476 public void onExternalEditorRequest(AccountWithDataSet account, Uri uri) { argument 477 mListener.onCustomEditContactActivityRequested(account, uri, null, false); 545 // If there is no default account or the accounts have changed such that we need to 546 // prompt the user again, then launch the account prompt. 552 // Otherwise, there should be a default account. Then either create a local contact 553 // (if default account i 586 createContact(AccountWithDataSet account) argument 628 bindEditorsForNewContact(AccountWithDataSet account, final AccountType accountType) argument 1262 onCustomCreateContactActivityRequested(AccountWithDataSet account, Bundle intentExtras) argument 1272 onCustomEditContactActivityRequested(AccountWithDataSet account, Uri rawContactUri, Bundle intentExtras, boolean redirect) argument [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
H A D | BookmarkWidgetConfigure.java | 77 BookmarkAccount account = mAccountAdapter.getItem(position); 78 pickAccount(account.rootFolderId); 97 // We always have the local account, so fall back to that
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
H A D | AccountTypeManagerTest.java | 42 // Define account types. 86 // With invite support, 1 account 93 // With invite support, 2 account 146 for (AccountWithDataSet account : accounts) { 147 result.add(account);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | PolicyServiceProxy.java | 184 public static void setAccountHoldFlag(Context context, Account account, boolean newState) { argument 186 new PolicyServiceProxy(context).setAccountHoldFlag(account.mId, newState);
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
H A D | FindParentMailboxTaskTest.java | 33 /** ID of the account created by {@link #setUpMailboxes}. */ 66 * Set up a test account and mailboxes. 80 private long createMailboxAndGetId(String name, Account account, int type, argument 82 Mailbox m = ProviderTestUtils.setupMailbox(name, account.mId, false, mProviderContext,
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | AccountPreference.java | 31 * AccountPreference is used to display a username, status and provider icon for an account on 46 public AccountPreference(Context context, Account account, Drawable icon, argument 49 mAccount = account;
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | EmailActivity.java | 78 /** Id of the account that had a messaging exception most recently. */ 82 * Create an intent to launch and open account's inbox. 84 * @param accountId If -1, default account will be used. 135 * @param accountId ID of the account for the mailbox. Must not be {@link Account#NO_ACCOUNT}. 258 * In {@link MessageList#onResume()}, we go back to {@link Welcome} if an account 260 * up-to-date account list. Additionally, we detect and do the right thing if all 402 Account account = Account.restoreAccountWithId(EmailActivity.this, accountId); 403 if (account == null) return; 406 if (!TextUtils.isEmpty(account.mDisplayName)) { 409 message = message + " (" + account [all...] |
H A D | MessageCompose.java | 236 * the default account will be used; otherwise, the specified account is used. 257 * Compose a new message using the given account. If account is {@link Account#NO_ACCOUNT} 258 * the default account will be used. 275 * Compose a new message using a uri (mailto:) and a given account. If account is -1 the 276 * default account will be used. 347 // user to set up an account as an acceptable bailout. 355 private void setAccount(Account account) { argument 1100 loadAttachments( final long messageId, final Account account, final AttachmentLoadedCallback callback) argument 1230 updateMessage(Message message, Account account, boolean hasAttachments, boolean sending) argument 2181 setupAddressViews(Message message, Account account, boolean replyAll) argument 2234 processSourceMessage(Message message, Account account) argument 2361 getAccountSignature(Account account) argument [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactAggregatorTest.java | 143 Account account = new Account("accountName", "accountType"); 144 createAutoAddGroup(account); 146 long rawContactId1 = createRawContact(account); 152 long rawContactId2 = createRawContact(account); 563 // The aggregate this raw contact could join has a raw contact from the same account, 572 Account account = new Account("accountName", "accountType"); 573 createAutoAddGroup(account); 575 long rawContactId1 = createRawContact(account); 581 long rawContactId3 = createRawContact(account); 597 Account account [all...] |
H A D | GlobalSearchSupportTest.java | 46 Account account = new Account("actname", "acttype"); 49 createGroup(account, "any", "any", 0 /* visible */, true /* auto-add */, false /* fav */); 51 long rawContactId = createRawContact(account);
|
H A D | SynchronousContactsProvider2.java | 126 protected boolean isContactsAccount(Account account) { argument
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | ImportProcessor.java | 146 final Account account = request.account; 153 new VCardEntryConstructor(estimatedVCardType, account, estimatedCharset);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSetupOutgoingFragment.java | 47 * Provides UI for SMTP account settings (for IMAP/POP accounts). 331 Account account = SetupData.getAccount(); 332 account.mHostAuthSend.update(mContext, account.mHostAuthSend.toContentValues()); 349 Account account = SetupData.getAccount(); 350 HostAuth sendAuth = account.getOrCreateHostAuthSend(mContext);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | LegacyContactImporter.java | 302 String account = c.getString(GroupsQuery._SYNC_ACCOUNT); 303 if (!TextUtils.isEmpty(account)) { 304 bindString(insert, GroupsInsert.ACCOUNT_NAME, account); 558 String account = c.getString(PeopleQuery._SYNC_ACCOUNT); 559 if (!TextUtils.isEmpty(account)) { 560 bindString(insert, RawContactsInsert.ACCOUNT_NAME, account); 1073 String account = c.getString(PhotosQuery._SYNC_ACCOUNT); 1074 if (!TextUtils.isEmpty(account)) { 1130 String account = c.getString(GroupMembershipQuery.GROUP_SYNC_ACCOUNT); 1131 if (!TextUtils.isEmpty(account)) { [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 1335 * @param account the account being synced 1339 static public long createCalendar(EasSyncService service, Account account, Mailbox mailbox) { argument 1342 // TODO How will this change if the user changes his account display name? 1343 cv.put(Calendars.CALENDAR_DISPLAY_NAME, account.mDisplayName); 1344 cv.put(Calendars.ACCOUNT_NAME, account.mEmailAddress); 1356 // TODO Coordinate account colors w/ Calendar, if possible 1357 int color = new AccountServiceProxy(service.mContext).getAccountColor(account.mId); 1361 cv.put(Calendars.OWNER_ACCOUNT, account.mEmailAddress); 1364 asSyncAdapter(Calendars.CONTENT_URI, account 1375 asSyncAdapter(Uri uri, String account, String accountType) argument 1552 addAttendeeToMessage(SimpleIcsWriter ics, ArrayList<Address> toList, String attendeeName, String attendeeEmail, int messageFlag, Account account) argument 1596 createMessageForEntity(Context context, Entity entity, int messageFlag, String uid, Account account) argument 1602 createMessageForEntity(Context context, Entity entity, int messageFlag, String uid, Account account, String specifiedAttendee) argument 1911 createMessageForEventId(Context context, long eventId, int messageFlag, String uid, Account account) argument 1917 createMessageForEventId(Context context, long eventId, int messageFlag, String uid, Account account, String specifiedAttendee) argument [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
H A D | UtilityMediumTests.java | 77 // We shouldn't find account 96 Account account = ProviderTestUtils.setupAccount("account", true, mMockContext); 101 ProviderTestUtils.setupMailbox("mailbox", account.mId, true, mMockContext); 102 Message message = ProviderTestUtils.setupMessage("foo", account.mId, mailbox.mId, false,
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | GoogleSource.java | 169 public static final void createMyContactsIfNotExist(Account account, Context context) { argument 170 attemptMyContactsMembership(null, account.name, account.type, context, true);
|
H A D | Sources.java | 233 * that matches the given account type. 242 throw new IllegalStateException("Couldn't find authenticator for specific account type"); 254 for (Account account : accounts) { 255 // Ensure we have details loaded for each account 256 final ContactsSource source = getInflatedSource(account.type, 261 matching.add(account); 299 * Return {@link ContactsSource} for the given account type.
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | Account.java | 44 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/account"); 50 Uri.parse(EmailContent.CONTENT_NOTIFIER_URI + "/account"); 52 Uri.parse(EmailContent.CONTENT_URI + "/account/default"); 54 // Define all pseudo account IDs here to avoid conflict with one another. 56 * Pseudo account ID to represent a "combined account" that includes messages and mailboxes 63 * Pseudo account ID to represent "no account". This may be used any time the account ID 64 * may not be known or when we want to specifically select "no" account [all...] |
/packages/apps/Email/src/com/android/email/service/ |
H A D | AttachmentDownloadService.java | 86 // Limit on the number of simultaneous downloads per account 105 // A map of attachment storage used per account 107 // amount plus the size of any new attachments laoded). If and when we reach the per-account 123 * allows us to build a mock account manager stub in the unit tests 325 // Enforce per-account limit here 362 Account account = Account.restoreAccountWithId(mContext, accountKey); 363 if (account == null) { 367 } else if (canPrefetchForAccount(account, cacheDir)) { 394 * Count the number of running downloads in progress for this account 395 * @param accountId the id of the account 815 canPrefetchForAccount(Account account, File dir) argument [all...] |
/packages/apps/Phone/src/com/android/phone/ |
H A D | SimContacts.java | 138 final Cursor cursor, final ContentResolver resolver, Account account) { 157 if (account != null) { 158 builder.withValue(RawContacts.ACCOUNT_NAME, account.name); 159 builder.withValue(RawContacts.ACCOUNT_TYPE, account.type); 137 actuallyImportOneSimContact( final Cursor cursor, final ContentResolver resolver, Account account) argument
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | GoogleAccountLogin.java | 54 // Google account type 72 private GoogleAccountLogin(Activity activity, Account account, argument 75 mAccount = account; 222 // No account found?
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupEditorFragment.java | 241 final Account account = mIntentExtras == null ? null : 246 if (account != null) { 248 mAccountName = account.name; 249 mAccountType = account.type; 325 // In the common case of a single account being writable, auto-select 342 public void onAccountChosen(AccountWithDataSet account, Bundle extraArgs) { argument 343 mAccountName = account.name; 344 mAccountType = account.type; 345 mDataSet = account.dataSet; 352 // Exit the fragment because we cannot continue without selecting an account [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | ImportExportDialogFragment.java | 185 // - just one account -> use the account without asking the user 186 // - no account -> use phone-local storage without asking the user 191 // Send over to the account selector 211 * Called when an account is selected on {@link SelectAccountDialogFragment}. 214 public void onAccountChosen(AccountWithDataSet account, Bundle extraArgs) { argument 215 AccountSelectionUtil.doImport(getActivity(), extraArgs.getInt(KEY_RES_ID), account);
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
H A D | PeopleActivityTest.java | 105 AccountWithDataSet account = new AccountWithDataSet(TEST_ACCOUNT, TEST_ACCOUNT_TYPE, null); 109 new AccountType[] { accountType }, new AccountWithDataSet[] { account }));
|