HomeSort by relevance Sort by last modified time
    Searched refs:accountId (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /packages/apps/Email/src/com/android/email/
MessagingListener.java 36 public void listFoldersStarted(long accountId) {
39 public void listFoldersFailed(long accountId, String message) {
42 public void listFoldersFinished(long accountId) {
45 public void synchronizeMailboxStarted(long accountId, long mailboxId) {
52 * @param accountId The account that was synchronized
59 public void synchronizeMailboxFinished(long accountId, long mailboxId,
63 public void synchronizeMailboxFailed(long accountId, long mailboxId, Exception e) {
75 public void checkMailStarted(Context context, long accountId, long tag) {
78 public void checkMailFinished(Context context, long accountId, long mailboxId, long tag) {
81 public void sendPendingMessagesStarted(long accountId, long messageId)
    [all...]
GroupMessagingListener.java 55 synchronized public void listFoldersStarted(long accountId) {
57 l.listFoldersStarted(accountId);
62 synchronized public void listFoldersFailed(long accountId, String message) {
64 l.listFoldersFailed(accountId, message);
69 synchronized public void listFoldersFinished(long accountId) {
71 l.listFoldersFinished(accountId);
76 synchronized public void synchronizeMailboxStarted(long accountId, long mailboxId) {
78 l.synchronizeMailboxStarted(accountId, mailboxId);
83 synchronized public void synchronizeMailboxFinished(long accountId, long mailboxId,
86 l.synchronizeMailboxFinished(accountId, mailboxId
    [all...]
RefreshManager.java 70 * @param accountId ID of the account.
74 public void onRefreshStatusChanged(long accountId, long mailboxId);
79 * @param accountId ID of the account, or -1 if unknown.
83 public void onMessagingError(long accountId, long mailboxId, String message);
212 public boolean refreshMailboxList(long accountId) {
213 final Status status = mMailboxListStatus.get(accountId);
217 Log.d(Logging.LOG_TAG, "refreshMailboxList " + accountId);
220 notifyRefreshStatusChanged(accountId, -1);
221 mController.updateMailboxList(accountId);
230 public boolean isMailboxListStale(long accountId) {
    [all...]
ControllerResultUiThreadWrapper.java 61 public void loadAttachmentCallback(final MessagingException result, final long accountId,
70 mWrappee.loadAttachmentCallback(result, accountId, messageId, attachmentId,
77 public void loadMessageForViewCallback(final MessagingException result, final long accountId,
82 mWrappee.loadMessageForViewCallback(result, accountId, messageId, progress);
88 public void sendMailCallback(final MessagingException result, final long accountId,
93 mWrappee.sendMailCallback(result, accountId, messageId, progress);
99 public void serviceCheckMailCallback(final MessagingException result, final long accountId,
104 mWrappee.serviceCheckMailCallback(result, accountId, mailboxId, progress, tag);
110 public void updateMailboxCallback(final MessagingException result, final long accountId,
116 mWrappee.updateMailboxCallback(result, accountId, mailboxId, progress
    [all...]
ResourceHelper.java 59 /* package */ int getAccountColorIndex(long accountId) {
62 return Math.abs((int) ((accountId - 1) % mAccountColors.length));
68 public int getAccountColor(long accountId) {
69 return mAccountColors[getAccountColorIndex(accountId)];
76 public int getAccountColorId(long accountId) {
77 return mAccountColorArray.getResourceId(getAccountColorIndex(accountId),
84 public Paint getAccountColorPaint(long accountId) {
85 return mAccountColorPaints[getAccountColorIndex(accountId)];
MessageListContext.java 56 private MessageListContext(long accountId, long searchMailboxId, SearchParams searchParams) {
57 mAccountId = accountId;
70 long accountId = intent.getLongExtra(EmailActivity.EXTRA_ACCOUNT_ID, Account.NO_ACCOUNT);
76 Controller.getInstance(context).getSearchMailbox(accountId).mId;
77 return forSearch(accountId, searchMailboxId, new SearchParams(mailboxId, queryTerm));
79 if (accountId == Account.NO_ACCOUNT) {
80 accountId = Account.getDefaultAccountId(context);
81 if (accountId == Account.NO_ACCOUNT) {
86 mailboxId = (accountId == Account.ACCOUNT_ID_COMBINED_VIEW)
88 : Mailbox.findMailboxOfType(context, accountId, Mailbox.TYPE_INBOX)
    [all...]
Controller.java 273 public Mailbox getSearchMailbox(long accountId) {
274 Mailbox m = Mailbox.restoreMailboxOfType(mContext, accountId, Mailbox.TYPE_SEARCH);
277 m.mAccountKey = accountId;
342 public void updateMailboxList(final long accountId) {
346 final IEmailService service = getServiceForAccount(accountId);
350 service.updateFolderList(accountId);
358 mLegacyController.listFolders(accountId, mLegacyListener);
370 public void serviceCheckMail(final long accountId, final long mailboxId, final long tag) {
371 IEmailService service = getServiceForAccount(accountId);
378 mLegacyListener.checkMailFinished(mContext, accountId, mailboxId, tag)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
IAccountService.aidl 22 oneway void notifyLoginFailed(long accountId);
23 oneway void notifyLoginSucceeded(long accountId);
27 int getAccountColor(long accountId);
IEmailService.aidl 34 oneway void updateFolderList(long accountId);
36 boolean createFolder(long accountId, String name);
37 boolean deleteFolder(long accountId, String name);
38 boolean renameFolder(long accountId, String oldName, String newName);
46 oneway void hostChanged(long accountId);
54 void deleteAccountPIMData(long accountId);
59 int searchMessages(long accountId, in SearchParams params, long destMailboxId);
61 void sendMail(long accountId);
IPolicyService.aidl 22 void setAccountHoldFlag(long accountId, boolean newState);
23 void setAccountPolicy(long accountId, in Policy policy, String securityKey);
AccountServiceProxy.java 48 public void notifyLoginFailed(final long accountId) {
52 mService.notifyLoginFailed(accountId);
58 public void notifyLoginSucceeded(final long accountId) {
62 mService.notifyLoginSucceeded(accountId);
81 public int getAccountColor(final long accountId) {
85 mReturn = mService.getAccountColor(accountId);
  /frameworks/base/drm/java/android/drm/
ProcessedData.java 36 * @param accountId Account ID of the user.
38 /* package */ ProcessedData(byte[] data, String accountId) {
40 mAccountId = accountId;
47 * @param accountId Account ID of the user.
50 /* package */ ProcessedData(byte[] data, String accountId, String subscriptionId) {
52 mAccountId = accountId;
  /packages/apps/Email/tests/src/com/android/email/activity/
MailboxFinderTest.java 108 private long createMailbox(long accountId, int mailboxType) {
111 box.mAccountKey = accountId;
122 private void createAndStartFinder(final long accountId, final int mailboxType)
127 mMailboxFinder = new MailboxFinder(mProviderContext, accountId, mailboxType,
152 final long accountId = createAccount(true);
154 createAndStartFinder(accountId, Mailbox.TYPE_INBOX);
186 final long accountId = createAccount(false);
187 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_INBOX);
189 createAndStartFinder(accountId, Mailbox.TYPE_INBOX);
198 assertEquals(accountId, mCallback.mAccountId)
    [all...]
MessagesAdapterTests.java 53 private long createMailbox(long accountId, int type) {
54 Mailbox box = ProviderTestUtils.setupMailbox("name", accountId, false, mProviderContext);
60 private MessagesAdapter.MessagesCursor getLoaderResult(long accountId, long mailboxId) {
64 MessageListContext.forMailbox(accountId, mailboxId)));
71 final long accountId = createAccount(false);
72 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_MAIL);
74 MessagesAdapter.MessagesCursor result = getLoaderResult(accountId, mailboxId);
76 assertEquals(accountId, result.mAccount.mId);
86 final long accountId = createAccount(true);
87 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_MAIL)
    [all...]
  /packages/apps/Email/src/com/android/email/service/
PolicyService.java 38 public void policiesRequired(long accountId) {
39 mSecurityPolicy.policiesRequired(accountId);
42 public void policiesUpdated(long accountId) {
43 mSecurityPolicy.policiesUpdated(accountId);
46 public void setAccountHoldFlag(long accountId, boolean newState) {
47 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState);
66 public void setAccountPolicy(long accountId, Policy policy, String securityKey) {
67 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey);
MailService.java 127 * @param accountId the account whose pending mail should be sent
129 public static void actionSendPendingMail(Context context, long accountId) {
133 i.putExtra(MailService.EXTRA_ACCOUNT, accountId);
151 final long accountId = intent.getLongExtra(EXTRA_ACCOUNT, -1);
171 Log.d(LOG_TAG, "action: check mail for id=" + accountId);
173 if (accountId >= 0) {
174 setWatchdog(accountId, alarmManager);
179 if (accountId != -1 && ContentResolver.getMasterSyncAutomatically()) {
182 if (report.accountId == accountId) {
    [all...]
EmailServiceUtils.java 96 public boolean createFolder(long accountId, String name) throws RemoteException {
100 public boolean deleteFolder(long accountId, String name) throws RemoteException {
104 public void hostChanged(long accountId) throws RemoteException {
113 public boolean renameFolder(long accountId, String oldName, String newName)
133 public void updateFolderList(long accountId) throws RemoteException {
140 public void deleteAccountPIMData(long accountId) throws RemoteException {
143 public int searchMessages(long accountId, SearchParams searchParams, long destMailboxId) {
157 public void sendMail(long accountId) throws RemoteException {
  /packages/apps/Email/tests/src/com/android/email/
ResourceHelperTest.java 35 for (long accountId = -1; accountId < 100; accountId++) {
37 Integer color = mResourceHelper.getAccountColor(accountId);
38 Paint paint = mResourceHelper.getAccountColorPaint(accountId);
MessageListContextTests.java 27 long accountId = 123;
29 MessageListContext original = MessageListContext.forMailbox(accountId, mailboxId);
41 long accountId = 123;
44 MessageListContext original = MessageListContext.forSearch(accountId, mailboxId, params);
  /frameworks/av/drm/common/
DrmRights.cpp 23 const String8& accountId, const String8& subscriptionId) :
25 mAccountId(accountId),
36 const String8& accountId, const String8& subscriptionId) :
39 mAccountId(accountId),
  /packages/apps/Email/src/com/android/email/activity/
RecentMailboxManager.java 96 public EmailAsyncTask<Void, Void, Void> touch(long accountId, long mailboxId) {
97 return fireAndForget(accountId, mailboxId, sClock.getTime());
105 * @param accountId The ID of the account to load the recent list.
109 public ArrayList<Long> getMostRecent(long accountId, boolean withExclusions) {
110 ensureDefaultsInitialized(accountId, sClock.getTime());
117 new String[] { Long.toString(accountId), Integer.toString(LIMIT_RESULTS) },
131 final long accountId, final long mailboxId, final long time) {
135 ensureDefaultsInitialized(accountId, time);
136 touchMailboxSynchronous(accountId, mailboxId, time);
141 private void touchMailboxSynchronous(long accountId, long mailboxId, long time)
    [all...]
EmailActivity.java 85 * @param accountId If -1, default account will be used.
87 public static Intent createOpenAccountIntent(Activity fromActivity, long accountId) {
89 if (accountId != -1) {
90 i.putExtra(EXTRA_ACCOUNT_ID, accountId);
98 * @param accountId must not be -1.
102 public static Intent createOpenMailboxIntent(Activity fromActivity, long accountId,
104 if (accountId == -1 || mailboxId == -1) {
108 i.putExtra(EXTRA_ACCOUNT_ID, accountId);
116 * @param accountId must not be -1.
121 public static Intent createOpenMessageIntent(Activity fromActivity, long accountId,
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null);
59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
61 return setupMailbox(name, accountId, saveIt, context, type, null);
64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
69 box.mAccountKey = accountId;
86 public static Message setupMessage(String name, long accountId, long mailboxId,
89 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true);
95 public static Message setupMessage(String name, long accountId, long mailboxId,
101 message.mAccountKey = accountId;
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null);
59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
61 return setupMailbox(name, accountId, saveIt, context, type, null);
64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
69 box.mAccountKey = accountId;
86 public static Message setupMessage(String name, long accountId, long mailboxId,
89 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true);
95 public static Message setupMessage(String name, long accountId, long mailboxId,
101 message.mAccountKey = accountId;
    [all...]
  /frameworks/av/include/drm/
DrmRights.h 40 * @param[in] accountId Account Id of the user
45 const String8& accountId = String8("_NO_USER"),
53 * @param[in] accountId Account Id of the user
58 const String8& accountId = String8("_NO_USER"),

Completed in 1756 milliseconds

1 2 3 4 5