Home
last modified time | relevance | path

Searched refs:accountUri (Results 1 – 18 of 18) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DBaseWidgetProvider.java148 final Uri accountUri = extras.getParcelable(Utils.EXTRA_ACCOUNT_URI); in onReceive() local
152 if (accountUri == null && Utils.isEmpty(folderUri) && !updateAllWidgets) { in onReceive()
166 if (accountUri != null && in onReceive()
167 TextUtils.equals(accountUri.toString(), parsedInfo[0])) { in onReceive()
215 String accountUri = null; in doInBackground() local
221 accountUri = parsedInfo[0]; in doInBackground()
224 accountUri = accountFolder; in doInBackground()
234 if (!TextUtils.isEmpty(accountUri)) { in doInBackground()
235 account = getAccountObject(mContext, accountUri); in doInBackground()
272 protected Account getAccountObject(Context context, String accountUri) { in getAccountObject() argument
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java248 final String accountUri = getMockAccountUri(accountId); in createMessageDetailsMap() local
263 messageMap.put(MessageColumns.MESSAGE_ACCOUNT_URI, accountUri); in createMessageDetailsMap()
302 final String accountUri = getMockAccountUri(accountId); in createAccountDetailsMap() local
312 accountMap.put(AccountColumns.URI, Uri.parse(accountUri)); in createAccountDetailsMap()
330 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress1@custom.com", in createAccountDetailsMap()
332 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress2@custom.com", in createAccountDetailsMap()
338 accountMap.put(AccountColumns.FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap()
339 accountMap.put(AccountColumns.FULL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap()
340 accountMap.put(AccountColumns.ALL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap()
341 accountMap.put(AccountColumns.SEARCH_URI, Uri.parse(accountUri + "/search")); in createAccountDetailsMap()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DConversation.java125 public final Uri accountUri; field in Conversation
196 dest.writeParcelable(accountUri, 0); in writeToParcel()
222 accountUri = in.readParcelable(null); in Conversation()
299 accountUri = !TextUtils.isEmpty(account) ? Uri.parse(account) : null; in Conversation()
337 accountUri = other.accountUri; in Conversation()
352 boolean spam, boolean phishing, boolean muted, Uri accountUri, in Conversation() argument
376 this.accountUri = accountUri; in Conversation()
493 public Builder setAccountUri(Uri accountUri) { in setAccountUri() argument
494 mAccountUri = accountUri; in setAccountUri()
DMailAppProvider.java425 static public Account getAccountFromAccountUri(Uri accountUri) { in getAccountFromAccountUri() argument
429 AccountCacheEntry entry = provider.mAccountCache.get(accountUri); in getAccountFromAccountUri()
478 final Uri accountUri = account.uri; in onLoadComplete() local
479 newQueryUriSet.add(accountUri); in onLoadComplete()
490 mAccountCache.remove(accountUri); in onLoadComplete()
502 for (Uri accountUri : previousQueryUriSet) { in onLoadComplete()
503 LogUtils.d(LOG_TAG, "Removing account %s", accountUri); in onLoadComplete()
504 mAccountCache.remove(accountUri); in onLoadComplete()
DMessage.java185 public Uri accountUri; field in Message
292 dest.writeParcelable(accountUri, 0); in writeToParcel()
328 accountUri = in.readParcelable(null); in Message()
406 accountUri = !TextUtils.isEmpty(accountUriString) ? Uri.parse(accountUriString) : null; in Message()
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java611 final Uri accountUri = EmailProvider.uiUri("uiaccount", accountId); in refreshNotificationsForAccountInternal() local
647 intent.putExtra(UIProvider.UpdateNotificationExtras.EXTRA_ACCOUNT, accountUri); in refreshNotificationsForAccountInternal()
663 final Uri accountUri = in handleUpdateNotificationIntent() local
674 final Cursor accountCursor = contentResolver.query(accountUri, in handleUpdateNotificationIntent()
678 LogUtils.e(LOG_TAG, "Null account cursor for account " + accountUri); in handleUpdateNotificationIntent()
693 + accountUri); in handleUpdateNotificationIntent()
701 LogUtils.e(LOG_TAG, "Null folder cursor for account " + accountUri + ", mailbox " in handleUpdateNotificationIntent()
711 LogUtils.e(LOG_TAG, "Empty folder cursor for account " + accountUri + ", mailbox " in handleUpdateNotificationIntent()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java184 Uri accountUri = null; in onActionItemClicked() local
186 if (accountUri == null) { in onActionItemClicked()
187 accountUri = conv.accountUri; in onActionItemClicked()
188 } else if (!accountUri.equals(conv.accountUri)) { in onActionItemClicked()
198 acct = MailAppProvider.getAccountFromAccountUri(accountUri); in onActionItemClicked()
DEmlMessageViewFragment.java145 public static EmlMessageViewFragment newInstance(Uri emlFileUri, Uri accountUri) { in newInstance() argument
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java231 final Uri accountUri = Uri.parse(notificationParts[0]); in loadNotificationMap() local
233 accountUri, UIProvider.ACCOUNTS_PROJECTION, null, null, null); in loadNotificationMap()
237 LogUtils.contentUriToString(accountUri)); in loadNotificationMap()
365 final Uri accountUri, final FolderUri folderUri, in resendNotifications() argument
369 accountUri == null ? null : LogUtils.sanitizeName(LOG_TAG, accountUri.toString()), in resendNotifications()
387 if (accountUri != null && !Objects.equal(accountUri, notification.account.uri) && in resendNotifications()
391 notification.account.uri, folder.folderUri, accountUri, folderUri); in resendNotifications()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAccountLoadCallbacks.java30 public AccountLoadCallbacks(Context context, Uri accountUri, in AccountLoadCallbacks() argument
33 mAccountUri = accountUri; in AccountLoadCallbacks()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DFromAddressSpinner.java102 if (refMessage != null && refMessage.accountUri != null) { in initialize()
106 if (account.uri.equals(refMessage.accountUri)) { in initialize()
DComposeActivity.java1172 message.accountUri = null; in createMessage()
1252 if (refMessage.accountUri != null) { in getReplyFromAccountForReply()
1256 if (from.account.uri.equals(refMessage.accountUri)) { in getReplyFromAccountForReply()
/packages/apps/UnifiedEmail/src/com/android/mail/
DMailIntentService.java86 final Uri accountUri = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT_URI); in onHandleIntent() local
93 this, false, accountUri, folderUri, getContactFetcher()); in onHandleIntent()
/packages/apps/Email/provider_src/com/android/email/provider/
DWidgetProvider.java61 Context context, String accountUri) { in getAccountObject() argument
63 final Cursor accountCursor = resolver.query(Uri.parse(accountUri), in getAccountObject()
DEmailProvider.java2286 final Uri accountUri = Uri.parse(arg); in call() local
2287 final long accountId = Long.parseLong(accountUri.getPathSegments().get(1)); in call()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
DMockUiProviderTests.java53 final Uri accountUri = MockUiProvider.getAccountsUri(); in testTraverseContentProvider() local
56 traverseUri(accountUri); in testTraverseContentProvider()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java360 final Uri accountUri = ContentUris.withAppendedId(Account.CONTENT_URI, account.mId); in updateAccountManagerType() local
361 resolver.update(accountUri, accountValues, null, null); in updateAccountManagerType()
481 resolver.update(accountUri, accountValues, null, null); in updateAccountManagerType()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1566 Uri accountUri = Uri.parse(accountHandle.getId());
1567 if (accountUri.getScheme() != null &&
1568 accountUri.getScheme().equals(PhoneAccount.SCHEME_SIP)) {
1570 accountUri.getSchemeSpecificPart(),