Searched refs:accountName (Results 1 - 25 of 53) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListFilter.java48 private static final String KEY_ACCOUNT_NAME = "filter.accountName";
54 public final String accountName; field in class:ContactListFilter
59 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, argument
63 this.accountName = accountName;
72 public static ContactListFilter createAccountFilter(String accountType, String accountName, argument
75 accountName, dataSet, icon);
102 + " " + accountName;
109 int res = accountName.compareTo(another.accountName);
[all...]
H A DContactListFilterController.java168 mFilter.accountName, mFilter.accountType, mFilter.dataSet);
/packages/apps/Browser/src/com/android/browser/
H A DBookmarksLoader.java55 public BookmarksLoader(Context context, String accountType, String accountName) { argument
56 super(context, addAccount(Bookmarks.CONTENT_URI_DEFAULT_FOLDER, accountType, accountName),
59 mAccountName = accountName;
67 static Uri addAccount(Uri uri, String accountType, String accountName) { argument
69 appendQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME, accountName).build();
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupCreationDialogFragment.java33 private static final String ARG_ACCOUNT_NAME = "accountName";
37 FragmentManager fragmentManager, String accountType, String accountName,
42 args.putString(ARG_ACCOUNT_NAME, accountName);
61 String accountName = arguments.getString(ARG_ACCOUNT_NAME);
66 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel,
36 show( FragmentManager fragmentManager, String accountType, String accountName, String dataSet) argument
/packages/apps/Browser/tests/src/com/android/browser/tests/
H A DBP2ProviderTests.java67 private void doTestIsValidParent(String accountName, String accountType) { argument
72 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName);
94 assertEquals(accountName, insertedAccountName);
112 assertEquals(accountName, insertedAccountName);
117 accountName = accountName + "@something.else";
119 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName);
132 assertEquals(accountName, insertedAccountName);
/packages/apps/Contacts/src/com/android/contacts/
H A DGroupMetaData.java31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument
33 this.mAccountName = accountName;
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupListItem.java31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, argument
33 mAccountName = accountName;
H A DGroupBrowseListAdapter.java120 String accountName = mCursor.getString(GroupListLoader.ACCOUNT_NAME);
137 if (accountName.equals(previousGroupAccountName) &&
144 return new GroupListItem(accountName, accountType, dataSet, groupId, title,
202 viewCache.accountName.setText(entry.getAccountName());
215 public final TextView accountName; field in class:GroupBrowseListAdapter.GroupListItemViewCache
225 accountName = (TextView) view.findViewById(R.id.account_name);
/packages/apps/Email/src/com/android/email/widget/
H A DEmailWidgetLoader.java76 public WidgetCursor(Cursor cursor, int messageCount, String accountName, argument
80 mAccountName = accountName;
127 final String accountName;
129 accountName = account.mDisplayName;
137 accountName = res.getString(R.string.picker_combined_view_fmt, countString);
140 accountName = null;
160 return new WidgetCursor(messagesCursor, messageCount, accountName, mailboxName);
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DExchangeDirectoryProvider.java108 String accountName, String displayName) {
124 put(RawContacts.ACCOUNT_NAME, accountName);
143 long contactId, String lookupKey, String accountName, String displayName,
147 galProjection, contactId, lookupKey, accountName, displayName);
156 String lookupKey, String accountName, String displayName, int type, String number) {
159 projection, contactId, lookupKey, accountName, displayName);
168 long contactId, String lookupKey, String accountName, String displayName,
171 galProjection, contactId, lookupKey, accountName, displayName);
182 * @param accountName the name of the account
185 /*package*/ long getAccountIdByName(Context context, String accountName) { argument
107 GalContactRow(GalProjection projection, long contactId, String lookupKey, String accountName, String displayName) argument
142 addEmailAddress(MatrixCursor cursor, GalProjection galProjection, long contactId, String lookupKey, String accountName, String displayName, String address) argument
155 addPhoneRow(MatrixCursor cursor, GalProjection projection, long contactId, String lookupKey, String accountName, String displayName, int type, String number) argument
167 addNameRow(MatrixCursor cursor, GalProjection galProjection, long contactId, String lookupKey, String accountName, String displayName, String firstName, String lastName) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DDuplicateAccountDialogFragment.java51 String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME);
57 R.string.account_duplicate_dlg_message_fmt, accountName))
H A DAccountSecurity.java306 public static SecurityNeededDialog newInstance(String accountName) { argument
309 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName);
316 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME);
323 b.setMessage(res.getString(R.string.account_security_dialog_content_fmt, accountName));
372 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { argument
375 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName);
386 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME);
400 b.setMessage(res.getString(contentId, accountName));
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAccountWithDataSet.java29 public AccountWithDataSet(String accountName, String accountType, String dataSet) { argument
30 mAccountName = accountName;
H A DContactLookupKey.java59 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { argument
60 if (accountTypeWithDataSet == null || accountName == null) {
64 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF;
68 String accountName, long rawContactId, String sourceId,
78 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName));
67 appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
H A DProfileAggregator.java46 String accountName, long rawContactId, String sourceId, String displayName) {
45 appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
H A DDataRowHandlerForGroupMembership.java198 String accountName = c.getString(RawContactsQuery.ACCOUNT_NAME);
201 if (!TextUtils.isEmpty(accountName) && !TextUtils.isEmpty(accountType)) {
203 accountName, accountType, dataSet);
226 if (entry.accountName.equals(accountWithDataSet.getAccountName())
234 entry.accountName = accountWithDataSet.getAccountName();
/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
H A DStreamItemPopulatorActivity.java167 String accountName = null;
183 accountName = c.getString(2);
188 addStreamItemsToRawContact(rawContactId, accountType, accountName);
213 String accountName) {
220 ContentValues streamItemValues = buildStreamItemValues(accountType, accountName);
235 buildStreamItemPhotoValues(j, accountType, accountName);
255 private ContentValues buildStreamItemValues(String accountType, String accountName) { argument
282 values.put(RawContacts.ACCOUNT_NAME, accountName);
287 String accountName) {
293 values.put(RawContacts.ACCOUNT_NAME, accountName);
212 addStreamItemsToRawContact(long rawContactId, String accountType, String accountName) argument
286 buildStreamItemPhotoValues(int index, String accountType, String accountName) argument
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DGoogleSource.java164 final String accountName = stateValues.getAsString(RawContacts.ACCOUNT_NAME);
166 attemptMyContactsMembership(state, accountName, accountType, context, true);
180 final String accountName, final String accountType, Context context,
187 new String[] {accountName, accountType}, null);
217 newGroup.put(Groups.ACCOUNT_NAME, accountName);
244 state, accountName, accountType, context, false);
179 attemptMyContactsMembership(EntityDelta state, final String accountName, final String accountType, Context context, boolean allowRecur) argument
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DRawContactEditorView.java181 String accountName = values.getAsString(RawContacts.ACCOUNT_NAME);
182 if (TextUtils.isEmpty(accountName)) {
189 mAccountNameTextView.setText(accountName);
192 String accountName = values.getAsString(RawContacts.ACCOUNT_NAME);
197 if (!TextUtils.isEmpty(accountName)) {
200 mContext.getString(R.string.from_account_format, accountName));
365 String accountName = mState.getValues().getAsString(RawContacts.ACCOUNT_NAME);
372 if (name.equals(accountName) && type.equals(accountType)
H A DContactEditorUtils.java284 final String accountName = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_NAME);
287 if (TextUtils.isEmpty(accountType) || TextUtils.isEmpty(accountName)) return null;
289 return new AccountWithDataSet(accountName, accountType, null);
H A DGroupMembershipView.java164 String accountName = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_NAME);
167 if (accountName.equals(mAccountName) && accountType.equals(mAccountType)
232 String accountName = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_NAME);
235 if (accountName.equals(mAccountName) && accountType.equals(mAccountType)
/packages/apps/Contacts/src/com/android/contacts/util/
H A DStreamItemEntry.java54 String accountType, String accountName, String dataSet, String resPackage,
61 mAccountName = accountName;
53 StreamItemEntry(long id, String text, String comments, long timestamp, String accountType, String accountName, String dataSet, String resPackage, String iconRes, String labelRes) argument
H A DAccountFilterUtil.java81 R.string.listAllContactsInAccount, filter.accountName));
97 R.string.listAllContactsInAccount, filter.accountName));
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java848 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME);
850 if (accountType != null && accountName != null) {
851 if (!isNullAccount(accountType) && !isNullAccount(accountName)) {
855 new String[] { accountType, accountName });
935 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME);
936 if (!isNullAccount(accountType) && !isNullAccount(accountName)) {
973 args = new String[] {accountType, accountName,
974 accountType, accountName};
991 accountType, accountName, ChromeSyncColumns.FOLDER_NAME_OTHER_BOOKMARKS,
1007 String accountName
1337 queryDefaultFolderId(String accountName, String accountType) argument
1518 isValidParent(String accountType, String accountName, long parentId) argument
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java1703 String accountName = null;
1708 accountName = account.name;
1712 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT);
1946 String accountName = getOwner(calendarId);
1948 if (accountName != null) {
1955 " name=" + accountName + " to " +
1960 new String[] { String.valueOf(newEventId), accountName });
1971 new String[] { String.valueOf(newEventId), accountName },
2077 String accountName = null;
2080 accountName
2525 getColorByIndex(String accountName, String accountType, String index) argument
4037 verifyColorExists(String accountName, String accountType, String color_index, int color_type) argument
[all...]

Completed in 2119 milliseconds

123