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

123

/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListFilter.java50 private static final String KEY_ACCOUNT_NAME = "filter.accountName";
56 public final String accountName; field in class:ContactListFilter
61 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, argument
65 this.accountName = accountName;
74 public static ContactListFilter createAccountFilter(String accountType, String accountName, argument
77 accountName, dataSet, icon);
104 + " " + accountName;
111 int res = accountName.compareTo(another.accountName);
[all...]
H A DContactListFilterController.java171 mFilter.accountName, mFilter.accountType, mFilter.dataSet);
/packages/apps/Browser/src/com/android/browser/
H A DBookmarksLoader.java54 public BookmarksLoader(Context context, String accountType, String accountName) { argument
55 super(context, addAccount(Bookmarks.CONTENT_URI_DEFAULT_FOLDER, accountType, accountName),
58 mAccountName = accountName;
66 static Uri addAccount(Uri uri, String accountType, String accountName) { argument
68 appendQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME, accountName).build();
H A DAddBookmarkPage.java153 account.accountType, account.accountName);
408 setAccount(info.accountName, info.accountType);
419 && TextUtils.equals(info.lastUsedAccountName, info.accountName)
442 void setAccount(String accountName, String accountType) { argument
445 if (TextUtils.equals(account.accountName, accountName)
1030 String accountName, accountType; field in class:AddBookmarkPage.BookmarkAccount
1034 accountName = cursor.getString(
1040 mLabel = accountName;
1057 String accountName; field in class:AddBookmarkPage.EditBookmarkInfo
[all...]
/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.java119 String accountName = mCursor.getString(GroupListLoader.ACCOUNT_NAME);
136 if (accountName.equals(previousGroupAccountName) &&
143 return new GroupListItem(accountName, accountType, dataSet, groupId, title,
201 viewCache.accountName.setText(entry.getAccountName());
214 public final TextView accountName; field in class:GroupBrowseListAdapter.GroupListItemViewCache
224 accountName = (TextView) view.findViewById(R.id.account_name);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupCreationDialogFragment.java33 private static final String ARG_ACCOUNT_NAME = "accountName";
45 FragmentManager fragmentManager, String accountType, String accountName,
50 args.putString(ARG_ACCOUNT_NAME, accountName);
83 String accountName = arguments.getString(ARG_ACCOUNT_NAME);
95 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel,
44 show( FragmentManager fragmentManager, String accountType, String accountName, String dataSet, OnGroupCreatedListener listener) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAccountWithDataSet.java34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { argument
35 mAccountName = emptyToNull(accountName);
44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { argument
45 return new AccountWithDataSet(accountName, accountType, dataSet);
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
/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/exchange2/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/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/apps/Contacts/src/com/android/contacts/util/
H A DStreamItemEntry.java61 long timestamp, String accountType, String accountName, String dataSet,
63 return new StreamItemEntry(id, text, comments, timestamp, accountType, accountName, dataSet,
68 String accountType, String accountName, String dataSet, String resPackage,
75 mAccountName = accountName;
60 createForTest(long id, String text, String comments, long timestamp, String accountType, String accountName, String dataSet, String resPackage, String iconRes, String labelRes) argument
67 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.java78 R.string.listAllContactsInAccount, filter.accountName));
94 R.string.listAllContactsInAccount, filter.accountName));
/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.java178 String accountName = state.getAccountName();
179 if (TextUtils.isEmpty(accountName)) {
186 mAccountNameTextView.setText(accountName);
189 String accountName = state.getAccountName();
194 if (!TextUtils.isEmpty(accountName)) {
197 mContext.getString(R.string.from_account_format, accountName));
364 String accountName = mState.getAccountName();
371 if (name.equals(accountName) && type.equals(accountType)
H A DContactEditorUtils.java287 final String accountName = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_NAME);
290 if (TextUtils.isEmpty(accountType) || TextUtils.isEmpty(accountName)) return null;
292 return new AccountWithDataSet(accountName, accountType, null);
H A DGroupMembershipView.java223 String accountName = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_NAME);
226 if (accountName.equals(mAccountName) && accountType.equals(mAccountType)
293 String accountName = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_NAME);
296 if (accountName.equals(mAccountName) && accountType.equals(mAccountType)
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DProfileAggregator.java54 String accountName, long rawContactId, String sourceId, String displayName) {
53 appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContact.java196 private void setAccount(String accountName, String accountType, String dataSet) { argument
198 if (accountName == null) {
209 values.put(RawContacts.ACCOUNT_NAME, accountName);
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java858 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME);
860 if (accountType != null && accountName != null) {
861 if (!isNullAccount(accountType) && !isNullAccount(accountName)) {
865 new String[] { accountType, accountName });
945 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME);
946 if (!isNullAccount(accountType) && !isNullAccount(accountName)) {
983 args = new String[] {accountType, accountName,
984 accountType, accountName};
1001 accountType, accountName, ChromeSyncColumns.FOLDER_NAME_OTHER_BOOKMARKS,
1017 String accountName
1347 queryDefaultFolderId(String accountName, String accountType) argument
1528 isValidParent(String accountType, String accountName, long parentId) argument
[all...]

Completed in 324 milliseconds

123