Home
last modified time | relevance | path

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

/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.java96 getContext(), getAccount(), getUserHandle()); in isSyncFailing()
100 SyncStatusInfo status = ContentResolver.getSyncStatusAsUser(getAccount(), authority, in isSyncFailing()
102 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(getAccount(), in isSyncFailing()
104 boolean activelySyncing = AccountSyncHelper.isSyncing(getAccount(), currentSyncs, in isSyncFailing()
138 getAccount(), getUserHandle()); in requestSyncForEnabledProviders()
148 getAccount(), getUserHandle()); in cancelSyncForEnabledProviders()
161 AccountSyncHelper.requestSyncIfAllowed(getAccount(), authority, userId); in requestSync()
166 ContentResolver.cancelSyncAsUser(getAccount(), authority, userId); in cancelSync()
DAccountListPreferenceController.java142 preference.getAccount(), preference.getLabel(), mUserInfo)); in onAccountPreferenceClicked()
301 public Account getAccount() { in getAccount() method in AccountListPreferenceController.AccountPreference
DAccountDetailsBasePreferenceController.java53 public Account getAccount() { in getAccount() method in AccountDetailsBasePreferenceController
DAccountDetailsPreferenceController.java82 AccountManager.get(getContext()).removeAccountAsUser(getAccount(), /* activity= */ null,
/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.java133 final AccountWithDataSet account = accountInfo.getAccount(); in getFiltersForAccounts()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java175 final AccountWithDataSet current = mAdapter.getAccount(); in rememberSelectionsForCurrentAccount()
185 final long[] ids = mPerAccountCheckedIds.get(mAdapter.getAccount()); in showSelectionsForCurrentAccount()
272 account.getAccount().stringify() + KEY_SUFFIX_SELECTED_IDS); in restoreAdapterSelectedStates()
273 mPerAccountCheckedIds.put(account.getAccount(), selections); in restoreAdapterSelectedStates()
418 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.java164 Account account = syncPref.getAccount(); in onPreferenceTreeClick()
234 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
310 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.java145 && !accounts.get(0).getAccount().equals(AccountWithDataSet.getLocalAccount(this))) { in updateDisplayedAccounts()
170 saveAccountAndReturnResult(accountInfo.getAccount()); in updateDisplayedAccounts()
DPeopleActivity.java1139 onAccountChosen(accounts.get(0).getAccount(), /* extraArgs */ null); in selectAccountForNewGroup()
/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;
DDefaultContactBrowseListFragment.java355 final Account account = info.getAccount().getAccountOrNull(); in shouldShowEmptyView()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDefaultAccountPreference.java82 return AccountInfo.getAccount(mAccounts, defaultAccount).getNameLabel(); in getSummary()
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java218 final AccountWithDataSet account = AccountQuery.getAccount(accountsCursor); in findAccountsOfExistingSimContacts()
468 public static AccountWithDataSet getAccount(Cursor cursor) { in getAccount() method in SimContactDaoImpl.AccountQuery
/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/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceControllerTest.java241 if (AccountSyncHelper.requestSyncIfAllowed(getAccount(), authority, userId)) { in requestSync()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1948 Account account = getAccount(calId); in handleInsertException()
2407 Account account = getAccount(calendar_id); in insertInTransactionInner()
2984 private Account getAccount(long calId) { in getAccount() method in CalendarProvider2
4303 Account account = getAccount(id); in updateInTransactionInner()