Home
last modified time | relevance | path

Searched refs:getAccount (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountInfo.java46 public AccountWithDataSet getAccount() { in getAccount() method in AccountInfo
84 return sameAccount(other.getAccount()); in sameAccount()
88 return Objects.equals(getAccount(), other); in sameAccount()
98 return contains(accounts, account.getAccount()); in contains()
108 return getAccount(accounts, account) != null; in contains()
114 public static AccountInfo getAccount(List<AccountInfo> accounts, AccountWithDataSet account) { in getAccount() method in AccountInfo
144 return accountComparator.compare(o1.getAccount(), o2.getAccount()); in sourceComparator()
153 return from.getAccount();
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceController.java98 getContext(), getAccount(), getUserHandle()); in isSyncFailing()
102 SyncStatusInfo status = ContentResolver.getSyncStatusAsUser(getAccount(), authority, in isSyncFailing()
104 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(getAccount(), in isSyncFailing()
106 boolean activelySyncing = AccountSyncHelper.isSyncing(getAccount(), currentSyncs, in isSyncFailing()
DAccountListPreferenceController.java138 preference.getAccount(), preference.getLabel(), mUserInfo)); in onAccountPreferenceClicked()
298 public Account getAccount() { in getAccount() method in AccountListPreferenceController.AccountPreference
DAccountDetailsPreferenceController.java50 public Account getAccount() { in getAccount() method in AccountDetailsPreferenceController
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountsListAdapter.java67 ? AccountInfo.getAccount(accounts, currentAccount) in setAccounts()
68 : AccountInfo.getAccount(accounts, mAccounts.get(0).getAccount()); in setAccounts()
111 return mAccounts.get(position).getAccount(); in getItem()
DAccountFilterUtil.java143 final AccountWithDataSet account = accountInfo.getAccount(); in getFiltersForAccounts()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java176 final AccountWithDataSet current = mAdapter.getAccount(); in rememberSelectionsForCurrentAccount()
186 final long[] ids = mPerAccountCheckedIds.get(mAdapter.getAccount()); in showSelectionsForCurrentAccount()
273 account.getAccount().stringify() + KEY_SUFFIX_SELECTED_IDS); in restoreAdapterSelectedStates()
274 mPerAccountCheckedIds.put(account.getAccount(), selections); in restoreAdapterSelectedStates()
419 public AccountWithDataSet getAccount() { in getAccount() method in SimImportFragment.SimContactAdapter
/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java105 mCurrentAccount = mAccounts.isEmpty() ? null : accounts.get(0).getAccount(); in setAccounts()
154 final AccountInfo accountInfo = AccountInfo.getAccount(mAccounts, mCurrentAccount); in addAccountHeader()
215 final AccountInfo accountInfo = AccountInfo.getAccount(mAccounts, account); in getAccountLabel()
DContactEditorFragment.java743 account, data.get(0).getAccount()); in onAccountsLoaded()
745 mAccountWithDataSet = data.get(0).getAccount(); in onAccountsLoaded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java165 Account account = syncPref.getAccount(); in onPreferenceTreeClick()
235 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
311 Account account = syncPref.getAccount(); in onSyncStateUpdated()
DSyncStateSwitchPreference.java145 public Account getAccount() { in getAccount() method in SyncStateSwitchPreference
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java144 } else if (numAccounts == 1 && !accounts.get(0).getAccount().isNullAccount()) { in updateDisplayedAccounts()
169 saveAccountAndReturnResult(accountInfo.getAccount()); in updateDisplayedAccounts()
DPeopleActivity.java1139 onAccountChosen(accounts.get(0).getAccount(), /* extraArgs */ null); in selectAccountForNewGroup()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java257 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()
356 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
414 Account account = syncPref.getAccount(); in setFeedsState()
DAccountPreference.java65 public Account getAccount() { in getAccount() method in AccountPreference
DSyncStateSwitchPreference.java158 public Account getAccount() { in getAccount() method in SyncStateSwitchPreference
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java270 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()
371 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
429 Account account = syncPref.getAccount(); in setFeedsState()
DSyncStateSwitchPreference.java158 public Account getAccount() { in getAccount() method in SyncStateSwitchPreference
DAccountPreference.java65 public Account getAccount() { in getAccount() method in AccountPreference
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java165 final AccountWithDataSet account = info.getAccount(); in createAccountSet()
477 mName = accountInfo.getAccount().name;
478 mType = accountInfo.getAccount().type;
479 mDataSet = accountInfo.getAccount().dataSet;
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java229 final AccountWithDataSet account = AccountQuery.getAccount(accountsCursor); in findAccountsOfExistingSimContacts()
480 public static AccountWithDataSet getAccount(Cursor cursor) { in getAccount() method in SimContactDaoImpl.AccountQuery
/packages/apps/Contacts/src/com/android/contacts/preference/
DDefaultAccountPreference.java82 return AccountInfo.getAccount(mAccounts, defaultAccount).getNameLabel(); in getSummary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitator.java112 String getAccount(); in getAccount() method
DDictionaryFacilitatorImpl.java246 public String getAccount() { in getAccount() method in DictionaryFacilitatorImpl
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1926 Account account = getAccount(calId); in handleInsertException()
2385 Account account = getAccount(calendar_id); in insertInTransactionInner()
2962 private Account getAccount(long calId) { in getAccount() method in CalendarProvider2
4281 Account account = getAccount(id); in updateInTransactionInner()

12