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.java146 final Uri accountUri = extras.getParcelable(Utils.EXTRA_ACCOUNT_URI); in onReceive() local
150 if (accountUri == null && Utils.isEmpty(folderUri) && !updateAllWidgets) { in onReceive()
164 if (accountUri != null && in onReceive()
165 TextUtils.equals(accountUri.toString(), parsedInfo[0])) { in onReceive()
213 String accountUri = null; in doInBackground() local
219 accountUri = parsedInfo[0]; in doInBackground()
222 accountUri = accountFolder; in doInBackground()
232 if (!TextUtils.isEmpty(accountUri)) { in doInBackground()
233 account = getAccountObject(mContext, accountUri); in doInBackground()
266 protected Account getAccountObject(Context context, String accountUri) { in getAccountObject() argument
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java249 final String accountUri = getMockAccountUri(accountId); in createMessageDetailsMap() local
264 messageMap.put(MessageColumns.MESSAGE_ACCOUNT_URI, accountUri); in createMessageDetailsMap()
307 final String accountUri = getMockAccountUri(accountId); in createAccountDetailsMap() local
315 accountMap.put(AccountColumns.URI, Uri.parse(accountUri)); in createAccountDetailsMap()
333 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress1@custom.com", in createAccountDetailsMap()
335 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress2@custom.com", in createAccountDetailsMap()
341 accountMap.put(AccountColumns.FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap()
342 accountMap.put(AccountColumns.FULL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap()
343 accountMap.put(AccountColumns.ALL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap()
344 accountMap.put(AccountColumns.SEARCH_URI, Uri.parse(accountUri + "/search")); in createAccountDetailsMap()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMailAppProvider.java398 static public Account getAccountFromAccountUri(Uri accountUri) { in getAccountFromAccountUri() argument
402 AccountCacheEntry entry = provider.mAccountCache.get(accountUri); in getAccountFromAccountUri()
451 final Uri accountUri = account.uri; in onLoadComplete() local
452 newQueryUriMap.add(accountUri); in onLoadComplete()
462 mAccountCache.remove(accountUri); in onLoadComplete()
474 for (Uri accountUri : previousQueryUriSet) { in onLoadComplete()
475 LogUtils.d(LOG_TAG, "Removing account %s", accountUri); in onLoadComplete()
476 mAccountCache.remove(accountUri); in onLoadComplete()
DConversation.java164 public Uri accountUri; field in Conversation
235 dest.writeParcelable(accountUri, 0); in writeToParcel()
268 accountUri = in.readParcelable(null); in Conversation()
347 accountUri = !TextUtils.isEmpty(account) ? Uri.parse(account) : null; in Conversation()
397 accountUri = other.accountUri; in Conversation()
423 boolean spam, boolean phishing, boolean muted, Uri accountUri, in create() argument
451 conversation.accountUri = accountUri; in create()
DMessage.java174 public Uri accountUri; field in Message
250 dest.writeParcelable(accountUri, 0); in writeToParcel()
284 accountUri = in.readParcelable(null); in Message()
356 accountUri = !TextUtils.isEmpty(accountUriString) ? Uri.parse(accountUriString) : null; in Message()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java170 Uri accountUri = null; in onActionItemClicked() local
172 if (accountUri == null) { in onActionItemClicked()
173 accountUri = conv.accountUri; in onActionItemClicked()
174 } else if (!accountUri.equals(conv.accountUri)) { in onActionItemClicked()
184 acct = MailAppProvider.getAccountFromAccountUri(accountUri); in onActionItemClicked()
DMessageFooterView.java91 public void bind(MessageHeaderItem headerItem, Uri accountUri, boolean measureOnly) { in bind() argument
92 mAccountUri = accountUri; in bind()
DEmlMessageViewFragment.java125 public static EmlMessageViewFragment newInstance(Uri emlFileUri, Uri accountUri) { in newInstance() argument
129 args.putParcelable(ARG_ACCOUNT_URI, accountUri); in newInstance()
DMessageAttachmentBar.java110 public void render(Attachment attachment, Uri accountUri, boolean loaderResult) { in render() argument
112 mAccountUri = accountUri; in render()
/packages/services/Telephony/src/com/android/phone/sip/
DSipSharedPreferences.java46 public void setPrimaryAccount(String accountUri) { in setPrimaryAccount() argument
48 editor.putString(KEY_PRIMARY_ACCOUNT, accountUri); in setPrimaryAccount()
61 public boolean isPrimaryAccount(String accountUri) { in isPrimaryAccount() argument
62 return accountUri.equals( in isPrimaryAccount()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java172 final Uri accountUri = Uri.parse(notificationParts[0]); in loadNotificationMap() local
174 accountUri, UIProvider.ACCOUNTS_PROJECTION, null, null, null); in loadNotificationMap()
296 final Uri accountUri, final FolderUri folderUri) { in resendNotifications() argument
315 if (accountUri != null && !Objects.equal(accountUri, notification.account.uri) && in resendNotifications()
319 notification.account.uri, folder.folderUri, accountUri, folderUri); in resendNotifications()
/packages/apps/UnifiedEmail/src/com/android/mail/
DMailIntentService.java79 final Uri accountUri = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT_URI); in onHandleIntent() local
82 NotificationUtils.resendNotifications(this, false, accountUri, in onHandleIntent()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DFromAddressSpinner.java103 if (refMessage != null && refMessage.accountUri != null) { in initialize()
107 if (account.uri.equals(refMessage.accountUri)) { in initialize()
DComposeActivity.java940 message.accountUri = null; in createMessage()
1018 if (refMessage.accountUri != null) { in getReplyFromAccountForReply()
1022 if (from.account.uri.equals(refMessage.accountUri)) { in getReplyFromAccountForReply()
/packages/apps/Email/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.java1982 final Uri accountUri = Uri.parse(arg); in call() local
1983 final long accountId = Long.parseLong(accountUri.getPathSegments().get(1)); in call()
/packages/apps/Email/src/com/android/email/service/
DEmailServiceUtils.java332 final Uri accountUri = ContentUris.withAppendedId(Account.CONTENT_URI, account.mId); in updateAccountManagerType() local
333 resolver.update(accountUri, accountValues, null, null); in updateAccountManagerType()
453 resolver.update(accountUri, accountValues, null, null); in updateAccountManagerType()
/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()