Searched defs:accountId (Results 1 - 25 of 56) sorted by relevance

123

/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DPhoneAccountUtils.java54 public static PhoneAccountHandle getAccount(String componentString, String accountId) { argument
55 if (TextUtils.isEmpty(componentString) || TextUtils.isEmpty(accountId)) {
59 return new PhoneAccountHandle(componentName, accountId);
H A DDefaultVoicemailNotifier.java220 public final String accountId; field in class:DefaultVoicemailNotifier.NewCall
229 String accountId,
236 this.accountId = accountId;
223 NewCall( Uri callsUri, Uri voicemailUri, String number, int numberPresentation, String accountComponentName, String accountId, String transcription) argument
/packages/apps/Email/src/com/android/email2/ui/
H A DMailActivityEmail.java98 private Intent getViewIntent(long accountId, long mailboxId) { argument
102 EmailProvider.uiUri("uiaccount", accountId),
107 LogUtils.e(LOG_TAG, "Null account cursor for mAccountId %d", accountId);
127 accountId, mailboxId);
137 accountId, mailboxId);
/packages/apps/Email/tests/src/com/android/email/service/
H A DEmailBroadcastProcessorServiceTests.java72 private int getAccountFlags(long accountId) throws NoSuchElementException { argument
73 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DAccountServiceProxy.java47 public int getAccountColor(final long accountId) { argument
51 mReturn = mService.getAccountColor(accountId);
H A DPolicyServiceProxy.java71 public void setAccountPolicy(final long accountId, final Policy policy, argument
73 setAccountPolicy2(accountId, policy, securityKey, true /* notify */);
77 public void setAccountPolicy2(final long accountId, final Policy policy, argument
82 mService.setAccountPolicy2(accountId, policy, securityKey, notify);
151 public static void setAccountPolicy(Context context, long accountId, Policy policy, argument
153 setAccountPolicy2(context, accountId, policy, securityKey, true /* notify */);
156 public static void setAccountPolicy2(Context context, long accountId, Policy policy, argument
159 new PolicyServiceProxy(context).setAccountPolicy2(accountId, policy, securityKey,
H A DEmailServiceProxy.java111 * @param accountId the id of the account in question
117 public void loadAttachment(final IEmailServiceCallback cb, final long accountId, argument
124 mService.loadAttachment(cb, accountId, attachmentId, background);
205 * @param accountId the id of the account whose folder list is to be updated
208 public void updateFolderList(final long accountId) throws RemoteException { argument
212 mService.updateFolderList(accountId);
281 * @param accountId the id of the account to be searched
287 public int searchMessages(final long accountId, final SearchParams searchParams, argument
292 mReturn = mService.searchMessages(accountId, searchParams, destMailboxId);
306 * @param accountId th
309 sendMail(final long accountId) argument
324 pushModify(final long accountId) argument
334 sync(final long accountId, final Bundle syncExtras) argument
[all...]
/packages/apps/Email/provider_src/com/android/email/
H A DResourceHelper.java59 /* package */ int getAccountColorIndex(long accountId) { argument
62 return Math.abs((int) ((accountId - 1) % mAccountColors.length));
68 public int getAccountColor(long accountId) { argument
69 return mAccountColors[getAccountColorIndex(accountId)];
76 public int getAccountColorId(long accountId) { argument
77 return mAccountColorArray.getResourceId(getAccountColorIndex(accountId),
84 public Paint getAccountColorPaint(long accountId) { argument
85 return mAccountColorPaints[getAccountColorIndex(accountId)];
H A DNotificationController.java28 void showLoginFailedNotificationSynchronous(long accountId, boolean incoming); argument
29 void cancelLoginFailedNotification(long accountId); argument
36 void showPasswordExpiringNotificationSynchronous(long accountId); argument
37 void showPasswordExpiredNotificationSynchronous(long accountId); argument
H A DLegacyConversions.java79 final Message message, final long accountId, final long mailboxId)
136 localMessage.mAccountKey = accountId;
320 final Attachment localAttachment, long accountId)
325 final File saveIn = AttachmentUtilities.getAttachmentDirectory(context, accountId);
330 final File saveAs = AttachmentUtilities.getAttachmentFilename(context, accountId,
351 accountId, attachmentId).toString();
78 updateMessageFields(final EmailContent.Message localMessage, final Message message, final long accountId, final long mailboxId) argument
319 saveAttachmentBody(final Context context, final Part part, final Attachment localAttachment, long accountId) argument
/packages/apps/Email/src/com/android/email/activity/setup/
H A DHeadlessAccountSettingsLoader.java24 public static Uri getOutgoingSettingsUri(long accountId) { argument
27 IntentUtilities.setAccountId(baseUri, accountId);
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DEmailContentSetupUtils.java54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, argument
56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null);
59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, argument
61 return setupMailbox(name, accountId, saveIt, context, type, null);
64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, argument
69 box.mAccountKey = accountId;
86 public static Message setupMessage(String name, long accountId, long mailboxId, argument
89 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true);
95 public static Message setupMessage(String name, long accountId, long mailboxId, argument
101 message.mAccountKey = accountId;
[all...]
/packages/apps/Email/provider_src/com/android/email/provider/
H A DWidgetProvider.java92 long accountId = loadAccountIdPref(context, widgetId);
95 if (accountId == Account.NO_ACCOUNT || mailboxId == Mailbox.NO_MAILBOX) {
96 LogUtils.d(LOG_TAG, "Couldn't load account or mailbox. accountId: %d" +
97 " mailboxId: %d widgetId %d", accountId, mailboxId, widgetId);
101 accountId = migrateLegacyWidgetAccountId(accountId);
102 mailboxId = migrateLegacyWidgetMailboxId(mailboxId, accountId);
105 final com.android.mail.providers.Account uiAccount = getAccount(context, accountId);
122 private static long migrateLegacyWidgetAccountId(long accountId) { argument
123 if (accountId
133 migrateLegacyWidgetMailboxId(long mailboxId, long accountId) argument
142 getAccount(Context context, long accountId) argument
[all...]
/packages/apps/Exchange/src/com/android/exchange/service/
H A DAbstractSyncAdapterService.java110 public static Intent createAccountSettingsIntent(long accountId, String accountName) { argument
113 IntentUtilities.setAccountId(builder, accountId);
118 protected void showAuthNotification(long accountId, String accountName) { argument
122 createAccountSettingsIntent(accountId, accountName),
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMailboxUtilities.java165 private static void setAccountSyncAdapterFlag(Context context, long accountId, boolean start) { argument
166 Account account = Account.restoreAccountWithId(context, accountId);
179 * @param accountId the account that is starting to change its mailbox list
181 public static void startMailboxChanges(Context context, long accountId) { argument
182 setAccountSyncAdapterFlag(context, accountId, true);
188 * @param accountId the account that is finished with changes to its mailbox list
190 public static void endMailboxChanges(Context context, long accountId) { argument
191 setAccountSyncAdapterFlag(context, accountId, false);
198 * @param accountId the account whose mailboxes are to be checked
201 public static void checkMailboxConsistency(Context context, long accountId) { argument
248 setupHierarchicalNames(Context context, long accountId) argument
[all...]
H A DMessageChangeLogTable.java73 * @param accountId The account we want to update.
77 final String accountId) {
79 args[0] = accountId;
100 * @param accountId The account we want to update.
104 final String[] projection, final String accountId) {
105 final String[] args = { accountId, STATUS_PROCESSING_STRING };
194 * @param accountId The account we're interested in.
198 final String[] projection, final long accountId) {
199 final String accountIdString = String.valueOf(accountId);
76 startProcessing(final ContentResolver cr, final Uri uri, final String accountId) argument
103 getRowsToProcess(final ContentResolver cr, final Uri uri, final String[] projection, final String accountId) argument
197 getCursor(final ContentResolver cr, final Uri uri, final String[] projection, final long accountId) argument
H A DMessageMove.java116 * @param accountId The account we want to update.
119 public static List<MessageMove> getMoves(final Context context, final long accountId) { argument
121 final Cursor c = getCursor(cr, CONTENT_URI, ProjectionMoveQuery.PROJECTION, accountId);
H A DMessageStateChange.java108 * @param accountId The account we want to update.
112 public static List<MessageStateChange> getChanges(final Context context, final long accountId, argument
115 final Cursor c = getCursor(cr, CONTENT_URI, ProjectionChangeQuery.PROJECTION, accountId);
/packages/apps/Email/provider_src/com/android/email/mail/
H A DStore.java203 protected static void updateMailbox(Mailbox mailbox, long accountId, String mailboxPath, argument
205 mailbox.mAccountKey = accountId;
/packages/apps/Email/provider_src/com/android/email/mail/internet/
H A DAuthenticationCache.java30 CacheEntry(long accountId, String providerId, String accessToken, String refreshToken, argument
32 mAccountId = accountId;
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DAccountPreferences.java65 public AccountPreferences(final Context context, final String accountId) { argument
66 super(context, buildSharedPrefsName(accountId));
69 private static String buildSharedPrefsName(final String accountId) { argument
70 return PREFS_NAME_PREFIX + '-' + accountId;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DTransactionContext.java55 public void rawContactInserted(long rawContactId, long accountId) { argument
57 mInsertedRawContactsAccounts.put(rawContactId, accountId);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DMatchScore.java38 public MatchScore(long rawContactId, long contactId, long accountId) { argument
41 this.mAccountId = accountId;
50 public void reset(long rawContactId, long contactId, long accountId) { argument
53 this.mAccountId = accountId;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DAttachmentUtilities.java141 public static Uri getAttachmentUri(long accountId, long id) { argument
146 .appendPath(Long.toString(accountId))
153 public static Uri getAttachmentThumbnailUri(long accountId, long id, long width, long height) { argument
158 .appendPath(Long.toString(accountId))
173 public static File getAttachmentFilename(Context context, long accountId, long attachmentId) { argument
174 return new File(getAttachmentDirectory(context, accountId), Long.toString(attachmentId));
184 public static File getAttachmentDirectory(Context context, long accountId) { argument
185 return context.getDatabasePath(accountId + ".db_att");
297 * @param accountId the account for the message
300 public static void deleteAllAttachmentFiles(Context context, long accountId, lon argument
325 deleteAllCachedAttachmentFiles(Context context, long accountId, long messageId) argument
353 deleteAllMailboxAttachmentFiles(Context context, long accountId, long mailboxId) argument
374 deleteAllAccountAttachmentFiles(Context context, long accountId) argument
[all...]
H A DIntentUtilities.java57 public static void setAccountId(Uri.Builder b, long accountId) { argument
58 if (accountId != -1) {
59 b.appendQueryParameter(ACCOUNT_ID_PARAM, Long.toString(accountId));

Completed in 297 milliseconds

123