/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 1741 String accountType = null; 1746 accountType = account.type; 1749 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); 2130 String accountType = null; 2133 accountType = account.type; 2135 int color = verifyColorExists(accountName, accountType, color_id, 2204 String accountType = values.getAsString( 2206 final Account account = new Account(accountName, accountType); 2213 String accountType = values.getAsString(Calendars.ACCOUNT_TYPE); 2214 int color = verifyColorExists(accountName, accountType, cal_color_i 2610 getColorByTypeIndex(String accountName, String accountType, long colorType, String colorIndex) argument 4139 verifyColorExists(String accountName, String accountType, String colorIndex, int colorType) argument [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2Test.java | 199 String accountType; field in class:CalendarProvider2Test.Delete 202 public Delete(String eventName, int expected, String account, String accountType) { argument 206 this.accountType = accountType; 211 int rows = deleteMatchingEvents(eventName, account, accountType); 1127 private Uri addSyncQueryParams(Uri uri, String account, String accountType) { argument 1130 .appendQueryParameter(Calendars.ACCOUNT_TYPE, accountType).build(); 1216 private int deleteMatchingEvents(String title, String account, String accountType) { argument 1225 accountType); 1335 static Uri asSyncAdapter(Uri uri, String account, String accountType) { argument 2191 updatedUri(Uri uri, boolean syncAdapter, String account, String accountType) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
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);
|
H A D | ContactDirectoryManager.java | 63 String accountType; field in class:ContactDirectoryManager.DirectoryInfo 73 + " packageName=" + accountType 76 + " accountType=" + accountType; 287 deleteWhereArgs.add(info.accountType); 428 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); 497 values.put(Directory.ACCOUNT_TYPE, info.accountType); 513 info.packageName, info.authority, info.accountName, info.accountType },
|
H A D | ContactsProvider2.java | 1219 String accountType; field in class:ContactsProvider2.DirectoryInfo 2416 String accountType = getQueryParameter(uri, RawContacts.ACCOUNT_TYPE); 2417 final boolean partialUri = TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType); 2438 && TextUtils.equals(accountType, valueAccountType); 2446 values.put(RawContacts.ACCOUNT_TYPE, accountType); 2449 accountType = valueAccountType; 2457 || !mAccount.type.equals(accountType)) { 2458 mAccount = new Account(accountName, accountType); 2981 String accountType = values.getAsString(Settings.ACCOUNT_TYPE); 2987 if (accountType ! [all...] |
H A D | LegacyApiSupport.java | 1256 String accountType = 1262 updateSetting(db, accountName, accountType, values); 1269 if (accountName != null && accountType != null) { 1271 selectionArgs = new String[]{accountName, accountType}; 1285 mValues.put(Settings.ACCOUNT_TYPE, accountType); 1292 private void updateSetting(SQLiteDatabase db, String accountName, String accountType, argument 1295 if (accountName == null || accountType == null) { 1299 new String[]{accountName, accountType, key}); 1340 String accountType = cursor.getString(SettingsMatchQuery.ACCOUNT_TYPE); 1344 mValues.put(android.provider.Contacts.Settings._SYNC_ACCOUNT_TYPE, accountType); [all...] |
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)) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseContactsProvider2Test.java | 558 protected void setContactAccount(long rawContactId, String accountType, String accountName) { argument 560 values.put(RawContacts.ACCOUNT_TYPE, accountType);
|
H A D | ContactDirectoryManagerTest.java | 91 "accountName", "accountType"}); 523 assertEquals("account-type1", cursor.getString(cursor.getColumnIndex("accountType"))); 600 protected void addDirectoryRow(MatrixCursor cursor, String accountName, String accountType, argument 605 row[cursor.getColumnIndex(Directory.ACCOUNT_TYPE)] = accountType; 615 String accountName, String accountType, String displayName, int typeResourceId, 621 values.put(Directory.ACCOUNT_TYPE, accountType); 614 assertDirectoryRow(Cursor cursor, String packageName, String authority, String accountName, String accountType, String displayName, int typeResourceId, int exportSupport, int shortcutSupport, int photoSupport) argument
|
H A D | SynchronousContactsProvider2.java | 162 public synchronized int getPhotoPriority(String accountType) { 163 if ("cupcake".equals(accountType)) { 166 if ("donut".equals(accountType)) { 169 if ("froyo".equals(accountType)) { 183 public boolean isWritableAccountWithDataSet(String accountType) { argument 184 return !READ_ONLY_ACCOUNT_TYPE.equals(accountType);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | ContactsSource.java | 52 public String accountType = null; field in class:ContactsSource 126 return this.accountType;
|
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
|
H A D | Sources.java | 119 mSources.put(source.accountType, source); 204 final String accountType = sync.accountType; 205 final AuthenticatorDescription auth = findAuthenticator(auths, accountType); 208 if (GoogleSource.ACCOUNT_TYPE.equals(accountType)) { 210 } else if (ExchangeSource.ACCOUNT_TYPE.equals(accountType)) { 214 Log.d(TAG, "Creating external source for type=" + accountType 220 source.accountType = auth.type; 236 String accountType) { 238 if (accountType 235 findAuthenticator(AuthenticatorDescription[] auths, String accountType) argument 274 getKindOrFallback(String accountType, String mimeType, Context context, int inflateLevel) argument 301 getInflatedSource(String accountType, int inflateLevel) argument [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AccountPreferenceBase.java | 123 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); 126 mAccountTypeToAuthorities.put(sa.accountType, authorities); 129 Log.d(TAG, "added authority " + sa.authority + " to accountType " 130 + sa.accountType); 140 * @param accountType the type of account 143 public PreferenceScreen addPreferencesForType(final String accountType, argument 146 if (mAuthenticatorHelper.containsAccountType(accountType)) { 149 desc = mAuthenticatorHelper.getAccountTypeDescription(accountType); 169 protected Drawable getDrawableForType(final String accountType) { argument 170 return mAuthenticatorHelper.getDrawableForType(getActivity(), accountType); 173 getLabelForType(final String accountType) argument [all...] |
H A D | AddAccountSettings.java | 171 private void addAccount(String accountType) { argument 177 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...] |
H A D | ChooseAccountActivity.java | 62 ProviderEntry(CharSequence providerName, String accountType) { argument 64 type = accountType; 90 for (String accountType : accountTypesFilter) { 91 mAccountTypesFilter.add(accountType); 113 String accountType = mAuthDescs[i].type; 114 CharSequence providerName = getLabelForType(accountType); 118 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType); 130 && !mAccountTypesFilter.contains(accountType)) { 134 mProviderList.add(new ProviderEntry(providerName, accountType)); 174 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); 194 getDrawableForType(final String accountType) argument 217 getLabelForType(final String accountType) argument 245 finishWithAccountType(String accountType) argument [all...] |
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
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | CalendarSyncAdapter.java | 245 public static Uri asSyncAdapter(Uri uri, String account, String accountType) { argument 248 .appendQueryParameter(Calendars.ACCOUNT_TYPE, accountType).build();
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 1422 static Uri asSyncAdapter(Uri uri, String account, String accountType) { argument 1427 .appendQueryParameter(Calendars.ACCOUNT_TYPE, accountType).build();
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactsUtils.java | 210 public static Intent getInvitableIntent(AccountType accountType, Uri lookupUri) { argument 211 String syncAdapterPackageName = accountType.syncAdapterPackageName; 212 String className = accountType.getInviteContactActivityClassName();
|
H A D | GroupMetaData.java | 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument 34 this.mAccountType = accountType;
|
H A D | SplitAggregateView.java | 117 String accountType; field in class:SplitAggregateView.RawContactInfo 145 String thisAccount = accountType != null ? accountType : ""; 146 String thatAccount = another.accountType != null ? another.accountType : ""; 167 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE); 251 AccountType accountType = mAccountTypes.getAccountType(info.accountType, info.dataSet); 252 if (accountType != null) { 253 icon = accountType [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionEngine.java | 59 public String accountType; field in class:AggregationSuggestionEngine.RawContact 65 return "ID: " + rawContactId + " account: " + accountType + "/" + accountName 396 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE);
|
H A D | ContactEditorFragment.java | 454 AccountType accountType = rawContact.getAccountType(); 455 if (accountType.getEditContactActivityClassName() != null && 456 !accountType.areContactsWritable()) { 583 final AccountType accountType = 587 if (accountType.getCreateContactActivityClassName() != null) { 592 bindEditorsForNewContact(account, accountType); 625 final AccountType accountType) { 626 bindEditorsForNewContact(account, accountType, null, null); 1312 if (type1.accountType == null) { 1315 value = type1.accountType 624 bindEditorsForNewContact(AccountWithDataSet account, final AccountType accountType) argument [all...] |