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()
343 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_twoAccountsOfSameType_shouldAddThreePreferences()
396 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(allAccounts); in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
422 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_noAccountChange_shouldNotAddAccountPreference()
457 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_oneNewAccount_shouldAddOneAccountPreference()
513 when(mAccountManager.getAccountsAsUser(2)).thenReturn(accounts); in onResume_oneNewAccountType_shouldAddOneAccountPreference()
537 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(accounts); in onResume_oneAccountRemoved_shouldRemoveOneAccountPreference()
580 when(mAccountManager.getAccountsAsUser(1)).thenReturn(accounts); in onResume_userReEnabled_shouldAddOneAccountPreference()
DAccountTypePreferenceLoaderTest.java75 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in setUp()
DAccountSyncPreferenceControllerTest.java70 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in setUp()
DRemoveAccountPreferenceControllerTest.java117 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DChooseAccountPreferenceControllerTest.java152 when(mMockAccountManager.getAccountsAsUser(anyInt())).thenReturn(mAccounts); in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()
228 when(mMockAccountManager.getAccountsAsUser(anyInt())).thenReturn(mAccounts); in initMocks()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAccountManager.java53 protected Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() method in ShadowAccountManager
/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.java104 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.java480 Account[] accounts = mgr.getAccountsAsUser(profileId); in loadAccountList()