Home
last modified time | relevance | path

Searched refs:getAccountsAsUser (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceControllerTest.java101 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in setUp()
344 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_twoAccountsOfSameType_shouldAddThreePreferences()
397 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(allAccounts); in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
423 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_noAccountChange_shouldNotAddAccountPreference()
458 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_oneNewAccount_shouldAddOneAccountPreference()
514 when(mAccountManager.getAccountsAsUser(2)).thenReturn(accounts); in onResume_oneNewAccountType_shouldAddOneAccountPreference()
538 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_oneAccountRemoved_shouldRemoveOneAccountPreference()
581 when(mAccountManager.getAccountsAsUser(1)).thenReturn(accounts); in onResume_userReEnabled_shouldAddOneAccountPreference()
DAccountSyncPreferenceControllerTest.java70 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in setUp()
DRemoveAccountPreferenceControllerTest.java114 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in setUp()
DAccountTypePreferenceLoaderTest.java89 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAccountManager.java55 protected Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() method in ShadowAccountManager
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DChooseAccountPreferenceControllerTest.java151 when(mMockAccountManager.getAccountsAsUser(anyInt())).thenReturn(mAccounts); in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()
224 when(mMockAccountManager.getAccountsAsUser(anyInt())).thenReturn(mAccounts); in initMocks()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAccountManager.java40 protected Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() method in ShadowAccountManager
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetAccountsPreferenceController.java84 Account[] accounts = AccountManager.get(getContext()).getAccountsAsUser(profile.id); in updateState()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountDetailDashboardFragment.java106 for (Account account : accountManager.getAccountsAsUser(userHandle.getIdentifier())) { in finishIfAccountMissing()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetAccountsPreferenceControllerTest.java266 when(mMockAccountManager.getAccountsAsUser(anyInt())).then( in updateAccountManagerMocks()
/packages/apps/Settings/src/com/android/settings/
DMainClear.java512 Account[] accounts = mgr.getAccountsAsUser(profileId); in loadAccountList()