/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | PhoneAccountUtils.java | 57 @Nullable String accountId) { 58 if (TextUtils.isEmpty(componentString) || TextUtils.isEmpty(accountId)) { 65 return new PhoneAccountHandle(componentName, accountId); 56 getAccount(@ullable String componentString, @Nullable String accountId) argument
|
H A D | CallLogNotificationsHelper.java | 177 public final String accountId; field in class:CallLogNotificationsHelper.NewCall 188 String accountId, 197 this.accountId = accountId; 182 NewCall( Uri callsUri, Uri voicemailUri, String number, int numberPresentation, String accountComponentName, String accountId, String transcription, String countryIso, long dateMs) argument
|
/packages/apps/Email/src/com/android/email2/ui/ |
H A D | MailActivityEmail.java | 98 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 D | EmailBroadcastProcessorServiceTests.java | 72 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 D | AccountServiceProxy.java | 47 public int getAccountColor(final long accountId) { argument 51 mReturn = mService.getAccountColor(accountId);
|
H A D | PolicyServiceProxy.java | 71 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 D | EmailServiceProxy.java | 111 * @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 D | ResourceHelper.java | 59 /* 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 D | NotificationController.java | 28 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 D | LegacyConversions.java | 79 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
|
H A D | AttachmentInfo.java | 196 * @param accountId the account associated with the attachment (or 0 if we don't need to 200 public Intent getAttachmentIntent(Context context, long accountId) { argument 201 Uri contentUri = getUriForIntent(context, accountId); 209 protected Uri getUriForIntent(Context context, long accountId) { argument 210 Uri contentUri = AttachmentUtilities.getAttachmentUri(accountId, mId); 211 if (accountId > 0) {
|
H A D | SecurityPolicy.java | 458 public static void setAccountHoldFlag(Context context, long accountId, boolean newState) { argument 459 Account account = Account.restoreAccountWithId(context, accountId); 496 * @param accountId the account for which sync cannot proceed 498 public void policiesRequired(long accountId) { argument 499 Account account = Account.restoreAccountWithId(mContext, accountId); 597 public void setAccountPolicy(long accountId, Policy policy, String securityKey, argument 599 Account account = Account.restoreAccountWithId(mContext, accountId); 638 Uri uri = EmailProvider.uiUri("uiaccountdata", accountId); 727 long accountId = c.getLong(EmailContent.ID_PROJECTION_COLUMN); 728 Uri uri = EmailProvider.uiUri("uiaccount", accountId); [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | HeadlessAccountSettingsLoader.java | 24 public static Uri getOutgoingSettingsUri(long accountId) { argument 27 IntentUtilities.setAccountId(baseUri, accountId);
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | WidgetProvider.java | 92 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/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | MailboxUtilities.java | 165 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 D | MessageChangeLogTable.java | 73 * @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 D | MessageMove.java | 116 * @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 D | MessageStateChange.java | 108 * @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 D | Store.java | 203 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 D | AuthenticationCache.java | 30 CacheEntry(long accountId, String providerId, String accessToken, String refreshToken, argument 32 mAccountId = accountId;
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
H A D | AccountPreferences.java | 65 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/aggregation/util/ |
H A D | MatchScore.java | 38 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 D | AttachmentUtilities.java | 141 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 D | IntentUtilities.java | 57 public static void setAccountId(Uri.Builder b, long accountId) { argument 58 if (accountId != -1) { 59 b.appendQueryParameter(ACCOUNT_ID_PARAM, Long.toString(accountId));
|
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | EmailServiceStub.java | 123 public void loadAttachment(final IEmailServiceCallback cb, final long accountId, argument 285 public void updateFolderList(final long accountId) throws RemoteException { argument 286 final Account account = Account.restoreAccountWithId(mContext, accountId); 288 LogUtils.e(LogUtils.TAG, "Account %d not found in updateFolderList", accountId); 300 if (Mailbox.findMailboxOfType(mContext, accountId, type) == Mailbox.NO_MAILBOX) { 301 final Mailbox mailbox = Mailbox.newSystemMailbox(mContext, accountId, type); 352 mContext, accountId, mailboxId); 405 public int searchMessages(final long accountId, final SearchParams params, argument 413 public void pushModify(final long accountId) throws RemoteException { argument 414 LogUtils.e(Logging.LOG_TAG, "pushModify invalid for account type for %d", accountId); 418 sync(final long accountId, final Bundle syncExtras) argument 424 sendMail(final long accountId) argument 428 sendMailImpl(final Context context, final long accountId) argument [all...] |