/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 | 252 public static GroupDelta fromSettings(ContentResolver resolver, String accountName, in fromSettings() argument 255 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName) in fromSettings() 266 values.put(Settings.ACCOUNT_NAME, accountName); in fromSettings() 375 String accountName = this.getAsString(Settings.ACCOUNT_NAME); in buildDiff() local 383 selectionArgs = new String[] {accountName, accountType}; in buildDiff() 386 selectionArgs = new String[] {accountName, accountType, dataSet}; in buildDiff() 464 public AccountDisplay(ContentResolver resolver, String accountName, String accountType, in AccountDisplay() argument 466 mName = accountName; in AccountDisplay()
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
D | ExchangeDirectoryProvider.java | 124 GalContactRow(GalProjection projection, long contactId, String accountName, in GalContactRow() argument 141 put(RawContacts.ACCOUNT_NAME, accountName); in GalContactRow() 160 long contactId, String accountName, String displayName, String address) { in addEmailAddress() argument 163 galProjection, contactId, accountName, displayName); in addEmailAddress() 172 String accountName, String displayName, int type, String number) { in addPhoneRow() argument 175 projection, contactId, accountName, displayName); in addPhoneRow() 184 long contactId, String accountName, String displayName, in addNameRow() argument 187 galProjection, contactId, accountName, displayName); in addNameRow() 201 /*package*/ long getAccountIdByName(Context context, String accountName) { in getAccountIdByName() argument 202 Long accountId = mAccountIdMap.get(accountName); in getAccountIdByName() [all …]
|
/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/Email/src/com/android/email/ |
D | NotificationController.java | 455 String accountName = account.getDisplayName(); in showPasswordExpiringNotification() local 457 mContext.getString(R.string.password_expire_warning_ticker_fmt, accountName); in showPasswordExpiringNotification() 459 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiringNotification() 475 String accountName = account.getDisplayName(); in showPasswordExpiredNotification() local 478 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiredNotification() 496 String accountName = account.getDisplayName(); in showSecurityNeededNotification() local 498 mContext.getString(R.string.security_needed_ticker_fmt, accountName); in showSecurityNeededNotification() 500 showNotification(account.mId, ticker, title, accountName, intent, in showSecurityNeededNotification() 510 String accountName = account.getDisplayName(); in showSecurityChangedNotification() local 512 mContext.getString(R.string.security_changed_ticker_fmt, accountName); in showSecurityChangedNotification() [all …]
|
/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/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 | 1771 String accountName = null; in handleInsertException() local 1776 accountName = account.name; in handleInsertException() 1780 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); in handleInsertException() 2018 String accountName = getOwner(calendarId); in handleInsertException() local 2020 if (accountName != null) { in handleInsertException() 2027 " name=" + accountName + " to " + in handleInsertException() 2032 new String[] { String.valueOf(newEventId), accountName }); in handleInsertException() 2043 new String[] { String.valueOf(newEventId), accountName }, in handleInsertException() 2165 String accountName = null; in insertInTransaction() local 2168 accountName = account.name; in insertInTransaction() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 320 public static SecurityNeededDialog newInstance(String accountName) { in newInstance() argument 323 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 330 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 337 b.setMessage(res.getString(R.string.account_security_dialog_content_fmt, accountName)); in onCreateDialog() 386 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { in newInstance() argument 389 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 403 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 417 b.setMessage(res.getString(contentId, accountName)); in onCreateDialog()
|
/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/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/Contacts/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 224 String accountName = state.getAccountName(); in setState() local 225 if (TextUtils.isEmpty(accountName)) { in setState() 232 mAccountNameTextView.setText(accountName); in setState() 235 String accountName = state.getAccountName(); in setState() local 240 if (!TextUtils.isEmpty(accountName)) { in setState() 243 mContext.getString(R.string.from_account_format, accountName)); in setState() 407 String accountName = mState.getAccountName(); in getDefaultGroupId() local 414 if (name.equals(accountName) && type.equals(accountType) in getDefaultGroupId()
|
/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/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/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 388 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() local 390 if (accountName != null) { in loadEncodedContactEntity() 392 contact.setDirectoryMetaData(directoryName, null, accountName, accountType, in loadEncodedContactEntity() 737 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() local 752 displayName, directoryType, accountType, accountName, exportSupport); in loadDirectoryMetaData() 767 final String accountName = rawContact.getAccountName(); in loadGroupMetaData() local 770 if (accountName != null && accountType != null) { in loadGroupMetaData() 776 selectionArgs.add(accountName); in loadGroupMetaData() 796 final String accountName = cursor.getString(GroupQuery.ACCOUNT_NAME); in loadGroupMetaData() local 809 accountName, accountType, dataSet, groupId, title, defaultGroup, in loadGroupMetaData()
|
/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 286 deleteWhereArgs.add(info.accountName); in scanAllPackages() 427 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority() 496 values.put(Directory.ACCOUNT_NAME, info.accountName); in updateDirectories() 513 info.packageName, info.authority, info.accountName, info.accountType }, in updateDirectories()
|
D | ContactsProvider2.java | 1281 String accountName; field in ContactsProvider2.DirectoryInfo 2542 String accountName = getQueryParameter(uri, RawContacts.ACCOUNT_NAME); in resolveAccount() local 2544 final boolean partialUri = TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType); in resolveAccount() 2559 final boolean validUri = !TextUtils.isEmpty(accountName); in resolveAccount() 2564 final boolean accountMatch = TextUtils.equals(accountName, valueAccountName) in resolveAccount() 2572 values.put(RawContacts.ACCOUNT_NAME, accountName); in resolveAccount() 2575 accountName = valueAccountName; in resolveAccount() 2583 || !mAccount.name.equals(accountName) in resolveAccount() 2585 mAccount = new Account(accountName, accountType); in resolveAccount() 3102 String accountName = values.getAsString(Settings.ACCOUNT_NAME); in insertSettings() local [all …]
|
/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/apps/Contacts/src/com/android/contacts/util/ |
D | StreamItemEntry.java | 63 long timestamp, String accountType, String accountName, String dataSet, in createForTest() argument 65 return new StreamItemEntry(id, text, comments, timestamp, accountType, accountName, dataSet, in createForTest() 70 String accountType, String accountName, String dataSet, String resPackage, in StreamItemEntry() argument 77 mAccountName = accountName; in StreamItemEntry()
|