Lines Matching refs:accounts
17 package com.android.server.accounts;
19 import android.accounts.Account;
20 import android.accounts.AuthenticatorDescription;
85 Account[] accounts = mAms.getAccounts(null);
86 Arrays.sort(accounts, new AccountSorter());
87 assertEquals(6, accounts.length);
88 assertEquals(a11, accounts[0]);
89 assertEquals(a21, accounts[1]);
90 assertEquals(a31, accounts[2]);
91 assertEquals(a12, accounts[3]);
92 assertEquals(a22, accounts[4]);
93 assertEquals(a32, accounts[5]);
95 accounts = mAms.getAccounts("type1" );
96 Arrays.sort(accounts, new AccountSorter());
97 assertEquals(3, accounts.length);
98 assertEquals(a11, accounts[0]);
99 assertEquals(a21, accounts[1]);
100 assertEquals(a31, accounts[2]);
104 accounts = mAms.getAccounts("type1" );
105 Arrays.sort(accounts, new AccountSorter());
106 assertEquals(2, accounts.length);
107 assertEquals(a11, accounts[0]);
108 assertEquals(a31, accounts[1]);