/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 56 public final String accountName; field in ContactListFilter 61 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, in ContactListFilter() argument 65 this.accountName = accountName; in ContactListFilter() 74 public static ContactListFilter createAccountFilter(String accountType, String accountName, in createAccountFilter() argument 77 accountName, dataSet, icon); in createAccountFilter() 104 + " " + accountName; in toString() 111 int res = accountName.compareTo(another.accountName); in compareTo() 129 code = code * 31 + accountName.hashCode(); in hashCode() 149 || !TextUtils.equals(accountName, otherFilter.accountName) in equals() 169 .putString(KEY_ACCOUNT_NAME, filter == null ? null : filter.accountName) in storeToPreferences() [all …]
|
D | CustomContactListFilterActivity.java | 253 public static GroupDelta fromSettings(ContentResolver resolver, String accountName, in fromSettings() argument 256 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName) in fromSettings() 267 values.put(Settings.ACCOUNT_NAME, accountName); in fromSettings() 376 String accountName = this.getAsString(Settings.ACCOUNT_NAME); in buildDiff() local 384 selectionArgs = new String[] {accountName, accountType}; in buildDiff() 387 selectionArgs = new String[] {accountName, accountType, dataSet}; in buildDiff() 465 public AccountDisplay(ContentResolver resolver, String accountName, String accountType, in AccountDisplay() argument 467 mName = accountName; in AccountDisplay()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/ |
D | ExchangeDirectoryProvider.java | 108 String accountName, String displayName) { in GalContactRow() argument 124 put(RawContacts.ACCOUNT_NAME, accountName); in GalContactRow() 143 long contactId, String lookupKey, String accountName, String displayName, in addEmailAddress() argument 147 galProjection, contactId, lookupKey, accountName, displayName); in addEmailAddress() 156 String lookupKey, String accountName, String displayName, int type, String number) { in addPhoneRow() argument 159 projection, contactId, lookupKey, accountName, displayName); in addPhoneRow() 168 long contactId, String lookupKey, String accountName, String displayName, in addNameRow() argument 171 galProjection, contactId, lookupKey, accountName, displayName); in addNameRow() 185 /*package*/ long getAccountIdByName(Context context, String accountName) { in getAccountIdByName() argument 186 Long accountId = mAccountIdMap.get(accountName); in getAccountIdByName() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | BookmarksLoader.java | 54 public BookmarksLoader(Context context, String accountType, String accountName) { in BookmarksLoader() argument 55 super(context, addAccount(Bookmarks.CONTENT_URI_DEFAULT_FOLDER, accountType, accountName), in BookmarksLoader() 58 mAccountName = accountName; in BookmarksLoader() 66 static Uri addAccount(Uri uri, String accountType, String accountName) { in addAccount() argument 68 appendQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME, accountName).build(); in addAccount()
|
D | AddBookmarkPage.java | 153 account.accountType, account.accountName); in getUriForFolder() 408 setAccount(info.accountName, info.accountType); 419 && TextUtils.equals(info.lastUsedAccountName, info.accountName) 442 void setAccount(String accountName, String accountType) { in setAccount() argument 445 if (TextUtils.equals(account.accountName, accountName) in setAccount() 1030 String accountName, accountType; field in AddBookmarkPage.BookmarkAccount 1034 accountName = cursor.getString( in BookmarkAccount() 1040 mLabel = accountName; in BookmarkAccount() 1057 String accountName; field in AddBookmarkPage.EditBookmarkInfo 1109 info.accountName = c.getString(1); in loadInBackground()
|
D | BrowserBookmarksPage.java | 107 String accountName = args.getString(ACCOUNT_NAME); in onCreateLoader() local 109 accountType, accountName); in onCreateLoader() 122 String accountName = cursor.getString(0); in onLoadFinished() local 125 args.putString(ACCOUNT_NAME, accountName); in onLoadFinished() 132 expand = mState.getBoolean(accountName != null ? accountName in onLoadFinished() 135 mGrid.addAccount(accountName, adapter, expand); in onLoadFinished()
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
D | BP2ProviderTests.java | 67 private void doTestIsValidParent(String accountName, String accountType) { in doTestIsValidParent() argument 72 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); in doTestIsValidParent() 94 assertEquals(accountName, insertedAccountName); in doTestIsValidParent() 112 assertEquals(accountName, insertedAccountName); in doTestIsValidParent() 117 accountName = accountName + "@something.else"; in doTestIsValidParent() 119 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); in doTestIsValidParent() 132 assertEquals(accountName, insertedAccountName); in doTestIsValidParent()
|
/packages/apps/Email/src/com/android/email/widget/ |
D | EmailWidgetLoader.java | 76 public WidgetCursor(Cursor cursor, int messageCount, String accountName, in WidgetCursor() argument 80 mAccountName = accountName; in WidgetCursor() 127 final String accountName; in loadInBackground() local 129 accountName = account.mDisplayName; in loadInBackground() 137 accountName = res.getString(R.string.picker_combined_view_fmt, countString); in loadInBackground() 140 accountName = null; in loadInBackground() 160 return new WidgetCursor(messagesCursor, messageCount, accountName, mailboxName); in loadInBackground()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/ |
D | StreamItemPopulatorActivity.java | 167 String accountName = null; in onResume() local 183 accountName = c.getString(2); in onResume() 188 addStreamItemsToRawContact(rawContactId, accountType, accountName); in onResume() 213 String accountName) { in addStreamItemsToRawContact() argument 220 ContentValues streamItemValues = buildStreamItemValues(accountType, accountName); in addStreamItemsToRawContact() 235 buildStreamItemPhotoValues(j, accountType, accountName); in addStreamItemsToRawContact() 255 private ContentValues buildStreamItemValues(String accountType, String accountName) { 282 values.put(RawContacts.ACCOUNT_NAME, accountName); 287 String accountName) { 293 values.put(RawContacts.ACCOUNT_NAME, accountName);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupCreationDialogFragment.java | 45 FragmentManager fragmentManager, String accountType, String accountName, in show() argument 50 args.putString(ARG_ACCOUNT_NAME, accountName); in show() 83 String accountName = arguments.getString(ARG_ACCOUNT_NAME); in onCompleted() local 95 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel, in onCompleted()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AccountWithDataSet.java | 34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { in AccountWithDataSet() argument 35 mAccountName = emptyToNull(accountName); in AccountWithDataSet() 44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { in get() argument 45 return new AccountWithDataSet(accountName, accountType, dataSet); in get()
|
D | ContactLookupKey.java | 59 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { in getAccountHashCode() argument 60 if (accountTypeWithDataSet == null || accountName == null) { in getAccountHashCode() 64 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; in getAccountHashCode() 68 String accountName, long rawContactId, String sourceId, in appendToLookupKey() argument 78 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName)); in appendToLookupKey()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 306 public static SecurityNeededDialog newInstance(String accountName) { in newInstance() argument 309 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 316 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 323 b.setMessage(res.getString(R.string.account_security_dialog_content_fmt, accountName)); in onCreateDialog() 372 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { in newInstance() argument 375 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 386 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 400 b.setMessage(res.getString(contentId, accountName)); in onCreateDialog()
|
D | DuplicateAccountDialogFragment.java | 51 String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 57 R.string.account_duplicate_dlg_message_fmt, accountName)) in onCreateDialog()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupBrowseListAdapter.java | 119 String accountName = mCursor.getString(GroupListLoader.ACCOUNT_NAME); in getItem() local 136 if (accountName.equals(previousGroupAccountName) && in getItem() 143 return new GroupListItem(accountName, accountType, dataSet, groupId, title, in getItem() 201 viewCache.accountName.setText(entry.getAccountName()); in bindHeaderView() 214 public final TextView accountName; field in GroupBrowseListAdapter.GroupListItemViewCache 224 accountName = (TextView) view.findViewById(R.id.account_name); in GroupListItemViewCache()
|
D | GroupListItem.java | 31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, in GroupListItem() argument 33 mAccountName = accountName; in GroupListItem()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | StreamItemEntry.java | 61 long timestamp, String accountType, String accountName, String dataSet, in createForTest() argument 63 return new StreamItemEntry(id, text, comments, timestamp, accountType, accountName, dataSet, in createForTest() 68 String accountType, String accountName, String dataSet, String resPackage, in StreamItemEntry() argument 75 mAccountName = accountName; in StreamItemEntry()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | GoogleSource.java | 164 final String accountName = stateValues.getAsString(RawContacts.ACCOUNT_NAME); in attemptMyContactsMembership() local 166 attemptMyContactsMembership(state, accountName, accountType, context, true); in attemptMyContactsMembership() 180 final String accountName, final String accountType, Context context, in attemptMyContactsMembership() argument 187 new String[] {accountName, accountType}, null); in attemptMyContactsMembership() 217 newGroup.put(Groups.ACCOUNT_NAME, accountName); in attemptMyContactsMembership() 244 state, accountName, accountType, context, false); in attemptMyContactsMembership()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | GroupMetaData.java | 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, in GroupMetaData() argument 33 this.mAccountName = accountName; in GroupMetaData()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 178 String accountName = state.getAccountName(); in setState() local 179 if (TextUtils.isEmpty(accountName)) { in setState() 186 mAccountNameTextView.setText(accountName); in setState() 189 String accountName = state.getAccountName(); in setState() local 194 if (!TextUtils.isEmpty(accountName)) { in setState() 197 mContext.getString(R.string.from_account_format, accountName)); in setState() 364 String accountName = mState.getAccountName(); in getDefaultGroupId() local 371 if (name.equals(accountName) && type.equals(accountType) in getDefaultGroupId()
|
D | ContactEditorUtils.java | 287 final String accountName = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_NAME); in getCreatedAccount() local 290 if (TextUtils.isEmpty(accountType) || TextUtils.isEmpty(accountName)) return null; in getCreatedAccount() 292 return new AccountWithDataSet(accountName, accountType, null); in getCreatedAccount()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContact.java | 196 private void setAccount(String accountName, String accountType, String dataSet) { in setAccount() argument 198 if (accountName == null) { in setAccount() 209 values.put(RawContacts.ACCOUNT_NAME, accountName); in setAccount()
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | BrowserProvider2.java | 858 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in getSelectionWithAccounts() local 860 if (accountType != null && accountName != null) { in getSelectionWithAccounts() 861 if (!isNullAccount(accountType) && !isNullAccount(accountName)) { in getSelectionWithAccounts() 865 new String[] { accountType, accountName }); in getSelectionWithAccounts() 945 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in query() local 946 if (!isNullAccount(accountType) && !isNullAccount(accountName)) { in query() 983 args = new String[] {accountType, accountName, in query() 984 accountType, accountName}; in query() 1001 accountType, accountName, ChromeSyncColumns.FOLDER_NAME_OTHER_BOOKMARKS, in query() 1017 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in query() local [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1740 String accountName = null; in handleInsertException() local 1745 accountName = account.name; in handleInsertException() 1749 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); in handleInsertException() 1983 String accountName = getOwner(calendarId); in handleInsertException() local 1985 if (accountName != null) { in handleInsertException() 1992 " name=" + accountName + " to " + in handleInsertException() 1997 new String[] { String.valueOf(newEventId), accountName }); in handleInsertException() 2008 new String[] { String.valueOf(newEventId), accountName }, in handleInsertException() 2129 String accountName = null; in insertInTransaction() local 2132 accountName = account.name; in insertInTransaction() [all …]
|
/packages/apps/Email/src/com/android/email/ |
D | NotificationController.java | 743 String accountName = account.getDisplayName(); in showPasswordExpiringNotification() local 745 mContext.getString(R.string.password_expire_warning_ticker_fmt, accountName); in showPasswordExpiringNotification() 747 showAccountNotification(account, ticker, title, accountName, intent, in showPasswordExpiringNotification() 763 String accountName = account.getDisplayName(); in showPasswordExpiredNotification() local 766 showAccountNotification(account, ticker, title, accountName, intent, in showPasswordExpiredNotification() 784 String accountName = account.getDisplayName(); in showSecurityNeededNotification() local 786 mContext.getString(R.string.security_notification_ticker_fmt, accountName); in showSecurityNeededNotification() 788 showAccountNotification(account, ticker, title, accountName, intent, in showSecurityNeededNotification()
|