/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSecurity.java | 73 * @param accountId The account of interest 79 public static Intent actionUpdateSecurityIntent(Context context, long accountId, argument 82 intent.putExtra(EXTRA_ACCOUNT_ID, accountId); 92 public static Intent actionDevicePasswordExpirationIntent(Context context, long accountId, argument 95 intent.putExtra(EXTRA_ACCOUNT_ID, accountId); 106 final long accountId = i.getLongExtra(EXTRA_ACCOUNT_ID, -1); 112 if (accountId == -1) { 117 mAccount = Account.restoreAccountWithId(AccountSecurity.this, accountId);
|
H A D | AccountSettingsEditQuickResponsesFragment.java | 111 * @param accountId - accountId of the QuickResponses 115 FragmentManager fragmentManager, long accountId) { 118 mAccountId = accountId; 156 * @param accountId - id of the account whose QuickResponses are to be returned 166 public QuickResponseFinder(EmailAsyncTask.Tracker tracker, long accountId, argument 170 mAccountId = accountId; 113 ArrayAdapterWithButtons( Context context, QuickResponse[] quickResponses, FragmentManager fragmentManager, long accountId) argument
|
H A D | AccountSettings.java | 114 public static void actionSettings(Activity fromActivity, long accountId) { argument 115 fromActivity.startActivity(createAccountSettingsIntent(fromActivity, accountId, null)); 123 public static Intent createAccountSettingsIntent(Context context, long accountId, argument 126 IntentUtilities.setAccountId(b, accountId); 428 long accountId = c.getLong(Account.CONTENT_ID_COLUMN); 429 if (accountId == deletingAccountId) { 436 newHeader.id = accountId; 441 AccountSettingsFragment.buildArguments(accountId, email);
|
H A D | AccountServerBaseFragment.java | 246 protected void startDuplicateTaskCheck(long accountId, String checkHost, String checkLogin, argument 248 new DuplicateCheckTask(accountId, checkHost, checkLogin, checkSettingsMode) 328 public DuplicateCheckTask(long accountId, String checkHost, String checkLogin, argument 330 mAccountId = accountId;
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | AttachmentProvider.java | 150 String accountId = segments.get(0); 153 AttachmentUtilities.getAttachmentDirectory(context, Long.parseLong(accountId)); 165 String accountId = segments.get(0); 171 String filename = "thmb_" + accountId + "_" + id; 176 getAttachmentUri(Long.parseLong(accountId), Long.parseLong(id)); 217 new File(getContext().getDatabasePath(accountId + ".db_att"), id), 256 String accountId = segments.get(0);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForGroupMembership.java | 208 final long accountId = accountIdOrNull; 219 if (entry.accountId == accountId) { 225 entry.accountId = accountId; 233 new String[]{sourceId, Long.toString(accountId)}, null, null, null); 240 groupValues.put(GroupsColumns.ACCOUNT_ID, accountId);
|
H A D | TransactionContext.java | 50 public void rawContactInserted(long rawContactId, long accountId) { argument 52 mInsertedRawContactsAccounts.put(rawContactId, accountId);
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | AttachmentDownloadService.java | 171 final long accountId; field in class:AttachmentDownloadService.DownloadRequest 182 accountId = msg.mAccountKey; 185 accountId = messageId = -1; 326 if (downloadsForAccount(req.accountId) >= MAX_SIMULTANEOUS_DOWNLOADS_PER_ACCOUNT) { 329 req.accountId); 395 * @param accountId the id of the account 398 /*package*/ synchronized int downloadsForAccount(long accountId) { argument 401 if (req.accountId == accountId) { 448 Intent intent = getServiceIntentForAccount(req.accountId); 689 syncMailboxListStatus(long accountId, int statusCode, int progress) argument 710 getServiceIntentForAccount(long accountId) argument 725 addServiceIntentForTest(long accountId, Intent intent) argument [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | Mailbox.java | 251 public static Mailbox newSystemMailbox(long accountId, int mailboxType, String name) { argument 256 box.mAccountKey = accountId; 271 * @param accountId the ID of the account 274 public static Mailbox restoreMailboxForPath(Context context, long accountId, String path) { argument 279 new String[] { path, Long.toString(accountId) }, 302 public static Mailbox getMailboxForPath(Context context, long accountId, String path) { argument 303 Mailbox mailbox = restoreMailboxForPath(context, accountId, path); 372 * @param accountId the id of the account to be queried 376 public static long findMailboxOfType(Context context, long accountId, int type) { argument 378 Uri uri = FROM_ACCOUNT_AND_TYPE_URI.buildUpon().appendPath(Long.toString(accountId)) 404 restoreMailboxOfType(Context context, long accountId, int type) argument 412 getUnreadCountByAccountAndMailboxType(Context context, long accountId, int type) argument [all...] |
H A D | Account.java | 233 public static boolean isNormalAccount(long accountId) { argument 234 return (accountId > 0L) && (accountId != ACCOUNT_ID_COMBINED_VIEW); 480 public static boolean supportsServerSearch(Context context, long accountId) { argument 481 Account account = Account.restoreAccountWithId(context, accountId); 581 * @param accountId the id of the account to be examined 584 public static String getProtocol(Context context, long accountId) { argument 585 Account account = Account.restoreAccountWithId(context, accountId); 623 long accountId = getAccountIdForMessageId(context, messageId); 624 if (accountId ! 633 isValidId(Context context, long accountId) argument 642 isSecurityHold(Context context, long accountId) argument 652 getInboxId(Context context, long accountId) argument 692 isAutomaticSyncDisabledByRoaming(Context context, long accountId) argument [all...] |
H A D | QuickResponse.java | 128 * @param accountId 129 * @return array of QuickResponses for the account with id accountId 132 long accountId) { 133 Uri uri = ContentUris.withAppendedId(ACCOUNT_ID_URI, accountId); 131 restoreQuickResponsesWithAccountId(Context context, long accountId) argument
|
/packages/apps/Email/src/com/android/email/ |
H A D | AttachmentInfo.java | 189 * @param accountId the account associated with the attachment (or 0 if we don't need to 193 public Intent getAttachmentIntent(Context context, long accountId) { argument 194 Uri contentUri = getUriForIntent(context, accountId); 202 protected Uri getUriForIntent(Context context, long accountId) { argument 203 Uri contentUri = AttachmentUtilities.getAttachmentUri(accountId, mId); 204 if (accountId > 0) {
|
H A D | SecurityPolicy.java | 216 * @param accountId the account that has been updated, -1 if unknown/deleted 218 public synchronized void policiesUpdated(long accountId) { argument 501 public static void setAccountHoldFlag(Context context, long accountId, boolean newState) { argument 502 Account account = Account.restoreAccountWithId(context, accountId); 592 public void setAccountPolicy(long accountId, Policy policy, String securityKey) { argument 593 Account account = Account.restoreAccountWithId(mContext, accountId); 627 * @param accountId the account for which sync cannot proceed 629 public void policiesRequired(long accountId) { argument 630 Account account = Account.restoreAccountWithId(mContext, accountId); 775 * @return -1 if no expirations, or accountId i [all...] |
H A D | MessagingController.java | 244 * @param accountId ID of the account for which to list the folders 247 void listFolders(final long accountId, MessagingListener listener) { argument 248 final Account account = Account.restoreAccountWithId(mContext, accountId); 250 Log.i(Logging.LOG_TAG, "Could not load account id " + accountId 254 mListeners.listFoldersStarted(accountId); 302 mContext, accountId, mailboxId); 311 mListeners.listFoldersFinished(accountId); 313 mListeners.listFoldersFailed(accountId, e.toString()); 604 public int searchMailbox(long accountId, SearchParams searchParams, long destMailboxId) argument 607 return searchMailboxImpl(accountId, searchParam 615 searchMailboxImpl(long accountId, SearchParams searchParams, final long destMailboxId) argument 1049 processPendingActions(final long accountId) argument 1909 loadAttachment(final long accountId, final long messageId, final long mailboxId, final long attachmentId, MessagingListener listener, final boolean background) argument 2122 checkMail(final long accountId, final long tag, final MessagingListener listener) argument [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
H A D | ActivityHelper.java | 137 public static void showSecurityHoldDialog(Activity callerActivity, long accountId) { argument 139 AccountSecurity.actionUpdateSecurityIntent(callerActivity, accountId, true));
|
H A D | MailboxListFragment.java | 173 private static final String ARG_ACCOUNT_ID = "accountId"; 233 * @param accountId 242 public void onMailboxSelected(long accountId, long mailboxId, boolean nestedNavigation); argument 245 public void onAccountSelected(long accountId); argument 255 @Override public void onMailboxSelected(long accountId, long mailboxId, argument 257 @Override public void onAccountSelected(long accountId) { } argument 285 * @param accountId The ID of the account we want to view 291 public static MailboxListFragment newInstance(long accountId, long initialCurrentMailboxId, argument 295 args.putLong(ARG_ACCOUNT_ID, accountId); 334 * @return {@code accountId} passe 635 FindParentMailboxTask(Context context, EmailAsyncTask.Tracker taskTracker, long accountId, boolean enableHighlight, long parentMailboxId, long highlightedMailboxId, ResultCallback callback) argument [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | EmailSyncAdapterService.java | 102 long accountId = accountCursor.getLong(0); 105 ACCOUNT_AND_TYPE_INBOX, new String[] {Long.toString(accountId)}, null);
|
H A D | ExchangeService.java | 314 public void syncMailboxListStatus(final long accountId, final int status, 319 cb.syncMailboxListStatus(accountId, status, progress); 434 public void updateFolderList(long accountId) throws RemoteException { 435 reloadFolderList(ExchangeService.this, accountId, false); 439 public void hostChanged(long accountId) throws RemoteException { 452 } else if (error != null && m.mAccountKey == accountId) { 458 exchangeService.stopAccountSyncs(accountId, true); 479 public boolean createFolder(long accountId, String name) throws RemoteException { 484 public boolean deleteFolder(long accountId, String name) throws RemoteException { 489 public boolean renameFolder(long accountId, Strin 626 deleteAccountPIMData(long accountId) argument 910 isCalendarEnabled(long accountId) argument 1069 getAccountById(long accountId) argument 1338 reloadFolderListFailed(long accountId) argument 1347 reloadFolderList(Context context, long accountId, boolean force) argument 1666 stopPing(long accountId) argument [all...] |
H A D | CalendarSyncAdapterService.java | 124 long accountId = accountCursor.getLong(0); 127 ACCOUNT_AND_TYPE_CALENDAR, new String[] {Long.toString(accountId)}, null);
|
H A D | ContactsSyncAdapterService.java | 135 long accountId = accountCursor.getLong(0); 138 ACCOUNT_AND_TYPE_CONTACTS, new String[] {Long.toString(accountId)}, null);
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | RefreshManagerTest.java | 444 public void sendPendingMessages(long accountId) { argument 446 mAccountId = accountId; 450 public void updateMailbox(long accountId, long mailboxId, boolean userRequest) { argument 452 mAccountId = accountId; 457 public void updateMailboxList(long accountId) { argument 459 mAccountId = accountId; 495 public void onRefreshStatusChanged(long accountId, long mailboxId) { argument 496 mAccountId = accountId; 502 public void onMessagingError(long accountId, long mailboxId, String message) { argument 503 mAccountId = accountId; [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/ |
H A D | ExchangeDirectoryProvider.java | 186 Long accountId = mAccountIdMap.get(accountName); 187 if (accountId == null) { 188 accountId = Utility.getFirstRowLong(context, Account.CONTENT_URI, 191 if (accountId != -1) { 192 mAccountIdMap.put(accountName, accountId); 195 return accountId; 290 long accountId = getAccountIdByName(getContext(), accountName); 291 if (accountId == -1) { 297 GalResult galResult = EasSyncService.searchGal(getContext(), accountId,
|
/packages/apps/Email/src/com/android/email/mail/ |
H A D | Store.java | 183 protected static void updateMailbox(Mailbox mailbox, long accountId, String mailboxPath, argument 185 mailbox.mAccountKey = accountId;
|
/packages/apps/Email/src/com/android/email/widget/ |
H A D | EmailWidgetLoader.java | 168 * @param accountId The ID of the account. May be {@link Account#ACCOUNT_ID_COMBINED_VIEW}. 173 void load(long accountId, long mailboxId) { argument 175 mAccountId = accountId;
|
/packages/apps/Email/tests/src/com/android/email/service/ |
H A D | EmailBroadcastProcessorServiceTests.java | 70 private int getAccountFlags(long accountId) throws NoSuchElementException { argument 71 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);
|