Home
last modified time | relevance | path

Searched refs:currentAccount (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
DAccountsChangedReceiver.java49 final String currentAccount = prefs.getString( in onReceive() local
51 removeUnknownAccountFromPreference(prefs, getAccountsForLogin(context), currentAccount); in onReceive()
67 final String[] accounts, final String currentAccount) { in removeUnknownAccountFromPreference() argument
68 if (currentAccount == null) { in removeUnknownAccountFromPreference()
72 if (TextUtils.equals(currentAccount, account)) { in removeUnknownAccountFromPreference()
76 Log.i(TAG, "The current account was removed from the system: " + currentAccount); in removeUnknownAccountFromPreference()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountsListAdapter.java57 AccountWithDataSet currentAccount) { in AccountsListAdapter() argument
61 setAccounts(accounts, currentAccount); in AccountsListAdapter()
64 public void setAccounts(List<AccountInfo> accounts, AccountWithDataSet currentAccount) { in setAccounts() argument
67 ? AccountInfo.getAccount(accounts, currentAccount) in setAccounts()
75 && !mAccounts.get(0).sameAccount(currentAccount) in setAccounts()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java264 final String currentAccount = hasAccountsPermission ? getSignedInAccountName() : null; in refreshSyncSettingsUI() local
269 enableSyncPreferences(accountsForLogin, currentAccount); in refreshSyncSettingsUI()
276 currentAccount); in refreshSyncSettingsUI()
290 String currentAccount) { in refreshSyncSettingsMessaging() argument
319 if (currentAccount != null) { in refreshSyncSettingsMessaging()
320 mAccountSwitcher.setSummary(getString(R.string.account_selected, currentAccount)); in refreshSyncSettingsMessaging()
/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionTimeout.java52 PhoneAccountHandle currentAccount) { in isTimeoutNeededForCall() argument
67 if (Objects.equals(connectionManager, currentAccount)) { in isTimeoutNeededForCall()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java327 @NonNull Context context, @Nullable PhoneAccountHandle currentAccount) { in getOtherAccount() argument
328 if (currentAccount == null) { in getOtherAccount()
338 && !phoneAccountHandle.equals(currentAccount)) { in getOtherAccount()