/packages/apps/Browser/tests/src/com/android/browser/tests/ |
H A D | BP2ProviderTests.java | 67 private void doTestIsValidParent(String accountName, String accountType) { argument 73 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType); 95 assertEquals(accountType, insertedAccountType); 113 assertEquals(accountType, insertedAccountType); 118 accountType = "com.google"; 120 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType); 133 assertEquals(accountType, insertedAccountType);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | ProviderPreference.java | 35 Context context, String accountType, Drawable icon, CharSequence providerName) { 37 mAccountType = accountType; 34 ProviderPreference( Context context, String accountType, Drawable icon, CharSequence providerName) argument
|
H A D | AddAccountSettings.java | 198 private void addAccount(String accountType) { argument 218 accountType,
|
H A D | AccountPreferenceBase.java | 137 * @param accountType the type of account 140 public PreferenceScreen addPreferencesForType(final String accountType, argument 143 if (mAuthenticatorHelper.containsAccountType(accountType)) { 146 desc = mAuthenticatorHelper.getAccountTypeDescription(accountType); 177 protected Drawable getDrawableForType(final String accountType) { argument 178 return mAuthenticatorHelper.getDrawableForType(getActivity(), accountType); 181 protected CharSequence getLabelForType(final String accountType) { argument 182 return mAuthenticatorHelper.getLabelForType(getActivity(), accountType);
|
H A D | AuthenticatorHelper.java | 86 public void preloadDrawableForType(final Context context, final String accountType) { argument 90 getDrawableForType(context, accountType); 98 * @param accountType the type of account 101 public Drawable getDrawableForType(Context context, final String accountType) { argument 104 if (mAccTypeIconCache.containsKey(accountType)) { 105 return mAccTypeIconCache.get(accountType); 108 if (mTypeToAuthDescription.containsKey(accountType)) { 110 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 116 mAccTypeIconCache.put(accountType, icon); 130 * @param accountType th 133 getLabelForType(Context context, final String accountType) argument 162 containsAccountType(String accountType) argument 166 getAccountTypeDescription(String accountType) argument 170 hasAccountPreferences(final String accountType) argument [all...] |
H A D | ChooseAccountActivity.java | 75 ProviderEntry(CharSequence providerName, String accountType) { argument 77 type = accountType; 103 for (String accountType : accountTypesFilter) { 104 mAccountTypesFilter.add(accountType); 130 String accountType = mAuthDescs[i].type; 131 CharSequence providerName = getLabelForType(accountType); 135 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType); 147 && !mAccountTypesFilter.contains(accountType)) { 151 mProviderList.add(new ProviderEntry(providerName, accountType)); 192 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); 212 getDrawableForType(final String accountType) argument 236 getLabelForType(final String accountType) argument 264 finishWithAccountType(String accountType) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EventColorCache.java | 46 public void insertColor(String accountName, String accountType, int displayColor, argument 48 mColorKeyMap.put(createKey(accountName, accountType, displayColor), colorKey); 49 String key = createKey(accountName, accountType); 61 public int[] getColorArray(String accountName, String accountType) { argument 62 ArrayList<Integer> colors = mColorPaletteMap.get(createKey(accountName, accountType)); 76 public int getColorKey(String accountName, String accountType, int displayColor) { argument 77 return mColorKeyMap.get(createKey(accountName, accountType, displayColor)); 96 private String createKey(String accountName, String accountType) { argument 99 .append(accountType) 103 private String createKey(String accountName, String accountType, in argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
H A D | AccountTypeWithDataSet.java | 40 public final String accountType; field in class:AccountTypeWithDataSet 45 private AccountTypeWithDataSet(String accountType, String dataSet) { argument 46 this.accountType = TextUtils.isEmpty(accountType) ? null : accountType; 50 public static AccountTypeWithDataSet get(String accountType, String dataSet) { argument 51 return new AccountTypeWithDataSet(accountType, dataSet); 64 args = new String[] {accountType}; 67 args = new String[] {accountType, dataSet}; 85 return Objects.equal(accountType, othe [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | LocalizedNameResolver.java | 58 public static String getAllContactsName(Context context, String accountType) { argument 60 if (accountType == null) return null; 62 return resolveAllContactsName(context, accountType); 68 private static String resolveAllContactsName(Context context, String accountType) { argument 72 if (accountType.equals(auth.type)) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | AccountServiceProxy.java | 64 public Bundle getConfigurationData(final String accountType) { argument 68 mReturn = mService.getConfigurationData(accountType);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoPriorityResolver.java | 76 public synchronized int getPhotoPriority(String accountType) { argument 77 if (accountType == null) { 81 Integer priority = mPhotoPriorities.get(accountType); 83 priority = resolvePhotoPriority(accountType); 84 mPhotoPriorities.put(accountType, priority); 92 private int resolvePhotoPriority(String accountType) { argument 96 if (accountType.equals(auth.type)) {
|
H A D | AccountWithDataSet.java | 34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { argument 36 mAccountType = emptyToNull(accountType); 44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { argument 45 return new AccountWithDataSet(accountName, accountType, dataSet);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BookmarksLoader.java | 54 public BookmarksLoader(Context context, String accountType, String accountName) { argument 55 super(context, addAccount(Bookmarks.CONTENT_URI_DEFAULT_FOLDER, accountType, accountName), 57 mAccountType = accountType; 66 static Uri addAccount(Uri uri, String accountType, String accountName) { argument 67 return uri.buildUpon().appendQueryParameter(Bookmarks.PARAM_ACCOUNT_TYPE, accountType).
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | CalendarColorCache.java | 84 private void insert(String accountName, String accountType) { argument 85 mCache.add(generateKey(accountName, accountType)); 91 public boolean hasColors(String accountName, String accountType) { argument 92 return mCache.contains(generateKey(accountName, accountType)); 105 private String generateKey(String accountName, String accountType) { argument 107 return mStringBuffer.append(accountName).append(SEPARATOR).append(accountType).toString();
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupListItem.java | 31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, argument 34 mAccountType = accountType;
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | GroupCreationDialogFragment.java | 32 private static final String ARG_ACCOUNT_TYPE = "accountType"; 45 FragmentManager fragmentManager, String accountType, String accountName, 49 args.putString(ARG_ACCOUNT_TYPE, accountType); 82 String accountType = arguments.getString(ARG_ACCOUNT_TYPE); 95 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel, 44 show( FragmentManager fragmentManager, String accountType, String accountName, String dataSet, OnGroupCreatedListener listener) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
H A D | GroupMetaData.java | 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument 34 this.mAccountType = accountType;
|
H A D | MoreContactUtils.java | 220 public static Intent getInvitableIntent(AccountType accountType, Uri lookupUri) { argument 221 String syncAdapterPackageName = accountType.syncAdapterPackageName; 222 String className = accountType.getInviteContactActivityClassName();
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
H A D | TestAuthenticator.java | 62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 64 Log.v(TestauthConstants.LOG_TAG, "addAccount() type=" + accountType); 67 final Account account = new Account(newUniqueUserName(), accountType); 101 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | EasTestAuthenticatorService.java | 48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 71 EasTestAuthenticatorService.this, accountType); 85 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
|
H A D | AuthenticatorService.java | 56 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 61 AuthenticatorService.this, accountType); 71 accountType); 104 b.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType); 113 accountType); 127 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
H A D | AddAccountWithTypeActivity.java | 69 String accountType = getIntent().getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); 70 if (accountType != null) { 71 startAddAccount(accountType); 96 String accountType = data.getExtras() 98 startAddAccount(accountType); 113 private void startAddAccount(String accountType) { argument 116 accountType,
|
H A D | AuthenticatorHelper.java | 50 * @param accountType the type of account 53 public Drawable getDrawableForType(Context context, final String accountType) { argument 55 if (mAccTypeIconCache.containsKey(accountType)) { 56 return mAccTypeIconCache.get(accountType); 58 if (mTypeToAuthDescription.containsKey(accountType)) { 60 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 63 mAccTypeIconCache.put(accountType, icon); 76 * @param accountType the type of account 79 public CharSequence getLabelForType(Context context, final String accountType) { argument 81 if (mTypeToAuthDescription.containsKey(accountType)) { 119 containsAccountType(String accountType) argument 123 getAccountTypeDescription(String accountType) argument 127 hasAccountPreferences(final String accountType) argument [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
H A D | ContactEditorUtilsTest.java | 50 "a", TYPE1.accountType, TYPE1.dataSet); 52 "b", TYPE1.accountType, TYPE1.dataSet); 55 "a", TYPE2.accountType, TYPE2.dataSet); 57 "a", TYPE2EX.accountType, TYPE2EX.dataSet); 60 "c", TYPE3.accountType, TYPE3.dataSet); 94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types)); 100 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType), 108 Sets.newHashSet(TYPE1.accountType, TYPE2.accountType, TYPE2E 302 MockAccountType(String accountType, String dataSet, boolean areContactsWritable) argument [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | GoogleSource.java | 46 this.accountType = ACCOUNT_TYPE; 165 final String accountType = stateValues.getAsString(RawContacts.ACCOUNT_TYPE); 166 attemptMyContactsMembership(state, accountName, accountType, context, true); 180 final String accountName, final String accountType, Context context, 187 new String[] {accountName, accountType}, null); 218 newGroup.put(Groups.ACCOUNT_TYPE, accountType); 244 state, accountName, accountType, context, false); 179 attemptMyContactsMembership(EntityDelta state, final String accountName, final String accountType, Context context, boolean allowRecur) argument
|