Home
last modified time | relevance | path

Searched refs:getAccountsByTypeAsUser (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceControllerTest.java345 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_twoAccountsOfSameType_shouldAddThreePreferences()
393 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
395 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct2"), any(UserHandle.class))) in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
423 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_noAccountChange_shouldNotAddAccountPreference()
458 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_oneNewAccount_shouldAddOneAccountPreference()
479 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_oneNewAccount_shouldAddOneAccountPreference()
510 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_oneNewAccountType_shouldAddOneAccountPreference()
539 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_oneAccountRemoved_shouldRemoveOneAccountPreference()
557 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_oneAccountRemoved_shouldRemoveOneAccountPreference()
577 when(mAccountManager.getAccountsByTypeAsUser(eq("com.acct1"), any(UserHandle.class))) in onResume_userReEnabled_shouldAddOneAccountPreference()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAccountManager.java53 protected Account[] getAccountsByTypeAsUser(String type, UserHandle userHandle) { in getAccountsByTypeAsUser() method in ShadowAccountManager
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsFragment.java162 Account[] accounts = AccountManager.get(getContext()).getAccountsByTypeAsUser(mAccount.type, in accountExists()
DAccountListPreferenceController.java183 .getAccountsByTypeAsUser(accountType, mUserInfo.getUserHandle()); in getAccountPreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java251 Account[] accounts = AccountManager.get(getActivity()).getAccountsByTypeAsUser( in accountExists()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java481 Account[] accounts = AccountManager.get(getActivity()).getAccountsByTypeAsUser( in accountExists()
DAccountPreferenceController.java497 .getAccountsByTypeAsUser(accountType, userHandle); in getAccountTypePreferences()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java481 Account[] accounts = AccountManager.get(getActivity()).getAccountsByTypeAsUser( in accountExists()
DAccountPreferenceController.java497 .getAccountsByTypeAsUser(accountType, userHandle); in getAccountTypePreferences()