/packages/apps/ContactsCommon/src/com/android/contacts/common/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 | 255 public static GroupDelta fromSettings(ContentResolver resolver, String accountName, in fromSettings() argument 258 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName) in fromSettings() 269 values.put(Settings.ACCOUNT_NAME, accountName); in fromSettings() 378 String accountName = this.getAsString(Settings.ACCOUNT_NAME); in buildDiff() local 386 selectionArgs = new String[] {accountName, accountType}; in buildDiff() 389 selectionArgs = new String[] {accountName, accountType, dataSet}; in buildDiff() 467 public AccountDisplay(ContentResolver resolver, String accountName, String accountType, in AccountDisplay() argument 469 mName = accountName; in AccountDisplay()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EventColorCache.java | 46 public void insertColor(String accountName, String accountType, int displayColor, in insertColor() argument 48 mColorKeyMap.put(createKey(accountName, accountType, displayColor), colorKey); in insertColor() 49 String key = createKey(accountName, accountType); in insertColor() 61 public int[] getColorArray(String accountName, String accountType) { in getColorArray() argument 62 ArrayList<Integer> colors = mColorPaletteMap.get(createKey(accountName, accountType)); in getColorArray() 76 public int getColorKey(String accountName, String accountType, int displayColor) { in getColorKey() argument 77 return mColorKeyMap.get(createKey(accountName, accountType, displayColor)); in getColorKey() 96 private String createKey(String accountName, String accountType) { in createKey() argument 97 return new StringBuilder().append(accountName) in createKey() 103 private String createKey(String accountName, String accountType, int displayColor) { in createKey() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorUiUtils.java | 90 String accountName, AccountType accountType) { in getAccountInfo() argument 94 if (TextUtils.isEmpty(accountName)) { in getAccountInfo() 100 accountName, in getAccountInfo() 103 if (!TextUtils.isEmpty(accountName)) { in getAccountInfo() 105 context.getString(R.string.from_account_format, accountName); in getAccountInfo() 129 public static String getAccountInfoContentDescription(CharSequence accountName, in getAccountInfoContentDescription() argument 135 if (!TextUtils.isEmpty(accountName)) { in getAccountInfoContentDescription() 136 builder.append(accountName).append('\n'); in getAccountInfoContentDescription()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailNotificationController.java | 460 final String accountName = account.getDisplayName(); in showPasswordExpiringNotificationSynchronous() local 462 mContext.getString(R.string.password_expire_warning_ticker_fmt, accountName); in showPasswordExpiringNotificationSynchronous() 464 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiringNotificationSynchronous() 481 final String accountName = account.getDisplayName(); in showPasswordExpiredNotificationSynchronous() local 484 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiredNotificationSynchronous() 504 String accountName = account.getDisplayName(); in showSecurityNeededNotification() local 506 mContext.getString(R.string.security_needed_ticker_fmt, accountName); in showSecurityNeededNotification() 508 showNotification(account.mId, ticker, title, accountName, intent, in showSecurityNeededNotification() 520 final String accountName = account.getDisplayName(); in showSecurityChangedNotification() local 522 mContext.getString(R.string.security_changed_ticker_fmt, accountName); in showSecurityChangedNotification() [all …]
|
/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/Browser/src/com/android/browser/provider/ |
D | BrowserProvider2.java | 860 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in getSelectionWithAccounts() local 862 if (accountType != null && accountName != null) { in getSelectionWithAccounts() 863 if (!isNullAccount(accountType) && !isNullAccount(accountName)) { in getSelectionWithAccounts() 867 new String[] { accountType, accountName }); in getSelectionWithAccounts() 947 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in query() local 948 if (!isNullAccount(accountType) && !isNullAccount(accountName)) { in query() 985 args = new String[] {accountType, accountName, in query() 986 accountType, accountName}; in query() 1003 accountType, accountName, ChromeSyncColumns.FOLDER_NAME_OTHER_BOOKMARKS, in query() 1019 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in query() local [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1760 String accountName = null; in handleInsertException() local 1765 accountName = account.name; in handleInsertException() 1769 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); in handleInsertException() 2007 String accountName = getOwner(calendarId); in handleInsertException() local 2009 if (accountName != null) { in handleInsertException() 2016 " name=" + accountName + " to " + in handleInsertException() 2021 new String[] { String.valueOf(newEventId), accountName }); in handleInsertException() 2032 new String[] { String.valueOf(newEventId), accountName }, in handleInsertException() 2155 String accountName = null; in insertInTransaction() local 2158 accountName = account.name; in insertInTransaction() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | CalendarColorCache.java | 84 private void insert(String accountName, String accountType) { in insert() argument 85 mCache.add(generateKey(accountName, accountType)); in insert() 91 public boolean hasColors(String accountName, String accountType) { in hasColors() argument 92 return mCache.contains(generateKey(accountName, accountType)); in hasColors() 105 private String generateKey(String accountName, String accountType) { in generateKey() argument 107 return mStringBuffer.append(accountName).append(SEPARATOR).append(accountType).toString(); in generateKey()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 402 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() local 404 if (accountName != null) { in loadEncodedContactEntity() 406 contact.setDirectoryMetaData(directoryName, null, accountName, accountType, in loadEncodedContactEntity() 756 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() local 771 displayName, directoryType, accountType, accountName, exportSupport); in loadDirectoryMetaData() 783 public AccountKey(String accountName, String accountType, String dataSet) { in AccountKey() argument 784 mAccountName = accountName; in AccountKey() 815 final String accountName = rawContact.getAccountName(); in loadGroupMetaData() local 818 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData() 819 if (accountName != null && accountType != null && in loadGroupMetaData() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | GlobalDismissManager.java | 57 private GlobalDismissId(String accountName, String syncId, long startTime) { in GlobalDismissId() argument 59 if (accountName == null) { in GlobalDismissId() 64 mAccountName = accountName; in GlobalDismissId() 108 public LocalDismissId(String accountType, String accountName, long eventId, in LocalDismissId() argument 112 } else if (accountName == null) { in LocalDismissId() 117 mAccountName = accountName; in LocalDismissId() 311 String accountName = dismissId.mAccountName; in syncSenderDismissCache() local 314 data.putString(ACCOUNT_NAME, accountName); in syncSenderDismissCache() 316 cnb.send(accountName, syncId + ":" + startTime, data); in syncSenderDismissCache()
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 514 public static SecurityNeededDialog newInstance(String accountName) { in newInstance() argument 517 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 524 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 531 b.setMessage(res.getString(R.string.account_security_dialog_content_fmt, accountName)); in onCreateDialog() 580 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { in newInstance() argument 583 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 597 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 611 .setMessage(res.getString(contentId, accountName)) in onCreateDialog()
|
/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/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()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountsBrowseInfo.java | 44 AccountsBrowseInfo(Context context, String accountName) { in AccountsBrowseInfo() argument 46 mAccountName = accountName; in AccountsBrowseInfo() 71 private void updateMenuItems(String accountName) { in updateMenuItems() argument 76 .putExtra(AccountSettingsActivity.EXTRA_ACCOUNT, accountName); in updateMenuItems() 84 AccountSettingsActivity.EXTRA_ACCOUNT, accountName); in updateMenuItems()
|
/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/providers/ContactsProvider/src/com/android/providers/contacts/ |
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()
|
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 | ContactDirectoryManager.java | 62 String accountName; field in ContactDirectoryManager.DirectoryInfo 296 deleteWhereArgs.add(info.accountName); in scanAllPackages() 437 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority() 506 values.put(Directory.ACCOUNT_NAME, info.accountName); in updateDirectories() 523 info.packageName, info.authority, info.accountName, info.accountType }, in updateDirectories()
|
D | ContactsProvider2.java | 1331 String accountName; field in ContactsProvider2.DirectoryInfo 2641 String accountName = getQueryParameter(uri, RawContacts.ACCOUNT_NAME); in resolveAccount() local 2643 final boolean partialUri = TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType); in resolveAccount() 2658 final boolean validUri = !TextUtils.isEmpty(accountName); in resolveAccount() 2663 final boolean accountMatch = TextUtils.equals(accountName, valueAccountName) in resolveAccount() 2671 values.put(RawContacts.ACCOUNT_NAME, accountName); in resolveAccount() 2674 accountName = valueAccountName; in resolveAccount() 2682 || !mAccount.name.equals(accountName) in resolveAccount() 2684 mAccount = new Account(accountName, accountType); in resolveAccount() 3142 String accountName = values.getAsString(Settings.ACCOUNT_NAME); in insertSettings() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupCreationDialogFragment.java | 46 FragmentManager fragmentManager, String accountType, String accountName, in show() argument 51 args.putString(ARG_ACCOUNT_NAME, accountName); in show() 84 String accountName = arguments.getString(ARG_ACCOUNT_NAME); in onCompleted() local 96 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel, in onCompleted()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | PersonalizationHelper.java | 45 final Context context, final Locale locale, @Nullable final String accountName) { in getUserHistoryDictionary() argument 47 if (accountName != null) { in getUserHistoryDictionary() 48 lookupStr += "." + accountName; in getUserHistoryDictionary() 64 context, locale, accountName); in getUserHistoryDictionary()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiverTests.java | 100 private void updateAccountName(String accountName) { in updateAccountName() argument 101 if (accountName == null) { in updateAccountName() 104 mPrefs.edit().putString(LocalSettingsConstants.PREF_ACCOUNT_NAME, accountName).apply(); in updateAccountName()
|