Home
last modified time | relevance | path

Searched refs:newAccount (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DAccountsTestHelper.java63 Account newAccount = new Account(account.name, account.type); in addTestAccount() local
64 assertTrue(mAccountManager.addAccountExplicitly(newAccount, null, null)); in addTestAccount()
65 mAddedAccounts.add(newAccount); in addTestAccount()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java400 final String newAccount = in onClick() local
404 .putString(PREF_ACCOUNT_NAME, newAccount) in onClick()
406 AccountStateChangedListener.onAccountSignedIn(oldAccount, newAccount); in onClick()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java189 final AccountWithDataSet newAccount = adapter.getItem(position); in showPopup()
190 setCurrentAccount(newAccount); in showPopup()
DRawContactEditorView.java108 AccountWithDataSet oldAccount, AccountWithDataSet newAccount); in onRebindEditorsForNewContact() argument
825 final AccountWithDataSet newAccount = adapter.getItem(position); in addAccountSelector()
826 if (mListener != null && !mPrimaryAccount.equals(newAccount)) { in addAccountSelector()
831 newAccount); in addAccountSelector()
DContactEditorFragment.java1381 AccountWithDataSet newAccount) { in rebindEditorsForNewContact() argument
1384 AccountType newAccountType = accountTypes.getAccountTypeForAccount(newAccount); in rebindEditorsForNewContact()
1389 setStateForNewContact(newAccount, newAccountType, oldState, oldAccountType, in rebindEditorsForNewContact()
1754 AccountWithDataSet oldAccount, AccountWithDataSet newAccount) { in onRebindEditorsForNewContact() argument
1756 rebindEditorsForNewContact(oldState, oldAccount, newAccount); in onRebindEditorsForNewContact()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java966 private void maybeReplaceOldAccount(PhoneAccount newAccount) { in maybeReplaceOldAccount() argument
967 UserHandle newAccountUserHandle = newAccount.getAccountHandle().getUserHandle(); in maybeReplaceOldAccount()
975 if (!defaultHandle.groupId.equals(newAccount.getGroupId())) { in maybeReplaceOldAccount()
979 if (Objects.equals(newAccount.getAccountHandle().getComponentName(), in maybeReplaceOldAccount()
983 setUserSelectedOutgoingPhoneAccount(newAccount.getAccountHandle(), in maybeReplaceOldAccount()
989 PhoneAccount replacementAccount = getPhoneAccountByGroupId(newAccount.getGroupId(), in maybeReplaceOldAccount()
990 newAccount.getAccountHandle().getComponentName(), newAccountUserHandle, in maybeReplaceOldAccount()
991 newAccount.getAccountHandle()); in maybeReplaceOldAccount()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java250 PhoneAccount newAccount = buildPstnPhoneAccount(mIsEmergency, mIsTestAccount); in reRegisterPstnPhoneAccount() local
251 if (!newAccount.equals(mAccount)) { in reRegisterPstnPhoneAccount()
254 mTelecomManager.registerPhoneAccount(newAccount); in reRegisterPstnPhoneAccount()
255 mAccount = newAccount; in reRegisterPstnPhoneAccount()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
DAccountStateChangedListener.java46 public static void onAccountSignedIn(@Nullable String oldAccount, @NonNull String newAccount) { in onAccountSignedIn() argument
/packages/apps/Dialer/java/com/android/dialer/preferredsim/suggestion/stub/
DStubSuggestionProvider.java48 @NonNull Context context, @NonNull String number, PhoneAccountHandle newAccount) {} in reportIncorrectSuggestion() argument
/packages/apps/Dialer/java/com/android/dialer/preferredsim/suggestion/
DSuggestionProvider.java79 @NonNull Context context, @NonNull String number, @NonNull PhoneAccountHandle newAccount); in reportIncorrectSuggestion() argument