Home
last modified time | relevance | path

Searched defs:accountId (Results 1 – 25 of 94) sorted by relevance

1234

/packages/apps/Email/tests/src/com/android/email/activity/
DMailboxFinderTest.java108 private long createMailbox(long accountId, int mailboxType) { in createMailbox()
122 private void createAndStartFinder(final long accountId, final int mailboxType) in createAndStartFinder()
152 final long accountId = createAccount(true); in testSecurityHold() local
186 final long accountId = createAccount(false); in testMailboxFound() local
207 private void prepareForNetworkLookupTest(final long accountId) throws Throwable { in prepareForNetworkLookupTest()
232 final long accountId = createAccount(false); in testMailboxNotFound() local
262 final long accountId = createAccount(false); in testMailboxFoundOnNetwork() local
298 final long accountId = createAccount(false); in testMailboxNotFoundNetworkError() local
325 final long accountId = createAccount(false); in testUpdateMailboxListCallbackNonTarget() local
353 final long accountId = createAccount(false); in testMailboxNotFound2() local
[all …]
DMessagesAdapterTests.java53 private long createMailbox(long accountId, int type) { in createMailbox()
60 private MessagesAdapter.MessagesCursor getLoaderResult(long accountId, long mailboxId) { in getLoaderResult()
71 final long accountId = createAccount(false); in testLoad() local
86 final long accountId = createAccount(true); in testLoadEas() local
101 final long accountId = createAccount(false); in testLoadNotRefreshable() local
/packages/apps/Email/src/com/android/email/
DMessagingListener.java36 public void listFoldersStarted(long accountId) { in listFoldersStarted()
39 public void listFoldersFailed(long accountId, String message) { in listFoldersFailed()
42 public void listFoldersFinished(long accountId) { in listFoldersFinished()
45 public void synchronizeMailboxStarted(long accountId, long mailboxId) { in synchronizeMailboxStarted()
59 public void synchronizeMailboxFinished(long accountId, long mailboxId, in synchronizeMailboxFinished()
63 public void synchronizeMailboxFailed(long accountId, long mailboxId, Exception e) { in synchronizeMailboxFailed()
75 public void checkMailStarted(Context context, long accountId, long tag) { in checkMailStarted()
78 public void checkMailFinished(Context context, long accountId, long mailboxId, long tag) { in checkMailFinished()
81 public void sendPendingMessagesStarted(long accountId, long messageId) { in sendPendingMessagesStarted()
84 public void sendPendingMessagesCompleted(long accountId) { in sendPendingMessagesCompleted()
[all …]
DGroupMessagingListener.java55 synchronized public void listFoldersStarted(long accountId) { in listFoldersStarted()
62 synchronized public void listFoldersFailed(long accountId, String message) { in listFoldersFailed()
69 synchronized public void listFoldersFinished(long accountId) { in listFoldersFinished()
76 synchronized public void synchronizeMailboxStarted(long accountId, long mailboxId) { in synchronizeMailboxStarted()
83 synchronized public void synchronizeMailboxFinished(long accountId, long mailboxId, in synchronizeMailboxFinished()
92 synchronized public void synchronizeMailboxFailed(long accountId, long mailboxId, Exception e) { in synchronizeMailboxFailed()
120 synchronized public void checkMailStarted(Context context, long accountId, long tag) { in checkMailStarted()
127 synchronized public void checkMailFinished(Context context, long accountId, long folderId, in checkMailFinished()
135 synchronized public void sendPendingMessagesStarted(long accountId, long messageId) { in sendPendingMessagesStarted()
142 synchronized public void sendPendingMessagesCompleted(long accountId) { in sendPendingMessagesCompleted()
[all …]
DRefreshManager.java74 public void onRefreshStatusChanged(long accountId, long mailboxId); in onRefreshStatusChanged()
83 public void onMessagingError(long accountId, long mailboxId, String message); in onMessagingError()
212 public boolean refreshMailboxList(long accountId) { in refreshMailboxList()
230 public boolean isMailboxListStale(long accountId) { in isMailboxListStale()
238 public boolean refreshMessageList(long accountId, long mailboxId, boolean userRequest) { in refreshMessageList()
245 public boolean loadMoreMessages(long accountId, long mailboxId) { in loadMoreMessages()
249 private boolean refreshMessageList(long accountId, long mailboxId, boolean loadMoreMessages, in refreshMessageList()
271 public boolean sendPendingMessages(long accountId) { in sendPendingMessages()
297 protected void performAction(long accountId) { in performAction()
302 public long getLastMailboxListRefreshTime(long accountId) { in getLastMailboxListRefreshTime()
[all …]
DResourceHelper.java59 /* package */ int getAccountColorIndex(long accountId) { in getAccountColorIndex()
68 public int getAccountColor(long accountId) { in getAccountColor()
76 public int getAccountColorId(long accountId) { in getAccountColorId()
84 public Paint getAccountColorPaint(long accountId) { in getAccountColorPaint()
DControllerResultUiThreadWrapper.java61 public void loadAttachmentCallback(final MessagingException result, final long accountId, in loadAttachmentCallback()
77 public void loadMessageForViewCallback(final MessagingException result, final long accountId, in loadMessageForViewCallback()
88 public void sendMailCallback(final MessagingException result, final long accountId, in sendMailCallback()
99 public void serviceCheckMailCallback(final MessagingException result, final long accountId, in serviceCheckMailCallback()
110 public void updateMailboxCallback(final MessagingException result, final long accountId, in updateMailboxCallback()
123 public void updateMailboxListCallback(final MessagingException result, final long accountId, in updateMailboxListCallback()
DMessageListContext.java56 private MessageListContext(long accountId, long searchMailboxId, SearchParams searchParams) { in MessageListContext()
70 long accountId = intent.getLongExtra(EmailActivity.EXTRA_ACCOUNT_ID, Account.NO_ACCOUNT); in forIntent() local
99 long accountId, long searchMailboxId, SearchParams searchParams) { in forSearch()
109 public static MessageListContext forMailbox(long accountId, long mailboxId) { in forMailbox()
DController.java273 public Mailbox getSearchMailbox(long accountId) { in getSearchMailbox()
342 public void updateMailboxList(final long accountId) { in updateMailboxList()
370 public void serviceCheckMail(final long accountId, final long mailboxId, final long tag) { in serviceCheckMail()
401 public void updateMailbox(final long accountId, final long mailboxId, boolean userRequest) { in updateMailbox()
453 final long accountId = Account.getAccountIdForMessageId(mProviderContext, messageId); in loadMessageForView() local
478 long accountId = message.mAccountKey; in saveToMailbox() local
496 public synchronized long findOrCreateMailboxOfType(long accountId, int mailboxType) { in findOrCreateMailboxOfType()
540 long createMailbox(long accountId, int mailboxType) { in createMailbox()
563 long accountId = message.mAccountKey; in sendMessage() local
596 private void sendPendingMessagesSmtp(long accountId) { in sendPendingMessagesSmtp()
[all …]
DNotificationController.java223 private int getNewMessageNotificationId(long accountId) { in getNewMessageNotificationId()
287 public void suspendMessageNotification(boolean suspend, long accountId) { in suspendMessageNotification()
329 private void registerMessageNotification(long accountId) { in registerMessageNotification()
372 private void unregisterMessageNotification(long accountId) { in unregisterMessageNotification()
433 Notification createNewMessageNotification(long accountId, long mailboxId, Cursor messageCursor, in createNewMessageNotification()
703 private int getLoginFailedNotificationId(long accountId) { in getLoginFailedNotificationId()
712 public void showLoginFailedNotification(long accountId) { in showLoginFailedNotification()
727 public void cancelLoginFailedNotification(long accountId) { in cancelLoginFailedNotification()
737 public void showPasswordExpiringNotification(long accountId) { in showPasswordExpiringNotification()
757 public void showPasswordExpiredNotification(long accountId) { in showPasswordExpiredNotification()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DIEmailService.aidl34 oneway void updateFolderList(long accountId); in updateFolderList()
36 boolean createFolder(long accountId, String name); in createFolder()
37 boolean deleteFolder(long accountId, String name); in deleteFolder()
38 boolean renameFolder(long accountId, String oldName, String newName); in renameFolder()
46 oneway void hostChanged(long accountId); in hostChanged()
54 void deleteAccountPIMData(long accountId); in deleteAccountPIMData()
59 int searchMessages(long accountId, in SearchParams params, long destMailboxId); in searchMessages()
61 void sendMail(long accountId); in sendMail()
DIAccountService.aidl22 oneway void notifyLoginFailed(long accountId); in notifyLoginFailed()
23 oneway void notifyLoginSucceeded(long accountId); in notifyLoginSucceeded()
27 int getAccountColor(long accountId); in getAccountColor()
DEmailServiceProxy.java270 public void updateFolderList(final long accountId) throws RemoteException { in updateFolderList()
321 public void hostChanged(final long accountId) throws RemoteException { in hostChanged()
371 public boolean createFolder(long accountId, String name) throws RemoteException { in createFolder()
382 public boolean deleteFolder(long accountId, String name) throws RemoteException { in deleteFolder()
394 public boolean renameFolder(long accountId, String oldName, String newName) in renameFolder()
408 public void deleteAccountPIMData(final long accountId) throws RemoteException { in deleteAccountPIMData()
434 public int searchMessages(final long accountId, final SearchParams searchParams, in searchMessages()
457 public void sendMail(final long accountId) throws RemoteException { in sendMail()
DAccountServiceProxy.java48 public void notifyLoginFailed(final long accountId) { in notifyLoginFailed()
58 public void notifyLoginSucceeded(final long accountId) { in notifyLoginSucceeded()
81 public int getAccountColor(final long accountId) { in getAccountColor()
DIPolicyService.aidl22 void setAccountHoldFlag(long accountId, boolean newState); in setAccountHoldFlag()
23 void setAccountPolicy(long accountId, in Policy policy, String securityKey); in setAccountPolicy()
/packages/apps/Email/src/com/android/email/service/
DEmailServiceUtils.java96 public boolean createFolder(long accountId, String name) throws RemoteException { in createFolder()
100 public boolean deleteFolder(long accountId, String name) throws RemoteException { in deleteFolder()
104 public void hostChanged(long accountId) throws RemoteException { in hostChanged()
113 public boolean renameFolder(long accountId, String oldName, String newName) in renameFolder()
133 public void updateFolderList(long accountId) throws RemoteException { in updateFolderList()
140 public void deleteAccountPIMData(long accountId) throws RemoteException { in deleteAccountPIMData()
143 public int searchMessages(long accountId, SearchParams searchParams, long destMailboxId) { in searchMessages()
157 public void sendMail(long accountId) throws RemoteException { in sendMail()
DMailService.java129 public static void actionSendPendingMail(Context context, long accountId) { in actionSendPendingMail()
151 final long accountId = intent.getLongExtra(EXTRA_ACCOUNT, -1); in onStartCommand() local
386 private void setWatchdog(long accountId, AlarmManager alarmMgr) { in setWatchdog()
437 long accountId; field in MailService.AccountSyncReport
469 private void setupSyncReports(long accountId) { in setupSyncReports()
479 void setupSyncReportsLocked(long accountId, Context context) { in setupSyncReportsLocked()
564 private AccountSyncReport updateAccountReport(long accountId, int newCount) { in updateAccountReport()
604 long accountId = accountInfo[accountInfoIndex++]; in restoreSyncReports() local
619 public void updateMailboxCallback(MessagingException result, long accountId, in updateMailboxCallback()
639 public void serviceCheckMailCallback(MessagingException result, long accountId, in serviceCheckMailCallback()
[all …]
/packages/apps/Email/src/com/android/email/activity/
DEmailActivity.java87 public static Intent createOpenAccountIntent(Activity fromActivity, long accountId) { in createOpenAccountIntent()
102 public static Intent createOpenMailboxIntent(Activity fromActivity, long accountId, in createOpenMailboxIntent()
121 public static Intent createOpenMessageIntent(Activity fromActivity, long accountId, in createOpenMessageIntent()
141 public static Intent createSearchIntent(Activity fromActivity, long accountId, in createSearchIntent()
365 MessagingException result, long accountId, long messageId, int progress) { in sendMailCallback()
371 MessagingException result, long accountId, long mailboxId, int progress, long tag) { in serviceCheckMailCallback()
376 public void updateMailboxCallback(MessagingException result, long accountId, long mailboxId, in updateMailboxCallback()
383 MessagingException result, long accountId, int progress) { in updateMailboxListCallback()
388 public void loadAttachmentCallback(MessagingException result, long accountId, in loadAttachmentCallback()
394 public void loadMessageForViewCallback(MessagingException result, long accountId, in loadMessageForViewCallback()
[all …]
DMailboxFinder.java64 public void onMailboxNotFound(long accountId); in onMailboxNotFound()
65 public void onAccountSecurityHold(long accountId); in onAccountSecurityHold()
66 public void onMailboxFound(long accountId, long mailboxId); in onMailboxFound()
74 public MailboxFinder(Context context, long accountId, int mailboxType, Callback callback) { in MailboxFinder()
128 public void updateMailboxListCallback(MessagingException result, long accountId, in updateMailboxListCallback()
DRecentMailboxManager.java96 public EmailAsyncTask<Void, Void, Void> touch(long accountId, long mailboxId) { in touch()
109 public ArrayList<Long> getMostRecent(long accountId, boolean withExclusions) { in getMostRecent()
131 final long accountId, final long mailboxId, final long time) { in fireAndForget()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DEmailContentSetupUtils.java54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox()
59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox()
64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox()
86 public static Message setupMessage(String name, long accountId, long mailboxId, in setupMessage()
95 public static Message setupMessage(String name, long accountId, long mailboxId, in setupMessage()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DEmailContentSetupUtils.java54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox()
59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox()
64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox()
86 public static Message setupMessage(String name, long accountId, long mailboxId, in setupMessage()
95 public static Message setupMessage(String name, long accountId, long mailboxId, in setupMessage()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java137 public static Uri getAttachmentUri(long accountId, long id) { in getAttachmentUri()
145 public static Uri getAttachmentThumbnailUri(long accountId, long id, in getAttachmentThumbnailUri()
163 public static File getAttachmentFilename(Context context, long accountId, long attachmentId) { in getAttachmentFilename()
174 public static File getAttachmentDirectory(Context context, long accountId) { in getAttachmentDirectory()
308 public static void deleteAllAttachmentFiles(Context context, long accountId, long messageId) { in deleteAllAttachmentFiles()
333 public static void deleteAllMailboxAttachmentFiles(Context context, long accountId, in deleteAllMailboxAttachmentFiles()
354 public static void deleteAllAccountAttachmentFiles(Context context, long accountId) { in deleteAllAccountAttachmentFiles()
381 long accountId = attachment.mAccountKey; in saveAttachment() local
/packages/apps/Email/tests/src/com/android/email/
DMessageListContextTests.java27 long accountId = 123; in testParcellingMailboxes() local
41 long accountId = 123; in testParcellingSearches() local
DRefreshManagerTest.java444 public void sendPendingMessages(long accountId) { in sendPendingMessages()
450 public void updateMailbox(long accountId, long mailboxId, boolean userRequest) { in updateMailbox()
457 public void updateMailboxList(long accountId) { in updateMailboxList()
495 public void onRefreshStatusChanged(long accountId, long mailboxId) { in onRefreshStatusChanged()
502 public void onMessagingError(long accountId, long mailboxId, String message) { in onMessagingError()

1234